Socket
Socket
Sign inDemoInstall

resolve

Package Overview
Dependencies
0
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.6 to 1.1.7

10

lib/node-modules-paths.js

@@ -8,2 +8,7 @@ var path = require('path');

;
// ensure that `start` is an absolute path at this point,
// resolving against the process' current working directory
start = path.resolve(start);
var prefix = '/';

@@ -15,8 +20,5 @@ if (/^([A-Za-z]:)/.test(start)) {

}
var splitRe = process.platform === 'win32' ? /[\/\\]/ : /\/+/;
// ensure that `start` is an absolute path at this point,
// resolving againt the process' current working directory
start = path.resolve(start);
var parts = start.split(splitRe);

@@ -23,0 +25,0 @@

2

package.json
{
"name": "resolve",
"description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
"version": "1.1.6",
"version": "1.1.7",
"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