Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/fs.indexed-pkg-importer

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/fs.indexed-pkg-importer - npm Package Compare versions

Comparing version 5.0.5 to 5.0.6

6

lib/importIndexedDir.js

@@ -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

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