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

enhanced-require

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enhanced-require - npm Package Compare versions

Comparing version 0.5.0-beta1 to 0.5.0-beta2

3

bin/enhanced-require.js

@@ -10,6 +10,7 @@ #!/usr/bin/env node

var existsSync = require("fs").existsSync || path.existsSync;
var configFile = path.resolve("enhanced-require.config.js");
if(require("fs").existsSync(configFile))
if(existsSync(configFile))
config = require(configFile);
require("../lib/require")(process.cwd(), config)(file.join("!"));

@@ -10,4 +10,5 @@ #!/usr/bin/env node

var existsSync = require("fs").existsSync || path.existsSync;
var configFile = path.resolve("enhanced-require.config.js");
if(require("fs").existsSync(configFile))
if(existsSync(configFile))
config = require(configFile);

@@ -14,0 +15,0 @@

{
"name": "enhanced-require",
"version": "0.5.0-beta1",
"version": "0.5.0-beta2",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.",

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