Skip to content

Commit c34c8fb

Browse files
committed
doc: fix broken link to TC39 import attributes proposal
The import assertion proposal has been renamed and, disappointingly, the old URL does not redirect to the new one. So let's update our URL to point to the import attributes proposal, which is what import assertions have been renamed to.
1 parent ea8fd2d commit c34c8fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/vm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ are not controllable through the timeout either.
15881588
[`Error`]: errors.md#class-error
15891589
[`URL`]: url.md#class-url
15901590
[`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
1591-
[`optionsExpression`]: https://tc39.es/proposal-import-assertions/#sec-evaluate-import-call
1591+
[`optionsExpression`]: https://tc39.es/proposal-import-attributes/#sec-evaluate-import-call
15921592
[`script.runInContext()`]: #scriptrunincontextcontextifiedobject-options
15931593
[`script.runInThisContext()`]: #scriptruninthiscontextoptions
15941594
[`url.origin`]: url.md#urlorigin

test/fixtures/snapshot/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135144,7 +135144,7 @@ var ts;
135144135144
* import "foo" |
135145135145
* or after a re-export declaration that has a module specifier:
135146135146
* export { foo } from "foo" |
135147-
* Source: https://tc39.es/proposal-import-assertions/
135147+
* Source: https://tc39.es/proposal-import-attributes/
135148135148
*/
135149135149
if (contextToken) {
135150135150
var file = contextToken.getSourceFile();

0 commit comments

Comments
 (0)