@react-native/babel-preset 0.76.0-rc.1 → 0.76.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -11
- package/src/configs/main.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/babel-preset",
|
|
3
|
-
"version": "0.76.0-rc.
|
|
3
|
+
"version": "0.76.0-rc.3",
|
|
4
4
|
"description": "Babel preset for React Native applications",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -15,23 +15,16 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/core": "^7.25.2",
|
|
18
|
-
"@babel/plugin-transform-async-generator-functions": "^7.25.4",
|
|
19
|
-
"@babel/plugin-transform-class-properties": "^7.25.4",
|
|
20
18
|
"@babel/plugin-proposal-export-default-from": "^7.24.7",
|
|
21
|
-
"@babel/plugin-transform-logical-assignment-operators": "^7.24.7",
|
|
22
|
-
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
|
|
23
|
-
"@babel/plugin-transform-numeric-separator": "^7.24.7",
|
|
24
|
-
"@babel/plugin-transform-object-rest-spread": "^7.24.7",
|
|
25
|
-
"@babel/plugin-transform-optional-catch-binding": "^7.24.7",
|
|
26
|
-
"@babel/plugin-transform-optional-chaining": "^7.24.8",
|
|
27
19
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
28
20
|
"@babel/plugin-syntax-export-default-from": "^7.24.7",
|
|
29
|
-
"@babel/plugin-syntax-flow": "^7.24.7",
|
|
30
21
|
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
|
|
31
22
|
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
|
|
32
23
|
"@babel/plugin-transform-arrow-functions": "^7.24.7",
|
|
24
|
+
"@babel/plugin-transform-async-generator-functions": "^7.25.4",
|
|
33
25
|
"@babel/plugin-transform-async-to-generator": "^7.24.7",
|
|
34
26
|
"@babel/plugin-transform-block-scoping": "^7.25.0",
|
|
27
|
+
"@babel/plugin-transform-class-properties": "^7.25.4",
|
|
35
28
|
"@babel/plugin-transform-classes": "^7.25.4",
|
|
36
29
|
"@babel/plugin-transform-computed-properties": "^7.24.7",
|
|
37
30
|
"@babel/plugin-transform-destructuring": "^7.24.8",
|
|
@@ -39,8 +32,14 @@
|
|
|
39
32
|
"@babel/plugin-transform-for-of": "^7.24.7",
|
|
40
33
|
"@babel/plugin-transform-function-name": "^7.25.1",
|
|
41
34
|
"@babel/plugin-transform-literals": "^7.25.2",
|
|
35
|
+
"@babel/plugin-transform-logical-assignment-operators": "^7.24.7",
|
|
42
36
|
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
|
|
43
37
|
"@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7",
|
|
38
|
+
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
|
|
39
|
+
"@babel/plugin-transform-numeric-separator": "^7.24.7",
|
|
40
|
+
"@babel/plugin-transform-object-rest-spread": "^7.24.7",
|
|
41
|
+
"@babel/plugin-transform-optional-catch-binding": "^7.24.7",
|
|
42
|
+
"@babel/plugin-transform-optional-chaining": "^7.24.8",
|
|
44
43
|
"@babel/plugin-transform-parameters": "^7.24.7",
|
|
45
44
|
"@babel/plugin-transform-private-methods": "^7.24.7",
|
|
46
45
|
"@babel/plugin-transform-private-property-in-object": "^7.24.7",
|
|
@@ -56,7 +55,8 @@
|
|
|
56
55
|
"@babel/plugin-transform-typescript": "^7.25.2",
|
|
57
56
|
"@babel/plugin-transform-unicode-regex": "^7.24.7",
|
|
58
57
|
"@babel/template": "^7.25.0",
|
|
59
|
-
"@react-native/babel-plugin-codegen": "0.76.0-rc.
|
|
58
|
+
"@react-native/babel-plugin-codegen": "0.76.0-rc.3",
|
|
59
|
+
"babel-plugin-syntax-hermes-parser": "^0.23.1",
|
|
60
60
|
"babel-plugin-transform-flow-enums": "^0.0.2",
|
|
61
61
|
"react-refresh": "^0.14.0"
|
|
62
62
|
},
|
package/src/configs/main.js
CHANGED
|
@@ -25,7 +25,7 @@ function isTSXSource(fileName) {
|
|
|
25
25
|
const loose = true;
|
|
26
26
|
|
|
27
27
|
const defaultPlugins = [
|
|
28
|
-
[require('
|
|
28
|
+
[require('babel-plugin-syntax-hermes-parser')],
|
|
29
29
|
[require('babel-plugin-transform-flow-enums')],
|
|
30
30
|
[require('@babel/plugin-transform-block-scoping')],
|
|
31
31
|
[require('@babel/plugin-transform-class-properties'), {loose}],
|