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

include-all

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

include-all - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

15

lib/help-include-all-sync.js

@@ -298,8 +298,11 @@ /**

else {
e.originalErrorCode = e.code;
e.code = 'include-all:COULD_NOT_REQUIRE';
// Maintain the original stack trace at the top lvl (because it might have a useful line number from app-level code)
// but prepend an additional message to clarify what's going on.
e.stack = '`include-all` attempted to `require('+filepath+')`, but an error occurred:: \nDetails:' + e.stack;
throw e;
var err = new Error('Attempted to `require(\''+filepath+'\')`, but an error occurred:\n```\n' + e.stack + '\n```');
err.code = 'include-all:COULD_NOT_REQUIRE';
err.raw = e;
err.filepath = filepath;
throw err;
// Note: In Node v4.x, an unhandled exception is necessary in order to actually
// see where the problem from the syntax error occurred. (Otherwise, you just see
// `exports.runInThisContext` in the stack trace, which is less than helpful!)
}

@@ -306,0 +309,0 @@ }//</catch>

2

package.json
{
"name": "include-all",
"version": "4.0.1",
"version": "4.0.2",
"description": "An easy way to include all node.js modules within a directory.",

@@ -5,0 +5,0 @@ "main": "index.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