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 2.1.2 to 2.1.3

12

index.js
/* global Bare */
const posix = require('./lib/posix')
const win32 = require('./lib/win32')
module.exports = Bare.platform === 'win32' ? win32 : posix
// This export SHOULD NOT be shortened in any way as having the full
// `module.exports = require(...)` statement is crucial for synthesizing
// ESM exports.
if (Bare.platform === 'win32') {
module.exports = require('./lib/win32')
} else {
module.exports = require('./lib/posix')
}
{
"name": "bare-path",
"version": "2.1.2",
"version": "2.1.3",
"description": "Path manipulation library for JavaScript",

@@ -5,0 +5,0 @@ "exports": {

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