Socket
Book a DemoInstallSign in
Socket

babel-preset-expo

Package Overview
Dependencies
Maintainers
28
Versions
186
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

to
12.0.4

10

build/client-module-proxy-plugin.js

@@ -65,3 +65,8 @@ "use strict";

}
else if (!['InterfaceDeclaration', 'TSTypeAliasDeclaration', 'TypeAlias'].includes(exportPath.node.declaration.type)) {
else if (![
'InterfaceDeclaration',
'TSInterfaceDeclaration',
'TSTypeAliasDeclaration',
'TypeAlias',
].includes(exportPath.node.declaration.type)) {
// TODO: What is this type?

@@ -133,3 +138,4 @@ console.warn(`[babel-preset-expo] Unsupported export specifier for "use ${type}":`, exportPath.node.declaration.type);

// HACK: Mock out the polyfill that doesn't run through the normal bundler pipeline.
if (filePath.endsWith('@react-native/js-polyfills/console.js')) {
if (filePath.endsWith('@react-native/js-polyfills/console.js') ||
filePath.endsWith('@react-native\\js-polyfills\\console.js')) {
// Clear the body

@@ -136,0 +142,0 @@ path.node.body = [];

6

package.json
{
"name": "babel-preset-expo",
"version": "12.0.3",
"version": "12.0.4",
"description": "The Babel preset for Expo projects",

@@ -50,3 +50,3 @@ "main": "build/index.js",

"@babel/preset-typescript": "^7.23.0",
"@react-native/babel-preset": "0.76.3",
"@react-native/babel-preset": "0.76.5",
"babel-plugin-react-native-web": "~0.19.13",

@@ -74,3 +74,3 @@ "react-refresh": "^0.14.2"

},
"gitHead": "728158f99d680cf64fb06f08301d3806c18c6f63"
"gitHead": "1faceb8d22bebee4571ef3a2f9578bec33dc26b1"
}
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.