Skip to content

Commit

Permalink
doc: add missing history info for import.meta.resolve
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#49700
Backport-PR-URL: nodejs/node#50669
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Jacob Smith <[email protected]>
  • Loading branch information
sercher committed Apr 25, 2024
1 parent 32dda85 commit 9e4c909
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions graal-nodejs/doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,14 +323,19 @@ const buffer = readFileSync(new URL('./data.proto', import.meta.url));
### `import.meta.resolve(specifier)`
<!--
<!-- YAML
added:
- v13.9.0
- v12.16.2
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/49028
description: No longer behind the `--experimental-import-meta-resolve` flag.
description: Unflag `import.meta.resolve``, with `parentURL` parameter still
flagged.
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/49038
description: This API no longer throws when targeting `file:` URLs that do
not map to an existing file on the local FS.
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/44710
description: This API now returns a string synchronously instead of a Promise.
Expand All @@ -339,11 +344,6 @@ changes:
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38587
description: Add support for WHATWG `URL` object to `parentURL` parameter.
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/49028
description: Unflag import.meta.resolve, with `parentURL` parameter still
flagged.
-->

> Stability: 1.2 - Release candidate
Expand Down

0 comments on commit 9e4c909

Please sign in to comment.