npm-pick-manifest
Advanced tools
Comparing version 9.0.0 to 9.0.1
@@ -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 | ||
} | ||
} |
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
16304