MCPcopy Create free account
hub / github.com/adobe/react-spectrum / updateDeps

Function updateDeps

scripts/updateParcel.js:16–22  ·  view source on GitHub ↗
(deps = {})

Source from the content-addressed store, hash-verified

14}
15
16async function updateDeps(deps = {}) {
17 for (let dep in deps) {
18 if (dep.startsWith('@parcel/') || dep === 'parcel') {
19 deps[dep] = '^' + (await getVersion(dep));
20 }
21 }
22}
23
24async function getVersion(name) {
25 if (versions.has(name)) {

Callers 1

updateFunction · 0.85

Calls 1

getVersionFunction · 0.70

Tested by

no test coverage detected