You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
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

Comparing version 0.49.2 to 0.50.0

2

package.json
{
"version": "0.49.2",
"version": "0.50.0",
"name": "metro-babel7-plugin-react-transform",

@@ -4,0 +4,0 @@ "main": "src/index.js",

@@ -29,2 +29,5 @@ /**

const _require2 = require("path"),
relative = _require2.relative;
function find(obj, func) {

@@ -383,3 +386,8 @@ let value = undefined;

toObjectExpression({
filename: t.stringLiteral(this.file.opts.filename || "unknown"),
filename: t.stringLiteral(
// Equivalent to `this.file.opts.sourceFileName` when defined.
this.file.opts.filename
? relative(this.file.opts.cwd, this.file.opts.filename)
: "unknown"
),
components: componentsDeclarationId,

@@ -386,0 +394,0 @@ locals: t.arrayExpression(transformLocals),

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc