GeezerVison is showing github.com — doc: add missing history info for `import.meta.resolve` · nodejs/node@db4ab1c
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/esm.md +8-8Lines changed: 8 additions & 8 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -324,14 +324,19 @@ const buffer = readFileSync(new URL('./data.proto', import.meta.url)); |
324 | 324 |
|
325 | 325 | ### `import.meta.resolve(specifier)` |
326 | 326 |
|
327 | | -<!-- |
| 327 | +<!-- YAML |
328 | 328 | added: |
329 | 329 | - v13.9.0 |
330 | 330 | - v12.16.2 |
331 | 331 | changes: |
332 | | - - version: 20.6.0 |
| 332 | + - version: v20.6.0 |
333 | 333 | 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. |
335 | 340 | - version: v20.0.0 |
336 | 341 | pr-url: https://github.com/nodejs/node/pull/44710 |
337 | 342 | description: This API now returns a string synchronously instead of a Promise. |
@@ -340,11 +345,6 @@ changes: |
340 | 345 | - v14.18.0 |
341 | 346 | pr-url: https://github.com/nodejs/node/pull/38587 |
342 | 347 | 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. |
348 | 348 | --> |
349 | 349 |
|
350 | 350 | > Stability: 1.2 - Release candidate |
|