pinokiod 3.3.7 → 3.3.8

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.
@@ -280,7 +280,8 @@ class FS {
280
280
  } else if (res[name].vcs_info) {
281
281
  let info = res[name].vcs_info
282
282
  log(["> VCS: ", { url, info }], ondata)
283
- namespace = `${name}/${version}-${info.vcs}-${info.commit_id.slice(0, 4)}`
283
+ let id = info.commit_id || info.requested_revision
284
+ namespace = `${name}/${version}-${info.vcs}-${id.slice(0, 4)}`
284
285
  } else if (res[name].dir_info) {
285
286
  let info = res[name].dir_info
286
287
  log(["> Directory: ", { url, info }], ondata)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.3.7",
3
+ "version": "3.3.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {