@pnpm/local-resolver
Advanced tools
Comparing version 12.0.1 to 12.0.2
@@ -0,5 +1,6 @@ | ||
import { type PkgResolutionId } from '@pnpm/resolver-base'; | ||
export interface LocalPackageSpec { | ||
dependencyPath: string; | ||
fetchSpec: string; | ||
id: string; | ||
id: PkgResolutionId; | ||
type: 'directory' | 'file'; | ||
@@ -6,0 +7,0 @@ normalizedPref: string; |
@@ -75,5 +75,5 @@ "use strict"; | ||
: (0, normalize_path_1.default)(path_1.default.resolve(fetchSpec)); | ||
const id = !injected && (type === 'directory' || projectDir === lockfileDir) | ||
const id = (!injected && (type === 'directory' || projectDir === lockfileDir) | ||
? `${protocol}${(0, normalize_path_1.default)(path_1.default.relative(projectDir, fetchSpec))}` | ||
: `${protocol}${(0, normalize_path_1.default)(path_1.default.relative(lockfileDir, fetchSpec))}`; | ||
: `${protocol}${(0, normalize_path_1.default)(path_1.default.relative(lockfileDir, fetchSpec))}`); | ||
return { | ||
@@ -80,0 +80,0 @@ dependencyPath, |
{ | ||
"name": "@pnpm/local-resolver", | ||
"version": "12.0.1", | ||
"version": "12.0.2", | ||
"description": "Resolver for local packages", | ||
@@ -30,6 +30,6 @@ "main": "lib/index.js", | ||
"@pnpm/error": "6.0.1", | ||
"@pnpm/graceful-fs": "4.0.0", | ||
"@pnpm/resolver-base": "12.0.0", | ||
"@pnpm/read-project-manifest": "6.0.1", | ||
"@pnpm/types": "10.0.0" | ||
"@pnpm/resolver-base": "12.0.1", | ||
"@pnpm/read-project-manifest": "6.0.2", | ||
"@pnpm/types": "10.1.0", | ||
"@pnpm/graceful-fs": "4.0.0" | ||
}, | ||
@@ -39,3 +39,3 @@ "devDependencies": { | ||
"@types/ssri": "^7.1.5", | ||
"@pnpm/local-resolver": "12.0.1" | ||
"@pnpm/local-resolver": "12.0.2" | ||
}, | ||
@@ -42,0 +42,0 @@ "peerDependencies": { |
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
17182
210
+ Added@pnpm/read-project-manifest@6.0.2(transitive)
+ Added@pnpm/resolver-base@12.0.1(transitive)
+ Added@pnpm/types@10.1.0(transitive)
+ Added@pnpm/write-project-manifest@6.0.1(transitive)
- Removed@pnpm/read-project-manifest@6.0.1(transitive)
- Removed@pnpm/resolver-base@12.0.0(transitive)
- Removed@pnpm/types@10.0.0(transitive)
- Removed@pnpm/write-project-manifest@6.0.0(transitive)
Updated@pnpm/resolver-base@12.0.1
Updated@pnpm/types@10.1.0