Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-expo

Package Overview
Dependencies
Maintainers
27
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-expo - npm Package Compare versions

Comparing version 0.0.1-canary-20240109-93608d8 to 0.0.1-canary-20240222-c729a13

13

build/index.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc