Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-macros

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-macros - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

6

dist/index.js

@@ -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"

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