babel-plugin-transform-es2015-typeof-symbol
Advanced tools
Comparing version 7.0.0-beta.2 to 7.0.0-beta.3
"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" | ||
} | ||
} |
3140
43