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

@pnpm/lifecycle

Package Overview
Dependencies
Maintainers
3
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/lifecycle - npm Package Compare versions

Comparing version 9.1.3 to 9.2.0

6

CHANGELOG.md
# @pnpm/lifecycle
## 9.2.0
### Minor Changes
- 76aaead32: Added an option for silent execution: opts.silent.
## 9.1.3

@@ -4,0 +10,0 @@

3

lib/runLifecycleHook.d.ts

@@ -10,5 +10,6 @@ import { DependencyManifest, ProjectManifest } from '@pnpm/types';

rootModulesDir: string;
silent?: boolean;
stdio?: string;
unsafePerm: boolean;
};
export default function runLifecycleHook(stage: string, manifest: ProjectManifest | DependencyManifest, opts: RunLifecycleHookOptions): Promise<any>;
export default function runLifecycleHook(stage: string, manifest: ProjectManifest | DependencyManifest, opts: RunLifecycleHookOptions): Promise<void>;

@@ -30,3 +30,5 @@ "use strict";

}
return lifecycle(m, stage, opts.pkgRoot, {
const logLevel = (opts.stdio !== 'inherit' || opts.silent)
? 'silent' : undefined;
await lifecycle(m, stage, opts.pkgRoot, {
config: opts.rawConfig,

@@ -39,3 +41,3 @@ dir: opts.rootModulesDir,

info: noop,
level: opts.stdio === 'inherit' ? undefined : 'silent',
level: logLevel,
pause: noop,

@@ -42,0 +44,0 @@ resume: noop,

{
"name": "@pnpm/lifecycle",
"version": "9.1.3",
"version": "9.2.0",
"description": "Package lifecycle hook runner",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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