@babel/plugin-transform-typeof-symbol
Advanced tools
Comparing version
@@ -5,3 +5,3 @@ import { declare } from '@babel/helper-plugin-utils'; | ||
var index = declare(api => { | ||
api.assertVersion("8.0.0-alpha.15"); | ||
api.assertVersion("8.0.0-alpha.16"); | ||
return { | ||
@@ -31,3 +31,3 @@ name: "transform-typeof-symbol", | ||
let isUnderHelper = path.findParent(path => { | ||
if (path.isFunction()) { | ||
if (path.isFunctionDeclaration()) { | ||
return path.get("body.directives.0")?.node.value.value === "@babel/helpers - typeof"; | ||
@@ -34,0 +34,0 @@ } |
{ | ||
"name": "@babel/plugin-transform-typeof-symbol", | ||
"version": "8.0.0-alpha.15", | ||
"version": "8.0.0-alpha.16", | ||
"description": "This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)", | ||
@@ -19,13 +19,13 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^8.0.0-alpha.15" | ||
"@babel/helper-plugin-utils": "^8.0.0-alpha.16" | ||
}, | ||
"peerDependencies": { | ||
"@babel/core": "^8.0.0-alpha.15" | ||
"@babel/core": "^8.0.0-alpha.16" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^8.0.0-alpha.15", | ||
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.15", | ||
"@babel/runtime": "^8.0.0-alpha.15", | ||
"@babel/core": "^8.0.0-alpha.16", | ||
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.16", | ||
"@babel/runtime": "^8.0.0-alpha.16", | ||
"@babel/runtime-corejs2": "^7.24.0", | ||
"@babel/runtime-corejs3": "^8.0.0-alpha.15" | ||
"@babel/runtime-corejs3": "^8.0.0-alpha.16" | ||
}, | ||
@@ -32,0 +32,0 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-typeof-symbol", |
Sorry, the diff of this file is not supported yet
10719
0.07%