@pnpm/fs.indexed-pkg-importer
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -76,3 +76,3 @@ "use strict"; | ||
(0, make_empty_dir_1.sync)(newDir, { recursive: true }); | ||
const alldirs = new Set(); | ||
const allDirs = new Set(); | ||
Object.keys(filenames) | ||
@@ -83,5 +83,5 @@ .forEach((f) => { | ||
return; | ||
alldirs.add(dir); | ||
allDirs.add(dir); | ||
}); | ||
Array.from(alldirs) | ||
Array.from(allDirs) | ||
.sort((d1, d2) => d1.length - d2.length) // from shortest to longest | ||
@@ -88,0 +88,0 @@ .forEach((dir) => fs_1.default.mkdirSync(path_1.default.join(newDir, dir), { recursive: true })); |
@@ -124,3 +124,3 @@ "use strict"; | ||
// This will probably only happen if the package's index file contains the same file twice. | ||
// For intstance: { "index.js": "hash", "./index.js": "hash" } | ||
// For instance: { "index.js": "hash", "./index.js": "hash" } | ||
if (!err.message.startsWith('File exists')) | ||
@@ -127,0 +127,0 @@ throw err; |
{ | ||
"name": "@pnpm/fs.indexed-pkg-importer", | ||
"description": "Replicates indexed directories using hard links, copies, or cloning", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"bugs": { | ||
@@ -27,10 +27,10 @@ "url": "https://github.com/pnpm/pnpm/issues" | ||
"sanitize-filename": "^1.6.3", | ||
"@pnpm/core-loggers": "9.0.3", | ||
"@pnpm/core-loggers": "9.0.4", | ||
"@pnpm/graceful-fs": "3.2.0", | ||
"@pnpm/store-controller-types": "17.0.1" | ||
"@pnpm/store-controller-types": "17.1.0" | ||
}, | ||
"devDependencies": { | ||
"@types/fs-extra": "^9.0.13", | ||
"@pnpm/fs.indexed-pkg-importer": "5.0.5", | ||
"@pnpm/prepare": "0.0.82" | ||
"@pnpm/fs.indexed-pkg-importer": "5.0.6", | ||
"@pnpm/prepare": "0.0.83" | ||
}, | ||
@@ -37,0 +37,0 @@ "directories": { |
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
29124
+ Added@pnpm/core-loggers@9.0.4(transitive)
+ Added@pnpm/fetcher-base@15.0.3(transitive)
+ Added@pnpm/resolver-base@10.0.4(transitive)
+ Added@pnpm/store-controller-types@17.1.0(transitive)
+ Added@pnpm/types@9.4.0(transitive)
- Removed@pnpm/core-loggers@9.0.3(transitive)
- Removed@pnpm/fetcher-base@15.0.2(transitive)
- Removed@pnpm/resolver-base@10.0.3(transitive)
- Removed@pnpm/store-controller-types@17.0.1(transitive)
- Removed@pnpm/types@9.3.0(transitive)
Updated@pnpm/core-loggers@9.0.4