querysub 0.625.0 → 0.626.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "querysub",
3
- "version": "0.625.0",
3
+ "version": "0.626.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -79,7 +79,7 @@
79
79
  "node-forge": "https://github.com/sliftist/forge#e618181b469b07bdc70b968b0391beb8ef5fecd6",
80
80
  "pako": "^2.1.0",
81
81
  "peggy": "^5.0.6",
82
- "sliftutils": "^1.7.94",
82
+ "sliftutils": "^1.7.95",
83
83
  "socket-function": "^1.2.30",
84
84
  "terser": "^5.31.0",
85
85
  "typenode": "^6.6.1",
@@ -201,7 +201,5 @@ export async function initArchives2() {
201
201
  getArchives2PublicImmutable(""),
202
202
  getArchives2Public(""),
203
203
  ];
204
- for (let bucket of buckets) {
205
- await bucket.hasWriteAccess();
206
- }
204
+ await Promise.allSettled(buckets.map(bucket => bucket.hasWriteAccess()));
207
205
  }
@@ -76,6 +76,8 @@ async function main() {
76
76
  console.log(green(`Emergency update complete: ${outdated.length} services updating to ${gitInfo.latestRef}`));
77
77
 
78
78
  await initArchives2();
79
+
80
+ console.log(green(`Archives initialized`));
79
81
  }
80
82
 
81
83
  main().catch(logErrors).finally(() => process.exit());