Home
last modified time | relevance | path

Searched refs:pickAlgorithm (Results 1 – 6 of 6) sorted by relevance

/third_party/node/deps/npm/node_modules/ssri/
Dindex.js19 pickAlgorithm: {default: () => getPrioritizedHash}, property
114 const algo = other.pickAlgorithm(opts)
125 pickAlgorithm (opts) { method in Integrity
127 const pickAlgorithm = opts.pickAlgorithm
135 return pickAlgorithm(acc, algo) || acc
249 const algorithm = sri.pickAlgorithm(opts)
297 const algorithm = goodSri && sri.pickAlgorithm(opts)
DREADME.md25 * [`Integrity#pickAlgorithm`](#integrity-pick-algorithm)
226 passed through to `parse` and [`pickAlgorithm()`](#integrity-pick-algorithm).
243 #### <a name="integrity-pick-algorithm"></a> `> Integrity#pickAlgorithm([opts]) -> String`
247 If `opts.pickAlgorithm` is provided, it will be passed two algorithms as
257 …ELD1piyANiWnmdnpCL5F52f10UfUdEkHywVZeqTt0ymgrxR63Qz0GB7TKPoeeZQmWCaz7T1').pickAlgorithm() // sha512
388 If `opts.pickAlgorithm` is provided, it will be used by
389 [`Integrity#pickAlgorithm`](#integrity-pick-algorithm) when deciding which of
422 If `opts.pickAlgorithm` is provided, it will be used by
423 [`Integrity#pickAlgorithm`](#integrity-pick-algorithm) when deciding which of
475 If `opts.pickAlgorithm` is provided, it will be passed two algorithms as
DCHANGELOG.md182 * **pickAlgorithm:** error if pickAlgorithm() is used in an empty Integrity ([fab470e](https://gith…
244 * **pickAlgorithm:** Intergrity#pickAlgorithm() added ([b97a796](https://github.com/zkat/ssri/commi…
274 * **verification:** add opts.pickAlgorithm ([f72e658](https://github.com/zkat/ssri/commit/f72e658))
/third_party/node/deps/npm/node_modules/cacache/lib/content/
Dread.js136 const algo = sri.pickAlgorithm()
142 return BB.any(sri[sri.pickAlgorithm()].map(meta => {
163 const algo = sri.pickAlgorithm()
170 for (const meta of sri[sri.pickAlgorithm()]) {
/third_party/node/deps/npm/node_modules/cacache/
Dput.js16 pickAlgorithm: {}, property
/third_party/node/deps/npm/node_modules/pacote/lib/fetchers/registry/
Dtarball.js63 ? ssri.parse(manifest._integrity).pickAlgorithm()