Skip to content

Commit

Permalink
deps: npm-pick-manifest@9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 7, 2024
1 parent 310a7a5 commit e2fdb65
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 23 deletions.
4 changes: 2 additions & 2 deletions node_modules/npm-pick-manifest/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const pickManifest = (packument, wanted, opts) => {
const allEntries = Object.entries(versions)
.concat(Object.entries(staged))
.concat(Object.entries(restricted))
.filter(([ver, mani]) => isBefore(verTimes, ver, time))
.filter(([ver]) => isBefore(verTimes, ver, time))

if (!allEntries.length) {
throw Object.assign(new Error(`No versions available for ${name}`), {
Expand All @@ -148,7 +148,7 @@ const pickManifest = (packument, wanted, opts) => {
}

const sortSemverOpt = { loose: true }
const entries = allEntries.filter(([ver, mani]) =>
const entries = allEntries.filter(([ver]) =>
semver.satisfies(ver, range, { loose: true }))
.sort((a, b) => {
const [vera, mania] = a
Expand Down
18 changes: 6 additions & 12 deletions node_modules/npm-pick-manifest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"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.",
"main": "./lib",
"files": [
Expand All @@ -9,7 +9,7 @@
],
"scripts": {
"coverage": "tap",
"lint": "eslint \"**/*.js\"",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"test": "tap",
"posttest": "npm run lint",
"postlint": "template-oss-check",
Expand All @@ -19,7 +19,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/npm-pick-manifest.git"
"url": "git+https://github.com/npm/npm-pick-manifest.git"
},
"keywords": [
"npm",
Expand All @@ -36,7 +36,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.18.0",
"@npmcli/template-oss": "4.22.0",
"tap": "^16.0.1"
},
"tap": {
Expand All @@ -51,13 +51,7 @@
},
"templateOSS": {
"//@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
}
}
15 changes: 8 additions & 7 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"npm-audit-report": "^5.0.0",
"npm-install-checks": "^6.3.0",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-pick-manifest": "^9.0.1",
"npm-profile": "^10.0.0",
"npm-registry-fetch": "^17.0.1",
"npm-user-validate": "^2.0.0",
Expand Down Expand Up @@ -1588,7 +1588,7 @@
"dependencies": {
"@npmcli/promise-spawn": "^7.0.0",
"lru-cache": "^10.0.1",
"npm-pick-manifest": "^9.0.0",
"npm-pick-manifest": "^9.0.1",
"proc-log": "^4.0.0",
"promise-inflight": "^1.0.1",
"promise-retry": "^2.0.1",
Expand Down Expand Up @@ -8864,10 +8864,11 @@
}
},
"node_modules/npm-pick-manifest": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.0.0.tgz",
"integrity": "sha512-VfvRSs/b6n9ol4Qb+bDwNGUXutpy76x6MARw/XssevE0TnctIKcmklJZM5Z7nqs5z5aW+0S63pgCNbpkUNNXBg==",
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.0.1.tgz",
"integrity": "sha512-Udm1f0l2nXb3wxDpKjfohwgdFUSV50UVwzEIpDXVsbDMXVIEF81a/i0UhuQbhrPMMmdiq3+YMFLFIRVLs3hxQw==",
"inBundle": true,
"license": "ISC",
"dependencies": {
"npm-install-checks": "^6.0.0",
"npm-normalize-package-bin": "^3.0.0",
Expand Down Expand Up @@ -9470,7 +9471,7 @@
"minipass": "^7.0.2",
"npm-package-arg": "^11.0.0",
"npm-packlist": "^8.0.0",
"npm-pick-manifest": "^9.0.0",
"npm-pick-manifest": "^9.0.1",
"npm-registry-fetch": "^17.0.0",
"proc-log": "^4.0.0",
"promise-retry": "^2.0.1",
Expand Down Expand Up @@ -14808,7 +14809,7 @@
"nopt": "^7.2.1",
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-pick-manifest": "^9.0.1",
"npm-registry-fetch": "^17.0.1",
"pacote": "^18.0.1",
"parse-conflict-json": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"npm-audit-report": "^5.0.0",
"npm-install-checks": "^6.3.0",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-pick-manifest": "^9.0.1",
"npm-profile": "^10.0.0",
"npm-registry-fetch": "^17.0.1",
"npm-user-validate": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/arborist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"nopt": "^7.2.1",
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-pick-manifest": "^9.0.1",
"npm-registry-fetch": "^17.0.1",
"pacote": "^18.0.1",
"parse-conflict-json": "^3.0.0",
Expand Down

0 comments on commit e2fdb65

Please sign in to comment.