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

@rnx-kit/babel-preset-metro-react-native

Package Overview
Dependencies
Maintainers
7
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rnx-kit/babel-preset-metro-react-native - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "@rnx-kit/babel-preset-metro-react-native",
"version": "1.1.1",
"version": "1.1.2",
"description": "Babel preset for React Native applications",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/babel-preset-metro-react-native#readme",

@@ -62,3 +62,8 @@ /* jshint esversion: 8, node: true */

// Use the `esbuild` transform profile if the serializer is being used.
if (!transformProfile && process.env["RNX_METRO_SERIALIZER_ESBUILD"]) {
const env = process.env.BABEL_ENV || process.env.NODE_ENV;
if (
!transformProfile &&
env === "production" &&
process.env["RNX_METRO_SERIALIZER_ESBUILD"]
) {
transformProfile = "esbuild";

@@ -65,0 +70,0 @@ }

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