From 79163a92e693c47e31053883c3b052c5720752c1 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 10 May 2023 17:31:09 -0700 Subject: [PATCH] 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. --- doc/api/vm.md | 2 +- test/fixtures/snapshot/typescript.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/vm.md b/doc/api/vm.md index 1b8bb71715250c..1c043d119da7ac 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -1588,7 +1588,7 @@ are not controllable through the timeout either. [`Error`]: errors.md#class-error [`URL`]: url.md#class-url [`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval -[`optionsExpression`]: https://tc39.es/proposal-import-assertions/#sec-evaluate-import-call +[`optionsExpression`]: https://tc39.es/proposal-import-attributes/#sec-evaluate-import-call [`script.runInContext()`]: #scriptrunincontextcontextifiedobject-options [`script.runInThisContext()`]: #scriptruninthiscontextoptions [`url.origin`]: url.md#urlorigin diff --git a/test/fixtures/snapshot/typescript.js b/test/fixtures/snapshot/typescript.js index e8734a648d0bcd..2a4b9f5e84dfbb 100644 --- a/test/fixtures/snapshot/typescript.js +++ b/test/fixtures/snapshot/typescript.js @@ -135144,7 +135144,7 @@ var ts; * import "foo" | * or after a re-export declaration that has a module specifier: * export { foo } from "foo" | - * Source: https://tc39.es/proposal-import-assertions/ + * Source: https://tc39.es/proposal-import-attributes/ */ if (contextToken) { var file = contextToken.getSourceFile();