Socket
Socket
Sign inDemoInstall

enhanced-resolve

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enhanced-resolve - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

.travis.yml

4

package.json
{
"name": "enhanced-resolve",
"version": "0.2.1",
"version": "0.2.2",
"author": "Tobias Koppers @sokra",

@@ -19,3 +19,3 @@ "description": "Offers a async require.resolve function. It's highly configurable.",

"engines": {
"node": ">=0.8"
"node": ">=0.6"
},

@@ -22,0 +22,0 @@ "main": "lib/resolve.js",

@@ -5,4 +5,6 @@ # enhanced-resolve

[![Build Status](https://secure.travis-ci.org/webpack/enhanced-resolve.png?branch=master)](http://travis-ci.org/webpack/enhanced-resolve)
More documentation coming soon...
*It is used in [webpack](/webpack/webpack)*

@@ -9,4 +9,4 @@ var resolve = require("../lib/resolve");

[__dirname, "../", "as directory"],
[path.join(__dirname, "..", "..", ".."), "enhanced-resolve", "as module"],
[path.join(__dirname, "..", "..", ".."), "enhanced-resolve/lib/resolve", "in module"]
[path.join(__dirname, "..", ".."), "./enhanced-resolve", "as module"],
[path.join(__dirname, "..", ".."), "./enhanced-resolve/lib/resolve", "in module"]
];

@@ -16,3 +16,3 @@ pathsToIt.forEach(function(pathToIt) {

resolve(pathToIt[0], pathToIt[1], function(err, filename) {
if(err) throw err;
if(err) return done(err);
should.exist(filename);

@@ -19,0 +19,0 @@ filename.should.be.a("string");

Sorry, the diff of this file is not supported yet

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