Socket
Socket
Sign inDemoInstall

@pnpm/lockfile-types

Package Overview
Dependencies
1
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 7.0.0

8

lib/index.d.ts

@@ -1,2 +0,2 @@

import { type DependenciesMeta, type PatchFile } from '@pnpm/types';
import { type DependenciesMeta, type DepPath, type PatchFile } from '@pnpm/types';
export type { PatchFile };

@@ -10,3 +10,3 @@ export * from './lockfileFileTypes';

importers: Record<string, ProjectSnapshot>;
lockfileVersion: number | string;
lockfileVersion: string;
time?: Record<string, string>;

@@ -23,3 +23,3 @@ packages?: PackageSnapshots;

importers: Record<string, ProjectSnapshot>;
lockfileVersion: number | string;
lockfileVersion: string;
time?: Record<string, string>;

@@ -48,3 +48,3 @@ snapshots?: Record<string, PackageSnapshotV7>;

export interface PackageSnapshots {
[packagePath: string]: PackageSnapshot;
[packagePath: DepPath]: PackageSnapshot;
}

@@ -51,0 +51,0 @@ /**

import type { Lockfile, PackageSnapshot, ProjectSnapshot } from '.';
import type { DependenciesMeta } from '@pnpm/types';
export type LockfileFile = Omit<InlineSpecifiersLockfile, 'importers'> & Partial<InlineSpecifiersProjectSnapshot> & Partial<Pick<InlineSpecifiersLockfile, 'importers'>>;
export type LockfileFileV7 = Omit<InlineSpecifiersLockfile, 'importers' | 'packages'> & Partial<InlineSpecifiersProjectSnapshot> & Partial<Pick<InlineSpecifiersLockfile, 'importers'>> & {
export type LockfileFileV9 = Omit<InlineSpecifiersLockfile, 'importers' | 'packages'> & Partial<InlineSpecifiersProjectSnapshot> & Partial<Pick<InlineSpecifiersLockfile, 'importers'>> & {
packages?: Record<string, Pick<PackageSnapshot, 'resolution' | 'engines' | 'cpu' | 'os' | 'hasBin' | 'name' | 'version' | 'bundledDependencies' | 'peerDependencies' | 'peerDependenciesMeta' | 'deprecated'>>;

@@ -6,0 +6,0 @@ snapshots?: Record<string, Pick<PackageSnapshot, 'dependencies' | 'optionalDependencies' | 'patched' | 'optional' | 'transitivePeerDependencies' | 'id'>>;

{
"name": "@pnpm/lockfile-types",
"version": "6.0.0",
"version": "7.0.0",
"description": "Types for the pnpm-lock.yaml lockfile",

@@ -27,6 +27,6 @@ "main": "lib/index.js",

"dependencies": {
"@pnpm/types": "10.0.0"
"@pnpm/types": "10.1.0"
},
"devDependencies": {
"@pnpm/lockfile-types": "6.0.0"
"@pnpm/lockfile-types": "7.0.0"
},

@@ -33,0 +33,0 @@ "exports": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc