GeezerVison is showing github.com — doc: add missing history info for `import.meta.resolve` · nodejs/node@73a7e00
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 +7-7Lines changed: 7 additions & 7 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -323,14 +323,19 @@ const buffer = readFileSync(new URL('./data.proto', import.meta.url)); |
323 | 323 |
|
324 | 324 | ### `import.meta.resolve(specifier)` |
325 | 325 |
|
326 | | -<!-- |
| 326 | +<!-- YAML |
327 | 327 | added: |
328 | 328 | - v13.9.0 |
329 | 329 | - v12.16.2 |
330 | 330 | changes: |
331 | 331 | - version: REPLACEME |
332 | 332 | 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. |
334 | 339 | - version: REPLACEME |
335 | 340 | pr-url: https://github.com/nodejs/node/pull/44710 |
336 | 341 | description: This API now returns a string synchronously instead of a Promise. |
@@ -339,11 +344,6 @@ changes: |
339 | 344 | - v14.18.0 |
340 | 345 | pr-url: https://github.com/nodejs/node/pull/38587 |
341 | 346 | 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. |
347 | 347 | --> |
348 | 348 |
|
349 | 349 | > Stability: 1.2 - Release candidate |
|