Socket
Socket
Sign inDemoInstall

@pnpm/directory-fetcher

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/directory-fetcher - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

2

lib/index.d.ts

@@ -10,3 +10,3 @@ import { Cafs, DeferredManifestPromise } from '@pnpm/fetcher-base';

}
declare const _default: (opts?: CreateDirectoryFetcherOptions | undefined) => {
declare const _default: (opts?: CreateDirectoryFetcherOptions) => {
directory: (cafs: Cafs, resolution: DirectoryResolution, opts: DirectoryFetcherOptions) => Promise<{

@@ -13,0 +13,0 @@ local: true;

@@ -10,3 +10,3 @@ "use strict";

const read_project_manifest_1 = require("@pnpm/read-project-manifest");
const fromPairs_1 = __importDefault(require("ramda/src/fromPairs"));
const fromPairs_js_1 = __importDefault(require("ramda/src/fromPairs.js"));
const npm_packlist_1 = __importDefault(require("npm-packlist"));

@@ -65,3 +65,3 @@ exports.default = (opts) => {

const files = await (0, npm_packlist_1.default)({ path: dir });
const filesIndex = (0, fromPairs_1.default)(files.map((file) => [file, path_1.default.join(dir, file)]));
const filesIndex = (0, fromPairs_js_1.default)(files.map((file) => [file, path_1.default.join(dir, file)]));
if (opts.manifest) {

@@ -68,0 +68,0 @@ // In a regular pnpm workspace it will probably never happen that a dependency has no package.json file.

{
"name": "@pnpm/directory-fetcher",
"version": "3.0.6",
"version": "3.0.7",
"description": "A fetcher for local directory packages",

@@ -31,9 +31,9 @@ "funding": "https://opencollective.com/pnpm",

"npm-packlist": "^3.0.0",
"ramda": "^0.27.1"
"ramda": "^0.28.0"
},
"devDependencies": {
"@pnpm/directory-fetcher": "3.0.6",
"@pnpm/directory-fetcher": "3.0.7",
"@pnpm/test-fixtures": "0.0.14",
"@types/npm-packlist": "^1.1.2",
"@types/ramda": "0.27.39"
"@types/ramda": "0.28.14"
},

@@ -40,0 +40,0 @@ "exports": {

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