@npmcli/arborist 9.2.0 → 9.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/dep-valid.js +1 -1
  2. package/package.json +1 -1
package/lib/dep-valid.js CHANGED
@@ -82,7 +82,7 @@ const depValid = (child, requested, requestor) => {
82
82
  const resRepo = npa(child.resolved || '')
83
83
  const resHost = resRepo.hosted
84
84
  const reqHost = requested.hosted
85
- const reqCommit = /^[a-fA-F0-9]{40}$/.test(requested.gitCommittish || '')
85
+ const reqCommit = /^[a-fA-F0-9]{40,64}$/.test(requested.gitCommittish || '')
86
86
  const nc = { noCommittish: !reqCommit }
87
87
  if (!resHost) {
88
88
  if (resRepo.fetchSpec !== requested.fetchSpec) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npmcli/arborist",
3
- "version": "9.2.0",
3
+ "version": "9.3.0",
4
4
  "description": "Manage node_modules trees",
5
5
  "dependencies": {
6
6
  "@isaacs/string-locale-compare": "^1.1.0",