Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/types

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/types - npm Package Compare versions

Comparing version 10.0.0 to 10.1.0

14

lib/misc.d.ts

@@ -14,3 +14,3 @@ export type DependenciesField = 'optionalDependencies' | 'dependencies' | 'devDependencies';

}
export type HoistedDependencies = Record<string, Record<string, 'public' | 'private'>>;
export type HoistedDependencies = Record<DepPath | string, Record<string, 'public' | 'private'>>;
export interface PatchFile {

@@ -20,1 +20,13 @@ path: string;

}
export type PkgResolutionId = string & {
__brand: 'PkgResolutionId';
};
export type PkgId = string & {
__brand: 'PkgId';
};
export type PkgIdWithPatchHash = string & {
__brand: 'PkgIdWithPatchHash';
};
export type DepPath = string & {
__brand: 'DepPath';
};

13

lib/package.d.ts

@@ -108,3 +108,6 @@ export type Dependencies = Record<string, string>;

}
export type DependencyManifest = BaseManifest & Required<Pick<BaseManifest, 'name' | 'version'>>;
export interface DependencyManifest extends BaseManifest {
name: string;
version: string;
}
export type PackageExtension = Pick<BaseManifest, 'dependencies' | 'optionalDependencies' | 'peerDependencies' | 'peerDependenciesMeta'>;

@@ -117,3 +120,3 @@ export interface PeerDependencyRules {

export type AllowedDeprecatedVersions = Record<string, string>;
export type ProjectManifest = BaseManifest & {
export interface ProjectManifest extends BaseManifest {
packageManager?: string;

@@ -143,6 +146,6 @@ workspaces?: string[];

resolutions?: Record<string, string>;
};
export type PackageManifest = DependencyManifest & {
}
export interface PackageManifest extends DependencyManifest {
deprecated?: string;
};
}
export interface SupportedArchitectures {

@@ -149,0 +152,0 @@ os?: string[];

{
"name": "@pnpm/types",
"version": "10.0.0",
"version": "10.1.0",
"description": "Basic types used by pnpm",

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

"devDependencies": {
"@pnpm/types": "10.0.0"
"@pnpm/types": "10.1.0"
},

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

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