From 9254ed28e1d6cff39fc152f331d997142b5746d6 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Fri, 15 Mar 2024 06:34:59 -0700 Subject: [PATCH 1/6] test(deps): unpatch Ava (forceExit and ava-dur) --- patches/ava+5.3.1.patch | 159 ---------------------------------------- 1 file changed, 159 deletions(-) delete mode 100644 patches/ava+5.3.1.patch diff --git a/patches/ava+5.3.1.patch b/patches/ava+5.3.1.patch deleted file mode 100644 index f3ccc74b2c5..00000000000 --- a/patches/ava+5.3.1.patch +++ /dev/null @@ -1,159 +0,0 @@ -diff --git a/node_modules/ava/index.js b/node_modules/ava/index.js -new file mode 100644 -index 0000000..bee62d8 ---- /dev/null -+++ b/node_modules/ava/index.js -@@ -0,0 +1,2 @@ -+// XXX work around https://github.com/import-js/eslint-plugin-import/issues/1810 -+export {default} from './lib/worker/main.cjs'; -diff --git a/node_modules/ava/lib/cli.js b/node_modules/ava/lib/cli.js -index b613666..fbed443 100644 ---- a/node_modules/ava/lib/cli.js -+++ b/node_modules/ava/lib/cli.js -@@ -448,6 +448,10 @@ export default async function loadCli() { // eslint-disable-line complexity - workerArgv: argv['--'], - }); - -+ if (process.env.AGORIC_AVA_USE_TAP){ -+ combined.tap = true; -+ } -+ - const reporter = combined.tap && !combined.watch && debug === null ? new TapReporter({ - extensions: globs.extensions, - projectDir, -diff --git a/node_modules/ava/lib/fork.js b/node_modules/ava/lib/fork.js -index 7630baa..78ced77 100644 ---- a/node_modules/ava/lib/fork.js -+++ b/node_modules/ava/lib/fork.js -@@ -7,6 +7,7 @@ import Emittery from 'emittery'; - import {pEvent} from 'p-event'; - - import {controlFlow} from './ipc-flow-control.cjs'; -+import {setCappedTimeout} from './now-and-timers.cjs'; - import serializeError from './serialize-error.js'; - - let workerPath = new URL('worker/base.js', import.meta.url); -@@ -91,6 +92,11 @@ export default function loadFork(file, options, execArgv = process.execArgv) { - }); - - let forcedExit = false; -+ let exitCode = null; -+ const exit = () => { -+ forcedExit = true; -+ close(); -+ }; - const send = evt => { - if (!finished && !forcedExit) { - postMessage({ava: evt}); -@@ -132,6 +138,12 @@ export default function loadFork(file, options, execArgv = process.execArgv) { - break; - } - -+ case 'exiting': { -+ exitCode = message.ava.code; -+ setCappedTimeout(() => finished || exit(), 10_000).unref(); -+ break; -+ } -+ - default: { - emitStateChange(message.ava); - } -@@ -145,9 +157,20 @@ export default function loadFork(file, options, execArgv = process.execArgv) { - - worker.on('exit', (code, signal) => { - if (forcedExit) { -- emitStateChange({type: 'worker-finished', forcedExit}); -- } else if (code > 0) { -- emitStateChange({type: 'worker-failed', nonZeroExitCode: code}); -+ if (exitCode === null) { -+ emitStateChange({type: 'worker-finished', forcedExit}); -+ } else if (!exitCode) { -+ if (!process.env.NODE_V8_COVERAGE) { -+ emitStateChange({type: 'worker-failed', err: Error('Test did not cleanup'), signal: 'exit timeout'}); -+ } else { -+ emitStateChange({type: 'worker-stderr', chunk: `Test did not cleanup, ignoring because NODE_V8_COVERAGE is set.\n`}); -+ emitStateChange({type: 'worker-finished', forcedExit: false}); -+ } -+ } else { -+ emitStateChange({type: 'worker-failed', nonZeroExitCode: exitCode}); -+ } -+ } else if (code > 0 || exitCode > 0) { -+ emitStateChange({type: 'worker-failed', nonZeroExitCode: code || exitCode}); - } else if (code === null && signal) { - emitStateChange({type: 'worker-failed', signal}); - } else { -@@ -163,10 +186,7 @@ export default function loadFork(file, options, execArgv = process.execArgv) { - threadId: worker.threadId, - promise, - -- exit() { -- forcedExit = true; -- close(); -- }, -+ exit, - - notifyOfPeerFailure() { - send({type: 'peer-failed'}); -diff --git a/node_modules/ava/lib/reporters/tap.js b/node_modules/ava/lib/reporters/tap.js -index b1989a4..fa1617f 100644 ---- a/node_modules/ava/lib/reporters/tap.js -+++ b/node_modules/ava/lib/reporters/tap.js -@@ -45,6 +45,10 @@ function dumpError(error) { - return object; - } - -+function durationOut(dur) { -+ return dur ? ` %ava-dur=${dur}ms` : ''; -+} -+ - export default class TapReporter { - constructor(options) { - this.i = 0; -@@ -96,6 +100,7 @@ export default class TapReporter { - } - - writeTest(evt, flags) { -+ evt.title += durationOut(evt.duration); - this.reportStream.write(supertap.test(this.prefixTitle(evt.testFile, evt.title), { - comment: evt.logs, - error: evt.err ? dumpError(evt.err) : null, -@@ -108,7 +113,7 @@ export default class TapReporter { - - writeCrash(evt, title) { - this.crashCount++; -- this.reportStream.write(supertap.test(title || evt.err.summary || evt.type, { -+ this.reportStream.write(supertap.test((title || evt.err.summary || evt.type) + durationOut(evt.duration), { - comment: evt.logs, - error: evt.err ? dumpError(evt.err) : null, - index: ++this.i, -diff --git a/node_modules/ava/lib/worker/base.js b/node_modules/ava/lib/worker/base.js -index cdd3c4a..4302a4a 100644 ---- a/node_modules/ava/lib/worker/base.js -+++ b/node_modules/ava/lib/worker/base.js -@@ -1,5 +1,6 @@ - import {createRequire} from 'node:module'; - import process from 'node:process'; -+import v8 from 'node:v8'; - import {pathToFileURL} from 'node:url'; - import {workerData} from 'node:worker_threads'; - -@@ -28,12 +29,17 @@ const realExit = process.exit; - - async function exit(code, forceSync = false) { - dependencyTracking.flush(); -+ if (process.env.NODE_V8_COVERAGE) try { -+ v8.takeCoverage(); -+ } catch(err) {} -+ channel.send({type: 'exiting', code}); - const flushing = channel.flush(); - if (!forceSync) { - await flushing; -+ process.exitCode ||= code; -+ } else { -+ apply(realExit, process, [code]); - } -- -- apply(realExit, process, [code]); - } - - const handleProcessExit = (fn, receiver, args) => { From e772f348b37eac5511252e786227a892b84e7dd9 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 3 Apr 2024 11:12:21 -0700 Subject: [PATCH 2/6] chore(deps): bump ava to 6.1.3 --- package.json | 2 +- packages/ERTP/package.json | 2 +- packages/SwingSet/package.json | 2 +- packages/access-token/package.json | 2 +- packages/agoric-cli/package.json | 2 +- packages/async-flow/package.json | 2 +- packages/base-zone/package.json | 2 +- packages/boot/package.json | 2 +- packages/builders/package.json | 2 +- packages/cache/package.json | 2 +- packages/casting/package.json | 2 +- packages/cosmic-swingset/package.json | 2 +- packages/create-dapp/package.json | 2 +- packages/deploy-script-support/package.json | 2 +- packages/governance/package.json | 2 +- packages/import-manager/package.json | 2 +- packages/inter-protocol/package.json | 2 +- packages/internal/package.json | 2 +- packages/kmarshal/package.json | 2 +- packages/network/package.json | 2 +- packages/notifier/package.json | 2 +- packages/pegasus/package.json | 2 +- packages/smart-wallet/package.json | 2 +- packages/solo/package.json | 2 +- packages/spawner/package.json | 2 +- packages/store/package.json | 2 +- packages/swing-store/package.json | 2 +- packages/swingset-liveslots/package.json | 2 +- packages/swingset-runner/package.json | 2 +- .../swingset-xsnap-supervisor/package.json | 2 +- packages/telemetry/package.json | 2 +- packages/time/package.json | 2 +- packages/vat-data/package.json | 2 +- packages/vats/package.json | 2 +- packages/vm-config/package.json | 2 +- packages/vow/package.json | 2 +- packages/wallet/api/package.json | 2 +- packages/xsnap-lockdown/package.json | 2 +- packages/xsnap/package.json | 2 +- packages/zoe/package.json | 2 +- packages/zone/package.json | 2 +- yarn.lock | 328 +++++++++++++++++- 42 files changed, 354 insertions(+), 56 deletions(-) diff --git a/package.json b/package.json index 1d1dd36b781..2c14a193c4b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@jessie.js/eslint-plugin": "^0.4.1", "@types/express": "^4.17.17", "@types/node": "^18.19.24", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "conventional-changelog-conventionalcommits": "^4.6.0", "eslint": "^8.57.0", diff --git a/packages/ERTP/package.json b/packages/ERTP/package.json index e6f71c0e492..f43eb9ad035 100644 --- a/packages/ERTP/package.json +++ b/packages/ERTP/package.json @@ -55,7 +55,7 @@ "@agoric/swingset-vat": "^0.32.2", "@endo/bundle-source": "^3.2.3", "@fast-check/ava": "^1.1.5", - "ava": "^5.3.0", + "ava": "^6.1.3", "tsd": "^0.31.1" }, "files": [ diff --git a/packages/SwingSet/package.json b/packages/SwingSet/package.json index 29ed8e179a1..0bb2bc0262a 100644 --- a/packages/SwingSet/package.json +++ b/packages/SwingSet/package.json @@ -64,7 +64,7 @@ "yargs-parser": "^21.1.1" }, "peerDependencies": { - "ava": "^5.3.0" + "ava": "^6.1.3" }, "files": [ "bin/vat", diff --git a/packages/access-token/package.json b/packages/access-token/package.json index 6651fff1643..58745d8c0d1 100644 --- a/packages/access-token/package.json +++ b/packages/access-token/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@types/n-readlines": "^1.0.3", "@types/proper-lockfile": "^4.1.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "publishConfig": { diff --git a/packages/agoric-cli/package.json b/packages/agoric-cli/package.json index 6b7db016abb..c1f66768f70 100644 --- a/packages/agoric-cli/package.json +++ b/packages/agoric-cli/package.json @@ -31,7 +31,7 @@ "devDependencies": { "@agoric/cosmic-swingset": "^0.41.3", "@agoric/deploy-script-support": "^0.10.3", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "dd-trace": "^4.11.1" }, diff --git a/packages/async-flow/package.json b/packages/async-flow/package.json index e1462adada2..0a11dc856e3 100644 --- a/packages/async-flow/package.json +++ b/packages/async-flow/package.json @@ -41,7 +41,7 @@ "@agoric/zone": "^0.2.2", "@endo/env-options": "^1.1.4", "@endo/ses-ava": "^1.2.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "tsd": "^0.31.1" }, "publishConfig": { diff --git a/packages/base-zone/package.json b/packages/base-zone/package.json index c6821f2ec18..abea19549c5 100644 --- a/packages/base-zone/package.json +++ b/packages/base-zone/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@endo/init": "^1.1.2", "@endo/ses-ava": "^1.2.2", - "ava": "^5.3.0" + "ava": "^6.1.3" }, "publishConfig": { "access": "public" diff --git a/packages/boot/package.json b/packages/boot/package.json index 35cb46ea959..e266a415e3f 100644 --- a/packages/boot/package.json +++ b/packages/boot/package.json @@ -55,7 +55,7 @@ "@agoric/swingset-liveslots": "^0.10.2", "@endo/base64": "^1.0.5", "@endo/patterns": "^1.4.0", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "tsx": "3.12.8" }, diff --git a/packages/builders/package.json b/packages/builders/package.json index 3cb3ff12678..314300fd174 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -50,7 +50,7 @@ "@agoric/swing-store": "^0.9.1", "@agoric/swingset-liveslots": "^0.10.2", "@agoric/time": "^0.3.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "files": [ diff --git a/packages/cache/package.json b/packages/cache/package.json index 5a0fc6115c0..5174aef72cd 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@agoric/zoe": "^0.26.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "publishConfig": { diff --git a/packages/casting/package.json b/packages/casting/package.json index b21961e462c..e35ae0cb408 100644 --- a/packages/casting/package.json +++ b/packages/casting/package.json @@ -41,7 +41,7 @@ "@agoric/cosmic-proto": "^0.4.0", "@endo/ses-ava": "^1.2.2", "@types/node-fetch": "^2.6.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "express": "^4.17.1", "ws": "^7.2.0" diff --git a/packages/cosmic-swingset/package.json b/packages/cosmic-swingset/package.json index 09d3a7056d6..78b9267f740 100644 --- a/packages/cosmic-swingset/package.json +++ b/packages/cosmic-swingset/package.json @@ -49,7 +49,7 @@ "tmp": "^0.2.1" }, "devDependencies": { - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "publishConfig": { diff --git a/packages/create-dapp/package.json b/packages/create-dapp/package.json index dd1112eff6d..1fb7f712c37 100644 --- a/packages/create-dapp/package.json +++ b/packages/create-dapp/package.json @@ -20,7 +20,7 @@ "lint:eslint": "eslint ." }, "devDependencies": { - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "dependencies": { diff --git a/packages/deploy-script-support/package.json b/packages/deploy-script-support/package.json index 3f3f5a6c927..b6c4c38ad5c 100644 --- a/packages/deploy-script-support/package.json +++ b/packages/deploy-script-support/package.json @@ -53,7 +53,7 @@ "devDependencies": { "@agoric/vats": "^0.15.1", "@endo/init": "^1.1.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "import-meta-resolve": "^2.2.1" }, "files": [ diff --git a/packages/governance/package.json b/packages/governance/package.json index 0a2bed98035..7ddb73218f1 100644 --- a/packages/governance/package.json +++ b/packages/governance/package.json @@ -52,7 +52,7 @@ "@agoric/swingset-vat": "^0.32.2", "@endo/bundle-source": "^3.2.3", "@endo/init": "^1.1.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "files": [ diff --git a/packages/import-manager/package.json b/packages/import-manager/package.json index 18016783487..2a637138f21 100644 --- a/packages/import-manager/package.json +++ b/packages/import-manager/package.json @@ -31,7 +31,7 @@ "homepage": "https://github.com/Agoric/agoric-sdk#readme", "devDependencies": { "@agoric/swingset-vat": "^0.32.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "files": [ diff --git a/packages/inter-protocol/package.json b/packages/inter-protocol/package.json index 5ff3f8f43ef..57e32a16a63 100644 --- a/packages/inter-protocol/package.json +++ b/packages/inter-protocol/package.json @@ -58,7 +58,7 @@ "@endo/init": "^1.1.2", "@endo/promise-kit": "^1.1.2", "@fast-check/ava": "^1.1.5", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "deep-object-diff": "^1.1.9", "import-meta-resolve": "^2.2.1" diff --git a/packages/internal/package.json b/packages/internal/package.json index f6f71938a38..f4c444ad5be 100755 --- a/packages/internal/package.json +++ b/packages/internal/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@endo/exo": "^1.5.0", "@endo/init": "^1.1.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "tsd": "^0.31.1" }, "ava": { diff --git a/packages/kmarshal/package.json b/packages/kmarshal/package.json index 6d0c4cb1bf6..3ef9af08ae5 100644 --- a/packages/kmarshal/package.json +++ b/packages/kmarshal/package.json @@ -26,7 +26,7 @@ "@endo/errors": "^1.2.2" }, "devDependencies": { - "ava": "^5.3.0" + "ava": "^6.1.3" }, "publishConfig": { "access": "public" diff --git a/packages/network/package.json b/packages/network/package.json index 6f9fea25ed6..2dc4ab1d246 100644 --- a/packages/network/package.json +++ b/packages/network/package.json @@ -37,7 +37,7 @@ "@agoric/vow": "^0.1.0", "@agoric/zone": "^0.2.2", "@endo/bundle-source": "^3.2.3", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "exports": { diff --git a/packages/notifier/package.json b/packages/notifier/package.json index b20c2ec2614..f2a0ee33244 100644 --- a/packages/notifier/package.json +++ b/packages/notifier/package.json @@ -48,7 +48,7 @@ "@agoric/swingset-vat": "^0.32.2", "@endo/init": "^1.1.2", "@endo/ses-ava": "^1.2.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "exports": { diff --git a/packages/pegasus/package.json b/packages/pegasus/package.json index aa15b76c817..08b89d766d3 100644 --- a/packages/pegasus/package.json +++ b/packages/pegasus/package.json @@ -47,7 +47,7 @@ "@endo/promise-kit": "^1.1.2" }, "devDependencies": { - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "import-meta-resolve": "^2.2.1", "@agoric/vat-data": "^0.5.2" diff --git a/packages/smart-wallet/package.json b/packages/smart-wallet/package.json index d6768b15a68..0b750bd5bc2 100644 --- a/packages/smart-wallet/package.json +++ b/packages/smart-wallet/package.json @@ -21,7 +21,7 @@ "@endo/bundle-source": "^3.2.3", "@endo/captp": "^4.2.0", "@endo/init": "^1.1.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "import-meta-resolve": "^2.2.1" }, "dependencies": { diff --git a/packages/solo/package.json b/packages/solo/package.json index 70aa147efed..6cf8f323c04 100644 --- a/packages/solo/package.json +++ b/packages/solo/package.json @@ -58,7 +58,7 @@ "devDependencies": { "@agoric/ertp": "^0.16.2", "@endo/bundle-source": "^3.2.3", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "publishConfig": { diff --git a/packages/spawner/package.json b/packages/spawner/package.json index 3795a1038a4..2d93262e9f9 100644 --- a/packages/spawner/package.json +++ b/packages/spawner/package.json @@ -41,7 +41,7 @@ "@agoric/swingset-vat": "^0.32.2", "@endo/bundle-source": "^3.2.3", "@endo/init": "^1.1.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "files": [ diff --git a/packages/store/package.json b/packages/store/package.json index d5459a898c5..f722050ccdd 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -39,7 +39,7 @@ "devDependencies": { "@endo/init": "^1.1.2", "@endo/ses-ava": "^1.2.2", - "ava": "^5.3.0" + "ava": "^6.1.3" }, "files": [ "src/", diff --git a/packages/swing-store/package.json b/packages/swing-store/package.json index ac7ce9a749a..6b297b09132 100644 --- a/packages/swing-store/package.json +++ b/packages/swing-store/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@endo/init": "^1.1.2", "@types/better-sqlite3": "^7.6.9", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "tmp": "^0.2.1" }, diff --git a/packages/swingset-liveslots/package.json b/packages/swingset-liveslots/package.json index f9eea238ed8..0855cc2260b 100644 --- a/packages/swingset-liveslots/package.json +++ b/packages/swingset-liveslots/package.json @@ -32,7 +32,7 @@ "@endo/promise-kit": "^1.1.2" }, "devDependencies": { - "ava": "^5.3.0", + "ava": "^6.1.3", "@agoric/kmarshal": "^0.1.0" }, "files": [ diff --git a/packages/swingset-runner/package.json b/packages/swingset-runner/package.json index e5315a01019..0c9cc0bd708 100644 --- a/packages/swingset-runner/package.json +++ b/packages/swingset-runner/package.json @@ -42,7 +42,7 @@ "yargs": "^16.1.0" }, "devDependencies": { - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "import-meta-resolve": "^2.2.1" }, diff --git a/packages/swingset-xsnap-supervisor/package.json b/packages/swingset-xsnap-supervisor/package.json index eeaddddf5ae..aec35aefac7 100644 --- a/packages/swingset-xsnap-supervisor/package.json +++ b/packages/swingset-xsnap-supervisor/package.json @@ -29,7 +29,7 @@ "@endo/import-bundle": "^1.1.2", "@endo/init": "^1.1.2", "@endo/marshal": "^1.5.0", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "files": [ diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index f4d3b6e189f..fe3b1fdea5c 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -42,7 +42,7 @@ "devDependencies": { "@endo/lockdown": "^1.0.7", "@endo/ses-ava": "^1.2.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "tmp": "^0.2.1" }, diff --git a/packages/time/package.json b/packages/time/package.json index ed5962f41fb..63207e2c05f 100644 --- a/packages/time/package.json +++ b/packages/time/package.json @@ -39,7 +39,7 @@ "devDependencies": { "@endo/far": "^1.1.2", "@endo/init": "^1.1.2", - "ava": "^5.3.0" + "ava": "^6.1.3" }, "ava": { "require": [ diff --git a/packages/vat-data/package.json b/packages/vat-data/package.json index 3cff9699f89..40ee5f6d5c4 100644 --- a/packages/vat-data/package.json +++ b/packages/vat-data/package.json @@ -30,7 +30,7 @@ "@endo/init": "^1.1.2", "@endo/far": "^1.1.2", "@endo/ses-ava": "^1.2.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "tsd": "^0.31.1" }, "ava": { diff --git a/packages/vats/package.json b/packages/vats/package.json index d77dc771cfd..b18f6fa8046 100644 --- a/packages/vats/package.json +++ b/packages/vats/package.json @@ -49,7 +49,7 @@ "@agoric/swingset-liveslots": "^0.10.2", "@endo/bundle-source": "^3.2.3", "@endo/init": "^1.1.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "files": [ diff --git a/packages/vm-config/package.json b/packages/vm-config/package.json index de054026eb1..50f792e1407 100644 --- a/packages/vm-config/package.json +++ b/packages/vm-config/package.json @@ -20,7 +20,7 @@ "license": "Apache-2.0", "dependencies": {}, "devDependencies": { - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "files": [ diff --git a/packages/vow/package.json b/packages/vow/package.json index cf76ec21198..860ed12f742 100755 --- a/packages/vow/package.json +++ b/packages/vow/package.json @@ -33,7 +33,7 @@ "@agoric/internal": "^0.3.2", "@endo/far": "^1.1.2", "@endo/init": "^1.1.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "tsd": "^0.31.1" }, "ava": { diff --git a/packages/wallet/api/package.json b/packages/wallet/api/package.json index 572196f329a..b7f5dff7138 100644 --- a/packages/wallet/api/package.json +++ b/packages/wallet/api/package.json @@ -18,7 +18,7 @@ "@endo/bundle-source": "^3.2.3", "@endo/far": "^1.1.2", "@endo/init": "^1.1.2", - "ava": "^5.3.0" + "ava": "^6.1.3" }, "dependencies": { "@endo/errors": "^1.2.2", diff --git a/packages/xsnap-lockdown/package.json b/packages/xsnap-lockdown/package.json index 19dd8d1d515..f0c2ea39ef5 100644 --- a/packages/xsnap-lockdown/package.json +++ b/packages/xsnap-lockdown/package.json @@ -22,7 +22,7 @@ "devDependencies": { "@endo/bundle-source": "^3.2.3", "@endo/init": "^1.1.2", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "rollup": "^2.58.0", "rollup-plugin-string": "^3.0.0", diff --git a/packages/xsnap/package.json b/packages/xsnap/package.json index eb2914b77d2..ab741cc0b0b 100644 --- a/packages/xsnap/package.json +++ b/packages/xsnap/package.json @@ -45,7 +45,7 @@ "@endo/base64": "^1.0.5", "@endo/nat": "^5.0.7", "@types/glob": "^8.1.0", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0" }, "files": [ diff --git a/packages/zoe/package.json b/packages/zoe/package.json index 834acd44146..831ab0d6f50 100644 --- a/packages/zoe/package.json +++ b/packages/zoe/package.json @@ -72,7 +72,7 @@ "devDependencies": { "@endo/init": "^1.1.2", "@agoric/kmarshal": "^0.1.0", - "ava": "^5.3.0", + "ava": "^6.1.3", "c8": "^9.1.0", "import-meta-resolve": "^2.2.1", "tsd": "^0.31.1" diff --git a/packages/zone/package.json b/packages/zone/package.json index 32851e8aa00..3ed6fac7b76 100644 --- a/packages/zone/package.json +++ b/packages/zone/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@agoric/swingset-liveslots": "^0.10.2", "@endo/patterns": "^1.4.0", - "ava": "^5.3.0" + "ava": "^6.1.3" }, "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index f8047a89fee..7c27ae3de00 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2775,6 +2775,21 @@ npmlog "^6.0.2" write-file-atomic "^4.0.1" +"@mapbox/node-pre-gyp@^1.0.5": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz#417db42b7f5323d79e93b34a6d7a2a12c0df43fa" + integrity sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ== + dependencies: + detect-libc "^2.0.0" + https-proxy-agent "^5.0.0" + make-dir "^3.1.0" + node-fetch "^2.6.7" + nopt "^5.0.0" + npmlog "^5.0.1" + rimraf "^3.0.2" + semver "^7.3.5" + tar "^6.1.11" + "@noble/hashes@^1", "@noble/hashes@^1.0.0": version "1.1.2" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" @@ -3363,6 +3378,14 @@ estree-walker "^1.0.1" picomatch "^2.2.2" +"@rollup/pluginutils@^4.0.0": + version "4.2.1" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz#e6c6c3aba0744edce3fb2074922d3776c0af2a6d" + integrity sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ== + dependencies: + estree-walker "^2.0.1" + picomatch "^2.2.2" + "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -3373,6 +3396,11 @@ resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.25.24.tgz#8c7688559979f7079aacaf31aa881c3aa410b718" integrity sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ== +"@sindresorhus/merge-streams@^2.1.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz#719df7fb41766bc143369eaa0dd56d8dc87c9958" + integrity sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg== + "@tootallnate/once@2": version "2.0.0" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" @@ -3777,6 +3805,24 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== +"@vercel/nft@^0.26.2": + version "0.26.5" + resolved "https://registry.yarnpkg.com/@vercel/nft/-/nft-0.26.5.tgz#f21e40576b76446851b6cbff79f39a72dab4d6b2" + integrity sha512-NHxohEqad6Ra/r4lGknO52uc/GrWILXAMs1BB4401GTqww0fw1bAqzpG1XHuDO+dprg4GvsD9ZLLSsdo78p9hQ== + dependencies: + "@mapbox/node-pre-gyp" "^1.0.5" + "@rollup/pluginutils" "^4.0.0" + acorn "^8.6.0" + acorn-import-attributes "^1.9.2" + async-sema "^3.1.1" + bindings "^1.4.0" + estree-walker "2.0.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + micromatch "^4.0.2" + node-gyp-build "^4.2.2" + resolve-from "^5.0.0" + "@yarnpkg/lockfile@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" @@ -3823,6 +3869,11 @@ acorn-import-assertions@^1.9.0: resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== +acorn-import-attributes@^1.9.2: + version "1.9.5" + resolved "https://registry.yarnpkg.com/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz#7eb1557b1ba05ef18b5ed0ec67591bfab04688ef" + integrity sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ== + acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" @@ -3833,6 +3884,18 @@ acorn-walk@^8.2.0: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== +acorn-walk@^8.3.2: + version "8.3.3" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.3.tgz#9caeac29eefaa0c41e3d4c65137de4d6f34df43e" + integrity sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw== + dependencies: + acorn "^8.11.0" + +acorn@^8.11.0, acorn@^8.11.3, acorn@^8.6.0: + version "8.12.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.1.tgz#71616bdccbe25e27a54439e0046e89ca76df2248" + integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== + acorn@^8.2.4, acorn@^8.8.2, acorn@^8.9.0: version "8.10.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" @@ -4014,6 +4077,14 @@ are-docs-informative@^0.0.2: resolved "https://registry.yarnpkg.com/are-docs-informative/-/are-docs-informative-0.0.2.tgz#387f0e93f5d45280373d387a59d34c96db321963" integrity sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig== +are-we-there-yet@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz#372e0e7bd279d8e94c653aaa1f67200884bf3e1c" + integrity sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw== + dependencies: + delegates "^1.0.0" + readable-stream "^3.6.0" + are-we-there-yet@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd" @@ -4183,6 +4254,11 @@ astral-regex@^2.0.0: resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== +async-sema@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/async-sema/-/async-sema-3.1.1.tgz#e527c08758a0f8f6f9f15f799a173ff3c40ea808" + integrity sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg== + async@^3.1.0, async@^3.2.3: version "3.2.4" resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" @@ -4198,7 +4274,7 @@ at-least-node@^1.0.0: resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== -ava@^5.3.0, ava@^5.3.1: +ava@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/ava/-/ava-5.3.1.tgz#335737dd963b7941b90214836cea2e8de1f4d5f4" integrity sha512-Scv9a4gMOXB6+ni4toLuhAm9KYWEjsgBglJl+kMGI5+IVDt120CCDZyB5HNU9DjmLI2t4I0GbnxGLmmRfGTJGg== @@ -4247,6 +4323,52 @@ ava@^5.3.0, ava@^5.3.1: write-file-atomic "^5.0.1" yargs "^17.7.2" +ava@^6.1.3: + version "6.1.3" + resolved "https://registry.yarnpkg.com/ava/-/ava-6.1.3.tgz#aed54a4528653c7a62b6d68d0a53608b22a5b1dc" + integrity sha512-tkKbpF1pIiC+q09wNU9OfyTDYZa8yuWvU2up3+lFJ3lr1RmnYh2GBpPwzYUEB0wvTPIUysGjcZLNZr7STDviRA== + dependencies: + "@vercel/nft" "^0.26.2" + acorn "^8.11.3" + acorn-walk "^8.3.2" + ansi-styles "^6.2.1" + arrgv "^1.0.2" + arrify "^3.0.0" + callsites "^4.1.0" + cbor "^9.0.1" + chalk "^5.3.0" + chunkd "^2.0.1" + ci-info "^4.0.0" + ci-parallel-vars "^1.0.1" + cli-truncate "^4.0.0" + code-excerpt "^4.0.0" + common-path-prefix "^3.0.0" + concordance "^5.0.4" + currently-unhandled "^0.4.1" + debug "^4.3.4" + emittery "^1.0.1" + figures "^6.0.1" + globby "^14.0.0" + ignore-by-default "^2.1.0" + indent-string "^5.0.0" + is-plain-object "^5.0.0" + is-promise "^4.0.0" + matcher "^5.0.0" + memoize "^10.0.0" + ms "^2.1.3" + p-map "^7.0.1" + package-config "^5.0.0" + picomatch "^3.0.1" + plur "^5.1.0" + pretty-ms "^9.0.0" + resolve-cwd "^3.0.0" + stack-utils "^2.0.6" + strip-ansi "^7.1.0" + supertap "^3.0.1" + temp-dir "^3.0.0" + write-file-atomic "^5.0.1" + yargs "^17.7.2" + available-typed-arrays@^1.0.5, available-typed-arrays@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.6.tgz#ac812d8ce5a6b976d738e1c45f08d0b00bc7d725" @@ -4387,7 +4509,7 @@ binary-searching@^2.0.5: resolved "https://registry.yarnpkg.com/binary-searching/-/binary-searching-2.0.5.tgz#ab6d08d51cd1b58878ae208ab61988f885b22dd3" integrity sha512-v4N2l3RxL+m4zDxyxz3Ne2aTmiPn8ZUpKFpdPtO+ItW1NcTCXA7JeHG5GMBSvoKSkQZ9ycS+EouDVxYB9ufKWA== -bindings@^1.2.1, bindings@^1.5.0: +bindings@^1.2.1, bindings@^1.4.0, bindings@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== @@ -4610,6 +4732,11 @@ callsites@^4.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-4.0.0.tgz#8014cea4fedfe681a30e2f7d2d557dd95808a92a" integrity sha512-y3jRROutgpKdz5vzEhWM34TidDU8vkJppF8dszITeb1PQmSqV3DTxyV8G/lyO/DNvtE1YTedehmw9MPZsCBHxQ== +callsites@^4.1.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-4.2.0.tgz#98761d5be3ce092e4b9c92f7fb8c8eb9b83cadc8" + integrity sha512-kfzR4zzQtAE9PC7CzZsjl3aBNbXWuXiSeOCdLcPpBfGW8YuCqQHcRPFDbr/BPVmd3EEPVpuFzLyuT/cUhPr4OQ== + camelcase-keys@^6.2.2: version "6.2.2" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0" @@ -4641,6 +4768,13 @@ cbor@^8.1.0: dependencies: nofilter "^3.1.0" +cbor@^9.0.1: + version "9.0.2" + resolved "https://registry.yarnpkg.com/cbor/-/cbor-9.0.2.tgz#536b4f2d544411e70ec2b19a2453f10f83cd9fdb" + integrity sha512-JPypkxsB10s9QOWwa6zwPzqE1Md3vqpPc+cai4sAecuCsRyAtAl/pMyhPlMbT/xtPnm2dznJZYRLui57qiRhaQ== + dependencies: + nofilter "^3.1.0" + chalk@^1.0.0, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" @@ -4674,6 +4808,11 @@ chalk@^5.2.0: resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.2.0.tgz#249623b7d66869c673699fb66d65723e54dfcfb3" integrity sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA== +chalk@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" + integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== + character-entities@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22" @@ -4729,6 +4868,11 @@ ci-info@^3.2.0, ci-info@^3.7.0, ci-info@^3.8.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== +ci-info@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-4.0.0.tgz#65466f8b280fc019b9f50a5388115d17a63a44f2" + integrity sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg== + ci-parallel-vars@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/ci-parallel-vars/-/ci-parallel-vars-1.0.1.tgz#e87ff0625ccf9d286985b29b4ada8485ca9ffbc2" @@ -4794,6 +4938,14 @@ cli-truncate@^3.1.0: slice-ansi "^5.0.0" string-width "^5.0.0" +cli-truncate@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-4.0.0.tgz#6cc28a2924fee9e25ce91e973db56c7066e6172a" + integrity sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA== + dependencies: + slice-ansi "^5.0.0" + string-width "^7.0.0" + cli-width@^2.0.0: version "2.2.1" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" @@ -4882,7 +5034,7 @@ color-string@^1.6.0: color-name "^1.0.0" simple-swizzle "^0.2.2" -color-support@^1.1.3: +color-support@^1.1.2, color-support@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== @@ -5003,7 +5155,7 @@ confusing-browser-globals@^1.0.10: resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz#ae40e9b57cdd3915408a2805ebd3a5585608dc81" integrity sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA== -console-control-strings@^1.1.0: +console-control-strings@^1.0.0, console-control-strings@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= @@ -5555,6 +5707,11 @@ emittery@^1.0.1: resolved "https://registry.yarnpkg.com/emittery/-/emittery-1.0.1.tgz#e0cf36e2d7eef94dbd025969f642d57ae50a56cd" integrity sha512-2ID6FdrMD9KDLldGesP6317G78K7km/kMcwItRtVFva7I/cSEOIaLpewaUb+YLXVwdAp3Ctfxh/V5zIl1sj7dQ== +emoji-regex@^10.3.0: + version "10.3.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.3.0.tgz#76998b9268409eb3dae3de989254d456e70cfe23" + integrity sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw== + emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" @@ -6130,6 +6287,11 @@ estraverse@^5.1.0, estraverse@^5.2.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== +estree-walker@2.0.2, estree-walker@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" + integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== + estree-walker@^0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" @@ -6140,11 +6302,6 @@ estree-walker@^1.0.1: resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== -estree-walker@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" - integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== - esutils@^2.0.2, esutils@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" @@ -6319,6 +6476,17 @@ fast-glob@3.2.7: merge2 "^1.3.0" micromatch "^4.0.4" +fast-glob@^3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -6375,6 +6543,13 @@ figures@^5.0.0: escape-string-regexp "^5.0.0" is-unicode-supported "^1.2.0" +figures@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-6.1.0.tgz#935479f51865fa7479f6fa94fc6fc7ac14e62c4a" + integrity sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg== + dependencies: + is-unicode-supported "^2.0.0" + file-entry-cache@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" @@ -6414,6 +6589,11 @@ finalhandler@1.2.0: statuses "2.0.1" unpipe "~1.0.0" +find-up-simple@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/find-up-simple/-/find-up-simple-1.0.0.tgz#21d035fde9fdbd56c8f4d2f63f32fd93a1cfc368" + integrity sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw== + find-up@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" @@ -6596,6 +6776,21 @@ fuzzy@0.1.3: resolved "https://registry.yarnpkg.com/fuzzy/-/fuzzy-0.1.3.tgz#4c76ec2ff0ac1a36a9dccf9a00df8623078d4ed8" integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== +gauge@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-3.0.2.tgz#03bf4441c044383908bcfa0656ad91803259b395" + integrity sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q== + dependencies: + aproba "^1.0.3 || ^2.0.0" + color-support "^1.1.2" + console-control-strings "^1.0.0" + has-unicode "^2.0.1" + object-assign "^4.1.1" + signal-exit "^3.0.0" + string-width "^4.2.3" + strip-ansi "^6.0.1" + wide-align "^1.1.2" + gauge@^4.0.3: version "4.0.4" resolved "https://registry.yarnpkg.com/gauge/-/gauge-4.0.4.tgz#52ff0652f2bbf607a989793d53b751bef2328dce" @@ -6620,6 +6815,11 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== +get-east-asian-width@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz#5e6ebd9baee6fb8b7b6bd505221065f0cd91f64e" + integrity sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA== + get-intrinsic@^1.0.2, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" @@ -6851,6 +7051,18 @@ globby@^13.1.4: merge2 "^1.4.1" slash "^4.0.0" +globby@^14.0.0: + version "14.0.2" + resolved "https://registry.yarnpkg.com/globby/-/globby-14.0.2.tgz#06554a54ccfe9264e5a9ff8eded46aa1e306482f" + integrity sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw== + dependencies: + "@sindresorhus/merge-streams" "^2.1.0" + fast-glob "^3.3.2" + ignore "^5.2.4" + path-type "^5.0.0" + slash "^5.1.0" + unicorn-magic "^0.1.0" + gopd@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" @@ -7584,6 +7796,11 @@ is-unicode-supported@^1.2.0: resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz#d824984b616c292a2e198207d4a609983842f714" integrity sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ== +is-unicode-supported@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-2.0.0.tgz#fdf32df9ae98ff6ab2cedc155a5a6e895701c451" + integrity sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q== + is-weakref@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" @@ -8032,7 +8249,7 @@ load-json-file@^6.2.0: strip-bom "^4.0.0" type-fest "^0.6.0" -load-json-file@^7.0.0: +load-json-file@^7.0.0, load-json-file@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-7.0.1.tgz#a3c9fde6beffb6bedb5acf104fad6bb1604e1b00" integrity sha512-Gnxj3ev3mB5TkVBGad0JM6dmLiQL+o0t23JPBZ9sd+yvSLk05mFoqKBw5N8gbbkU4TNXyqCgIrl/VM17OgUIgQ== @@ -8207,7 +8424,7 @@ make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" -make-dir@^3.0.0: +make-dir@^3.0.0, make-dir@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== @@ -8345,6 +8562,13 @@ mem@^9.0.2: map-age-cleaner "^0.1.3" mimic-fn "^4.0.0" +memoize@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/memoize/-/memoize-10.0.0.tgz#43fa66b2022363c7c50cf5dfab732a808a3d7147" + integrity sha512-H6cBLgsi6vMWOcCpvVCdFFnl3kerEXbrYh9q+lY6VXvQSmM6CkmV08VOwT+WE2tzIEqRPFfAq3fm4v/UIW6mSA== + dependencies: + mimic-function "^5.0.0" + memoizee@^0.4.15: version "0.4.15" resolved "https://registry.yarnpkg.com/memoizee/-/memoizee-0.4.15.tgz#e6f3d2da863f318d02225391829a6c5956555b72" @@ -8666,6 +8890,11 @@ mimic-fn@^4.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== +mimic-function@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/mimic-function/-/mimic-function-5.0.1.tgz#acbe2b3349f99b9deaca7fb70e48b83e94e67076" + integrity sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA== + mimic-response@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" @@ -9024,6 +9253,11 @@ node-gyp-build@<4.0, node-gyp-build@^3.9.0: resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-3.9.0.tgz#53a350187dd4d5276750da21605d1cb681d09e25" integrity sha512-zLcTg6P4AbcHPq465ZMFNXx7XpKKJh+7kkN699NiQWisR2uWYOWNWqRHAmbnmKiL4e9aLSlmy5U7rEMUXV59+A== +node-gyp-build@^4.2.2: + version "4.8.1" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.1.tgz#976d3ad905e71b76086f4f0b0d3637fe79b6cda5" + integrity sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw== + node-gyp-build@^4.3.0, node-gyp-build@^4.4.0, node-gyp-build@^4.5.0: version "4.6.0" resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" @@ -9222,6 +9456,16 @@ npm-run-path@^5.1.0: dependencies: path-key "^4.0.0" +npmlog@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-5.0.1.tgz#f06678e80e29419ad67ab964e0fa69959c1eb8b0" + integrity sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw== + dependencies: + are-we-there-yet "^2.0.0" + console-control-strings "^1.1.0" + gauge "^3.0.0" + set-blocking "^2.0.0" + npmlog@^6.0.0, npmlog@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830" @@ -9283,7 +9527,7 @@ nx@15.9.4, "nx@>=14.8.1 < 16": "@nrwl/nx-win32-arm64-msvc" "15.9.4" "@nrwl/nx-win32-x64-msvc" "15.9.4" -object-assign@^4.0.1: +object-assign@^4.0.1, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== @@ -9551,6 +9795,11 @@ p-map@^5.5.0: dependencies: aggregate-error "^4.0.0" +p-map@^7.0.1: + version "7.0.2" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-7.0.2.tgz#7c5119fada4755660f70199a66aa3fe2f85a1fe8" + integrity sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q== + p-pipe@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" @@ -9598,6 +9847,14 @@ p-waterfall@^2.1.1: dependencies: p-reduce "^2.0.0" +package-config@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/package-config/-/package-config-5.0.0.tgz#cba78b7feb3396fa0149caca2c72677ff302b3c4" + integrity sha512-GYTTew2slBcYdvRHqjhwaaydVMvn/qrGC323+nKclYioNSLTDUM/lGgtGTgyHVtYcozb+XkE8CNhwcraOmZ9Mg== + dependencies: + find-up-simple "^1.0.0" + load-json-file "^7.0.1" + pacote@^13.0.3, pacote@^13.6.1: version "13.6.2" resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.6.2.tgz#0d444ba3618ab3e5cd330b451c22967bbd0ca48a" @@ -9677,6 +9934,11 @@ parse-ms@^3.0.0: resolved "https://registry.yarnpkg.com/parse-ms/-/parse-ms-3.0.0.tgz#3ea24a934913345fcc3656deda72df921da3a70e" integrity sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw== +parse-ms@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/parse-ms/-/parse-ms-4.0.0.tgz#c0c058edd47c2a590151a718990533fd62803df4" + integrity sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw== + parse-package-name@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/parse-package-name/-/parse-package-name-1.0.0.tgz#1a108757e4ffc6889d5e78bcc4932a97c097a5a7" @@ -9787,6 +10049,11 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +path-type@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-5.0.0.tgz#14b01ed7aea7ddf9c7c3f46181d4d04f9c785bb8" + integrity sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg== + picocolors@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" @@ -9797,6 +10064,11 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3, picomatc resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== +picomatch@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-3.0.1.tgz#817033161def55ec9638567a2f3bbc876b3e7516" + integrity sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag== + pidtree@^0.3.0: version "0.3.1" resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a" @@ -9941,6 +10213,13 @@ pretty-ms@^8.0.0: dependencies: parse-ms "^3.0.0" +pretty-ms@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/pretty-ms/-/pretty-ms-9.0.0.tgz#53c57f81171c53be7ce3fd20bdd4265422bc5929" + integrity sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng== + dependencies: + parse-ms "^4.0.0" + proc-log@^2.0.0, proc-log@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-2.0.1.tgz#8f3f69a1f608de27878f91f5c688b225391cb685" @@ -10674,7 +10953,7 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: +signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== @@ -10720,6 +10999,11 @@ slash@^4.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== +slash@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-5.1.0.tgz#be3adddcdf09ac38eebe8dcdc7b1a57a75b095ce" + integrity sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg== + slashes@^3.0.12: version "3.0.12" resolved "https://registry.yarnpkg.com/slashes/-/slashes-3.0.12.tgz#3d664c877ad542dc1509eaf2c50f38d483a6435a" @@ -10944,6 +11228,15 @@ string-width@^5.0.0, string-width@^5.0.1, string-width@^5.1.2: emoji-regex "^9.2.2" strip-ansi "^7.0.1" +string-width@^7.0.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-7.2.0.tgz#b5bb8e2165ce275d4d43476dd2700ad9091db6dc" + integrity sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ== + dependencies: + emoji-regex "^10.3.0" + get-east-asian-width "^1.0.0" + strip-ansi "^7.1.0" + string.prototype.padend@^3.0.0: version "3.1.5" resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.5.tgz#311ef3a4e3c557dd999cdf88fbdde223f2ac0f95" @@ -11029,7 +11322,7 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" -strip-ansi@^7.0.1: +strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== @@ -11659,6 +11952,11 @@ unicode-property-aliases-ecmascript@^2.0.0: resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== +unicorn-magic@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/unicorn-magic/-/unicorn-magic-0.1.0.tgz#1bb9a51c823aaf9d73a8bfcd3d1a23dde94b0ce4" + integrity sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ== + unique-filename@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" @@ -11892,7 +12190,7 @@ which@^2.0.1, which@^2.0.2: dependencies: isexe "^2.0.0" -wide-align@^1.1.5: +wide-align@^1.1.2, wide-align@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== From 8c44888c23987606c86474fe5cf3b665cd799e05 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 3 Apr 2024 09:14:41 -0700 Subject: [PATCH 3/6] chore(deps): bump @fast-check/ava to 1.2.1 --- packages/ERTP/package.json | 2 +- packages/inter-protocol/package.json | 2 +- yarn.lock | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/ERTP/package.json b/packages/ERTP/package.json index f43eb9ad035..f326b39198c 100644 --- a/packages/ERTP/package.json +++ b/packages/ERTP/package.json @@ -54,7 +54,7 @@ "devDependencies": { "@agoric/swingset-vat": "^0.32.2", "@endo/bundle-source": "^3.2.3", - "@fast-check/ava": "^1.1.5", + "@fast-check/ava": "^1.2.1", "ava": "^6.1.3", "tsd": "^0.31.1" }, diff --git a/packages/inter-protocol/package.json b/packages/inter-protocol/package.json index 57e32a16a63..6b6159bb56a 100644 --- a/packages/inter-protocol/package.json +++ b/packages/inter-protocol/package.json @@ -57,7 +57,7 @@ "@endo/bundle-source": "^3.2.3", "@endo/init": "^1.1.2", "@endo/promise-kit": "^1.1.2", - "@fast-check/ava": "^1.1.5", + "@fast-check/ava": "^1.2.1", "ava": "^6.1.3", "c8": "^9.1.0", "deep-object-diff": "^1.1.9", diff --git a/yarn.lock b/yarn.lock index 7c27ae3de00..82d37e741c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1916,6 +1916,13 @@ dependencies: fast-check "^3.0.0" +"@fast-check/ava@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@fast-check/ava/-/ava-1.2.1.tgz#4f6621d039e855cbd3ee40512f442f82913c5a31" + integrity sha512-d7O8CjYV2e+JFnN67Yofw+tt16fJI7kuX1K7OZCNxqQL5XNrkipWBmAmW9sPxYVjaItPBPvTPp7nORsO9KuBgg== + dependencies: + fast-check "^3.0.0" + "@gar/promisify@^1.1.3": version "1.1.3" resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" From 8976f86b36a6022f7149b592d7c9453eb1e6eea0 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 3 Apr 2024 09:16:57 -0700 Subject: [PATCH 4/6] chore(deps): forward acorn patch for 8.11.3 --- patches/{acorn+8.10.0.patch => acorn+8.12.1.patch} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename patches/{acorn+8.10.0.patch => acorn+8.12.1.patch} (91%) diff --git a/patches/acorn+8.10.0.patch b/patches/acorn+8.12.1.patch similarity index 91% rename from patches/acorn+8.10.0.patch rename to patches/acorn+8.12.1.patch index 1ec930760a0..b70863211df 100644 --- a/patches/acorn+8.10.0.patch +++ b/patches/acorn+8.12.1.patch @@ -1,8 +1,8 @@ diff --git a/node_modules/acorn/dist/acorn.js b/node_modules/acorn/dist/acorn.js -index 62e1aa6..2a9e592 100644 +index 3a6a3a2..ef9cb0b 100644 --- a/node_modules/acorn/dist/acorn.js +++ b/node_modules/acorn/dist/acorn.js -@@ -2191,7 +2191,7 @@ +@@ -2193,7 +2193,7 @@ if (checkClashes) { if (hasOwn(checkClashes, expr.name)) { this.raiseRecoverable(expr.start, "Argument name clash"); } From fcb685a182fc70cbaa5ad8777f4e48dd3974db7a Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Mon, 15 Jul 2024 11:20:16 -0700 Subject: [PATCH 5/6] chore: npx yarn-deduplicate --- yarn.lock | 74 ++++++++++--------------------------------------------- 1 file changed, 13 insertions(+), 61 deletions(-) diff --git a/yarn.lock b/yarn.lock index 82d37e741c5..e81a855e984 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1909,14 +1909,7 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f" integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g== -"@fast-check/ava@^1.1.5": - version "1.1.5" - resolved "https://registry.yarnpkg.com/@fast-check/ava/-/ava-1.1.5.tgz#b471ce5252a3d62eb9bc316f1b7b0a79a7c8341f" - integrity sha512-OopAjw8v6r3sEqR02O61r2yGoE4B1nWDRXAkB4tuK/v7qemkf86Fz+GRgBgAkSFql85VAeUq+wlx0F3Y7wJzzA== - dependencies: - fast-check "^3.0.0" - -"@fast-check/ava@^1.2.1": +"@fast-check/ava@^1.1.5", "@fast-check/ava@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@fast-check/ava/-/ava-1.2.1.tgz#4f6621d039e855cbd3ee40512f442f82913c5a31" integrity sha512-d7O8CjYV2e+JFnN67Yofw+tt16fJI7kuX1K7OZCNxqQL5XNrkipWBmAmW9sPxYVjaItPBPvTPp7nORsO9KuBgg== @@ -2797,12 +2790,7 @@ semver "^7.3.5" tar "^6.1.11" -"@noble/hashes@^1", "@noble/hashes@^1.0.0": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" - integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA== - -"@noble/hashes@github:paulmillr/noble-hashes#ae060da": +"@noble/hashes@^1", "@noble/hashes@^1.0.0", "@noble/hashes@github:paulmillr/noble-hashes#ae060da": version "1.4.0" resolved "https://codeload.github.com/paulmillr/noble-hashes/tar.gz/ae060daa6252f3ff2aa2f84e887de0aab491281d" @@ -3757,12 +3745,12 @@ debug "^4.3.4" ts-api-utils "^1.3.0" -"@typescript-eslint/types@7.15.0", "@typescript-eslint/types@^7.2.0": +"@typescript-eslint/types@7.15.0": version "7.15.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.15.0.tgz#fb894373a6e3882cbb37671ffddce44f934f62fc" integrity sha512-aV1+B1+ySXbQH0pLK0rx66I3IkiZNidYobyfn0WFsdGhSXw+P3YOqeTq5GED458SfB24tg+ux3S+9g118hjlTw== -"@typescript-eslint/types@7.16.0": +"@typescript-eslint/types@7.16.0", "@typescript-eslint/types@^7.2.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.16.0.tgz#60a19d7e7a6b1caa2c06fac860829d162a036ed2" integrity sha512-fecuH15Y+TzlUutvUl9Cc2XJxqdLr7+93SQIbcZfd4XRGGKoxyljK27b+kxKamjRkU7FYC6RrbSCg0ALcZn/xw== @@ -3886,28 +3874,18 @@ acorn-jsx@^5.3.2: resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn-walk@^8.2.0: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== - -acorn-walk@^8.3.2: +acorn-walk@^8.2.0, acorn-walk@^8.3.2: version "8.3.3" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.3.tgz#9caeac29eefaa0c41e3d4c65137de4d6f34df43e" integrity sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw== dependencies: acorn "^8.11.0" -acorn@^8.11.0, acorn@^8.11.3, acorn@^8.6.0: +acorn@^8.11.0, acorn@^8.11.3, acorn@^8.2.4, acorn@^8.6.0, acorn@^8.8.2, acorn@^8.9.0: version "8.12.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.1.tgz#71616bdccbe25e27a54439e0046e89ca76df2248" integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== -acorn@^8.2.4, acorn@^8.8.2, acorn@^8.9.0: - version "8.10.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" - integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== - add-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" @@ -4734,12 +4712,7 @@ callsites@^3.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -callsites@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-4.0.0.tgz#8014cea4fedfe681a30e2f7d2d557dd95808a92a" - integrity sha512-y3jRROutgpKdz5vzEhWM34TidDU8vkJppF8dszITeb1PQmSqV3DTxyV8G/lyO/DNvtE1YTedehmw9MPZsCBHxQ== - -callsites@^4.1.0: +callsites@^4.0.0, callsites@^4.1.0: version "4.2.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-4.2.0.tgz#98761d5be3ce092e4b9c92f7fb8c8eb9b83cadc8" integrity sha512-kfzR4zzQtAE9PC7CzZsjl3aBNbXWuXiSeOCdLcPpBfGW8YuCqQHcRPFDbr/BPVmd3EEPVpuFzLyuT/cUhPr4OQ== @@ -4810,12 +4783,7 @@ chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.2.0.tgz#249623b7d66869c673699fb66d65723e54dfcfb3" - integrity sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA== - -chalk@^5.3.0: +chalk@^5.2.0, chalk@^5.3.0: version "5.3.0" resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== @@ -6461,10 +6429,10 @@ fast-diff@^1.1.2, fast-diff@^1.2.0: resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== -fast-glob@3, fast-glob@^3.2.11, fast-glob@^3.2.9: - version "3.3.1" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4" - integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg== +fast-glob@3, fast-glob@^3.2.11, fast-glob@^3.2.9, fast-glob@^3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -6483,17 +6451,6 @@ fast-glob@3.2.7: merge2 "^1.3.0" micromatch "^4.0.4" -fast-glob@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" - integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -9260,16 +9217,11 @@ node-gyp-build@<4.0, node-gyp-build@^3.9.0: resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-3.9.0.tgz#53a350187dd4d5276750da21605d1cb681d09e25" integrity sha512-zLcTg6P4AbcHPq465ZMFNXx7XpKKJh+7kkN699NiQWisR2uWYOWNWqRHAmbnmKiL4e9aLSlmy5U7rEMUXV59+A== -node-gyp-build@^4.2.2: +node-gyp-build@^4.2.2, node-gyp-build@^4.3.0, node-gyp-build@^4.4.0, node-gyp-build@^4.5.0: version "4.8.1" resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.1.tgz#976d3ad905e71b76086f4f0b0d3637fe79b6cda5" integrity sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw== -node-gyp-build@^4.3.0, node-gyp-build@^4.4.0, node-gyp-build@^4.5.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" - integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== - node-gyp@^9.0.0: version "9.4.0" resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.4.0.tgz#2a7a91c7cba4eccfd95e949369f27c9ba704f369" From e943875171ceecd02ea54c51467ea5eeb2430d71 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 3 Apr 2024 11:07:03 -0700 Subject: [PATCH 6/6] test: don't rely on .serial to be sequential in liquidation-1 --- packages/boot/test/bootstrapTests/liquidation-1.test.ts | 9 ++------- packages/boot/tools/liquidation.ts | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/boot/test/bootstrapTests/liquidation-1.test.ts b/packages/boot/test/bootstrapTests/liquidation-1.test.ts index d25bec16d8d..03d173ca8d7 100644 --- a/packages/boot/test/bootstrapTests/liquidation-1.test.ts +++ b/packages/boot/test/bootstrapTests/liquidation-1.test.ts @@ -140,6 +140,8 @@ const checkFlow1 = async ( t.fail(error.message); }); + await ensureVaultCollateral(collateralBrandKey, t); + const { advanceTimeBy, advanceTimeTo, @@ -274,14 +276,12 @@ const checkFlow1 = async ( // TODO express spec up top in a way it can be passed in here check.vaultNotification(managerIndex, 0, { - debt: undefined, vaultState: 'liquidated', locked: { value: scale6(outcome.vaultsActual[0].locked), }, }); check.vaultNotification(managerIndex, 1, { - debt: undefined, vaultState: 'liquidated', locked: { value: scale6(outcome.vaultsActual[1].locked), @@ -307,11 +307,6 @@ test.serial( {}, ); -test.serial('add STARS collateral', async t => { - await ensureVaultCollateral('STARS', t); - t.pass(); // reached here without throws -}); - test.serial( 'liquidate STARS', checkFlow1, diff --git a/packages/boot/tools/liquidation.ts b/packages/boot/tools/liquidation.ts index 221f98e7260..3bbc5903be4 100644 --- a/packages/boot/tools/liquidation.ts +++ b/packages/boot/tools/liquidation.ts @@ -207,7 +207,7 @@ export const makeLiquidationTestKit = async ({ const notification = readLatest( `published.vaultFactory.managers.manager${managerIndex}.vaults.vault${vaultIndex}`, ); - t.like(notification, partial); + t.like(notification, partial, 'vault notification did not match'); }, };