babel-preset-expo 12.0.1 → 12.0.2
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.
|
@@ -23,7 +23,7 @@ const RESTRICTED_MANIFEST_FIELDS = [
|
|
|
23
23
|
'android',
|
|
24
24
|
// Hide internal / build values
|
|
25
25
|
'plugins',
|
|
26
|
-
'hooks',
|
|
26
|
+
'hooks', // hooks no longer exists in the typescript type but should still be removed
|
|
27
27
|
'_internal',
|
|
28
28
|
// Remove metro-specific values
|
|
29
29
|
'assetBundlePatterns',
|
package/build/web-preset.js
CHANGED
|
@@ -31,7 +31,7 @@ module.exports = function (babel, options) {
|
|
|
31
31
|
require('@babel/plugin-transform-modules-commonjs'),
|
|
32
32
|
{
|
|
33
33
|
strict: false,
|
|
34
|
-
strictMode: false,
|
|
34
|
+
strictMode: false, // prevent "use strict" injections
|
|
35
35
|
lazy: options.lazyImportExportTransform,
|
|
36
36
|
allowTopLevelThis: true, // dont rewrite global `this` -> `undefined`
|
|
37
37
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-preset-expo",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.2",
|
|
4
4
|
"description": "The Babel preset for Expo projects",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@babel/plugin-transform-parameters": "^7.22.15",
|
|
48
48
|
"@babel/preset-react": "^7.22.15",
|
|
49
49
|
"@babel/preset-typescript": "^7.23.0",
|
|
50
|
-
"@react-native/babel-preset": "0.76.
|
|
50
|
+
"@react-native/babel-preset": "0.76.3",
|
|
51
51
|
"babel-plugin-react-native-web": "~0.19.13",
|
|
52
52
|
"react-refresh": "^0.14.2"
|
|
53
53
|
},
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"jest": "^29.2.1",
|
|
71
71
|
"react-compiler-runtime": "^19.0.0-beta-8a03594-20241020"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "65ae6fda78837f77eea5a2107066fc545a211804"
|
|
74
74
|
}
|