Socket
Socket
Sign inDemoInstall

@pnpm/local-resolver

Package Overview
Dependencies
Maintainers
2
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 12.0.1 to 12.0.2

3

lib/parsePref.d.ts

@@ -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

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