Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-typeof-symbol

Package Overview
Dependencies
Maintainers
6
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-typeof-symbol - npm Package Compare versions

Comparing version 7.0.0-beta.41 to 7.0.0-beta.42

2

lib/index.js

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

if (arg.isIdentifier() && !path.scope.hasBinding(arg.node.name)) {
if (arg.isIdentifier() && !path.scope.hasBinding(arg.node.name, true)) {
var unary = _core.types.unaryExpression("typeof", _core.types.cloneNode(node.argument));

@@ -52,0 +52,0 @@

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

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

"dependencies": {
"@babel/helper-plugin-utils": "7.0.0-beta.41"
"@babel/helper-plugin-utils": "7.0.0-beta.42"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.41"
"@babel/core": "7.0.0-beta.42"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.41",
"@babel/helper-plugin-test-runner": "7.0.0-beta.41"
"@babel/core": "7.0.0-beta.42",
"@babel/helper-plugin-test-runner": "7.0.0-beta.42"
}
}
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