Skip to content

Commit 3460cf9

Browse files
TrottMoLow
authored andcommitted
doc: fix broken link to TC39 import attributes proposal
The import assertion proposal has been renamed and 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. PR-URL: nodejs#47954 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 3b018c8 commit 3460cf9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/vm.md

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

test/fixtures/snapshot/typescript.js

+1-1
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)