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.4.0-beta2 to 0.4.0-beta3

lib/node.loader.js

3

lib/require.js

@@ -281,2 +281,3 @@ /*

options.resolve.loaders.push(
{test: /\.node$/, loader: path.join(__dirname, "node.loader.js")},
{test: /\.coffee$/, loader: "coffee"},

@@ -286,2 +287,4 @@ {test: /\.json$/, loader: "json"},

);
if(!options.resolve.extensions)
options.resolve.extensions = ["", ".node", ".er.js", ".js"];
if(!options.resolve.loaderExtensions)

@@ -288,0 +291,0 @@ options.resolve.loaderExtensions = [".er-loader.js", ".loader.js", ".js", ""];

4

package.json
{
"name": "enhanced-require",
"version": "0.4.0-beta2",
"version": "0.4.0-beta3",
"author": "Tobias Koppers @sokra",
"description": "Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.",
"dependencies": {
"enhanced-resolve": "0.2.x",
"enhanced-resolve": "0.3.x",
"clone": "0.0.x",

@@ -9,0 +9,0 @@ "buffer-equal": "0.0.x"

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