@pnpm/local-resolver
Advanced tools
Comparing version 2.0.4 to 2.0.5
"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
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
6
14264
11
171
+ Added@pnpm/read-importer-manifest@1.0.0(transitive)
+ Added@pnpm/write-importer-manifest@1.0.0(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addeddetect-indent@5.0.06.0.0(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedimurmurhash@0.1.4(transitive)
+ Addedis-plain-obj@1.1.0(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedjson5@2.1.0(transitive)
+ Addedmake-dir@2.1.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedpify@4.0.1(transitive)
+ Addedread-yaml-file@1.1.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedsort-keys@2.0.0(transitive)
+ Addedsprintf-js@1.0.3(transitive)
+ Addedstrip-bom@3.0.04.0.0(transitive)
+ Addedwrite-file-atomic@2.4.3(transitive)
+ Addedwrite-json-file@3.2.0(transitive)
+ Addedwrite-json5-file@2.0.0(transitive)
+ Addedwrite-yaml-file@2.0.0(transitive)
- Removed@pnpm/read-package-json@2.0.1
- Removed@types/graceful-fs@4.1.3
- Removed@types/node@*
- Removed@pnpm/read-package-json@2.0.1(transitive)
- Removed@types/graceful-fs@4.1.3(transitive)
- Removed@types/node@22.5.5(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedglob@7.2.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhosted-git-info@2.8.9(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedjson-parse-better-errors@1.0.2(transitive)
- Removedminimatch@3.1.2(transitive)
- Removednormalize-package-data@2.5.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedread-package-json@2.0.13(transitive)
- Removedresolve@1.22.8(transitive)
- Removedslash@1.0.0(transitive)
- Removedspdx-correct@3.2.0(transitive)
- Removedspdx-exceptions@2.5.0(transitive)
- Removedspdx-expression-parse@3.0.1(transitive)
- Removedspdx-license-ids@3.0.20(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedundici-types@6.19.8(transitive)
- Removedvalidate-npm-package-license@3.0.4(transitive)
- Removedwrappy@1.0.2(transitive)