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

@pnpm/core-loggers

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/core-loggers - npm Package Compare versions

Comparing version 10.0.5 to 10.0.6

17

lib/fetchingProgressLogger.d.ts
import { type LogBase, type Logger } from '@pnpm/logger';
export declare const fetchingProgressLogger: Logger<FetchingProgressMessage>;
export type FetchingProgressMessage = {
export interface FetchingProgressMessageBase {
attempt?: number;
downloaded?: number;
packageId: string;
size?: number | null;
status?: 'started' | 'in_progress';
}
export interface FetchingProgressMessageStarted extends FetchingProgressMessageBase {
attempt: number;
packageId: string;
size: number | null;
status: 'started';
} | {
}
export interface FetchingProgressMessageInProgress extends FetchingProgressMessageBase {
downloaded: number;
packageId: string;
status: 'in_progress';
};
}
export type FetchingProgressMessage = FetchingProgressMessageStarted | FetchingProgressMessageInProgress;
export type FetchingProgressLog = {
name: 'pnpm:fetching-progress';
} & LogBase & FetchingProgressMessage;
import { type LogBase } from '@pnpm/logger';
export declare const lifecycleLogger: import("@pnpm/logger").Logger<LifecycleMessage>;
export type LifecycleMessage = {
export interface LifecycleMessageBase {
depPath: string;
stage: string;
wd: string;
} & ({
exitCode?: number;
line?: string;
optional?: boolean;
script?: string;
stdio?: 'stdout' | 'stderr';
}
export interface StdioLifecycleMessage extends LifecycleMessageBase {
line: string;
stdio: 'stdout' | 'stderr';
} | {
}
export interface ExitLifecycleMessage extends LifecycleMessageBase {
exitCode: number;
optional: boolean;
} | {
}
export interface ScriptLifecycleMessage extends LifecycleMessageBase {
script: string;
optional: boolean;
});
}
export type LifecycleMessage = StdioLifecycleMessage | ExitLifecycleMessage | ScriptLifecycleMessage;
export type LifecycleLog = {
name: 'pnpm:lifecycle';
} & LogBase & LifecycleMessage;
import { type LogBase } from '@pnpm/logger';
import { type ProjectManifest } from '@pnpm/types';
export declare const packageManifestLogger: import("@pnpm/logger").Logger<PackageManifestMessage>;
export type PackageManifestMessage = {
export interface PackageManifestMessageBase {
prefix: string;
} & ({
initial?: ProjectManifest;
updated?: ProjectManifest;
}
export interface PackageManifestMessageInitial extends PackageManifestMessageBase {
initial: ProjectManifest;
} | {
}
export interface PackageManifestMessageUpdated extends PackageManifestMessageBase {
updated: ProjectManifest;
});
}
export type PackageManifestMessage = PackageManifestMessageInitial | PackageManifestMessageUpdated;
export type PackageManifestLog = {
name: 'pnpm:package-manifest';
} & LogBase & PackageManifestMessage;
import { type LogBase } from '@pnpm/logger';
export declare const requestRetryLogger: import("@pnpm/logger").Logger<RequestRetryMessage>;
export interface RequestRetryError extends Error {
httpStatusCode?: string;
status?: string;
errno?: number;
code?: string;
}
export interface RequestRetryMessage {
attempt: number;
error: Error;
error: RequestRetryError;
maxRetries: number;

@@ -7,0 +13,0 @@ method: string;

@@ -23,2 +23,3 @@ import { type LogBase } from '@pnpm/logger';

package: {
id?: never;
name: string | undefined;

@@ -25,0 +26,0 @@ version: string | undefined;

import { type LogBase } from '@pnpm/logger';
export declare const statsLogger: import("@pnpm/logger").Logger<StatsMessage>;
export type StatsMessage = {
export interface StatsMessageBase {
prefix: string;
} & ({
added?: number;
removed?: number;
}
export interface StatsMessageAdded extends StatsMessageBase {
added: number;
} | {
removed?: never;
}
export interface StatsMessageRemoved extends StatsMessageBase {
added?: never;
removed: number;
});
}
export type StatsMessage = StatsMessageAdded | StatsMessageRemoved;
export type StatsLog = {
name: 'pnpm:stats';
} & LogBase & StatsMessage;
{
"name": "@pnpm/core-loggers",
"description": "Core loggers of pnpm",
"version": "10.0.5",
"version": "10.0.6",
"bugs": {

@@ -15,6 +15,7 @@ "url": "https://github.com/pnpm/pnpm/issues"

"peerDependencies": {
"@pnpm/logger": "^5.0.0"
"@pnpm/logger": "^5.1.0"
},
"devDependencies": {
"@pnpm/core-loggers": "10.0.5"
"@pnpm/core-loggers": "10.0.6",
"@pnpm/logger": "5.2.0"
},

@@ -33,3 +34,3 @@ "directories": {

"dependencies": {
"@pnpm/types": "12.0.0"
"@pnpm/types": "12.1.0"
},

@@ -36,0 +37,0 @@ "homepage": "https://github.com/pnpm/pnpm/blob/main/packages/core-loggers#readme",

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