@squared-functions/module
Advanced tools
Comparing version 0.9.3 to 0.9.4
@@ -1,2 +0,2 @@ | ||
/* @squared-functions/module 0.9.3 | ||
/* @squared-functions/module 0.9.4 | ||
https://github.com/anpham6/squared-functions */ | ||
@@ -67,5 +67,6 @@ | ||
joinPosix(...paths) { | ||
paths = paths.filter(value => value && value.trim()); | ||
let result = ''; | ||
for (let i = 0; i < paths.length; ++i) { | ||
const trailing = (paths[i] || '').trim().replace(/\\+/g, '/'); | ||
const trailing = paths[i].replace(/\\+/g, '/'); | ||
if (i === 0) { | ||
@@ -72,0 +73,0 @@ result = trailing; |
{ | ||
"name": "@squared-functions/module", | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"description": "Module extension class for squared-functions", | ||
@@ -18,5 +18,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@squared-functions/types": "^0.9.3", | ||
"@squared-functions/types": "^0.9.4", | ||
"chalk": "^4.1.0" | ||
} | ||
} |
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
9049
200