babel-plugin-macros
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -5,7 +5,5 @@ "use strict"; | ||
const resolve = require('resolve'); | ||
const resolve = require('resolve'); // const printAST = require('ast-pretty-print') | ||
const traverse = require('@babel/traverse').default; // const printAST = require('ast-pretty-print') | ||
const macrosRegex = /[./]macro(\.c?js)?$/; | ||
@@ -224,3 +222,3 @@ | ||
*/ | ||
traverse(state.file.ast, { | ||
state.file.scope.path.traverse({ | ||
Identifier() {} | ||
@@ -227,0 +225,0 @@ |
{ | ||
"name": "babel-plugin-macros", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Allows you to build compile-time libraries", | ||
@@ -30,3 +30,2 @@ "main": "dist/index.js", | ||
"@babel/runtime": "^7.12.5", | ||
"@babel/traverse": "^7.12.9", | ||
"cosmiconfig": "^7.0.0", | ||
@@ -33,0 +32,0 @@ "resolve": "^1.19.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
36809
294
- Removed@babel/traverse@^7.12.9
- Removed@babel/generator@7.26.2(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/parser@7.26.2(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.25.9(transitive)
- Removed@babel/types@7.26.0(transitive)
- Removed@jridgewell/gen-mapping@0.3.5(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removeddebug@4.3.7(transitive)
- Removedglobals@11.12.0(transitive)
- Removedjsesc@3.0.2(transitive)
- Removedms@2.1.3(transitive)