Socket
Socket
Sign inDemoInstall

npm-pick-manifest

Package Overview
Dependencies
Maintainers
5
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-pick-manifest - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

4

lib/index.js

@@ -137,3 +137,3 @@ 'use strict'

.concat(Object.entries(restricted))
.filter(([ver, mani]) => isBefore(verTimes, ver, time))
.filter(([ver]) => isBefore(verTimes, ver, time))

@@ -152,3 +152,3 @@ if (!allEntries.length) {

const sortSemverOpt = { loose: true }
const entries = allEntries.filter(([ver, mani]) =>
const entries = allEntries.filter(([ver]) =>
semver.satisfies(ver, range, { loose: true }))

@@ -155,0 +155,0 @@ .sort((a, b) => {

{
"name": "npm-pick-manifest",
"version": "9.0.0",
"version": "9.0.1",
"description": "Resolves a matching manifest from a package metadata document according to standard npm semver resolution rules.",

@@ -12,3 +12,3 @@ "main": "./lib",

"coverage": "tap",
"lint": "eslint \"**/*.js\"",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"test": "tap",

@@ -23,3 +23,3 @@ "posttest": "npm run lint",

"type": "git",
"url": "https://github.com/npm/npm-pick-manifest.git"
"url": "git+https://github.com/npm/npm-pick-manifest.git"
},

@@ -41,3 +41,3 @@ "keywords": [

"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.18.0",
"@npmcli/template-oss": "4.22.0",
"tap": "^16.0.1"

@@ -57,11 +57,5 @@ },

"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.18.0",
"publish": true,
"ciVersions": [
"16.14.0",
"16.x",
"18.0.0",
"18.x"
]
"version": "4.22.0",
"publish": true
}
}
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