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: #49700
Backport-PR-URL: #50669
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Jacob Smith <jacob@frende.me>
  • Loading branch information
aduh95 authored and targos committed Nov 23, 2023
1 parent 46d730a commit 73a7e00
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/api/esm.md
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 73a7e00

Please sign in to comment.