Skip to content

Commit 73a7e00

Browse files
aduh95targos
authored andcommitted
doc: add missing history info for import.meta.resolve
PR-URL: #49700 Backport-PR-URL: #50669 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
1 parent 46d730a commit 73a7e00

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/api/esm.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -323,14 +323,19 @@ const buffer = readFileSync(new URL('./data.proto', import.meta.url));
323323
324324
### `import.meta.resolve(specifier)`
325325
326-
<!--
326+
<!-- YAML
327327
added:
328328
- v13.9.0
329329
- v12.16.2
330330
changes:
331331
- version: REPLACEME
332332
pr-url: https://github.com./nodejs/node/pull/49028
333-
description: No longer behind the `--experimental-import-meta-resolve` flag.
333+
description: Unflag `import.meta.resolve``, with `parentURL` parameter still
334+
flagged.
335+
- version: REPLACEME
336+
pr-url: https://github.com./nodejs/node/pull/49038
337+
description: This API no longer throws when targeting `file:` URLs that do
338+
not map to an existing file on the local FS.
334339
- version: REPLACEME
335340
pr-url: https://github.com./nodejs/node/pull/44710
336341
description: This API now returns a string synchronously instead of a Promise.
@@ -339,11 +344,6 @@ changes:
339344
- v14.18.0
340345
pr-url: https://github.com./nodejs/node/pull/38587
341346
description: Add support for WHATWG `URL` object to `parentURL` parameter.
342-
- version:
343-
- REPLACEME
344-
pr-url: https://github.com./nodejs/node/pull/49028
345-
description: Unflag import.meta.resolve, with `parentURL` parameter still
346-
flagged.
347347
-->
348348

349349
> Stability: 1.2 - Release candidate

0 commit comments

Comments
 (0)