Socket
Socket
Sign inDemoInstall

babel-plugin-transform-es2015-typeof-symbol

Package Overview
Dependencies
0
Maintainers
5
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-beta.0 to 7.0.0-beta.1

2

lib/index.js

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

var isUnderHelper = path.findParent(function (path) {
return path.isVariableDeclarator() && path.node.id === helper;
return path.isVariableDeclarator() && path.node.id === helper || path.isFunctionDeclaration() && path.node.id.name === helper.name;
});

@@ -36,0 +36,0 @@

{
"name": "babel-plugin-transform-es2015-typeof-symbol",
"version": "7.0.0-beta.0",
"version": "7.0.0-beta.1",
"description": "This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)",

@@ -12,4 +12,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-typeof-symbol",

"devDependencies": {
"babel-helper-plugin-test-runner": "7.0.0-beta.0"
"babel-helper-plugin-test-runner": "7.0.0-beta.1"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc