From 21a2e901e7c16be8e1f97c374a181a40bd6bef38 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 13 May 2023 04:36:31 -0700 Subject: 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: https://github.com/nodejs/node/pull/47954 Reviewed-By: Geoffrey Booth Reviewed-By: Antoine du Hamel Reviewed-By: Darshan Sen Reviewed-By: Trivikram Kamat --- 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 1b8bb71715..1c043d119d 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 e8734a648d..2a4b9f5e84 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(); -- cgit v1.2.1