pacote 21.2.0 → 21.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.
- package/lib/git.js +1 -1
- package/package.json +1 -1
package/lib/git.js
CHANGED
|
@@ -12,7 +12,7 @@ const _ = require('./util/protected.js')
|
|
|
12
12
|
const addGitSha = require('./util/add-git-sha.js')
|
|
13
13
|
const npm = require('./util/npm.js')
|
|
14
14
|
|
|
15
|
-
const hashre = /^[a-f0-9]{40}$/
|
|
15
|
+
const hashre = /^[a-f0-9]{40,64}$/
|
|
16
16
|
|
|
17
17
|
// get the repository url.
|
|
18
18
|
// prefer https if there's auth, since ssh will drop that.
|