dependency-path
Advanced tools
Comparing version 9.1.1 to 9.1.2
@@ -127,3 +127,3 @@ "use strict"; | ||
function depPathToFilename(depPath) { | ||
const filename = depPathToFilenameUnescaped(depPath).replace(/\//g, '+'); | ||
const filename = depPathToFilenameUnescaped(depPath).replace(/[\\/:*?"<>|]/g, '+'); | ||
if (filename.length > 120 || filename !== filename.toLowerCase() && !filename.startsWith('file+')) { | ||
@@ -130,0 +130,0 @@ return `${filename.substring(0, 50)}_${createBase32Hash(filename)}`; |
{ | ||
"name": "dependency-path", | ||
"version": "9.1.1", | ||
"version": "9.1.2", | ||
"description": "Utilities for working with symlinked node_modules", | ||
@@ -34,3 +34,3 @@ "main": "lib/index.js", | ||
"@types/semver": "^7.3.4", | ||
"dependency-path": "9.1.1" | ||
"dependency-path": "9.1.2" | ||
}, | ||
@@ -37,0 +37,0 @@ "funding": "https://opencollective.com/pnpm", |
Sorry, the diff of this file is not supported yet
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
16837