Skip to content

Commit bd1ae82

Browse files
Fix spec_url & update nodejs data for import.meta.resolve (#25020)
* Fixes #24054 | Update nodejs data for `import.meta.resolve` * Update javascript/operators/import_meta.json * add missing nodejs --------- Co-authored-by: Claas Augner <[email protected]>
1 parent cc14b2d commit bd1ae82

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

browsers/nodejs.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,13 @@
580580
"engine": "V8",
581581
"engine_version": "11.3"
582582
},
583+
"20.8.0": {
584+
"release_date": "2023-09-29",
585+
"release_notes": "https://nodejs.org/en/blog/release/v20.8.0",
586+
"status": "retired",
587+
"engine": "V8",
588+
"engine_version": "11.3"
589+
},
583590
"20.10.0": {
584591
"release_date": "2023-11-22",
585592
"release_notes": "https://nodejs.org/en/blog/release/v20.10.0",

javascript/operators/import_meta.json

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
"__compat": {
66
"description": "<code>import.meta</code>",
77
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/import.meta",
8-
"spec_url": [
9-
"https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#prod-ImportMeta",
10-
"https://html.spec.whatwg.org/multipage/webappapis.html#hostgetimportmetaproperties"
11-
],
8+
"spec_url": "https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#prod-ImportMeta",
129
"support": {
1310
"chrome": {
1411
"version_added": "64"
@@ -51,7 +48,7 @@
5148
"__compat": {
5249
"description": "<code>import.meta.resolve</code>",
5350
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/import.meta/resolve",
54-
"spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#hostgetimportmetaproperties",
51+
"spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#import-meta-resolve",
5552
"support": {
5653
"chrome": {
5754
"version_added": "105"
@@ -68,10 +65,21 @@
6865
"ie": {
6966
"version_added": false
7067
},
71-
"nodejs": {
72-
"version_added": "20.6.0",
73-
"notes": "Returns a URL object instead of a string."
74-
},
68+
"nodejs": [
69+
{
70+
"version_added": "20.8.0"
71+
},
72+
{
73+
"version_added": "20.6.0",
74+
"version_removed": "20.8.0",
75+
"partial_implementation": true,
76+
"notes": "Returns a <code>URL</code> object instead of a string."
77+
},
78+
{
79+
"version_added": "18.19.0",
80+
"version_removed": "19.0.0"
81+
}
82+
],
7583
"oculus": "mirror",
7684
"opera": "mirror",
7785
"opera_android": "mirror",

0 commit comments

Comments
 (0)