Socket
Socket
Sign inDemoInstall

resolve

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

2

lib/async.js

@@ -33,3 +33,3 @@ var core = require('./core');

if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?\\)/.test(x)) {
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[\\\/])/.test(x)) {
var res = path.resolve(y, x);

@@ -36,0 +36,0 @@ if (x === '..') res += '/';

@@ -21,3 +21,3 @@ var core = require('./core');

if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?\\)/.test(x)) {
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[\\\/])/.test(x)) {
var res = path.resolve(y, x);

@@ -24,0 +24,0 @@ if (x === '..') res += '/';

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

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

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