Skip to content

Commit db4ab1c

Browse files
aduh95ruyadorno
authored andcommitted
doc: add missing history info for import.meta.resolve
PR-URL: #49700 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
1 parent 8a6f5fb commit db4ab1c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/api/esm.md

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

350350
> Stability: 1.2 - Release candidate

0 commit comments

Comments
 (0)