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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35411
741