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

metro-transform-plugins

Package Overview
Dependencies
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro-transform-plugins - npm Package Compare versions

Comparing version 0.81.0-alpha.2 to 0.81.0

4

package.json
{
"name": "metro-transform-plugins",
"version": "0.81.0-alpha.2",
"version": "0.81.0",
"description": "🚇 Transform plugins for Metro.",

@@ -30,3 +30,3 @@ "main": "src/index.js",

"babel-plugin-tester": "^6.0.1",
"metro": "0.81.0-alpha.2"
"metro": "0.81.0"
},

@@ -33,0 +33,0 @@ "engines": {

@@ -36,3 +36,3 @@ "use strict";

function isGlobalOrFlowDeclared(binding) {
return isGlobal(binding) || isFlowDeclared(binding);
return !binding || isFlowDeclared(binding);
}

@@ -39,0 +39,0 @@ const isLeftHandSideOfAssignmentExpression = (node, parent) =>

@@ -90,5 +90,2 @@ "use strict";

);
function isGlobal(binding) {
return !binding;
}
const isRequireCall = (node, dependencyId, scope) =>

@@ -126,3 +123,3 @@ isCallExpression(node) &&

const isToplevelBinding = (binding, isWrappedModule) =>
isGlobal(binding) ||
!binding ||
!binding.scope.parent ||

@@ -129,0 +126,0 @@ (isWrappedModule && !binding.scope.parent.parent);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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