Socket
Socket
Sign inDemoInstall

resolve

Package Overview
Dependencies
5
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.14.1 to 1.14.2

3

lib/async.js

@@ -85,5 +85,6 @@ var fs = require('fs');

} else loadAsFile(res, opts.package, onfile);
} else if (isCore(x)) {
return cb(null, x);
} else loadNodeModules(x, basedir, function (err, n, pkg) {
if (err) cb(err);
else if (isCore(x)) return cb(null, x);
else if (n) {

@@ -90,0 +91,0 @@ return maybeUnwrapSymlink(n, opts, function (err, realN) {

@@ -72,4 +72,2 @@ var isCore = require('./is-core');

if (isCore(x)) return x;
var err = new Error("Cannot find module '" + x + "' from '" + parent + "'");

@@ -76,0 +74,0 @@ err.code = 'MODULE_NOT_FOUND';

{
"name": "resolve",
"description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
"version": "1.14.1",
"version": "1.14.2",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc