Socket
Socket
Sign inDemoInstall

babel-plugin-transform-decorators

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-decorators - npm Package Compare versions

Comparing version 7.0.0-alpha.12 to 7.0.0-alpha.14

4

lib/index.js

@@ -186,3 +186,5 @@ "use strict";

if (!path.get("right").isCallExpression()) return;
if (!path.get("right.callee").isIdentifier({ name: state.initializerWarningHelper.name })) return;
if (!path.get("right.callee").isIdentifier({ name: state.initializerWarningHelper.name })) {
return;
}

@@ -189,0 +191,0 @@ path.replaceWith(t.callExpression(ensureInitializerDefineProp(path, state), [path.get("left.object").node, t.stringLiteral(path.get("left.property").node.name), path.get("right.arguments")[0].node, path.get("right.arguments")[1].node]));

{
"name": "babel-plugin-transform-decorators",
"version": "7.0.0-alpha.12",
"version": "7.0.0-alpha.14",
"author": "Logan Smyth <loganfsmyth@gmail.com>",

@@ -15,8 +15,8 @@ "license": "MIT",

"dependencies": {
"babel-plugin-syntax-decorators": "7.0.0-alpha.12",
"babel-template": "7.0.0-alpha.12"
"babel-plugin-syntax-decorators": "7.0.0-alpha.14",
"babel-template": "7.0.0-alpha.14"
},
"devDependencies": {
"babel-helper-plugin-test-runner": "7.0.0-alpha.12"
"babel-helper-plugin-test-runner": "7.0.0-alpha.14"
}
}
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