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

@pnpm/cli-utils

Package Overview
Dependencies
Maintainers
3
Versions
315
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/cli-utils - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

2

lib/getSaveType.d.ts
import { Config } from '@pnpm/config';
import { DependenciesField } from '@pnpm/types';
export default function getSaveType(opts: Pick<Config, 'saveDev' | 'saveOptional' | 'saveProd'>): DependenciesField | undefined;
export default function getSaveType(opts: Pick<Config, 'saveDev' | 'saveOptional' | 'saveProd' | 'savePeer'>): DependenciesField | undefined;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getSaveType(opts) {
if (opts.saveDev)
if (opts.saveDev || opts.savePeer)
return 'devDependencies';

@@ -6,0 +6,0 @@ if (opts.saveOptional)

{
"name": "@pnpm/cli-utils",
"version": "0.3.3",
"version": "0.3.4",
"description": "Utils for pnpm commands",

@@ -39,7 +39,7 @@ "main": "lib/index.js",

"@pnpm/command": "0.1.0-0",
"@pnpm/config": "7.1.0",
"@pnpm/config": "8.0.0",
"@pnpm/error": "1.0.0",
"@pnpm/package-is-installable": "4.0.3",
"@pnpm/read-project-manifest": "1.0.0",
"@pnpm/utils": "0.12.3",
"@pnpm/utils": "0.12.4",
"chalk": "3.0.0",

@@ -46,0 +46,0 @@ "load-json-file": "6.2.0",

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