Skip to content

Commit

Permalink
doc: fix broken link to TC39 import attributes proposal
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Trott committed May 11, 2023
1 parent ea8fd2d commit c34c8fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/snapshot/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c34c8fb

Please sign in to comment.