Socket
Socket
Sign inDemoInstall

babel-plugin-transform-es2015-typeof-symbol

Package Overview
Dependencies
0
Maintainers
6
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-beta.2 to 7.0.0-beta.3

7

lib/index.js
"use strict";
exports.__esModule = true;
exports.default = _default;
exports.default = function (_ref) {
function _default(_ref) {
var t = _ref.types;

@@ -33,3 +34,3 @@ return {

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

@@ -54,2 +55,2 @@

};
};
}
{
"name": "babel-plugin-transform-es2015-typeof-symbol",
"version": "7.0.0-beta.2",
"version": "7.0.0-beta.3",
"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.2"
"babel-helper-plugin-test-runner": "7.0.0-beta.3"
}
}
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