Socket
Socket
Sign inDemoInstall

@pnpm/local-resolver

Package Overview
Dependencies
Maintainers
3
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/local-resolver - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

9

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const read_package_json_1 = require("@pnpm/read-package-json");
const read_importer_manifest_1 = require("@pnpm/read-importer-manifest");
const fs = require("graceful-fs");
const path = require("path");
const ssri = require("ssri");

@@ -26,5 +25,5 @@ const parsePref_1 = require("./parsePref");

}
let localPkg;
let localDependencyManifest;
try {
localPkg = await read_package_json_1.default(path.join(spec.fetchSpec, 'package.json'));
localDependencyManifest = await read_importer_manifest_1.readImporterManifestOnly(spec.fetchSpec);
}

@@ -51,3 +50,3 @@ catch (internalErr) {

normalizedPref: spec.normalizedPref,
package: localPkg,
package: localDependencyManifest,
resolution: {

@@ -54,0 +53,0 @@ directory: spec.dependencyPath,

{
"name": "@pnpm/local-resolver",
"version": "2.0.4",
"version": "2.0.5",
"description": "Resolver for local packages",

@@ -34,7 +34,5 @@ "main": "lib/index.js",

"dependencies": {
"@pnpm/read-package-json": "2.0.1",
"@pnpm/read-importer-manifest": "1.0.0",
"@pnpm/resolver-base": "3.1.2",
"@pnpm/types": "3.2.0",
"@types/graceful-fs": "4.1.3",
"@types/node": "*",
"graceful-fs": "4.1.15",

@@ -47,2 +45,4 @@ "normalize-path": "3.0.0",

"@pnpm/tslint-config": "0.0.0",
"@types/graceful-fs": "4.1.3",
"@types/node": "*",
"@types/tape": "^4.2.31",

@@ -49,0 +49,0 @@ "mos": "^2.0.0-alpha.3",

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