New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

require-context.macro

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

require-context.macro - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

macro/index.js

@@ -10,3 +10,3 @@ const { createMacro } = require('babel-plugin-macros');

path.parentPath.replaceWith(
t.callExpression(t.identifier("require('require-context.macro/context')"), [
t.callExpression(t.identifier("require('require-context.macro/macro/context')"), [
t.identifier('__dirname'),

@@ -13,0 +13,0 @@ ...path.parent.arguments,

{
"name": "require-context.macro",
"version": "1.0.1",
"version": "1.0.2",
"description": "A Babel Macro for the require-context plugin",

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

Sorry, the diff of this file is not supported yet

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