@pnpm/cli-utils
Advanced tools
Comparing version 0.3.3 to 0.3.4
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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18348
+ Added@pnpm/config@8.0.0(transitive)
+ Added@pnpm/utils@0.12.4(transitive)
- Removed@pnpm/config@7.1.0(transitive)
- Removed@pnpm/utils@0.12.3(transitive)
Updated@pnpm/config@8.0.0
Updated@pnpm/utils@0.12.4