Socket
Socket
Sign inDemoInstall

@pnpm/directory-fetcher

Package Overview
Dependencies
Maintainers
2
Versions
68
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 1.0.7 to 2.0.0

3

lib/index.js

@@ -20,3 +20,2 @@ "use strict";

async function fetchFromDir(dir, opts) {
var _a;
const files = await (0, npm_packlist_1.default)({ path: dir });

@@ -28,3 +27,3 @@ const filesIndex = (0, fromPairs_1.default)(files.map((file) => [file, path_1.default.join(dir, file)]));

// Related PR in Bit: https://github.com/teambit/bit/pull/5251
const manifest = (_a = await (0, read_project_manifest_1.safeReadProjectManifestOnly)(dir)) !== null && _a !== void 0 ? _a : {};
const manifest = await (0, read_project_manifest_1.safeReadProjectManifestOnly)(dir) ?? {};
opts.manifest.resolve(manifest); // eslint-disable-line @typescript-eslint/no-explicit-any

@@ -31,0 +30,0 @@ }

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

@@ -14,6 +14,6 @@ "funding": "https://opencollective.com/pnpm",

"engines": {
"node": ">=12.17"
"node": ">=14.19"
},
"keywords": [
"pnpm6",
"pnpm7",
"pnpm",

@@ -28,5 +28,5 @@ "fetcher"

"dependencies": {
"@pnpm/fetcher-base": "11.1.6",
"@pnpm/read-project-manifest": "2.0.13",
"@pnpm/resolver-base": "8.1.6",
"@pnpm/fetcher-base": "12.0.0",
"@pnpm/read-project-manifest": "3.0.0",
"@pnpm/resolver-base": "9.0.0",
"npm-packlist": "^3.0.0",

@@ -36,5 +36,8 @@ "ramda": "^0.27.1"

"devDependencies": {
"@pnpm/directory-fetcher": "1.0.7",
"@pnpm/test-fixtures": "0.0.5"
"@pnpm/directory-fetcher": "2.0.0",
"@pnpm/test-fixtures": "0.0.6"
},
"exports": {
".": "./lib/index.js"
},
"scripts": {

@@ -41,0 +44,0 @@ "_test": "jest",

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