Socket
Socket
Sign inDemoInstall

metro-babel7-plugin-react-transform

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro-babel7-plugin-react-transform - npm Package Compare versions

Comparing version 0.40.0 to 0.40.1

20

lib/index.js

@@ -27,6 +27,22 @@ /**

const find = require('lodash/find');
const {addDefault} = require('@babel/helper-module-imports');
function find(obj, func) {
let value = undefined;
if (!(obj instanceof Array)) {
obj = Object.values(obj);
}
obj.some((v, i) => {
if (func(v)) {
value = v;
return true;
}
return false;
});
return value;
}
module.exports = function({types: t, template}) {

@@ -33,0 +49,0 @@ function matchesPatterns(path, patterns) {

5

package.json
{
"version": "0.40.0",
"version": "0.40.1",
"name": "metro-babel7-plugin-react-transform",
"main": "lib/index.js",
"dependencies": {
"@babel/helper-module-imports": "7.0.0-beta.47",
"lodash": "^4.17.5"
"@babel/helper-module-imports": "7.0.0-beta.47"
}
}
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