add hasha dependency

This is a simple wrapper for built-in node.js hashing APIs.
This commit is contained in:
Dmitry Muhomor 2023-08-25 16:13:31 +03:00 committed by Daniel Micay
parent 40abb08329
commit 9be2a36aa5
2 changed files with 22 additions and 0 deletions

View file

@ -13,6 +13,7 @@
"@oclif/plugin-help": "^3", "@oclif/plugin-help": "^3",
"chalk": "^4.1.2", "chalk": "^4.1.2",
"cli-progress": "^3.9.1", "cli-progress": "^3.9.1",
"hasha": "^5.2.2",
"jsdom": "^22.1.0", "jsdom": "^22.1.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"node-fetch": "^2.6.13", "node-fetch": "^2.6.13",
@ -28,6 +29,7 @@
"@oclif/test": "^1", "@oclif/test": "^1",
"@types/chai": "^4", "@types/chai": "^4",
"@types/cli-progress": "^3.9.2", "@types/cli-progress": "^3.9.2",
"@types/hasha": "^3.0.1",
"@types/jsdom": "^21.1.2", "@types/jsdom": "^21.1.2",
"@types/mocha": "^5", "@types/mocha": "^5",
"@types/node": "^16.11.6", "@types/node": "^16.11.6",

View file

@ -376,6 +376,13 @@
"@types/minimatch" "*" "@types/minimatch" "*"
"@types/node" "*" "@types/node" "*"
"@types/hasha@^3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@types/hasha/-/hasha-3.0.1.tgz#376531c4da8076b0769a5d684eb5cd27506bb901"
integrity sha512-BcVM5IwNV9HqEWCYa/ldX3xipzyfSsrC4+JVeA4nuLjRATdMhgAg1oH6eUDTl0lhvjSJYuLiVVTJxHZh4GAqig==
dependencies:
hasha "*"
"@types/jsdom@^21.1.2": "@types/jsdom@^21.1.2":
version "21.1.2" version "21.1.2"
resolved "https://registry.yarnpkg.com/@types/jsdom/-/jsdom-21.1.2.tgz#d04db019ad62174d28c63c927761f2f196825f04" resolved "https://registry.yarnpkg.com/@types/jsdom/-/jsdom-21.1.2.tgz#d04db019ad62174d28c63c927761f2f196825f04"
@ -1710,6 +1717,14 @@ has@^1.0.3:
dependencies: dependencies:
function-bind "^1.1.1" function-bind "^1.1.1"
hasha@*, hasha@^5.2.2:
version "5.2.2"
resolved "https://registry.yarnpkg.com/hasha/-/hasha-5.2.2.tgz#a48477989b3b327aea3c04f53096d816d97522a1"
integrity sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ==
dependencies:
is-stream "^2.0.0"
type-fest "^0.8.0"
hasha@^3.0.0: hasha@^3.0.0:
version "3.0.0" version "3.0.0"
resolved "https://registry.yarnpkg.com/hasha/-/hasha-3.0.0.tgz#52a32fab8569d41ca69a61ff1a214f8eb7c8bd39" resolved "https://registry.yarnpkg.com/hasha/-/hasha-3.0.0.tgz#52a32fab8569d41ca69a61ff1a214f8eb7c8bd39"
@ -3395,6 +3410,11 @@ type-fest@^0.6.0:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b"
integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==
type-fest@^0.8.0:
version "0.8.1"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
typedarray-to-buffer@^3.1.5: typedarray-to-buffer@^3.1.5:
version "3.1.5" version "3.1.5"
resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"