New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-expo

Package Overview
Dependencies
Maintainers
27
Versions
132
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-20240305-e60019e to 0.0.1-canary-20240308-6715875

15

build/index.js

@@ -84,13 +84,12 @@ "use strict";

}
const inlineEnv = {
EXPO_OS: platform,
};
// Allow jest tests to redefine the environment variables.
if (process.env.NODE_ENV !== 'test') {
extraPlugins.push([
inline_env_vars_1.expoInlineTransformEnvVars,
{
// These values should not be prefixed with `EXPO_PUBLIC_`, so we don't
// squat user-defined environment variables.
EXPO_BASE_URL: baseUrl,
},
]);
// These values should not be prefixed with `EXPO_PUBLIC_`, so we don't
// squat user-defined environment variables.
inlineEnv['EXPO_BASE_URL'] = baseUrl;
}
extraPlugins.push([inline_env_vars_1.expoInlineTransformEnvVars, inlineEnv]);
// Only apply in non-server, for metro-only, in production environments, when the user hasn't disabled the feature.

@@ -97,0 +96,0 @@ // Webpack uses DefinePlugin for environment variables.

{
"name": "babel-preset-expo",
"version": "0.0.1-canary-20240305-e60019e",
"version": "0.0.1-canary-20240308-6715875",
"description": "The Babel preset for Expo projects",

@@ -56,6 +56,6 @@ "main": "build/index.js",

"@babel/core": "^7.20.0",
"expo-module-scripts": "0.0.1-canary-20240305-e60019e",
"expo-module-scripts": "0.0.1-canary-20240308-6715875",
"jest": "^29.2.1"
},
"gitHead": "e60019e11a6d46e330b57b18c64468a58d589875"
"gitHead": "67158757cf78be8094fe6b7461e8523157f1f615"
}
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