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 1.1.0 to 1.2.0

lib/options.d.ts

87

lib/index.d.ts

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

export interface Dependencies {
[name: string]: string;
}
export declare type PackageBin = string | {
[commandName: string]: string;
};
export declare type PackageScripts = {
[name: string]: string;
} & {
prepublish?: string;
prepare?: string;
prepublishOnly?: string;
prepack?: string;
postpack?: string;
publish?: string;
postpublish?: string;
preinstall?: string;
install?: string;
postinstall?: string;
preuninstall?: string;
uninstall?: string;
postuninstall?: string;
preversion?: string;
version?: string;
postversion?: string;
pretest?: string;
test?: string;
posttest?: string;
prestop?: string;
stop?: string;
poststop?: string;
prestart?: string;
start?: string;
poststart?: string;
prerestart?: string;
restart?: string;
postrestart?: string;
preshrinkwrap?: string;
shrinkwrap?: string;
postshrinkwrap?: string;
};
export interface PackageJson {
name: string;
version: string;
private?: boolean;
bin?: PackageBin;
directories?: {
bin?: string;
};
dependencies?: Dependencies;
devDependencies?: Dependencies;
optionalDependencies?: Dependencies;
peerDependencies?: Dependencies;
bundleDependencies?: string[];
bundledDependencies?: string[];
scripts?: PackageScripts;
config?: object;
engines?: {
node?: string;
npm?: string;
};
cpu?: string[];
os?: string[];
}
export interface PackageManifest {
name: string;
version: string;
bin?: PackageBin;
directories?: {
bin?: string;
};
dependencies?: Dependencies;
devDependencies?: Dependencies;
optionalDependencies?: Dependencies;
peerDependencies?: Dependencies;
bundleDependencies?: string[];
bundledDependencies?: string[];
engines?: {
node?: string;
npm?: string;
};
cpu?: string[];
os?: string[];
deprecated?: string;
}
export * from './package';
export * from './options';
{
"name": "@pnpm/types",
"version": "1.1.0",
"version": "1.2.0",
"description": "Basic types used by pnpm",

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

"test": "mos test && tslint -c tslint.json -p .",
"prepublishOnly": "tsc"
"tsc": "rimraf lib && tsc",
"prepublishOnly": "npm run tsc"
},

@@ -32,2 +33,3 @@ "repository": {

"mos-plugin-readme": "^1.0.4",
"rimraf": "^2.6.2",
"tslint": "^5.8.0",

@@ -34,0 +36,0 @@ "typescript": "^2.6.1"

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