babel-preset-expo
Advanced tools
Comparing version 0.0.1-canary-20240109-93608d8 to 0.0.1-canary-20240222-c729a13
@@ -55,6 +55,3 @@ "use strict"; | ||
// @see https://github.com/expo/expo/pull/11960#issuecomment-887796455 | ||
extraPlugins.push([ | ||
require.resolve('@babel/plugin-transform-object-rest-spread'), | ||
{ loose: false }, | ||
]); | ||
extraPlugins.push([require('@babel/plugin-transform-object-rest-spread'), { loose: false }]); | ||
} | ||
@@ -104,3 +101,3 @@ else { | ||
if (platform === 'web') { | ||
extraPlugins.push(require.resolve('babel-plugin-react-native-web')); | ||
extraPlugins.push(require('babel-plugin-react-native-web')); | ||
// Webpack uses the DefinePlugin to provide the manifest to `expo-constants`. | ||
@@ -189,8 +186,8 @@ if (bundler !== 'webpack') { | ||
// TODO: Remove | ||
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }], | ||
require.resolve('@babel/plugin-transform-export-namespace-from'), | ||
[require('@babel/plugin-proposal-decorators'), { legacy: true }], | ||
require('@babel/plugin-transform-export-namespace-from'), | ||
// Automatically add `react-native-reanimated/plugin` when the package is installed. | ||
// TODO: Move to be a customTransformOption. | ||
(0, common_1.hasModule)('react-native-reanimated') && | ||
platformOptions.reanimated !== false && [require.resolve('react-native-reanimated/plugin')], | ||
platformOptions.reanimated !== false && [require('react-native-reanimated/plugin')], | ||
].filter(Boolean), | ||
@@ -197,0 +194,0 @@ }; |
{ | ||
"name": "babel-preset-expo", | ||
"version": "0.0.1-canary-20240109-93608d8", | ||
"version": "0.0.1-canary-20240222-c729a13", | ||
"description": "The Babel preset for Expo projects", | ||
@@ -45,9 +45,9 @@ "main": "build/index.js", | ||
"@babel/plugin-proposal-decorators": "^7.12.9", | ||
"@babel/plugin-transform-export-namespace-from": "^7.22.11", | ||
"@babel/plugin-transform-object-rest-spread": "^7.12.13", | ||
"@babel/plugin-transform-export-namespace-from": "^7.22.11", | ||
"@babel/plugin-transform-parameters": "^7.22.15", | ||
"@babel/preset-env": "^7.20.0", | ||
"@babel/preset-react": "^7.22.15", | ||
"@babel/plugin-transform-parameters": "^7.22.15", | ||
"@react-native/babel-preset": "^0.73.18", | ||
"babel-plugin-react-native-web": "~0.18.10", | ||
"babel-plugin-react-native-web": "~0.19.10", | ||
"react-refresh": "0.14.0" | ||
@@ -57,6 +57,6 @@ }, | ||
"@babel/core": "^7.20.0", | ||
"expo-module-scripts": "0.0.1-canary-20240109-93608d8", | ||
"expo-module-scripts": "0.0.1-canary-20240222-c729a13", | ||
"jest": "^29.2.1" | ||
}, | ||
"gitHead": "93608d8dcb0268312e0c8ed22036ebfa6efe9830" | ||
"gitHead": "c729a13f936926743c13c021f569a22921455e49" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
40350
698
+ Addedbabel-plugin-react-native-web@0.19.13(transitive)
- Removedbabel-plugin-react-native-web@0.18.12(transitive)