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
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 ruyadorno committed Sep 28, 2023
1 parent 8a6f5fb commit db4ab1c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doc/api/esm.md
Expand Up @@ -324,14 +324,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: 20.6.0
- version: v20.6.0
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: v20.6.0
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: v20.0.0
pr-url: https://github.com/nodejs/node/pull/44710
description: This API now returns a string synchronously instead of a Promise.
Expand All @@ -340,11 +345,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:
- v20.6.0
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 db4ab1c

Please sign in to comment.