Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2.0 to 1.2.1

2

context.js

@@ -38,3 +38,3 @@ function context(basedir, directory, useSubdirectories = false, regExp = /^\.\//) {

function requireContext(key) {
return require(resolve(fullKey));
return require(resolve(key));
}

@@ -41,0 +41,0 @@

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

@@ -5,0 +5,0 @@ "main": "require-context.macro.js",

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