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

@pnpm/types

Package Overview
Dependencies
Maintainers
3
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 3.0.0 to 3.1.0

12

lib/options.d.ts

@@ -1,5 +0,9 @@

import { PackageManifest } from './package';
import { DependenciesField } from './misc';
import { PackageJson, PackageManifest } from './package';
export interface LogBase {
level: 'debug' | 'info' | 'warn' | 'error';
}
export declare type IncludedDependencies = {
[dependenciesField in DependenciesField]: boolean;
};
export interface PnpmOptions {

@@ -12,2 +16,3 @@ rawNpmConfig?: object;

ignoreScripts?: boolean;
include?: IncludedDependencies;
save?: boolean;

@@ -68,3 +73,6 @@ saveProd?: boolean;

}
export declare type ReadPackageHook = (pkg: PackageManifest) => PackageManifest;
export interface ReadPackageHook {
(pkg: PackageManifest): PackageManifest;
(pkg: PackageJson): PackageJson;
}
export declare type StrictPnpmOptions = PnpmOptions & {

@@ -71,0 +79,0 @@ rawNpmConfig: object;

38

lib/package.d.ts

@@ -42,6 +42,5 @@ export interface Dependencies {

};
export interface PackageJson {
name: string;
version: string;
private?: boolean;
interface BaseManifest {
name?: string;
version?: string;
bin?: PackageBin;

@@ -66,22 +65,17 @@ directories?: {

}
export interface PackageManifest {
export declare type DependencyManifest = BaseManifest & {
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[];
};
export declare type ImporterManifest = BaseManifest & {
private?: boolean;
};
export declare type PackageJson = BaseManifest & {
private?: boolean;
};
export declare type PackageManifest = BaseManifest & {
name: string;
version: string;
deprecated?: string;
}
};
export {};
{
"name": "@pnpm/types",
"version": "3.0.0",
"version": "3.1.0",
"description": "Basic types used by pnpm",

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

"rimraf": "2.6.3",
"tslint": "5.13.1",
"typescript": "3.3.3333"
"tslint": "5.16.0",
"typescript": "3.4.4"
},

@@ -38,0 +38,0 @@ "mos": {

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