-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add features up to import attributes
- Loading branch information
1 parent
274d38a
commit 114561d
Showing
4 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ | |
"@babel/plugin-syntax-async-generators": "^7.8.4", | ||
"@babel/plugin-syntax-bigint": "^7.8.3", | ||
"@babel/plugin-syntax-class-properties": "^7.12.13", | ||
"@babel/plugin-syntax-class-static-block": "^7.14.5", | ||
"@babel/plugin-syntax-import-attributes": "^7.24.7", | ||
"@babel/plugin-syntax-import-meta": "^7.10.4", | ||
"@babel/plugin-syntax-json-strings": "^7.8.3", | ||
"@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", | ||
|
@@ -26,6 +28,7 @@ | |
"@babel/plugin-syntax-object-rest-spread": "^7.8.3", | ||
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3", | ||
"@babel/plugin-syntax-optional-chaining": "^7.8.3", | ||
"@babel/plugin-syntax-private-property-in-object": "^7.14.5", | ||
"@babel/plugin-syntax-top-level-await": "^7.14.5" | ||
}, | ||
"peerDependencies": { | ||
|
@@ -34,6 +37,8 @@ | |
"devDependencies": { | ||
"@babel/core": "7.25.2", | ||
"@babel/parser-7.0.0": "npm:@babel/[email protected]", | ||
"@babel/parser-7.12.0": "npm:@babel/[email protected]", | ||
"@babel/parser-7.22.0": "npm:@babel/[email protected]", | ||
"@babel/parser-7.9.0": "npm:@babel/[email protected]" | ||
}, | ||
"license": "MIT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
{ | ||
"#______name_______": [ "min node version", "code", "@babel/parser" ], | ||
"#______name_______": ["min node version", "code", "@babel/parser"], | ||
"object rest/spread": [8.6, "({...x})"], | ||
"async generators": [10.0, "async function* f() {}"], | ||
"optional catch binding": [10.0, "try {} catch {}"], | ||
"JSON superset": [10.0, "'\\u2028'"], | ||
"bigint": [10.8, "10n"], | ||
"public class fields": [12.4, "class A { x = 1 }"], | ||
"private class fields": [12.4, "class A { #x = 1 }"], | ||
"class blocks": [12.4, "class A { static {} }", "@babel/parser-7.12.0"], | ||
"numeric separators": [12.7, "1_2"], | ||
"optional chaining": [14.0, "a?.b"], | ||
"nullish coalescing": [14.0, "a ?? b"], | ||
"import.meta": [10.4, "import.meta"], | ||
"top level await": [14.3, "await Promise.resolve()", "@babel/parser-7.9.0"] | ||
"top level await": [14.3, "await Promise.resolve()", "@babel/parser-7.9.0"], | ||
"import attributes": [ | ||
"18.20", | ||
"import 'x' with { type: 'json' }", | ||
"@babel/parser-7.22.0" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters