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

babel-macros

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-macros - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

6

dist/index.js

@@ -6,2 +6,4 @@ 'use strict';

var macrosRegex = /[./]macros(\.js)?$/;
module.exports = macrosPlugin;

@@ -18,3 +20,3 @@

value: function value(v) {
return v.endsWith('.macros');
return macrosRegex.test(v);
}

@@ -40,3 +42,3 @@ }

arguments: function _arguments(args) {
return args.length === 1 && args[0].value.endsWith('.macros');
return args.length === 1 && macrosRegex.test(args[0].value);
}

@@ -43,0 +45,0 @@ },

{
"name": "babel-macros",
"version": "0.2.0",
"version": "0.3.0",
"description": "Enables zero-config, importable babel plugins",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,5 +0,4 @@

<div style="text-align:center">
<div align="center">
<h1>babel-macros 🎣</h1>
# babel-macros 🎣
**Enables zero-config, importable babel plugins**

@@ -6,0 +5,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