Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bare-path

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-path - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

6

index.js

@@ -91,2 +91,3 @@ const posix = makePath(false)

const part = i === -1 ? process.cwd() : args[i]
if (part.length === 0) continue
resolved = path.join(part, resolved)

@@ -99,3 +100,6 @@ if (path.isAbsolute(resolved)) break

path.join = function join (p, ...parts) {
for (const part of parts) p += sep + part
for (const part of parts) {
if (part.length === 0) continue
p += sep + part
}
return path.normalize(p)

@@ -102,0 +106,0 @@ }

2

package.json
{
"name": "bare-path",
"version": "1.1.1",
"version": "1.1.2",
"description": "Path manipulation library for JavaScript",

@@ -5,0 +5,0 @@ "main": "index.js",

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