Socket
Socket
Sign inDemoInstall

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.4.0-beta5 to 0.4.0-beta6

4

lib/HotRequireContext.js

@@ -63,3 +63,3 @@ var RequireContext = require("./RequireContext");

HotRequireContext.prototype.decline = function decline(arg) {
if(Array.isArray(arg1)) {
if(Array.isArray(arg)) {
// decline(dependencies: string[])

@@ -73,3 +73,3 @@ // decline updates of some dependencies

}, this);
} else if(typeof arg1 == "string") {
} else if(typeof arg == "string") {
// decline(dependency: string)

@@ -76,0 +76,0 @@ return decline.call(this, [arg]);

{
"name": "enhanced-require",
"version": "0.4.0-beta5",
"version": "0.4.0-beta6",
"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