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

@pnpm/manifest-utils

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/manifest-utils - npm Package Compare versions

Comparing version 2.1.9 to 2.1.10

4

lib/getPref.d.ts
export declare type PinnedVersion = 'major' | 'minor' | 'patch' | 'none';
export declare const getPrefix: (alias: string, name: string) => string;
export declare function getPref(alias: string, name: string, version: string, opts: {
export declare function getPref(alias: string, name: string, version: string | undefined, opts: {
pinnedVersion?: PinnedVersion;
}): string;
export declare function createVersionSpec(version: string, pinnedVersion?: PinnedVersion): string;
export declare function createVersionSpec(version: string | undefined, pinnedVersion?: PinnedVersion): string;

@@ -16,2 +16,4 @@ "use strict";

function createVersionSpec(version, pinnedVersion) {
if (!version)
return '*';
switch (pinnedVersion !== null && pinnedVersion !== void 0 ? pinnedVersion : 'major') {

@@ -18,0 +20,0 @@ case 'none':

{
"name": "@pnpm/manifest-utils",
"description": "Utils for dealing with package manifest",
"version": "2.1.9",
"version": "2.1.10",
"bugs": {

@@ -30,3 +30,3 @@ "url": "https://github.com/pnpm/pnpm/issues"

"devDependencies": {
"@pnpm/manifest-utils": "2.1.9"
"@pnpm/manifest-utils": "2.1.10"
},

@@ -33,0 +33,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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