Socket
Socket
Sign inDemoInstall

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.0 to 1.1.1

2

index.js

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

const isAbsolute = root !== ''
const hasTrailingSep = p[p.length - 1] === sep

@@ -146,2 +147,3 @@ let i = root.length

if (root) out = root + out
if (hasTrailingSep) out += sep

@@ -148,0 +150,0 @@ return out || '.'

3

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

@@ -23,4 +23,5 @@ "main": "index.js",

"devDependencies": {
"brittle": "^3.3.2",
"standard": "^17.0.0"
}
}
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