From 75fba45064492b36d3af760cd563534689ef8896 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 07:24:17 -0700 Subject: [PATCH 01/13] feat: getInstanceBoardId --- .../synthetic-chain/src/lib/econHelpers.js | 21 +++---------------- packages/synthetic-chain/src/lib/vstorage.js | 21 +++++++++++++++++++ 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/packages/synthetic-chain/src/lib/econHelpers.js b/packages/synthetic-chain/src/lib/econHelpers.js index 22a79b24..2f56d029 100644 --- a/packages/synthetic-chain/src/lib/econHelpers.js +++ b/packages/synthetic-chain/src/lib/econHelpers.js @@ -2,7 +2,7 @@ import { executeOffer, waitForBlock } from './commonUpgradeHelpers.js'; import { ATOM_DENOM, CHAINID, VALIDATORADDR } from './constants.js'; import { agd, agops, executeCommand, agopsLocation } from './cliHelper.js'; import { GOV1ADDR, GOV2ADDR, GOV3ADDR } from './constants.js'; -import { queryVstorage, getQuoteBody } from './vstorage.js'; +import { queryVstorage, getQuoteBody, getInstanceBoardId } from './vstorage.js'; const ORACLE_ADDRESSES = [GOV1ADDR, GOV2ADDR, GOV3ADDR]; @@ -83,24 +83,9 @@ export const getISTBalance = async (addr, denom = 'uist', unit = 1_000_000) => { return Number(coin.amount) / unit; }; -export const getOracleInstance = async price => { - const instanceRec = await queryVstorage(`published.agoricNames.instance`); - - const value = JSON.parse(instanceRec.value); - const body = JSON.parse(value.values.at(-1)); - - const feeds = JSON.parse(body.body.substring(1)); - const feedName = `${price}-USD price feed`; - - const key = Object.keys(feeds).find(k => feeds[k][0] === feedName); - if (key) { - return body.slots[key]; - } - return null; -}; - export const checkForOracle = async (t, name) => { - const instance = await getOracleInstance(name); + const instanceName = `${name}-USD price feed`; + const instance = await getInstanceBoardId(name); t.truthy(instance); }; diff --git a/packages/synthetic-chain/src/lib/vstorage.js b/packages/synthetic-chain/src/lib/vstorage.js index e26d2833..0cbf22bd 100644 --- a/packages/synthetic-chain/src/lib/vstorage.js +++ b/packages/synthetic-chain/src/lib/vstorage.js @@ -48,3 +48,24 @@ export const getQuoteBody = async path => { return JSON.parse(body.body.substring(1)); }; +/** + * + * @param {string} instanceName + * @returns {string | null} boardId of the named instance in agoricNames + */ +export const getInstanceBoardId = async instanceName => { + const instanceRec = await queryVstorage(`published.agoricNames.instance`); + + const value = JSON.parse(instanceRec.value); + const body = JSON.parse(value.values.at(-1)); + + const instances = JSON.parse(body.body.substring(1)); + + const key = Object.keys(instances).find( + k => instances[k][0] === instanceName, + ); + if (key) { + return body.slots[key]; + } + return null; +}; From ccb1cbc088162cc83ed08ba37942d96d5b4c2ebd Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 07:47:05 -0700 Subject: [PATCH 02/13] chore(deps): bump yarn to 4.4.1 --- package.json | 2 +- proposals/16:upgrade-8/package.json | 2 +- proposals/29:upgrade-9/package.json | 2 +- proposals/34:upgrade-10/package.json | 2 +- proposals/43:upgrade-11/package.json | 2 +- proposals/49:smart-wallet-nft/package.json | 2 +- proposals/53:kread-start/package.json | 2 +- proposals/55:statom-vaults/package.json | 2 +- proposals/61:lo-bundle-cost/package.json | 2 +- proposals/63:upgrade-12/package.json | 2 +- proposals/64:crabble-start/package.json | 2 +- proposals/65:upgrade-13/package.json | 2 +- proposals/71:upgrade-14/package.json | 2 +- proposals/74:upgrade-15/package.json | 2 +- proposals/75:upgrade-16/package.json | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index b51f5aec..d14b2bc6 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ ] }, "license": "Apache-2.0", - "packageManager": "yarn@4.1.0", + "packageManager": "yarn@4.4.1", "devDependencies": { "prettier": "^3.2.5" } diff --git a/proposals/16:upgrade-8/package.json b/proposals/16:upgrade-8/package.json index 19169b98..02499bd2 100644 --- a/proposals/16:upgrade-8/package.json +++ b/proposals/16:upgrade-8/package.json @@ -12,5 +12,5 @@ "scripts": { "agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/29:upgrade-9/package.json b/proposals/29:upgrade-9/package.json index 7f5b6d56..319c96c1 100644 --- a/proposals/29:upgrade-9/package.json +++ b/proposals/29:upgrade-9/package.json @@ -13,5 +13,5 @@ "scripts": { "agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/34:upgrade-10/package.json b/proposals/34:upgrade-10/package.json index c5cbf1df..61f75493 100644 --- a/proposals/34:upgrade-10/package.json +++ b/proposals/34:upgrade-10/package.json @@ -16,5 +16,5 @@ "scripts": { "agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/43:upgrade-11/package.json b/proposals/43:upgrade-11/package.json index 99f37dba..4fe2438e 100644 --- a/proposals/43:upgrade-11/package.json +++ b/proposals/43:upgrade-11/package.json @@ -16,5 +16,5 @@ "scripts": { "agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/49:smart-wallet-nft/package.json b/proposals/49:smart-wallet-nft/package.json index 1ebbf148..2a76e763 100644 --- a/proposals/49:smart-wallet-nft/package.json +++ b/proposals/49:smart-wallet-nft/package.json @@ -18,5 +18,5 @@ "ava": { "timeout": "30s" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/53:kread-start/package.json b/proposals/53:kread-start/package.json index 4056d5e9..c89636f1 100644 --- a/proposals/53:kread-start/package.json +++ b/proposals/53:kread-start/package.json @@ -18,5 +18,5 @@ "ava": { "timeout": "300s" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/55:statom-vaults/package.json b/proposals/55:statom-vaults/package.json index 1ebbf148..2a76e763 100644 --- a/proposals/55:statom-vaults/package.json +++ b/proposals/55:statom-vaults/package.json @@ -18,5 +18,5 @@ "ava": { "timeout": "30s" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/61:lo-bundle-cost/package.json b/proposals/61:lo-bundle-cost/package.json index 0035e574..a29a39e4 100644 --- a/proposals/61:lo-bundle-cost/package.json +++ b/proposals/61:lo-bundle-cost/package.json @@ -13,5 +13,5 @@ "ava": { "timeout": "30s" }, - "packageManager": "yarn@4.1.1" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/63:upgrade-12/package.json b/proposals/63:upgrade-12/package.json index 7b12e055..f6e9b8e5 100644 --- a/proposals/63:upgrade-12/package.json +++ b/proposals/63:upgrade-12/package.json @@ -15,5 +15,5 @@ "scripts": { "agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/64:crabble-start/package.json b/proposals/64:crabble-start/package.json index 4056d5e9..c89636f1 100644 --- a/proposals/64:crabble-start/package.json +++ b/proposals/64:crabble-start/package.json @@ -18,5 +18,5 @@ "ava": { "timeout": "300s" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/65:upgrade-13/package.json b/proposals/65:upgrade-13/package.json index 6d48d127..9cff746d 100644 --- a/proposals/65:upgrade-13/package.json +++ b/proposals/65:upgrade-13/package.json @@ -15,5 +15,5 @@ "scripts": { "agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" }, - "packageManager": "yarn@4.1.0" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/71:upgrade-14/package.json b/proposals/71:upgrade-14/package.json index ece61175..81874a34 100644 --- a/proposals/71:upgrade-14/package.json +++ b/proposals/71:upgrade-14/package.json @@ -24,5 +24,5 @@ "scripts": { "agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" }, - "packageManager": "yarn@4.1.1" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/74:upgrade-15/package.json b/proposals/74:upgrade-15/package.json index a39067d5..9b9f0d59 100644 --- a/proposals/74:upgrade-15/package.json +++ b/proposals/74:upgrade-15/package.json @@ -24,5 +24,5 @@ "scripts": { "agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" }, - "packageManager": "yarn@4.1.1" + "packageManager": "yarn@4.4.1" } diff --git a/proposals/75:upgrade-16/package.json b/proposals/75:upgrade-16/package.json index b754bfaf..b8fc5505 100644 --- a/proposals/75:upgrade-16/package.json +++ b/proposals/75:upgrade-16/package.json @@ -24,5 +24,5 @@ "scripts": { "agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" }, - "packageManager": "yarn@4.2.2" + "packageManager": "yarn@4.4.1" } From c5da0c2e77629ec8b5df67641a5e7efae41bb93d Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 07:51:37 -0700 Subject: [PATCH 03/13] chore(deps): bump minor versions --- package.json | 2 +- packages/synthetic-chain/package.json | 14 +- yarn.lock | 576 ++++++++++++++------------ 3 files changed, 329 insertions(+), 263 deletions(-) diff --git a/package.json b/package.json index d14b2bc6..1074aa40 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,6 @@ "license": "Apache-2.0", "packageManager": "yarn@4.4.1", "devDependencies": { - "prettier": "^3.2.5" + "prettier": "^3.3.3" } } diff --git a/packages/synthetic-chain/package.json b/packages/synthetic-chain/package.json index 49ccd11f..2e4f1ee2 100644 --- a/packages/synthetic-chain/package.json +++ b/packages/synthetic-chain/package.json @@ -20,20 +20,20 @@ "node": "^18.19 || ^20.9" }, "dependencies": { - "@endo/zip": "^1.0.1", - "better-sqlite3": "^9.4.0", + "@endo/zip": "^1.0.6", + "better-sqlite3": "^9.6.0", "chalk": "^5.3.0", "cosmjs-types": "^0.9.0", "execa": "^8.0.1" }, "devDependencies": { "@agoric/cosmic-proto": "^0.4.1-dev-c5284e4.0", - "@types/better-sqlite3": "^7.6.9", - "@types/node": "^18.19.14", + "@types/better-sqlite3": "^7.6.11", + "@types/node": "^18.19.46", "ava": "^5.3.1", - "tsup": "^8.0.2", - "tsx": "^4.7.1", - "typescript": "^5.3.3" + "tsup": "^8.2.4", + "tsx": "^4.19.0", + "typescript": "^5.5.4" }, "ava": { "extensions": { diff --git a/yarn.lock b/yarn.lock index 1a0a674c..6ce3295d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,17 +24,17 @@ __metadata: resolution: "@agoric/synthetic-chain@workspace:packages/synthetic-chain" dependencies: "@agoric/cosmic-proto": "npm:^0.4.1-dev-c5284e4.0" - "@endo/zip": "npm:^1.0.1" - "@types/better-sqlite3": "npm:^7.6.9" - "@types/node": "npm:^18.19.14" + "@endo/zip": "npm:^1.0.6" + "@types/better-sqlite3": "npm:^7.6.11" + "@types/node": "npm:^18.19.46" ava: "npm:^5.3.1" - better-sqlite3: "npm:^9.4.0" + better-sqlite3: "npm:^9.6.0" chalk: "npm:^5.3.0" cosmjs-types: "npm:^0.9.0" execa: "npm:^8.0.1" - tsup: "npm:^8.0.2" - tsx: "npm:^4.7.1" - typescript: "npm:^5.3.3" + tsup: "npm:^8.2.4" + tsx: "npm:^4.19.0" + typescript: "npm:^5.5.4" bin: synthetic-chain: dist/cli/cli.js languageName: unknown @@ -238,170 +238,177 @@ __metadata: languageName: node linkType: hard -"@endo/zip@npm:^1.0.1": - version: 1.0.1 - resolution: "@endo/zip@npm:1.0.1" - checksum: 10c0/1074bdc10287f4c94b3423e130da88f9c6ba09c999483c1164b3eed061350a060d2dbe377cfa3b8d4a86b3f1c3aed5cbf0cdd78ee2bf2cb9b837caa2ebbf712f +"@endo/zip@npm:^1.0.6": + version: 1.0.6 + resolution: "@endo/zip@npm:1.0.6" + checksum: 10c0/70549f380db9b2454875416359348ffabc6eeecd550c8b63016d26e384335e498eb7ebfafb45cd69a0c64d093d89d399dedb37408ca6764f13ebaf0d720d8ad2 languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/aix-ppc64@npm:0.19.12" +"@esbuild/aix-ppc64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/aix-ppc64@npm:0.23.1" conditions: os=aix & cpu=ppc64 languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/android-arm64@npm:0.19.12" +"@esbuild/android-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/android-arm64@npm:0.23.1" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@esbuild/android-arm@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/android-arm@npm:0.19.12" +"@esbuild/android-arm@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/android-arm@npm:0.23.1" conditions: os=android & cpu=arm languageName: node linkType: hard -"@esbuild/android-x64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/android-x64@npm:0.19.12" +"@esbuild/android-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/android-x64@npm:0.23.1" conditions: os=android & cpu=x64 languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/darwin-arm64@npm:0.19.12" +"@esbuild/darwin-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/darwin-arm64@npm:0.23.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/darwin-x64@npm:0.19.12" +"@esbuild/darwin-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/darwin-x64@npm:0.23.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/freebsd-arm64@npm:0.19.12" +"@esbuild/freebsd-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/freebsd-arm64@npm:0.23.1" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/freebsd-x64@npm:0.19.12" +"@esbuild/freebsd-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/freebsd-x64@npm:0.23.1" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/linux-arm64@npm:0.19.12" +"@esbuild/linux-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-arm64@npm:0.23.1" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/linux-arm@npm:0.19.12" +"@esbuild/linux-arm@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-arm@npm:0.23.1" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/linux-ia32@npm:0.19.12" +"@esbuild/linux-ia32@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-ia32@npm:0.23.1" conditions: os=linux & cpu=ia32 languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/linux-loong64@npm:0.19.12" +"@esbuild/linux-loong64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-loong64@npm:0.23.1" conditions: os=linux & cpu=loong64 languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/linux-mips64el@npm:0.19.12" +"@esbuild/linux-mips64el@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-mips64el@npm:0.23.1" conditions: os=linux & cpu=mips64el languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/linux-ppc64@npm:0.19.12" +"@esbuild/linux-ppc64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-ppc64@npm:0.23.1" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/linux-riscv64@npm:0.19.12" +"@esbuild/linux-riscv64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-riscv64@npm:0.23.1" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/linux-s390x@npm:0.19.12" +"@esbuild/linux-s390x@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-s390x@npm:0.23.1" conditions: os=linux & cpu=s390x languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/linux-x64@npm:0.19.12" +"@esbuild/linux-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/linux-x64@npm:0.23.1" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/netbsd-x64@npm:0.19.12" +"@esbuild/netbsd-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/netbsd-x64@npm:0.23.1" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/openbsd-x64@npm:0.19.12" +"@esbuild/openbsd-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/openbsd-arm64@npm:0.23.1" + conditions: os=openbsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/openbsd-x64@npm:0.23.1" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/sunos-x64@npm:0.19.12" +"@esbuild/sunos-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/sunos-x64@npm:0.23.1" conditions: os=sunos & cpu=x64 languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/win32-arm64@npm:0.19.12" +"@esbuild/win32-arm64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/win32-arm64@npm:0.23.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/win32-ia32@npm:0.19.12" +"@esbuild/win32-ia32@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/win32-ia32@npm:0.23.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.19.12": - version: 0.19.12 - resolution: "@esbuild/win32-x64@npm:0.19.12" +"@esbuild/win32-x64@npm:0.23.1": + version: 0.23.1 + resolution: "@esbuild/win32-x64@npm:0.23.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -598,103 +605,124 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.10.0" +"@rollup/rollup-android-arm-eabi@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.21.1" conditions: os=android & cpu=arm languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-android-arm64@npm:4.10.0" +"@rollup/rollup-android-arm64@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-android-arm64@npm:4.21.1" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-darwin-arm64@npm:4.10.0" +"@rollup/rollup-darwin-arm64@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-darwin-arm64@npm:4.21.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-darwin-x64@npm:4.10.0" +"@rollup/rollup-darwin-x64@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-darwin-x64@npm:4.21.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.10.0" - conditions: os=linux & cpu=arm +"@rollup/rollup-linux-arm-gnueabihf@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.21.1" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-musleabihf@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.21.1" + conditions: os=linux & cpu=arm & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.10.0" +"@rollup/rollup-linux-arm64-gnu@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.21.1" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.10.0" +"@rollup/rollup-linux-arm64-musl@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.21.1" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.10.0" +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.21.1" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.21.1" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.10.0" +"@rollup/rollup-linux-s390x-gnu@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.21.1" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.21.1" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.10.0" +"@rollup/rollup-linux-x64-musl@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.21.1" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.10.0" +"@rollup/rollup-win32-arm64-msvc@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.21.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.10.0" +"@rollup/rollup-win32-ia32-msvc@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.21.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.10.0": - version: 4.10.0 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.10.0" +"@rollup/rollup-win32-x64-msvc@npm:4.21.1": + version: 4.21.1 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.21.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@types/better-sqlite3@npm:^7.6.9": - version: 7.6.9 - resolution: "@types/better-sqlite3@npm:7.6.9" +"@types/better-sqlite3@npm:^7.6.11": + version: 7.6.11 + resolution: "@types/better-sqlite3@npm:7.6.11" dependencies: "@types/node": "npm:*" - checksum: 10c0/7d77add3993968982374cd73586a100fc5b9c29570a167b5798a415744983041d9ae3dcbdfd83fcf807247b777e3b8dc4e045fb7dae4a3d8484c9366ab371680 + checksum: 10c0/6a7b8e5765f872404242ff9626edf4b4dd7974047144ba7254a59f4f1c196d05f8001323d0b526e8bbb3842bf541e341d74ca0164e50bd38fceaf3ef5d2a673d languageName: node linkType: hard @@ -730,12 +758,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.19.14": - version: 18.19.14 - resolution: "@types/node@npm:18.19.14" +"@types/node@npm:^18.19.46": + version: 18.19.46 + resolution: "@types/node@npm:18.19.46" dependencies: undici-types: "npm:~5.26.4" - checksum: 10c0/a614e85d3d75e9bb73c1155f77843804506806629d20774e0479e88678efd64ab57f7bb2ba290b226fe732b6aead037ac181db04851a2f37e1c2a14744ffdb96 + checksum: 10c0/9b4aae9d2bd84f450f4e64f84d793b8867f7caaa66d0bfff2babf45cd2bb3836f245deb12ebf145da267e39a31a8d9a3484012c2b0a16894d384b66bb0c2b1b5 languageName: node linkType: hard @@ -972,14 +1000,14 @@ __metadata: languageName: node linkType: hard -"better-sqlite3@npm:^9.4.0": - version: 9.4.0 - resolution: "better-sqlite3@npm:9.4.0" +"better-sqlite3@npm:^9.6.0": + version: 9.6.0 + resolution: "better-sqlite3@npm:9.6.0" dependencies: bindings: "npm:^1.5.0" node-gyp: "npm:latest" prebuild-install: "npm:^7.1.1" - checksum: 10c0/42b2edfa46d62763514b87122245a3513a5ff20f05fef4fb49fec33f3de0a51a29025596178f57c634b8013f16bbdf8169a308fb3e3b8d126d715788d72d1e74 + checksum: 10c0/8db9b38f414e26a56d4c40fc16e94a253118491dae0e2c054338a9e470f1a883c7eb4cb330f2f5737db30f704d4f2e697c59071ca04e03364ee9fe04375aa9c8 languageName: node linkType: hard @@ -1066,18 +1094,18 @@ __metadata: languageName: node linkType: hard -"bundle-require@npm:^4.0.0": - version: 4.0.2 - resolution: "bundle-require@npm:4.0.2" +"bundle-require@npm:^5.0.0": + version: 5.0.0 + resolution: "bundle-require@npm:5.0.0" dependencies: load-tsconfig: "npm:^0.2.3" peerDependencies: - esbuild: ">=0.17" - checksum: 10c0/984735cfcb1c61931e9325220ef8f9684c7d6905be1b45373a7ff42893910121c655f907cc96192a589da66d79a7d6fc8ddf11144628ee1593208a88bbd3929d + esbuild: ">=0.18" + checksum: 10c0/92c46df02586e0ebd66ee4831c9b5775adb3c32a43fe2b2aaf7bc675135c141f751de6a9a26b146d64c607c5b40f9eef5f10dce3c364f602d4bed268444c32c6 languageName: node linkType: hard -"cac@npm:^6.7.12": +"cac@npm:^6.7.14": version: 6.7.14 resolution: "cac@npm:6.7.14" checksum: 10c0/4ee06aaa7bab8981f0d54e5f5f9d4adcd64058e9697563ce336d8a3878ed018ee18ebe5359b2430eceae87e0758e62ea2019c3f52ae6e211b1bd2e133856cd10 @@ -1127,9 +1155,9 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.5.1": - version: 3.6.0 - resolution: "chokidar@npm:3.6.0" +"chokidar@npm:^3.5.3": + version: 3.5.3 + resolution: "chokidar@npm:3.5.3" dependencies: anymatch: "npm:~3.1.2" braces: "npm:~3.0.2" @@ -1142,13 +1170,13 @@ __metadata: dependenciesMeta: fsevents: optional: true - checksum: 10c0/8361dcd013f2ddbe260eacb1f3cb2f2c6f2b0ad118708a343a5ed8158941a39cb8fb1d272e0f389712e74ee90ce8ba864eece9e0e62b9705cb468a2f6d917462 + checksum: 10c0/1076953093e0707c882a92c66c0f56ba6187831aa51bb4de878c1fec59ae611a3bf02898f190efec8e77a086b8df61c2b2a3ea324642a0558bdf8ee6c5dc9ca1 languageName: node linkType: hard -"chokidar@npm:^3.5.3": - version: 3.5.3 - resolution: "chokidar@npm:3.5.3" +"chokidar@npm:^3.6.0": + version: 3.6.0 + resolution: "chokidar@npm:3.6.0" dependencies: anymatch: "npm:~3.1.2" braces: "npm:~3.0.2" @@ -1161,7 +1189,7 @@ __metadata: dependenciesMeta: fsevents: optional: true - checksum: 10c0/1076953093e0707c882a92c66c0f56ba6187831aa51bb4de878c1fec59ae611a3bf02898f190efec8e77a086b8df61c2b2a3ea324642a0558bdf8ee6c5dc9ca1 + checksum: 10c0/8361dcd013f2ddbe260eacb1f3cb2f2c6f2b0ad118708a343a5ed8158941a39cb8fb1d272e0f389712e74ee90ce8ba864eece9e0e62b9705cb468a2f6d917462 languageName: node linkType: hard @@ -1308,6 +1336,13 @@ __metadata: languageName: node linkType: hard +"consola@npm:^3.2.3": + version: 3.2.3 + resolution: "consola@npm:3.2.3" + checksum: 10c0/c606220524ec88a05bb1baf557e9e0e04a0c08a9c35d7a08652d99de195c4ddcb6572040a7df57a18ff38bbc13ce9880ad032d56630cef27bef72768ef0ac078 + languageName: node + linkType: hard + "convert-to-spaces@npm:^2.0.1": version: 2.0.1 resolution: "convert-to-spaces@npm:2.0.1" @@ -1351,7 +1386,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.3.1, debug@npm:^4.3.4": +"debug@npm:4, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" dependencies: @@ -1363,6 +1398,18 @@ __metadata: languageName: node linkType: hard +"debug@npm:^4.3.5": + version: 4.3.6 + resolution: "debug@npm:4.3.6" + dependencies: + ms: "npm:2.1.2" + peerDependenciesMeta: + supports-color: + optional: true + checksum: 10c0/3293416bff072389c101697d4611c402a6bacd1900ac20c0492f61a9cdd6b3b29750fc7f5e299f8058469ef60ff8fb79b86395a30374fbd2490113c1c7112285 + languageName: node + linkType: hard + "decompress-response@npm:^6.0.0": version: 6.0.0 resolution: "decompress-response@npm:6.0.0" @@ -1515,33 +1562,34 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.19.2, esbuild@npm:~0.19.10": - version: 0.19.12 - resolution: "esbuild@npm:0.19.12" - dependencies: - "@esbuild/aix-ppc64": "npm:0.19.12" - "@esbuild/android-arm": "npm:0.19.12" - "@esbuild/android-arm64": "npm:0.19.12" - "@esbuild/android-x64": "npm:0.19.12" - "@esbuild/darwin-arm64": "npm:0.19.12" - "@esbuild/darwin-x64": "npm:0.19.12" - "@esbuild/freebsd-arm64": "npm:0.19.12" - "@esbuild/freebsd-x64": "npm:0.19.12" - "@esbuild/linux-arm": "npm:0.19.12" - "@esbuild/linux-arm64": "npm:0.19.12" - "@esbuild/linux-ia32": "npm:0.19.12" - "@esbuild/linux-loong64": "npm:0.19.12" - "@esbuild/linux-mips64el": "npm:0.19.12" - "@esbuild/linux-ppc64": "npm:0.19.12" - "@esbuild/linux-riscv64": "npm:0.19.12" - "@esbuild/linux-s390x": "npm:0.19.12" - "@esbuild/linux-x64": "npm:0.19.12" - "@esbuild/netbsd-x64": "npm:0.19.12" - "@esbuild/openbsd-x64": "npm:0.19.12" - "@esbuild/sunos-x64": "npm:0.19.12" - "@esbuild/win32-arm64": "npm:0.19.12" - "@esbuild/win32-ia32": "npm:0.19.12" - "@esbuild/win32-x64": "npm:0.19.12" +"esbuild@npm:^0.23.0, esbuild@npm:~0.23.0": + version: 0.23.1 + resolution: "esbuild@npm:0.23.1" + dependencies: + "@esbuild/aix-ppc64": "npm:0.23.1" + "@esbuild/android-arm": "npm:0.23.1" + "@esbuild/android-arm64": "npm:0.23.1" + "@esbuild/android-x64": "npm:0.23.1" + "@esbuild/darwin-arm64": "npm:0.23.1" + "@esbuild/darwin-x64": "npm:0.23.1" + "@esbuild/freebsd-arm64": "npm:0.23.1" + "@esbuild/freebsd-x64": "npm:0.23.1" + "@esbuild/linux-arm": "npm:0.23.1" + "@esbuild/linux-arm64": "npm:0.23.1" + "@esbuild/linux-ia32": "npm:0.23.1" + "@esbuild/linux-loong64": "npm:0.23.1" + "@esbuild/linux-mips64el": "npm:0.23.1" + "@esbuild/linux-ppc64": "npm:0.23.1" + "@esbuild/linux-riscv64": "npm:0.23.1" + "@esbuild/linux-s390x": "npm:0.23.1" + "@esbuild/linux-x64": "npm:0.23.1" + "@esbuild/netbsd-x64": "npm:0.23.1" + "@esbuild/openbsd-arm64": "npm:0.23.1" + "@esbuild/openbsd-x64": "npm:0.23.1" + "@esbuild/sunos-x64": "npm:0.23.1" + "@esbuild/win32-arm64": "npm:0.23.1" + "@esbuild/win32-ia32": "npm:0.23.1" + "@esbuild/win32-x64": "npm:0.23.1" dependenciesMeta: "@esbuild/aix-ppc64": optional: true @@ -1579,6 +1627,8 @@ __metadata: optional: true "@esbuild/netbsd-x64": optional: true + "@esbuild/openbsd-arm64": + optional: true "@esbuild/openbsd-x64": optional: true "@esbuild/sunos-x64": @@ -1591,7 +1641,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 10c0/0f2d21ffe24ebead64843f87c3aebe2e703a5ed9feb086a0728b24907fac2eb9923e4a79857d3df9059c915739bd7a870dd667972eae325c67f478b592b8582d + checksum: 10c0/08c2ed1105cc3c5e3a24a771e35532fe6089dd24a39c10097899072cef4a99f20860e41e9294e000d86380f353b04d8c50af482483d7f69f5208481cce61eec7 languageName: node linkType: hard @@ -1633,7 +1683,7 @@ __metadata: languageName: node linkType: hard -"execa@npm:^5.0.0": +"execa@npm:^5.1.1": version: 5.1.1 resolution: "execa@npm:5.1.1" dependencies: @@ -1862,12 +1912,12 @@ __metadata: languageName: node linkType: hard -"get-tsconfig@npm:^4.7.2": - version: 4.7.2 - resolution: "get-tsconfig@npm:4.7.2" +"get-tsconfig@npm:^4.7.5": + version: 4.7.6 + resolution: "get-tsconfig@npm:4.7.6" dependencies: resolve-pkg-maps: "npm:^1.0.0" - checksum: 10c0/169b2beababfbb16e8a0ae813ee59d3e14d4960231c816615161ab5be68ec07a394dce59695742ac84295e2efab8d9e89bcf3abaf5e253dfbec3496e01bb9a65 + checksum: 10c0/2240e1b13e996dfbb947d177f422f83d09d1f93c9ce16959ebb3c2bdf8bdf4f04f98eba043859172da1685f9c7071091f0acfa964ebbe4780394d83b7dc3f58a languageName: node linkType: hard @@ -1911,7 +1961,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.3": +"globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -2265,7 +2315,7 @@ __metadata: languageName: node linkType: hard -"joycon@npm:^3.0.1": +"joycon@npm:^3.1.1": version: 3.1.1 resolution: "joycon@npm:3.1.1" checksum: 10c0/131fb1e98c9065d067fd49b6e685487ac4ad4d254191d7aa2c9e3b90f4e9ca70430c43cad001602bdbdabcf58717d3b5c5b7461c1bd8e39478c8de706b3fe6ae @@ -2307,10 +2357,10 @@ __metadata: languageName: node linkType: hard -"lilconfig@npm:^3.0.0": - version: 3.0.0 - resolution: "lilconfig@npm:3.0.0" - checksum: 10c0/7f5ee7a658dc016cacf146815e8d88b06f06f4402823b8b0934e305a57a197f55ccc9c5cd4fb5ea1b2b821c8ccaf2d54abd59602a4931af06eabda332388d3e6 +"lilconfig@npm:^3.1.1": + version: 3.1.2 + resolution: "lilconfig@npm:3.1.2" + checksum: 10c0/f059630b1a9bddaeba83059db00c672b64dc14074e9f232adce32b38ca1b5686ab737eb665c5ba3c32f147f0002b4bee7311ad0386a9b98547b5623e87071fbe languageName: node linkType: hard @@ -2884,6 +2934,13 @@ __metadata: languageName: node linkType: hard +"picocolors@npm:^1.0.1": + version: 1.0.1 + resolution: "picocolors@npm:1.0.1" + checksum: 10c0/c63cdad2bf812ef0d66c8db29583802355d4ca67b9285d846f390cc15c2f6ccb94e8cb7eb6a6e97fc5990a6d3ad4ae42d86c84d3146e667c739a4234ed50d400 + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" @@ -2917,21 +2974,26 @@ __metadata: languageName: node linkType: hard -"postcss-load-config@npm:^4.0.1": - version: 4.0.2 - resolution: "postcss-load-config@npm:4.0.2" +"postcss-load-config@npm:^6.0.1": + version: 6.0.1 + resolution: "postcss-load-config@npm:6.0.1" dependencies: - lilconfig: "npm:^3.0.0" - yaml: "npm:^2.3.4" + lilconfig: "npm:^3.1.1" peerDependencies: + jiti: ">=1.21.0" postcss: ">=8.0.9" - ts-node: ">=9.0.0" + tsx: ^4.8.1 + yaml: ^2.4.2 peerDependenciesMeta: + jiti: + optional: true postcss: optional: true - ts-node: + tsx: + optional: true + yaml: optional: true - checksum: 10c0/3d7939acb3570b0e4b4740e483d6e555a3e2de815219cb8a3c8fc03f575a6bde667443aa93369c0be390af845cb84471bf623e24af833260de3a105b78d42519 + checksum: 10c0/74173a58816dac84e44853f7afbd283f4ef13ca0b6baeba27701214beec33f9e309b128f8102e2b173e8d45ecba45d279a9be94b46bf48d219626aa9b5730848 languageName: node linkType: hard @@ -2957,12 +3019,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.2.5": - version: 3.2.5 - resolution: "prettier@npm:3.2.5" +"prettier@npm:^3.3.3": + version: 3.3.3 + resolution: "prettier@npm:3.3.3" bin: prettier: bin/prettier.cjs - checksum: 10c0/ea327f37a7d46f2324a34ad35292af2ad4c4c3c3355da07313339d7e554320f66f65f91e856add8530157a733c6c4a897dc41b577056be5c24c40f739f5ee8c6 + checksum: 10c0/b85828b08e7505716324e4245549b9205c0cacb25342a030ba8885aba2039a115dbcf75a0b7ca3b37bc9d101ee61fab8113fc69ca3359f2a226f1ecc07ad2e26 languageName: node linkType: hard @@ -3132,23 +3194,26 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.0.2": - version: 4.10.0 - resolution: "rollup@npm:4.10.0" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.10.0" - "@rollup/rollup-android-arm64": "npm:4.10.0" - "@rollup/rollup-darwin-arm64": "npm:4.10.0" - "@rollup/rollup-darwin-x64": "npm:4.10.0" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.10.0" - "@rollup/rollup-linux-arm64-gnu": "npm:4.10.0" - "@rollup/rollup-linux-arm64-musl": "npm:4.10.0" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.10.0" - "@rollup/rollup-linux-x64-gnu": "npm:4.10.0" - "@rollup/rollup-linux-x64-musl": "npm:4.10.0" - "@rollup/rollup-win32-arm64-msvc": "npm:4.10.0" - "@rollup/rollup-win32-ia32-msvc": "npm:4.10.0" - "@rollup/rollup-win32-x64-msvc": "npm:4.10.0" +"rollup@npm:^4.19.0": + version: 4.21.1 + resolution: "rollup@npm:4.21.1" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.21.1" + "@rollup/rollup-android-arm64": "npm:4.21.1" + "@rollup/rollup-darwin-arm64": "npm:4.21.1" + "@rollup/rollup-darwin-x64": "npm:4.21.1" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.21.1" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.21.1" + "@rollup/rollup-linux-arm64-gnu": "npm:4.21.1" + "@rollup/rollup-linux-arm64-musl": "npm:4.21.1" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.21.1" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.21.1" + "@rollup/rollup-linux-s390x-gnu": "npm:4.21.1" + "@rollup/rollup-linux-x64-gnu": "npm:4.21.1" + "@rollup/rollup-linux-x64-musl": "npm:4.21.1" + "@rollup/rollup-win32-arm64-msvc": "npm:4.21.1" + "@rollup/rollup-win32-ia32-msvc": "npm:4.21.1" + "@rollup/rollup-win32-x64-msvc": "npm:4.21.1" "@types/estree": "npm:1.0.5" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -3162,12 +3227,18 @@ __metadata: optional: true "@rollup/rollup-linux-arm-gnueabihf": optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true "@rollup/rollup-linux-arm64-gnu": optional: true "@rollup/rollup-linux-arm64-musl": optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true "@rollup/rollup-linux-riscv64-gnu": optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true "@rollup/rollup-linux-x64-gnu": optional: true "@rollup/rollup-linux-x64-musl": @@ -3182,7 +3253,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10c0/f0cd08a29387369c72e90020309112b4f88e9722f7a03dac3649302e0e1d6d9709bdbd1aff236658a072c2e44ad5477c5733e0e464272479a6cf81f14182181d + checksum: 10c0/e64b6adabadc3e18544c68e9704744c333b38a68ba803c49b5344a015c5865bf35a72669ba121ba26869fa306f193884e07319ccfc570c08fd8f9e72c9949d4d languageName: node linkType: hard @@ -3191,7 +3262,7 @@ __metadata: resolution: "root-workspace-0b6124@workspace:." dependencies: "@agoric/synthetic-chain": "workspace:*" - prettier: "npm:^3.2.5" + prettier: "npm:^3.3.3" languageName: unknown linkType: soft @@ -3451,7 +3522,7 @@ __metadata: languageName: node linkType: hard -"sucrase@npm:^3.20.3": +"sucrase@npm:^3.35.0": version: 3.35.0 resolution: "sucrase@npm:3.35.0" dependencies: @@ -3593,23 +3664,25 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^8.0.2": - version: 8.0.2 - resolution: "tsup@npm:8.0.2" - dependencies: - bundle-require: "npm:^4.0.0" - cac: "npm:^6.7.12" - chokidar: "npm:^3.5.1" - debug: "npm:^4.3.1" - esbuild: "npm:^0.19.2" - execa: "npm:^5.0.0" - globby: "npm:^11.0.3" - joycon: "npm:^3.0.1" - postcss-load-config: "npm:^4.0.1" +"tsup@npm:^8.2.4": + version: 8.2.4 + resolution: "tsup@npm:8.2.4" + dependencies: + bundle-require: "npm:^5.0.0" + cac: "npm:^6.7.14" + chokidar: "npm:^3.6.0" + consola: "npm:^3.2.3" + debug: "npm:^4.3.5" + esbuild: "npm:^0.23.0" + execa: "npm:^5.1.1" + globby: "npm:^11.1.0" + joycon: "npm:^3.1.1" + picocolors: "npm:^1.0.1" + postcss-load-config: "npm:^6.0.1" resolve-from: "npm:^5.0.0" - rollup: "npm:^4.0.2" + rollup: "npm:^4.19.0" source-map: "npm:0.8.0-beta.0" - sucrase: "npm:^3.20.3" + sucrase: "npm:^3.35.0" tree-kill: "npm:^1.2.2" peerDependencies: "@microsoft/api-extractor": ^7.36.0 @@ -3628,23 +3701,23 @@ __metadata: bin: tsup: dist/cli-default.js tsup-node: dist/cli-node.js - checksum: 10c0/de3e8b2d9a7a504afb9394f2409ef88fd21dd338a78ebb572dd5c1719d73db816baa7ae4b7867016f08ba6a67560daec13a85768efff1d70e380972e39e27ce6 + checksum: 10c0/0fa967ae0feb483528ae52fd9988d7931a092b3645a456e23b62ac03a0556da6f569fb2a77b3baf50ff1d12b9afac38aa9d29f15eb82c8a2b4faeda8362858da languageName: node linkType: hard -"tsx@npm:^4.7.1": - version: 4.7.1 - resolution: "tsx@npm:4.7.1" +"tsx@npm:^4.19.0": + version: 4.19.0 + resolution: "tsx@npm:4.19.0" dependencies: - esbuild: "npm:~0.19.10" + esbuild: "npm:~0.23.0" fsevents: "npm:~2.3.3" - get-tsconfig: "npm:^4.7.2" + get-tsconfig: "npm:^4.7.5" dependenciesMeta: fsevents: optional: true bin: tsx: dist/cli.mjs - checksum: 10c0/5711bec9467fe2984b8cca2f3d99955a49aad62b8e2e8c2054488827dd2ea4618e0dfc0cc1c1642e311734e085631a268a2b53e83afb666c86f572039adebb9f + checksum: 10c0/d14463a78067c6db84c677b79b14861de6d7f6fb0ffa5727cc500c4552459e936395a3854ad0112af0fd7b263bcedd62ce3929b036188eb10cd9902a607ffe34 languageName: node linkType: hard @@ -3664,23 +3737,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.3.3": - version: 5.3.3 - resolution: "typescript@npm:5.3.3" +"typescript@npm:^5.5.4": + version: 5.5.4 + resolution: "typescript@npm:5.5.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/e33cef99d82573624fc0f854a2980322714986bc35b9cb4d1ce736ed182aeab78e2cb32b385efa493b2a976ef52c53e20d6c6918312353a91850e2b76f1ea44f + checksum: 10c0/422be60f89e661eab29ac488c974b6cc0a660fb2228003b297c3d10c32c90f3bcffc1009b43876a082515a3c376b1eefcce823d6e78982e6878408b9a923199c languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin": - version: 5.3.3 - resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7" +"typescript@patch:typescript@npm%3A^5.5.4#optional!builtin": + version: 5.5.4 + resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=379a07" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/1d0a5f4ce496c42caa9a30e659c467c5686eae15d54b027ee7866744952547f1be1262f2d40de911618c242b510029d51d43ff605dba8fb740ec85ca2d3f9500 + checksum: 10c0/73409d7b9196a5a1217b3aaad929bf76294d3ce7d6e9766dd880ece296ee91cf7d7db6b16c6c6c630ee5096eccde726c0ef17c7dfa52b01a243e57ae1f09ef07 languageName: node linkType: hard @@ -3841,13 +3914,6 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.3.4": - version: 2.3.4 - resolution: "yaml@npm:2.3.4" - checksum: 10c0/cf03b68f8fef5e8516b0f0b54edaf2459f1648317fc6210391cf606d247e678b449382f4bd01f77392538429e306c7cba8ff46ff6b37cac4de9a76aff33bd9e1 - languageName: node - linkType: hard - "yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1" From 3689f50ff4506b0fe0a339f4c230602d0957b4bd Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 08:28:51 -0700 Subject: [PATCH 04/13] chore: bump test tooling for Node 20 --- .github/workflows/ci.yml | 4 +- .gitignore | 7 +- .node-version | 2 +- packages/synthetic-chain/.node-version | 1 + packages/synthetic-chain/package.json | 11 +- yarn.lock | 998 ++++++++++++++++++------- 6 files changed, 726 insertions(+), 297 deletions(-) create mode 100644 packages/synthetic-chain/.node-version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7a28898..be1188d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,9 +42,7 @@ jobs: - uses: actions/setup-node@v4 with: - # 18.19 causes this problem running tsx: - # The --loader flag was deprecated in Node v20.6.0 - node-version: 18.18 + node-version: 20 - name: Install deps run: | diff --git a/.gitignore b/.gitignore index e6c02b43..cc8b6732 100644 --- a/.gitignore +++ b/.gitignore @@ -57,11 +57,8 @@ web_modules/ # Optional stylelint cache .stylelintcache -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ +# TsImp cache +.tsimp/ # Optional REPL history .node_repl_history diff --git a/.node-version b/.node-version index 02c8b485..3516580b 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -18.18.0 +20.17.0 diff --git a/packages/synthetic-chain/.node-version b/packages/synthetic-chain/.node-version new file mode 100644 index 00000000..3516580b --- /dev/null +++ b/packages/synthetic-chain/.node-version @@ -0,0 +1 @@ +20.17.0 diff --git a/packages/synthetic-chain/package.json b/packages/synthetic-chain/package.json index 2e4f1ee2..b0d5db25 100644 --- a/packages/synthetic-chain/package.json +++ b/packages/synthetic-chain/package.json @@ -14,7 +14,7 @@ "scripts": { "prepare": "yarn build", "build": "tsup", - "test": "NODE_OPTIONS='--loader=tsx --no-warnings' ava" + "test": "ava" }, "engines": { "node": "^18.19 || ^20.9" @@ -30,16 +30,19 @@ "@agoric/cosmic-proto": "^0.4.1-dev-c5284e4.0", "@types/better-sqlite3": "^7.6.11", "@types/node": "^18.19.46", - "ava": "^5.3.1", + "ava": "^6.1.3", + "tsimp": "^2.0.11", "tsup": "^8.2.4", - "tsx": "^4.19.0", "typescript": "^5.5.4" }, "ava": { "extensions": { "js": true, "ts": "module" - } + }, + "nodeArguments": [ + "--import=tsimp" + ] }, "license": "Apache-2.0", "publishConfig": { diff --git a/yarn.lock b/yarn.lock index 6ce3295d..66f2afef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -27,13 +27,13 @@ __metadata: "@endo/zip": "npm:^1.0.6" "@types/better-sqlite3": "npm:^7.6.11" "@types/node": "npm:^18.19.46" - ava: "npm:^5.3.1" + ava: "npm:^6.1.3" better-sqlite3: "npm:^9.6.0" chalk: "npm:^5.3.0" cosmjs-types: "npm:^0.9.0" execa: "npm:^8.0.1" + tsimp: "npm:^2.0.11" tsup: "npm:^8.2.4" - tsx: "npm:^4.19.0" typescript: "npm:^5.5.4" bin: synthetic-chain: dist/cli/cli.js @@ -413,6 +413,22 @@ __metadata: languageName: node linkType: hard +"@isaacs/cached@npm:^1.0.1": + version: 1.0.1 + resolution: "@isaacs/cached@npm:1.0.1" + dependencies: + "@isaacs/catcher": "npm:^1.0.0" + checksum: 10c0/1c15dc2a60873f2c73f4b04ed59ecfc8d9679976ff09af1b5b45e7273a590a4f86a339cc4c785c2d22309277ca47293611af20dd7d41550cdcfb53e06a04ac65 + languageName: node + linkType: hard + +"@isaacs/catcher@npm:^1.0.0, @isaacs/catcher@npm:^1.0.4": + version: 1.0.4 + resolution: "@isaacs/catcher@npm:1.0.4" + checksum: 10c0/d8b77e2c6b84a6301d390d0b2badea1b4a321f2e8ba662645b045efc42f20a54a6c760f3181fab4ed0d90da58f2cb084a93490a892c53b4da21ec05278b8ba4f + languageName: node + linkType: hard + "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -469,6 +485,25 @@ __metadata: languageName: node linkType: hard +"@mapbox/node-pre-gyp@npm:^1.0.5": + version: 1.0.11 + resolution: "@mapbox/node-pre-gyp@npm:1.0.11" + dependencies: + detect-libc: "npm:^2.0.0" + https-proxy-agent: "npm:^5.0.0" + make-dir: "npm:^3.1.0" + node-fetch: "npm:^2.6.7" + nopt: "npm:^5.0.0" + npmlog: "npm:^5.0.1" + rimraf: "npm:^3.0.2" + semver: "npm:^7.3.5" + tar: "npm:^6.1.11" + bin: + node-pre-gyp: bin/node-pre-gyp + checksum: 10c0/2b24b93c31beca1c91336fa3b3769fda98e202fb7f9771f0f4062588d36dcc30fcf8118c36aa747fa7f7610d8cf601872bdaaf62ce7822bb08b545d1bbe086cc + languageName: node + linkType: hard + "@noble/hashes@npm:^1, @noble/hashes@npm:^1.0.0": version: 1.3.3 resolution: "@noble/hashes@npm:1.3.3" @@ -605,6 +640,16 @@ __metadata: languageName: node linkType: hard +"@rollup/pluginutils@npm:^4.0.0": + version: 4.2.1 + resolution: "@rollup/pluginutils@npm:4.2.1" + dependencies: + estree-walker: "npm:^2.0.1" + picomatch: "npm:^2.2.2" + checksum: 10c0/3ee56b2c8f1ed8dfd0a92631da1af3a2dfdd0321948f089b3752b4de1b54dc5076701eadd0e5fc18bd191b77af594ac1db6279e83951238ba16bf8a414c64c48 + languageName: node + linkType: hard + "@rollup/rollup-android-arm-eabi@npm:4.21.1": version: 4.21.1 resolution: "@rollup/rollup-android-arm-eabi@npm:4.21.1" @@ -717,6 +762,13 @@ __metadata: languageName: node linkType: hard +"@sindresorhus/merge-streams@npm:^2.1.0": + version: 2.3.0 + resolution: "@sindresorhus/merge-streams@npm:2.3.0" + checksum: 10c0/69ee906f3125fb2c6bb6ec5cdd84e8827d93b49b3892bce8b62267116cc7e197b5cccf20c160a1d32c26014ecd14470a72a5e3ee37a58f1d6dadc0db1ccf3894 + languageName: node + linkType: hard + "@types/better-sqlite3@npm:^7.6.11": version: 7.6.11 resolution: "@types/better-sqlite3@npm:7.6.11" @@ -767,6 +819,35 @@ __metadata: languageName: node linkType: hard +"@vercel/nft@npm:^0.26.2": + version: 0.26.5 + resolution: "@vercel/nft@npm:0.26.5" + dependencies: + "@mapbox/node-pre-gyp": "npm:^1.0.5" + "@rollup/pluginutils": "npm:^4.0.0" + acorn: "npm:^8.6.0" + acorn-import-attributes: "npm:^1.9.2" + async-sema: "npm:^3.1.1" + bindings: "npm:^1.4.0" + estree-walker: "npm:2.0.2" + glob: "npm:^7.1.3" + graceful-fs: "npm:^4.2.9" + micromatch: "npm:^4.0.2" + node-gyp-build: "npm:^4.2.2" + resolve-from: "npm:^5.0.0" + bin: + nft: out/cli.js + checksum: 10c0/b7034b2f851384f26316c856a731c0973a99bd02f6bb349916a750328a4919944ed6fd12c321b38ec6535d29dfb627d7fa8ab0f1e8c1c3cabd71e3350bd77548 + languageName: node + linkType: hard + +"abbrev@npm:1": + version: 1.1.1 + resolution: "abbrev@npm:1.1.1" + checksum: 10c0/3f762677702acb24f65e813070e306c61fafe25d4b2583f9dfc935131f774863f3addd5741572ed576bd69cabe473c5af18e1e108b829cb7b6b4747884f726e6 + languageName: node + linkType: hard + "abbrev@npm:^2.0.0": version: 2.0.0 resolution: "abbrev@npm:2.0.0" @@ -774,19 +855,39 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.2.0": - version: 8.3.1 - resolution: "acorn-walk@npm:8.3.1" - checksum: 10c0/a23d2f7c6b6cad617f4c77f14dfeb062a239208d61753e9ba808d916c550add92b39535467d2e6028280761ac4f5a904cc9df21530b84d3f834e3edef74ddde5 +"acorn-import-attributes@npm:^1.9.2": + version: 1.9.5 + resolution: "acorn-import-attributes@npm:1.9.5" + peerDependencies: + acorn: ^8 + checksum: 10c0/5926eaaead2326d5a86f322ff1b617b0f698aa61dc719a5baa0e9d955c9885cc71febac3fb5bacff71bbf2c4f9c12db2056883c68c53eb962c048b952e1e013d + languageName: node + linkType: hard + +"acorn-walk@npm:^8.3.2": + version: 8.3.3 + resolution: "acorn-walk@npm:8.3.3" + dependencies: + acorn: "npm:^8.11.0" + checksum: 10c0/4a9e24313e6a0a7b389e712ba69b66b455b4cb25988903506a8d247e7b126f02060b05a8a5b738a9284214e4ca95f383dd93443a4ba84f1af9b528305c7f243b languageName: node linkType: hard -"acorn@npm:^8.8.2": - version: 8.11.3 - resolution: "acorn@npm:8.11.3" +"acorn@npm:^8.11.0, acorn@npm:^8.11.3, acorn@npm:^8.6.0": + version: 8.12.1 + resolution: "acorn@npm:8.12.1" bin: acorn: bin/acorn - checksum: 10c0/3ff155f8812e4a746fee8ecff1f227d527c4c45655bb1fad6347c3cb58e46190598217551b1500f18542d2bbe5c87120cb6927f5a074a59166fbdd9468f0a299 + checksum: 10c0/51fb26cd678f914e13287e886da2d7021f8c2bc0ccc95e03d3e0447ee278dd3b40b9c57dc222acd5881adcf26f3edc40901a4953403232129e3876793cd17386 + languageName: node + linkType: hard + +"agent-base@npm:6": + version: 6.0.2 + resolution: "agent-base@npm:6.0.2" + dependencies: + debug: "npm:4" + checksum: 10c0/dc4f757e40b5f3e3d674bc9beb4f1048f4ee83af189bae39be99f57bf1f48dde166a8b0a5342a84b5944ee8e6ed1e5a9d801858f4ad44764e84957122fe46261 languageName: node linkType: hard @@ -809,16 +910,6 @@ __metadata: languageName: node linkType: hard -"aggregate-error@npm:^4.0.0": - version: 4.0.1 - resolution: "aggregate-error@npm:4.0.1" - dependencies: - clean-stack: "npm:^4.0.0" - indent-string: "npm:^5.0.0" - checksum: 10c0/75fd739f5c4c60a667cce35ccaf0edf135e147ef0be9a029cab75de14ac9421779b15339d562e58d25b233ea0ef2bbd4c916f149fdbcb73c2b9a62209e611343 - languageName: node - linkType: hard - "ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" @@ -866,6 +957,23 @@ __metadata: languageName: node linkType: hard +"aproba@npm:^1.0.3 || ^2.0.0": + version: 2.0.0 + resolution: "aproba@npm:2.0.0" + checksum: 10c0/d06e26384a8f6245d8c8896e138c0388824e259a329e0c9f196b4fa533c82502a6fd449586e3604950a0c42921832a458bb3aa0aa9f0ba449cfd4f50fd0d09b5 + languageName: node + linkType: hard + +"are-we-there-yet@npm:^2.0.0": + version: 2.0.0 + resolution: "are-we-there-yet@npm:2.0.0" + dependencies: + delegates: "npm:^1.0.0" + readable-stream: "npm:^3.6.0" + checksum: 10c0/375f753c10329153c8d66dc95e8f8b6c7cc2aa66e05cb0960bd69092b10dae22900cacc7d653ad11d26b3ecbdbfe1e8bfb6ccf0265ba8077a7d979970f16b99c + languageName: node + linkType: hard + "argparse@npm:^1.0.7": version: 1.0.10 resolution: "argparse@npm:1.0.10" @@ -903,6 +1011,13 @@ __metadata: languageName: node linkType: hard +"async-sema@npm:^3.1.1": + version: 3.1.1 + resolution: "async-sema@npm:3.1.1" + checksum: 10c0/a16da9f7f2dbdd00a969bf264b7ad331b59df3eac2b38f529b881c5cc8662594e68ed096d927ec2aabdc13454379cdc6d677bcdb0a3d2db338fb4be17957832b + languageName: node + linkType: hard + "asynckit@npm:^0.4.0": version: 0.4.0 resolution: "asynckit@npm:0.4.0" @@ -910,49 +1025,46 @@ __metadata: languageName: node linkType: hard -"ava@npm:^5.3.1": - version: 5.3.1 - resolution: "ava@npm:5.3.1" +"ava@npm:^6.1.3": + version: 6.1.3 + resolution: "ava@npm:6.1.3" dependencies: - acorn: "npm:^8.8.2" - acorn-walk: "npm:^8.2.0" + "@vercel/nft": "npm:^0.26.2" + acorn: "npm:^8.11.3" + acorn-walk: "npm:^8.3.2" ansi-styles: "npm:^6.2.1" arrgv: "npm:^1.0.2" arrify: "npm:^3.0.0" - callsites: "npm:^4.0.0" - cbor: "npm:^8.1.0" - chalk: "npm:^5.2.0" - chokidar: "npm:^3.5.3" + callsites: "npm:^4.1.0" + cbor: "npm:^9.0.1" + chalk: "npm:^5.3.0" chunkd: "npm:^2.0.1" - ci-info: "npm:^3.8.0" + ci-info: "npm:^4.0.0" ci-parallel-vars: "npm:^1.0.1" - clean-yaml-object: "npm:^0.1.0" - cli-truncate: "npm:^3.1.0" + cli-truncate: "npm:^4.0.0" code-excerpt: "npm:^4.0.0" common-path-prefix: "npm:^3.0.0" concordance: "npm:^5.0.4" currently-unhandled: "npm:^0.4.1" debug: "npm:^4.3.4" emittery: "npm:^1.0.1" - figures: "npm:^5.0.0" - globby: "npm:^13.1.4" + figures: "npm:^6.0.1" + globby: "npm:^14.0.0" ignore-by-default: "npm:^2.1.0" indent-string: "npm:^5.0.0" - is-error: "npm:^2.2.2" is-plain-object: "npm:^5.0.0" is-promise: "npm:^4.0.0" matcher: "npm:^5.0.0" - mem: "npm:^9.0.2" + memoize: "npm:^10.0.0" ms: "npm:^2.1.3" - p-event: "npm:^5.0.1" - p-map: "npm:^5.5.0" - picomatch: "npm:^2.3.1" - pkg-conf: "npm:^4.0.0" + p-map: "npm:^7.0.1" + package-config: "npm:^5.0.0" + picomatch: "npm:^3.0.1" plur: "npm:^5.1.0" - pretty-ms: "npm:^8.0.0" + pretty-ms: "npm:^9.0.0" resolve-cwd: "npm:^3.0.0" stack-utils: "npm:^2.0.6" - strip-ansi: "npm:^7.0.1" + strip-ansi: "npm:^7.1.0" supertap: "npm:^3.0.1" temp-dir: "npm:^3.0.0" write-file-atomic: "npm:^5.0.1" @@ -964,7 +1076,7 @@ __metadata: optional: true bin: ava: entrypoints/cli.mjs - checksum: 10c0/262cbdb9e8c3ce7177be91b92ba521e9d5aef577dcc8095cc591f86baaa291b91c88925928f5d26832c4d1b381a6ae99f2e8804077c592d0d32322c1212605cc + checksum: 10c0/108b28aceb0dfdb077bcf4c96109d736667999c2ce9f564489c4747482ea0e0c455d4d96fdfaad610b1125b74129b7b1d2ce570ec4903e767f6950d7f722f2cd languageName: node linkType: hard @@ -1018,7 +1130,7 @@ __metadata: languageName: node linkType: hard -"bindings@npm:^1.5.0": +"bindings@npm:^1.4.0, bindings@npm:^1.5.0": version: 1.5.0 resolution: "bindings@npm:1.5.0" dependencies: @@ -1059,6 +1171,16 @@ __metadata: languageName: node linkType: hard +"brace-expansion@npm:^1.1.7": + version: 1.1.11 + resolution: "brace-expansion@npm:1.1.11" + dependencies: + balanced-match: "npm:^1.0.0" + concat-map: "npm:0.0.1" + checksum: 10c0/695a56cd058096a7cb71fb09d9d6a7070113c7be516699ed361317aca2ec169f618e28b8af352e02ab4233fb54eb0168460a40dc320bab0034b36ab59aaad668 + languageName: node + linkType: hard + "brace-expansion@npm:^2.0.1": version: 2.0.1 resolution: "brace-expansion@npm:2.0.1" @@ -1077,6 +1199,15 @@ __metadata: languageName: node linkType: hard +"braces@npm:^3.0.3": + version: 3.0.3 + resolution: "braces@npm:3.0.3" + dependencies: + fill-range: "npm:^7.1.1" + checksum: 10c0/7c6dfd30c338d2997ba77500539227b9d1f85e388a5f43220865201e407e076783d0881f2d297b9f80951b4c957fcf0b51c1d2d24227631643c3f7c284b0aa04 + languageName: node + linkType: hard + "brorand@npm:^1.1.0": version: 1.1.0 resolution: "brorand@npm:1.1.0" @@ -1132,48 +1263,29 @@ __metadata: languageName: node linkType: hard -"callsites@npm:^4.0.0": - version: 4.1.0 - resolution: "callsites@npm:4.1.0" - checksum: 10c0/91700844127a6dcd4792d231a12dd8e9ec10525eb9962180a8558417d7e3f443e52a4f14746ad2838eaf14f79431ee1539d13bd188da280f720a06a91bd1157a +"callsites@npm:^4.1.0": + version: 4.2.0 + resolution: "callsites@npm:4.2.0" + checksum: 10c0/8f7e269ec09fc0946bb22d838a8bc7932e1909ab4a833b964749f4d0e8bdeaa1f253287c4f911f61781f09620b6925ccd19a5ea4897489c4e59442c660c312a3 languageName: node linkType: hard -"cbor@npm:^8.1.0": - version: 8.1.0 - resolution: "cbor@npm:8.1.0" +"cbor@npm:^9.0.1": + version: 9.0.2 + resolution: "cbor@npm:9.0.2" dependencies: nofilter: "npm:^3.1.0" - checksum: 10c0/a836e2e7ea0efb1b9c4e5a4be906c57113d730cc42293a34072e0164ed110bb8ac035dc7dca2e3ebb641bd4b37e00fdbbf09c951aa864b3d4888a6ed8c6243f7 + checksum: 10c0/709d4378067e663107b3d63a02d123a7b33e28946b4c5cc40c102f2f0ba13b072a79adc4369bb87a4e743399fce45deec30463fc84d363ab7cb39192d0fe5f30 languageName: node linkType: hard -"chalk@npm:^5.2.0, chalk@npm:^5.3.0": +"chalk@npm:^5.3.0": version: 5.3.0 resolution: "chalk@npm:5.3.0" checksum: 10c0/8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09 languageName: node linkType: hard -"chokidar@npm:^3.5.3": - version: 3.5.3 - resolution: "chokidar@npm:3.5.3" - dependencies: - anymatch: "npm:~3.1.2" - braces: "npm:~3.0.2" - fsevents: "npm:~2.3.2" - glob-parent: "npm:~5.1.2" - is-binary-path: "npm:~2.1.0" - is-glob: "npm:~4.0.1" - normalize-path: "npm:~3.0.0" - readdirp: "npm:~3.6.0" - dependenciesMeta: - fsevents: - optional: true - checksum: 10c0/1076953093e0707c882a92c66c0f56ba6187831aa51bb4de878c1fec59ae611a3bf02898f190efec8e77a086b8df61c2b2a3ea324642a0558bdf8ee6c5dc9ca1 - languageName: node - linkType: hard - "chokidar@npm:^3.6.0": version: 3.6.0 resolution: "chokidar@npm:3.6.0" @@ -1214,10 +1326,10 @@ __metadata: languageName: node linkType: hard -"ci-info@npm:^3.8.0": - version: 3.9.0 - resolution: "ci-info@npm:3.9.0" - checksum: 10c0/6f0109e36e111684291d46123d491bc4e7b7a1934c3a20dea28cba89f1d4a03acd892f5f6a81ed3855c38647e285a150e3c9ba062e38943bef57fee6c1554c3a +"ci-info@npm:^4.0.0": + version: 4.0.0 + resolution: "ci-info@npm:4.0.0" + checksum: 10c0/ecc003e5b60580bd081d83dd61d398ddb8607537f916313e40af4667f9c92a1243bd8e8a591a5aa78e418afec245dbe8e90a0e26e39ca0825129a99b978dd3f9 languageName: node linkType: hard @@ -1235,29 +1347,13 @@ __metadata: languageName: node linkType: hard -"clean-stack@npm:^4.0.0": - version: 4.2.0 - resolution: "clean-stack@npm:4.2.0" - dependencies: - escape-string-regexp: "npm:5.0.0" - checksum: 10c0/2bdf981a0fef0a23c14255df693b30eb9ae27eedf212470d8c400a0c0b6fb82fbf1ff8c5216ccd5721e3670b700389c886b1dce5070776dc9fbcc040957758c0 - languageName: node - linkType: hard - -"clean-yaml-object@npm:^0.1.0": - version: 0.1.0 - resolution: "clean-yaml-object@npm:0.1.0" - checksum: 10c0/a6505310590038afb9f0adc7f17a4c66787719c94d23f8491267ea4d9c405cdd378bd576ae1926169b6d997d4c59a8b86516bf4d16ba228280cf615598c58e05 - languageName: node - linkType: hard - -"cli-truncate@npm:^3.1.0": - version: 3.1.0 - resolution: "cli-truncate@npm:3.1.0" +"cli-truncate@npm:^4.0.0": + version: 4.0.0 + resolution: "cli-truncate@npm:4.0.0" dependencies: slice-ansi: "npm:^5.0.0" - string-width: "npm:^5.0.0" - checksum: 10c0/a19088878409ec0e5dc2659a5166929629d93cfba6d68afc9cde2282fd4c751af5b555bf197047e31c87c574396348d011b7aa806fec29c4139ea4f7f00b324c + string-width: "npm:^7.0.0" + checksum: 10c0/d7f0b73e3d9b88cb496e6c086df7410b541b56a43d18ade6a573c9c18bd001b1c3fba1ad578f741a4218fdc794d042385f8ac02c25e1c295a2d8b9f3cb86eb4c languageName: node linkType: hard @@ -1297,6 +1393,15 @@ __metadata: languageName: node linkType: hard +"color-support@npm:^1.1.2": + version: 1.1.3 + resolution: "color-support@npm:1.1.3" + bin: + color-support: bin.js + checksum: 10c0/8ffeaa270a784dc382f62d9be0a98581db43e11eee301af14734a6d089bd456478b1a8b3e7db7ca7dc5b18a75f828f775c44074020b51c05fc00e6d0992b1cc6 + languageName: node + linkType: hard + "combined-stream@npm:^1.0.8": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -1320,6 +1425,13 @@ __metadata: languageName: node linkType: hard +"concat-map@npm:0.0.1": + version: 0.0.1 + resolution: "concat-map@npm:0.0.1" + checksum: 10c0/c996b1cfdf95b6c90fee4dae37e332c8b6eb7d106430c17d538034c0ad9a1630cb194d2ab37293b1bdd4d779494beee7786d586a50bd9376fd6f7bcc2bd4c98f + languageName: node + linkType: hard + "concordance@npm:^5.0.4": version: 5.0.4 resolution: "concordance@npm:5.0.4" @@ -1343,6 +1455,13 @@ __metadata: languageName: node linkType: hard +"console-control-strings@npm:^1.0.0, console-control-strings@npm:^1.1.0": + version: 1.1.0 + resolution: "console-control-strings@npm:1.1.0" + checksum: 10c0/7ab51d30b52d461412cd467721bb82afe695da78fff8f29fe6f6b9cbaac9a2328e27a22a966014df9532100f6dd85370460be8130b9c677891ba36d96a343f50 + languageName: node + linkType: hard + "convert-to-spaces@npm:^2.0.1": version: 2.0.1 resolution: "convert-to-spaces@npm:2.0.1" @@ -1455,6 +1574,13 @@ __metadata: languageName: node linkType: hard +"delegates@npm:^1.0.0": + version: 1.0.0 + resolution: "delegates@npm:1.0.0" + checksum: 10c0/ba05874b91148e1db4bf254750c042bf2215febd23a6d3cda2e64896aef79745fbd4b9996488bd3cafb39ce19dbce0fd6e3b6665275638befffe1c9b312b91b5 + languageName: node + linkType: hard + "detect-libc@npm:^2.0.0": version: 2.0.2 resolution: "detect-libc@npm:2.0.2" @@ -1500,6 +1626,13 @@ __metadata: languageName: node linkType: hard +"emoji-regex@npm:^10.3.0": + version: 10.4.0 + resolution: "emoji-regex@npm:10.4.0" + checksum: 10c0/a3fcedfc58bfcce21a05a5f36a529d81e88d602100145fcca3dc6f795e3c8acc4fc18fe773fbf9b6d6e9371205edb3afa2668ec3473fa2aa7fd47d2a9d46482d + languageName: node + linkType: hard + "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -1562,7 +1695,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.23.0, esbuild@npm:~0.23.0": +"esbuild@npm:^0.23.0": version: 0.23.1 resolution: "esbuild@npm:0.23.1" dependencies: @@ -1652,13 +1785,6 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:5.0.0, escape-string-regexp@npm:^5.0.0": - version: 5.0.0 - resolution: "escape-string-regexp@npm:5.0.0" - checksum: 10c0/6366f474c6f37a802800a435232395e04e9885919873e382b157ab7e8f0feb8fed71497f84a6f6a81a49aab41815522f5839112bd38026d203aea0c91622df95 - languageName: node - linkType: hard - "escape-string-regexp@npm:^2.0.0": version: 2.0.0 resolution: "escape-string-regexp@npm:2.0.0" @@ -1666,6 +1792,13 @@ __metadata: languageName: node linkType: hard +"escape-string-regexp@npm:^5.0.0": + version: 5.0.0 + resolution: "escape-string-regexp@npm:5.0.0" + checksum: 10c0/6366f474c6f37a802800a435232395e04e9885919873e382b157ab7e8f0feb8fed71497f84a6f6a81a49aab41815522f5839112bd38026d203aea0c91622df95 + languageName: node + linkType: hard + "esprima@npm:^4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" @@ -1676,6 +1809,13 @@ __metadata: languageName: node linkType: hard +"estree-walker@npm:2.0.2, estree-walker@npm:^2.0.1": + version: 2.0.2 + resolution: "estree-walker@npm:2.0.2" + checksum: 10c0/53a6c54e2019b8c914dc395890153ffdc2322781acf4bd7d1a32d7aedc1710807bdcd866ac133903d5629ec601fbb50abe8c2e5553c7f5a0afdd9b6af6c945af + languageName: node + linkType: hard + "esutils@npm:^2.0.3": version: 2.0.3 resolution: "esutils@npm:2.0.3" @@ -1738,7 +1878,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0": +"fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.2": version: 3.3.2 resolution: "fast-glob@npm:3.3.2" dependencies: @@ -1760,13 +1900,12 @@ __metadata: languageName: node linkType: hard -"figures@npm:^5.0.0": - version: 5.0.0 - resolution: "figures@npm:5.0.0" +"figures@npm:^6.0.1": + version: 6.1.0 + resolution: "figures@npm:6.1.0" dependencies: - escape-string-regexp: "npm:^5.0.0" - is-unicode-supported: "npm:^1.2.0" - checksum: 10c0/ce0f17d4ea8b0fc429c5207c343534a2f5284ecfb22aa08607da7dc84ed9e1cf754f5b97760e8dcb98d3c9d1a1e4d3d578fe3b5b99c426f05d0f06c7ba618e16 + is-unicode-supported: "npm:^2.0.0" + checksum: 10c0/9159df4264d62ef447a3931537de92f5012210cf5135c35c010df50a2169377581378149abfe1eb238bd6acbba1c0d547b1f18e0af6eee49e30363cedaffcfe4 languageName: node linkType: hard @@ -1786,13 +1925,19 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^6.0.0": - version: 6.3.0 - resolution: "find-up@npm:6.3.0" +"fill-range@npm:^7.1.1": + version: 7.1.1 + resolution: "fill-range@npm:7.1.1" dependencies: - locate-path: "npm:^7.1.0" - path-exists: "npm:^5.0.0" - checksum: 10c0/07e0314362d316b2b13f7f11ea4692d5191e718ca3f7264110127520f3347996349bf9e16805abae3e196805814bc66ef4bff2b8904dc4a6476085fc9b0eba07 + to-regex-range: "npm:^5.0.1" + checksum: 10c0/b75b691bbe065472f38824f694c2f7449d7f5004aa950426a2c28f0306c60db9b880c0b0e4ed819997ffb882d1da02cfcfc819bddc94d71627f5269682edf018 + languageName: node + linkType: hard + +"find-up-simple@npm:^1.0.0": + version: 1.0.0 + resolution: "find-up-simple@npm:1.0.0" + checksum: 10c0/de1ad5e55c8c162f5600fe3297bb55a3da5cd9cb8c6755e463ec1d52c4c15a84e312a68397fb5962d13263b3dbd4ea294668c465ccacc41291d7cc97588769f9 languageName: node linkType: hard @@ -1816,6 +1961,16 @@ __metadata: languageName: node linkType: hard +"foreground-child@npm:^3.1.1": + version: 3.3.0 + resolution: "foreground-child@npm:3.3.0" + dependencies: + cross-spawn: "npm:^7.0.0" + signal-exit: "npm:^4.0.1" + checksum: 10c0/028f1d41000553fcfa6c4bb5c372963bf3d9bf0b1f25a87d1a6253014343fb69dfb1b42d9625d7cf44c8ba429940f3d0ff718b62105d4d4a4f6ef8ca0a53faa2 + languageName: node + linkType: hard + "form-data@npm:^4.0.0": version: 4.0.0 resolution: "form-data@npm:4.0.0" @@ -1852,7 +2007,14 @@ __metadata: languageName: node linkType: hard -"fsevents@npm:~2.3.2, fsevents@npm:~2.3.3": +"fs.realpath@npm:^1.0.0": + version: 1.0.0 + resolution: "fs.realpath@npm:1.0.0" + checksum: 10c0/444cf1291d997165dfd4c0d58b69f0e4782bfd9149fd72faa4fe299e68e0e93d6db941660b37dd29153bf7186672ececa3b50b7e7249477b03fdf850f287c948 + languageName: node + linkType: hard + +"fsevents@npm:~2.3.2": version: 2.3.3 resolution: "fsevents@npm:2.3.3" dependencies: @@ -1862,7 +2024,7 @@ __metadata: languageName: node linkType: hard -"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.3#optional!builtin": +"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin": version: 2.3.3 resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" dependencies: @@ -1878,6 +2040,23 @@ __metadata: languageName: node linkType: hard +"gauge@npm:^3.0.0": + version: 3.0.2 + resolution: "gauge@npm:3.0.2" + dependencies: + aproba: "npm:^1.0.3 || ^2.0.0" + color-support: "npm:^1.1.2" + console-control-strings: "npm:^1.0.0" + has-unicode: "npm:^2.0.1" + object-assign: "npm:^4.1.1" + signal-exit: "npm:^3.0.0" + string-width: "npm:^4.2.3" + strip-ansi: "npm:^6.0.1" + wide-align: "npm:^1.1.2" + checksum: 10c0/75230ccaf216471e31025c7d5fcea1629596ca20792de50c596eb18ffb14d8404f927cd55535aab2eeecd18d1e11bd6f23ec3c2e9878d2dda1dc74bccc34b913 + languageName: node + linkType: hard + "get-caller-file@npm:^2.0.5": version: 2.0.5 resolution: "get-caller-file@npm:2.0.5" @@ -1885,6 +2064,13 @@ __metadata: languageName: node linkType: hard +"get-east-asian-width@npm:^1.0.0": + version: 1.2.0 + resolution: "get-east-asian-width@npm:1.2.0" + checksum: 10c0/914b1e217cf38436c24b4c60b4c45289e39a45bf9e65ef9fd343c2815a1a02b8a0215aeec8bf9c07c516089004b6e3826332481f40a09529fcadbf6e579f286b + languageName: node + linkType: hard + "get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.4": version: 1.2.4 resolution: "get-intrinsic@npm:1.2.4" @@ -1912,15 +2098,6 @@ __metadata: languageName: node linkType: hard -"get-tsconfig@npm:^4.7.5": - version: 4.7.6 - resolution: "get-tsconfig@npm:4.7.6" - dependencies: - resolve-pkg-maps: "npm:^1.0.0" - checksum: 10c0/2240e1b13e996dfbb947d177f422f83d09d1f93c9ce16959ebb3c2bdf8bdf4f04f98eba043859172da1685f9c7071091f0acfa964ebbe4780394d83b7dc3f58a - languageName: node - linkType: hard - "github-from-package@npm:0.0.0": version: 0.0.0 resolution: "github-from-package@npm:0.0.0" @@ -1952,6 +2129,36 @@ __metadata: languageName: node linkType: hard +"glob@npm:^10.3.7": + version: 10.4.5 + resolution: "glob@npm:10.4.5" + dependencies: + foreground-child: "npm:^3.1.0" + jackspeak: "npm:^3.1.2" + minimatch: "npm:^9.0.4" + minipass: "npm:^7.1.2" + package-json-from-dist: "npm:^1.0.0" + path-scurry: "npm:^1.11.1" + bin: + glob: dist/esm/bin.mjs + checksum: 10c0/19a9759ea77b8e3ca0a43c2f07ecddc2ad46216b786bb8f993c445aee80d345925a21e5280c7b7c6c59e860a0154b84e4b2b60321fea92cd3c56b4a7489f160e + languageName: node + linkType: hard + +"glob@npm:^7.1.3": + version: 7.2.3 + resolution: "glob@npm:7.2.3" + dependencies: + fs.realpath: "npm:^1.0.0" + inflight: "npm:^1.0.4" + inherits: "npm:2" + minimatch: "npm:^3.1.1" + once: "npm:^1.3.0" + path-is-absolute: "npm:^1.0.0" + checksum: 10c0/65676153e2b0c9095100fe7f25a778bf45608eeb32c6048cf307f579649bcc30353277b3b898a3792602c65764e5baa4f643714dfbdfd64ea271d210c7a425fe + languageName: node + linkType: hard + "globalthis@npm:^1.0.1": version: 1.0.3 resolution: "globalthis@npm:1.0.3" @@ -1975,16 +2182,17 @@ __metadata: languageName: node linkType: hard -"globby@npm:^13.1.4": - version: 13.2.2 - resolution: "globby@npm:13.2.2" +"globby@npm:^14.0.0": + version: 14.0.2 + resolution: "globby@npm:14.0.2" dependencies: - dir-glob: "npm:^3.0.1" - fast-glob: "npm:^3.3.0" + "@sindresorhus/merge-streams": "npm:^2.1.0" + fast-glob: "npm:^3.3.2" ignore: "npm:^5.2.4" - merge2: "npm:^1.4.1" - slash: "npm:^4.0.0" - checksum: 10c0/a8d7cc7cbe5e1b2d0f81d467bbc5bc2eac35f74eaded3a6c85fc26d7acc8e6de22d396159db8a2fc340b8a342e74cac58de8f4aee74146d3d146921a76062664 + path-type: "npm:^5.0.0" + slash: "npm:^5.1.0" + unicorn-magic: "npm:^0.1.0" + checksum: 10c0/3f771cd683b8794db1e7ebc8b6b888d43496d93a82aad4e9d974620f578581210b6c5a6e75ea29573ed16a1345222fab6e9b877a8d1ed56eeb147e09f69c6f78 languageName: node linkType: hard @@ -1997,7 +2205,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 @@ -2027,6 +2235,13 @@ __metadata: languageName: node linkType: hard +"has-unicode@npm:^2.0.1": + version: 2.0.1 + resolution: "has-unicode@npm:2.0.1" + checksum: 10c0/ebdb2f4895c26bb08a8a100b62d362e49b2190bcfd84b76bc4be1a3bd4d254ec52d0dd9f2fbcc093fc5eb878b20c52146f9dfd33e2686ed28982187be593b47c + languageName: node + linkType: hard + "hash.js@npm:^1.0.0, hash.js@npm:^1.0.3": version: 1.1.7 resolution: "hash.js@npm:1.1.7" @@ -2074,6 +2289,16 @@ __metadata: languageName: node linkType: hard +"https-proxy-agent@npm:^5.0.0": + version: 5.0.1 + resolution: "https-proxy-agent@npm:5.0.1" + dependencies: + agent-base: "npm:6" + debug: "npm:4" + checksum: 10c0/6dd639f03434003577c62b27cafdb864784ef19b2de430d8ae2a1d45e31c4fd60719e5637b44db1a88a046934307da7089e03d6089ec3ddacc1189d8de8897d1 + languageName: node + linkType: hard + "https-proxy-agent@npm:^7.0.1": version: 7.0.2 resolution: "https-proxy-agent@npm:7.0.2" @@ -2156,7 +2381,17 @@ __metadata: languageName: node linkType: hard -"inherits@npm:^2.0.3, inherits@npm:^2.0.4": +"inflight@npm:^1.0.4": + version: 1.0.6 + resolution: "inflight@npm:1.0.6" + dependencies: + once: "npm:^1.3.0" + wrappy: "npm:1" + checksum: 10c0/7faca22584600a9dc5b9fca2cd5feb7135ac8c935449837b315676b4c90aa4f391ec4f42240178244b5a34e8bede1948627fda392ca3191522fc46b34e985ab2 + languageName: node + linkType: hard + +"inherits@npm:2, inherits@npm:^2.0.3, inherits@npm:^2.0.4": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 10c0/4e531f648b29039fb7426fb94075e6545faa1eb9fe83c29f0b6d9e7263aceb4289d2d4557db0d428188eeb449cc7c5e77b0a0b2c4e248ff2a65933a0dee49ef2 @@ -2193,13 +2428,6 @@ __metadata: languageName: node linkType: hard -"is-error@npm:^2.2.2": - version: 2.2.2 - resolution: "is-error@npm:2.2.2" - checksum: 10c0/475d3463968bf16e94485555d7cb7a879ed68685e08d365a3370972e626054f1846ebbb3934403091e06682445568601fe919e41646096e5007952d0c1f4fd9b - languageName: node - linkType: hard - "is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -2272,10 +2500,10 @@ __metadata: languageName: node linkType: hard -"is-unicode-supported@npm:^1.2.0": - version: 1.3.0 - resolution: "is-unicode-supported@npm:1.3.0" - checksum: 10c0/b8674ea95d869f6faabddc6a484767207058b91aea0250803cbf1221345cb0c56f466d4ecea375dc77f6633d248d33c47bd296fb8f4cdba0b4edba8917e83d8a +"is-unicode-supported@npm:^2.0.0": + version: 2.0.0 + resolution: "is-unicode-supported@npm:2.0.0" + checksum: 10c0/3013dfb8265fe9f9a0d1e9433fc4e766595631a8d85d60876c457b4bedc066768dab1477c553d02e2f626d88a4e019162706e04263c94d74994ef636a33b5f94 languageName: node linkType: hard @@ -2315,6 +2543,19 @@ __metadata: languageName: node linkType: hard +"jackspeak@npm:^3.1.2": + version: 3.4.3 + resolution: "jackspeak@npm:3.4.3" + dependencies: + "@isaacs/cliui": "npm:^8.0.2" + "@pkgjs/parseargs": "npm:^0.11.0" + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: 10c0/6acc10d139eaefdbe04d2f679e6191b3abf073f111edf10b1de5302c97ec93fffeb2fdd8681ed17f16268aa9dd4f8c588ed9d1d3bffbbfa6e8bf897cbb3149b9 + languageName: node + linkType: hard + "joycon@npm:^3.1.1": version: 3.1.1 resolution: "joycon@npm:3.1.1" @@ -2371,7 +2612,7 @@ __metadata: languageName: node linkType: hard -"load-json-file@npm:^7.0.0": +"load-json-file@npm:^7.0.1": version: 7.0.1 resolution: "load-json-file@npm:7.0.1" checksum: 10c0/7117459608a0b6329c7f78e6e1f541b3162dd901c29dd5af721fec8b270177d2e3d7999c971f344fff04daac368d052732e2c7146014bc84d15e0b636975e19a @@ -2385,15 +2626,6 @@ __metadata: languageName: node linkType: hard -"locate-path@npm:^7.1.0": - version: 7.2.0 - resolution: "locate-path@npm:7.2.0" - dependencies: - p-locate: "npm:^6.0.0" - checksum: 10c0/139e8a7fe11cfbd7f20db03923cacfa5db9e14fa14887ea121345597472b4a63c1a42a8a5187defeeff6acf98fd568da7382aa39682d38f0af27433953a97751 - languageName: node - linkType: hard - "lodash.sortby@npm:^4.7.0": version: 4.7.0 resolution: "lodash.sortby@npm:4.7.0" @@ -2422,6 +2654,13 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^10.2.0": + version: 10.4.3 + resolution: "lru-cache@npm:10.4.3" + checksum: 10c0/ebd04fbca961e6c1d6c0af3799adcc966a1babe798f685bb84e6599266599cd95d94630b10262f5424539bc4640107e8a33aa28585374abf561d30d16f4b39fb + languageName: node + linkType: hard + "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -2431,6 +2670,15 @@ __metadata: languageName: node linkType: hard +"make-dir@npm:^3.1.0": + version: 3.1.0 + resolution: "make-dir@npm:3.1.0" + dependencies: + semver: "npm:^6.0.0" + checksum: 10c0/56aaafefc49c2dfef02c5c95f9b196c4eb6988040cf2c712185c7fe5c99b4091591a7fc4d4eafaaefa70ff763a26f6ab8c3ff60b9e75ea19876f49b18667ecaa + languageName: node + linkType: hard + "make-fetch-happen@npm:^13.0.0": version: 13.0.0 resolution: "make-fetch-happen@npm:13.0.0" @@ -2450,15 +2698,6 @@ __metadata: languageName: node linkType: hard -"map-age-cleaner@npm:^0.1.3": - version: 0.1.3 - resolution: "map-age-cleaner@npm:0.1.3" - dependencies: - p-defer: "npm:^1.0.0" - checksum: 10c0/7495236c7b0950956c144fd8b4bc6399d4e78072a8840a4232fe1c4faccbb5eb5d842e5c0a56a60afc36d723f315c1c672325ca03c1b328650f7fcc478f385fd - languageName: node - linkType: hard - "matcher@npm:^5.0.0": version: 5.0.0 resolution: "matcher@npm:5.0.0" @@ -2477,13 +2716,12 @@ __metadata: languageName: node linkType: hard -"mem@npm:^9.0.2": - version: 9.0.2 - resolution: "mem@npm:9.0.2" +"memoize@npm:^10.0.0": + version: 10.0.0 + resolution: "memoize@npm:10.0.0" dependencies: - map-age-cleaner: "npm:^0.1.3" - mimic-fn: "npm:^4.0.0" - checksum: 10c0/c2c56141399e520d8f0e50186bb7e4b49300b33984dc919682f3f13e53dec0e6608fbd327d5ae99494f45061a3a05a8ee04ccba6dcf795c3c215b5aa906eb41f + mimic-function: "npm:^5.0.0" + checksum: 10c0/1584351834564be66b21d47b7afe495851f622669ad49e2f4fa4f35d5633471b93176cf602130a95f71fa0aee65a20179817ffac2dd11fa354aa19a8109a14e8 languageName: node linkType: hard @@ -2501,6 +2739,16 @@ __metadata: languageName: node linkType: hard +"micromatch@npm:^4.0.2": + version: 4.0.8 + resolution: "micromatch@npm:4.0.8" + dependencies: + braces: "npm:^3.0.3" + picomatch: "npm:^2.3.1" + checksum: 10c0/166fa6eb926b9553f32ef81f5f531d27b4ce7da60e5baf8c021d043b27a388fb95e46a8038d5045877881e673f8134122b59624d5cecbd16eb50a42e7a6b5ca8 + languageName: node + linkType: hard + "micromatch@npm:^4.0.4": version: 4.0.5 resolution: "micromatch@npm:4.0.5" @@ -2541,6 +2789,13 @@ __metadata: languageName: node linkType: hard +"mimic-function@npm:^5.0.0": + version: 5.0.1 + resolution: "mimic-function@npm:5.0.1" + checksum: 10c0/f3d9464dd1816ecf6bdf2aec6ba32c0728022039d992f178237d8e289b48764fee4131319e72eedd4f7f094e22ded0af836c3187a7edc4595d28dd74368fd81d + languageName: node + linkType: hard + "mimic-response@npm:^3.1.0": version: 3.1.0 resolution: "mimic-response@npm:3.1.0" @@ -2562,6 +2817,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^3.1.1": + version: 3.1.2 + resolution: "minimatch@npm:3.1.2" + dependencies: + brace-expansion: "npm:^1.1.7" + checksum: 10c0/0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 + languageName: node + linkType: hard + "minimatch@npm:^9.0.1": version: 9.0.3 resolution: "minimatch@npm:9.0.3" @@ -2571,6 +2835,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.4": + version: 9.0.5 + resolution: "minimatch@npm:9.0.5" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 10c0/de96cf5e35bdf0eab3e2c853522f98ffbe9a36c37797778d2665231ec1f20a9447a7e567cb640901f89e4daaa95ae5d70c65a9e8aa2bb0019b6facbc3c0575ed + languageName: node + linkType: hard + "minimist@npm:^1.2.0, minimist@npm:^1.2.3": version: 1.2.8 resolution: "minimist@npm:1.2.8" @@ -2652,6 +2925,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^7.1.2": + version: 7.1.2 + resolution: "minipass@npm:7.1.2" + checksum: 10c0/b0fd20bb9fb56e5fa9a8bfac539e8915ae07430a619e4b86ff71f5fc757ef3924b23b2c4230393af1eda647ed3d75739e4e0acb250a6b1eb277cf7f8fe449557 + languageName: node + linkType: hard + "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -2678,6 +2958,15 @@ __metadata: languageName: node linkType: hard +"mkdirp@npm:^3.0.1": + version: 3.0.1 + resolution: "mkdirp@npm:3.0.1" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: 10c0/9f2b975e9246351f5e3a40dcfac99fcd0baa31fbfab615fe059fb11e51f10e4803c63de1f384c54d656e4db31d000e4767e9ef076a22e12a641357602e31d57d + languageName: node + linkType: hard + "ms@npm:2.1.2": version: 2.1.2 resolution: "ms@npm:2.1.2" @@ -2726,6 +3015,31 @@ __metadata: languageName: node linkType: hard +"node-fetch@npm:^2.6.7": + version: 2.7.0 + resolution: "node-fetch@npm:2.7.0" + dependencies: + whatwg-url: "npm:^5.0.0" + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + checksum: 10c0/b55786b6028208e6fbe594ccccc213cab67a72899c9234eb59dba51062a299ea853210fcf526998eaa2867b0963ad72338824450905679ff0fa304b8c5093ae8 + languageName: node + linkType: hard + +"node-gyp-build@npm:^4.2.2": + version: 4.8.1 + resolution: "node-gyp-build@npm:4.8.1" + bin: + node-gyp-build: bin.js + node-gyp-build-optional: optional.js + node-gyp-build-test: build-test.js + checksum: 10c0/e36ca3d2adf2b9cca316695d7687207c19ac6ed326d6d7c68d7112cebe0de4f82d6733dff139132539fcc01cf5761f6c9082a21864ab9172edf84282bc849ce7 + languageName: node + linkType: hard + "node-gyp@npm:latest": version: 10.0.1 resolution: "node-gyp@npm:10.0.1" @@ -2753,6 +3067,17 @@ __metadata: languageName: node linkType: hard +"nopt@npm:^5.0.0": + version: 5.0.0 + resolution: "nopt@npm:5.0.0" + dependencies: + abbrev: "npm:1" + bin: + nopt: bin/nopt.js + checksum: 10c0/fc5c4f07155cb455bf5fc3dd149fac421c1a40fd83c6bfe83aa82b52f02c17c5e88301321318adaa27611c8a6811423d51d29deaceab5fa158b585a61a551061 + languageName: node + linkType: hard + "nopt@npm:^7.0.0": version: 7.2.0 resolution: "nopt@npm:7.2.0" @@ -2789,7 +3114,19 @@ __metadata: languageName: node linkType: hard -"object-assign@npm:^4.0.1": +"npmlog@npm:^5.0.1": + version: 5.0.1 + resolution: "npmlog@npm:5.0.1" + dependencies: + are-we-there-yet: "npm:^2.0.0" + console-control-strings: "npm:^1.1.0" + gauge: "npm:^3.0.0" + set-blocking: "npm:^2.0.0" + checksum: 10c0/489ba519031013001135c463406f55491a17fc7da295c18a04937fe3a4d523fd65e88dd418a28b967ab743d913fdeba1e29838ce0ad8c75557057c481f7d49fa + languageName: node + linkType: hard + +"object-assign@npm:^4.0.1, object-assign@npm:^4.1.1": version: 4.1.1 resolution: "object-assign@npm:4.1.1" checksum: 10c0/1f4df9945120325d041ccf7b86f31e8bcc14e73d29171e37a7903050e96b81323784ec59f93f102ec635bcf6fa8034ba3ea0a8c7e69fa202b87ae3b6cec5a414 @@ -2803,7 +3140,7 @@ __metadata: languageName: node linkType: hard -"once@npm:^1.3.1, once@npm:^1.4.0": +"once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" dependencies: @@ -2830,40 +3167,6 @@ __metadata: languageName: node linkType: hard -"p-defer@npm:^1.0.0": - version: 1.0.0 - resolution: "p-defer@npm:1.0.0" - checksum: 10c0/ed603c3790e74b061ac2cb07eb6e65802cf58dce0fbee646c113a7b71edb711101329ad38f99e462bd2e343a74f6e9366b496a35f1d766c187084d3109900487 - languageName: node - linkType: hard - -"p-event@npm:^5.0.1": - version: 5.0.1 - resolution: "p-event@npm:5.0.1" - dependencies: - p-timeout: "npm:^5.0.2" - checksum: 10c0/2317171489537f316661fa863f3bb711b2ceb89182937238422cec10223cbb958c432d6c26a238446a622d788187bdd295b1d8ecedbe2e467e045930d60202b0 - languageName: node - linkType: hard - -"p-limit@npm:^4.0.0": - version: 4.0.0 - resolution: "p-limit@npm:4.0.0" - dependencies: - yocto-queue: "npm:^1.0.0" - checksum: 10c0/a56af34a77f8df2ff61ddfb29431044557fcbcb7642d5a3233143ebba805fc7306ac1d448de724352861cb99de934bc9ab74f0d16fe6a5460bdbdf938de875ad - languageName: node - linkType: hard - -"p-locate@npm:^6.0.0": - version: 6.0.0 - resolution: "p-locate@npm:6.0.0" - dependencies: - p-limit: "npm:^4.0.0" - checksum: 10c0/d72fa2f41adce59c198270aa4d3c832536c87a1806e0f69dffb7c1a7ca998fb053915ca833d90f166a8c082d3859eabfed95f01698a3214c20df6bb8de046312 - languageName: node - linkType: hard - "p-map@npm:^4.0.0": version: 4.0.0 resolution: "p-map@npm:4.0.0" @@ -2873,33 +3176,41 @@ __metadata: languageName: node linkType: hard -"p-map@npm:^5.5.0": - version: 5.5.0 - resolution: "p-map@npm:5.5.0" +"p-map@npm:^7.0.1": + version: 7.0.2 + resolution: "p-map@npm:7.0.2" + checksum: 10c0/e10548036648d1c043153f9997112fe5a7de54a319210238628f8ea22ee36587fd6ee740811f88b60bbf29d932e23ae35df7fced40df477116c84c18e797047e + languageName: node + linkType: hard + +"package-config@npm:^5.0.0": + version: 5.0.0 + resolution: "package-config@npm:5.0.0" dependencies: - aggregate-error: "npm:^4.0.0" - checksum: 10c0/410bce846b1e3db6bb2ccab6248372ecf4e635fc2b31331c8f56478e73fec9e146e8b4547585e635703160a3d252a6a65b8f855834aebc2c3408eb5789630cc4 + find-up-simple: "npm:^1.0.0" + load-json-file: "npm:^7.0.1" + checksum: 10c0/f6c48930700b73a41d839bf2898b628d23665827488a4f34aed2d05e4a99d7a70a70ada115c3546765947fbc8accff94c0779da21ea084b25df47cb774531eeb languageName: node linkType: hard -"p-timeout@npm:^5.0.2": - version: 5.1.0 - resolution: "p-timeout@npm:5.1.0" - checksum: 10c0/1b026cf9d5878c64bec4341ca9cda8ec6b8b3aea8a57885ca0fe2b35753a20d767fb6f9d3aa41e1252f42bc95432c05ea33b6b18f271fb10bfb0789591850a41 +"package-json-from-dist@npm:^1.0.0": + version: 1.0.0 + resolution: "package-json-from-dist@npm:1.0.0" + checksum: 10c0/e3ffaf6ac1040ab6082a658230c041ad14e72fabe99076a2081bb1d5d41210f11872403fc09082daf4387fc0baa6577f96c9c0e94c90c394fd57794b66aa4033 languageName: node linkType: hard -"parse-ms@npm:^3.0.0": - version: 3.0.0 - resolution: "parse-ms@npm:3.0.0" - checksum: 10c0/056b4a32a9d3749f3f4cfffefb45c45540491deaa8e1d8ad43c2ddde7ba04edd076bd1b298f521238bb5fb084a9b2c4a2ebb78aefa651afbc4c2b0af4232fc54 +"parse-ms@npm:^4.0.0": + version: 4.0.0 + resolution: "parse-ms@npm:4.0.0" + checksum: 10c0/a7900f4f1ebac24cbf5e9708c16fb2fd482517fad353aecd7aefb8c2ba2f85ce017913ccb8925d231770404780df46244ea6fec598b3bde6490882358b4d2d16 languageName: node linkType: hard -"path-exists@npm:^5.0.0": - version: 5.0.0 - resolution: "path-exists@npm:5.0.0" - checksum: 10c0/b170f3060b31604cde93eefdb7392b89d832dfbc1bed717c9718cbe0f230c1669b7e75f87e19901da2250b84d092989a0f9e44d2ef41deb09aa3ad28e691a40a +"path-is-absolute@npm:^1.0.0": + version: 1.0.1 + resolution: "path-is-absolute@npm:1.0.1" + checksum: 10c0/127da03c82172a2a50099cddbf02510c1791fc2cc5f7713ddb613a56838db1e8168b121a920079d052e0936c23005562059756d653b7c544c53185efe53be078 languageName: node linkType: hard @@ -2927,6 +3238,16 @@ __metadata: languageName: node linkType: hard +"path-scurry@npm:^1.11.1": + version: 1.11.1 + resolution: "path-scurry@npm:1.11.1" + dependencies: + lru-cache: "npm:^10.2.0" + minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" + checksum: 10c0/32a13711a2a505616ae1cc1b5076801e453e7aae6ac40ab55b388bb91b9d0547a52f5aaceff710ea400205f18691120d4431e520afbe4266b836fadede15872d + languageName: node + linkType: hard + "path-type@npm:^4.0.0": version: 4.0.0 resolution: "path-type@npm:4.0.0" @@ -2934,6 +3255,13 @@ __metadata: languageName: node linkType: hard +"path-type@npm:^5.0.0": + version: 5.0.0 + resolution: "path-type@npm:5.0.0" + checksum: 10c0/e8f4b15111bf483900c75609e5e74e3fcb79f2ddb73e41470028fcd3e4b5162ec65da9907be077ee5012c18801ff7fffb35f9f37a077f3f81d85a0b7d6578efd + languageName: node + linkType: hard + "picocolors@npm:^1.0.1": version: 1.0.1 resolution: "picocolors@npm:1.0.1" @@ -2941,27 +3269,24 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.3.1": +"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 10c0/26c02b8d06f03206fc2ab8d16f19960f2ff9e81a658f831ecb656d8f17d9edc799e8364b1f4a7873e89d9702dff96204be0fa26fe4181f6843f040f819dac4be languageName: node linkType: hard -"pirates@npm:^4.0.1": - version: 4.0.6 - resolution: "pirates@npm:4.0.6" - checksum: 10c0/00d5fa51f8dded94d7429700fb91a0c1ead00ae2c7fd27089f0c5b63e6eca36197fe46384631872690a66f390c5e27198e99006ab77ae472692ab9c2ca903f36 +"picomatch@npm:^3.0.1": + version: 3.0.1 + resolution: "picomatch@npm:3.0.1" + checksum: 10c0/70ec738569f1864658378b7abdab8939d15dae0718c1df994eae3346fd33daf6a3c1ff4e0c1a0cd1e2c0319130985b63a2cff34d192f2f2acbb78aca76111736 languageName: node linkType: hard -"pkg-conf@npm:^4.0.0": - version: 4.0.0 - resolution: "pkg-conf@npm:4.0.0" - dependencies: - find-up: "npm:^6.0.0" - load-json-file: "npm:^7.0.0" - checksum: 10c0/27d027609f27228edcde121f6f707b4ba1f5488e95e98f2e58652ae4e99792081bd1de67d591f4a0f05b02c0b66d745591d49f82041cbc8d41e2238ef5d73eb4 +"pirates@npm:^4.0.1, pirates@npm:^4.0.6": + version: 4.0.6 + resolution: "pirates@npm:4.0.6" + checksum: 10c0/00d5fa51f8dded94d7429700fb91a0c1ead00ae2c7fd27089f0c5b63e6eca36197fe46384631872690a66f390c5e27198e99006ab77ae472692ab9c2ca903f36 languageName: node linkType: hard @@ -3028,12 +3353,12 @@ __metadata: languageName: node linkType: hard -"pretty-ms@npm:^8.0.0": - version: 8.0.0 - resolution: "pretty-ms@npm:8.0.0" +"pretty-ms@npm:^9.0.0": + version: 9.1.0 + resolution: "pretty-ms@npm:9.1.0" dependencies: - parse-ms: "npm:^3.0.0" - checksum: 10c0/e960d633ecca45445cf5c6dffc0f5e4bef6744c92449ab0e8c6c704800675ab71e181c5e02ece5265e02137a33e313d3f3e355fbf8ea30b4b5b23de423329f8d + parse-ms: "npm:^4.0.0" + checksum: 10c0/fd111aad8800a04dfd654e6016da69bdaa6fc6a4c280f8e727cffd8b5960558e94942f1a94d4aa6e4d179561a0fbb0366a9ebe0ccefbbb0f8ff853b129cdefb9 languageName: node linkType: hard @@ -3123,7 +3448,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0": +"readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" dependencies: @@ -3173,13 +3498,6 @@ __metadata: languageName: node linkType: hard -"resolve-pkg-maps@npm:^1.0.0": - version: 1.0.0 - resolution: "resolve-pkg-maps@npm:1.0.0" - checksum: 10c0/fb8f7bbe2ca281a73b7ef423a1cbc786fb244bd7a95cbe5c3fba25b27d327150beca8ba02f622baea65919a57e061eb5005204daa5f93ed590d9b77463a567ab - languageName: node - linkType: hard - "retry@npm:^0.12.0": version: 0.12.0 resolution: "retry@npm:0.12.0" @@ -3194,6 +3512,28 @@ __metadata: languageName: node linkType: hard +"rimraf@npm:^3.0.2": + version: 3.0.2 + resolution: "rimraf@npm:3.0.2" + dependencies: + glob: "npm:^7.1.3" + bin: + rimraf: bin.js + checksum: 10c0/9cb7757acb489bd83757ba1a274ab545eafd75598a9d817e0c3f8b164238dd90eba50d6b848bd4dcc5f3040912e882dc7ba71653e35af660d77b25c381d402e8 + languageName: node + linkType: hard + +"rimraf@npm:^5.0.5": + version: 5.0.10 + resolution: "rimraf@npm:5.0.10" + dependencies: + glob: "npm:^10.3.7" + bin: + rimraf: dist/esm/bin.mjs + checksum: 10c0/7da4fd0e15118ee05b918359462cfa1e7fe4b1228c7765195a45b55576e8c15b95db513b8466ec89129666f4af45ad978a3057a02139afba1a63512a2d9644cc + languageName: node + linkType: hard + "rollup@npm:^4.19.0": version: 4.21.1 resolution: "rollup@npm:4.21.1" @@ -3289,6 +3629,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^6.0.0": + version: 6.3.1 + resolution: "semver@npm:6.3.1" + bin: + semver: bin/semver.js + checksum: 10c0/e3d79b609071caa78bcb6ce2ad81c7966a46a7431d9d58b8800cfa9cb6a63699b3899a0e4bcce36167a284578212d9ae6942b6929ba4aa5015c079a67751d42d + languageName: node + linkType: hard + "semver@npm:^7.3.2, semver@npm:^7.3.5": version: 7.5.4 resolution: "semver@npm:7.5.4" @@ -3318,6 +3667,13 @@ __metadata: languageName: node linkType: hard +"set-blocking@npm:^2.0.0": + version: 2.0.0 + resolution: "set-blocking@npm:2.0.0" + checksum: 10c0/9f8c1b2d800800d0b589de1477c753492de5c1548d4ade52f57f1d1f5e04af5481554d75ce5e5c43d4004b80a3eb714398d6907027dc0534177b7539119f4454 + languageName: node + linkType: hard + "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -3334,7 +3690,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^3.0.3": +"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.3": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" checksum: 10c0/25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912 @@ -3373,10 +3729,10 @@ __metadata: languageName: node linkType: hard -"slash@npm:^4.0.0": - version: 4.0.0 - resolution: "slash@npm:4.0.0" - checksum: 10c0/b522ca75d80d107fd30d29df0549a7b2537c83c4c4ecd12cd7d4ea6c8aaca2ab17ada002e7a1d78a9d736a0261509f26ea5b489082ee443a3a810586ef8eff18 +"slash@npm:^5.1.0": + version: 5.1.0 + resolution: "slash@npm:5.1.0" + checksum: 10c0/eb48b815caf0bdc390d0519d41b9e0556a14380f6799c72ba35caf03544d501d18befdeeef074bc9c052acf69654bc9e0d79d7f1de0866284137a40805299eb3 languageName: node linkType: hard @@ -3397,6 +3753,24 @@ __metadata: languageName: node linkType: hard +"sock-daemon@npm:^1.4.2": + version: 1.4.2 + resolution: "sock-daemon@npm:1.4.2" + dependencies: + rimraf: "npm:^5.0.5" + signal-exit: "npm:^4.1.0" + socket-post-message: "npm:^1.0.3" + checksum: 10c0/1b5e0b02fdd8cd5454fc7de80557c11aac5d88085d0cee80ead08b8f4df5e3c0a4b50ebb2ae2113dab94f36dc88b5d3b7d4b1c2c8e53bbcfbddfc741abf3bd00 + languageName: node + linkType: hard + +"socket-post-message@npm:^1.0.3": + version: 1.0.3 + resolution: "socket-post-message@npm:1.0.3" + checksum: 10c0/d3ffb51dad97754856aaa6709e036196f4b8b674f00366b71591ead122bcdbc073827f67d17c8b03c9a28c921b2c7cb277c581f6ca318d472034eae7afc169d1 + languageName: node + linkType: hard + "socks-proxy-agent@npm:^8.0.1": version: 8.0.2 resolution: "socks-proxy-agent@npm:8.0.2" @@ -3452,7 +3826,7 @@ __metadata: languageName: node linkType: hard -"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -3463,7 +3837,7 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^5.0.0, string-width@npm:^5.0.1, string-width@npm:^5.1.2": +"string-width@npm:^5.0.1, string-width@npm:^5.1.2": version: 5.1.2 resolution: "string-width@npm:5.1.2" dependencies: @@ -3474,6 +3848,17 @@ __metadata: languageName: node linkType: hard +"string-width@npm:^7.0.0": + version: 7.2.0 + resolution: "string-width@npm:7.2.0" + dependencies: + emoji-regex: "npm:^10.3.0" + get-east-asian-width: "npm:^1.0.0" + strip-ansi: "npm:^7.1.0" + checksum: 10c0/eb0430dd43f3199c7a46dcbf7a0b34539c76fe3aa62763d0b0655acdcbdf360b3f66f3d58ca25ba0205f42ea3491fa00f09426d3b7d3040e506878fc7664c9b9 + languageName: node + linkType: hard + "string_decoder@npm:^1.1.1": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" @@ -3492,7 +3877,7 @@ __metadata: languageName: node linkType: hard -"strip-ansi@npm:^7.0.1": +"strip-ansi@npm:^7.0.1, strip-ansi@npm:^7.1.0": version: 7.1.0 resolution: "strip-ansi@npm:7.1.0" dependencies: @@ -3648,6 +4033,13 @@ __metadata: languageName: node linkType: hard +"tr46@npm:~0.0.3": + version: 0.0.3 + resolution: "tr46@npm:0.0.3" + checksum: 10c0/047cb209a6b60c742f05c9d3ace8fa510bff609995c129a37ace03476a9b12db4dbf975e74600830ef0796e18882b2381fb5fb1f6b4f96b832c374de3ab91a11 + languageName: node + linkType: hard + "tree-kill@npm:^1.2.2": version: 1.2.2 resolution: "tree-kill@npm:1.2.2" @@ -3664,6 +4056,27 @@ __metadata: languageName: node linkType: hard +"tsimp@npm:^2.0.11": + version: 2.0.11 + resolution: "tsimp@npm:2.0.11" + dependencies: + "@isaacs/cached": "npm:^1.0.1" + "@isaacs/catcher": "npm:^1.0.4" + foreground-child: "npm:^3.1.1" + mkdirp: "npm:^3.0.1" + pirates: "npm:^4.0.6" + rimraf: "npm:^5.0.5" + signal-exit: "npm:^4.1.0" + sock-daemon: "npm:^1.4.2" + walk-up-path: "npm:^3.0.1" + peerDependencies: + typescript: ^5.1.0 + bin: + tsimp: dist/esm/bin.mjs + checksum: 10c0/20743dc21ce31678050582903bfcd2d600fa17305f70162cb4127f2fd208116354549a921574f6c26cdfca5cb07c24526094e5519bb294f2ddd13c06cd2f43eb + languageName: node + linkType: hard + "tsup@npm:^8.2.4": version: 8.2.4 resolution: "tsup@npm:8.2.4" @@ -3705,22 +4118,6 @@ __metadata: languageName: node linkType: hard -"tsx@npm:^4.19.0": - version: 4.19.0 - resolution: "tsx@npm:4.19.0" - dependencies: - esbuild: "npm:~0.23.0" - fsevents: "npm:~2.3.3" - get-tsconfig: "npm:^4.7.5" - dependenciesMeta: - fsevents: - optional: true - bin: - tsx: dist/cli.mjs - checksum: 10c0/d14463a78067c6db84c677b79b14861de6d7f6fb0ffa5727cc500c4552459e936395a3854ad0112af0fd7b263bcedd62ce3929b036188eb10cd9902a607ffe34 - languageName: node - linkType: hard - "tunnel-agent@npm:^0.6.0": version: 0.6.0 resolution: "tunnel-agent@npm:0.6.0" @@ -3764,6 +4161,13 @@ __metadata: languageName: node linkType: hard +"unicorn-magic@npm:^0.1.0": + version: 0.1.0 + resolution: "unicorn-magic@npm:0.1.0" + checksum: 10c0/e4ed0de05b0a05e735c7d8a2930881e5efcfc3ec897204d5d33e7e6247f4c31eac92e383a15d9a6bccb7319b4271ee4bea946e211bf14951fec6ff2cbbb66a92 + languageName: node + linkType: hard + "unique-filename@npm:^3.0.0": version: 3.0.0 resolution: "unique-filename@npm:3.0.0" @@ -3789,6 +4193,20 @@ __metadata: languageName: node linkType: hard +"walk-up-path@npm:^3.0.1": + version: 3.0.1 + resolution: "walk-up-path@npm:3.0.1" + checksum: 10c0/3184738e0cf33698dd58b0ee4418285b9c811e58698f52c1f025435a85c25cbc5a63fee599f1a79cb29ca7ef09a44ec9417b16bfd906b1a37c305f7aa20ee5bc + languageName: node + linkType: hard + +"webidl-conversions@npm:^3.0.0": + version: 3.0.1 + resolution: "webidl-conversions@npm:3.0.1" + checksum: 10c0/5612d5f3e54760a797052eb4927f0ddc01383550f542ccd33d5238cfd65aeed392a45ad38364970d0a0f4fea32e1f4d231b3d8dac4a3bdd385e5cf802ae097db + languageName: node + linkType: hard + "webidl-conversions@npm:^4.0.2": version: 4.0.2 resolution: "webidl-conversions@npm:4.0.2" @@ -3803,6 +4221,16 @@ __metadata: languageName: node linkType: hard +"whatwg-url@npm:^5.0.0": + version: 5.0.0 + resolution: "whatwg-url@npm:5.0.0" + dependencies: + tr46: "npm:~0.0.3" + webidl-conversions: "npm:^3.0.0" + checksum: 10c0/1588bed84d10b72d5eec1d0faa0722ba1962f1821e7539c535558fb5398d223b0c50d8acab950b8c488b4ba69043fd833cc2697056b167d8ad46fac3995a55d5 + languageName: node + linkType: hard + "whatwg-url@npm:^7.0.0": version: 7.1.0 resolution: "whatwg-url@npm:7.1.0" @@ -3836,6 +4264,15 @@ __metadata: languageName: node linkType: hard +"wide-align@npm:^1.1.2": + version: 1.1.5 + resolution: "wide-align@npm:1.1.5" + dependencies: + string-width: "npm:^1.0.2 || 2 || 3 || 4" + checksum: 10c0/1d9c2a3e36dfb09832f38e2e699c367ef190f96b82c71f809bc0822c306f5379df87bab47bed27ea99106d86447e50eb972d3c516c2f95782807a9d082fbea95 + languageName: node + linkType: hard + "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0, wrap-ansi@npm:^7.0.0": version: 7.0.0 resolution: "wrap-ansi@npm:7.0.0" @@ -3935,10 +4372,3 @@ __metadata: checksum: 10c0/ccd7e723e61ad5965fffbb791366db689572b80cca80e0f96aad968dfff4156cd7cd1ad18607afe1046d8241e6fb2d6c08bf7fa7bfb5eaec818735d8feac8f05 languageName: node linkType: hard - -"yocto-queue@npm:^1.0.0": - version: 1.0.0 - resolution: "yocto-queue@npm:1.0.0" - checksum: 10c0/856117aa15cf5103d2a2fb173f0ab4acb12b4b4d0ed3ab249fdbbf612e55d1cadfd27a6110940e24746fb0a78cf640b522cc8bca76f30a3b00b66e90cf82abe0 - languageName: node - linkType: hard From 27bbb1d643316b993c8da0677d17737f37d153ed Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 07:51:10 -0700 Subject: [PATCH 05/13] style: bump prettier to latest --- README.md | 10 +++++----- proposals/29:upgrade-9/sanity.test.js | 6 +----- proposals/71:upgrade-14/README.md | 2 +- .../generate-kread-item-request.mjs | 3 ++- .../localchaintest-submission/test-localchain.js | 13 ++++++++----- .../probe-submission/probeZcfBundle.js | 16 +++++++++++----- 6 files changed, 28 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index b7c7afad..44d0a50e 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,11 @@ docker run -p 26657:26657 -p 1317:1317 -p 9090:9090 ghcr.io/agoric/agoric-3-prop The `-p` is short for [publish](https://docs.docker.com/network/#published-ports) to make the `agd` [daemon's ports](https://docs.cosmos.network/v0.46/core/grpc_rest.html) available on your host machine: -| Port | Purpose | -| --- | --- | -| 1317 | REST server | -| 9090 | gRPC server | -| 26657| Tendermint RPC endpoint | +| Port | Purpose | +| ----- | ----------------------- | +| 1317 | REST server | +| 9090 | gRPC server | +| 26657 | Tendermint RPC endpoint | ## Design diff --git a/proposals/29:upgrade-9/sanity.test.js b/proposals/29:upgrade-9/sanity.test.js index 0c4367ae..4d7603cf 100644 --- a/proposals/29:upgrade-9/sanity.test.js +++ b/proposals/29:upgrade-9/sanity.test.js @@ -3,11 +3,7 @@ import test from 'ava'; import fsp from 'node:fs/promises'; -import { - agd, - agops, - agoric, -} from '@agoric/synthetic-chain'; +import { agd, agops, agoric } from '@agoric/synthetic-chain'; import { getUser } from '@agoric/synthetic-chain'; import { diff --git a/proposals/71:upgrade-14/README.md b/proposals/71:upgrade-14/README.md index 22ae9313..f6f19719 100644 --- a/proposals/71:upgrade-14/README.md +++ b/proposals/71:upgrade-14/README.md @@ -2,4 +2,4 @@ This software upgrade executes core proposals during the upgrade block, as defined by the `agoric-upgrade-14` upgrade handler. See `upgrade14Handler` in -`agoric-sdk/golang/cosmos/app/app.go` \ No newline at end of file +`agoric-sdk/golang/cosmos/app/app.go` diff --git a/proposals/71:upgrade-14/generate-kread-item-request.mjs b/proposals/71:upgrade-14/generate-kread-item-request.mjs index be9e07d6..55feaf5f 100644 --- a/proposals/71:upgrade-14/generate-kread-item-request.mjs +++ b/proposals/71:upgrade-14/generate-kread-item-request.mjs @@ -64,7 +64,8 @@ const body = { give: { Price: { brand: smallCaps.ref(brand.IST), - value: smallCaps.Nat(5n * ISTunit) } + value: smallCaps.Nat(5n * ISTunit), + }, }, }, }, diff --git a/proposals/75:upgrade-16/localchaintest-submission/test-localchain.js b/proposals/75:upgrade-16/localchaintest-submission/test-localchain.js index 0814baf0..eeff9669 100644 --- a/proposals/75:upgrade-16/localchaintest-submission/test-localchain.js +++ b/proposals/75:upgrade-16/localchaintest-submission/test-localchain.js @@ -1,18 +1,21 @@ // This is generated by writeCoreEval; please edit! /* eslint-disable */ -const manifestBundleRef = {bundleID:"b1-2321e1ceeadc5f8aacc858ecc8b29b0498951be835d75eec3fd6de073d1718eee2678b8942abcdb47ac684a5c4dcf20d5e7b0ee964f3893e4709a80ad692e0eb"}; +const manifestBundleRef = { + bundleID: + 'b1-2321e1ceeadc5f8aacc858ecc8b29b0498951be835d75eec3fd6de073d1718eee2678b8942abcdb47ac684a5c4dcf20d5e7b0ee964f3893e4709a80ad692e0eb', +}; const getManifestCall = harden([ - "getManifestForLocalChainTest", + 'getManifestForLocalChainTest', { - testResultPath: "test.localchain", + testResultPath: 'test.localchain', }, ]); const customManifest = { testLocalChain: { consume: { - chainStorage: "bridge", - localchain: "localchain", + chainStorage: 'bridge', + localchain: 'localchain', }, }, }; diff --git a/proposals/75:upgrade-16/probe-submission/probeZcfBundle.js b/proposals/75:upgrade-16/probe-submission/probeZcfBundle.js index ff0ec666..ddc8132d 100644 --- a/proposals/75:upgrade-16/probe-submission/probeZcfBundle.js +++ b/proposals/75:upgrade-16/probe-submission/probeZcfBundle.js @@ -1,18 +1,24 @@ // This is generated by writeCoreEval; please edit! /* eslint-disable */ -const manifestBundleRef = {bundleID:"b1-beef1628ca0d7da6e1ba7e765a0a59841f3678392c50146adfffb81bef74b4089641b7f6de5b4ec45ef461c499ef0bd04a289c3a2c3696c206f3cba0fdb73d62"}; +const manifestBundleRef = { + bundleID: + 'b1-beef1628ca0d7da6e1ba7e765a0a59841f3678392c50146adfffb81bef74b4089641b7f6de5b4ec45ef461c499ef0bd04a289c3a2c3696c206f3cba0fdb73d62', +}; const getManifestCall = harden([ - "getManifestForProbeZcfBundleCap", + 'getManifestForProbeZcfBundleCap', { walletRef: { - bundleID: "b1-a997ea6407012922585f0f875401809989086af74977eb93894d94c420111418a9da59d2e994199d8079e2779db08677201a0f6ffcadac6a14c5135562d4c1ec", + bundleID: + 'b1-a997ea6407012922585f0f875401809989086af74977eb93894d94c420111418a9da59d2e994199d8079e2779db08677201a0f6ffcadac6a14c5135562d4c1ec', }, zcfRef: { - bundleID: "b1-5ce9bb36ceb21c4af80b3c11098ac049ddfaa1898cf7a9e33d100c44f5fc68e5a14a96a5d2f9af0117929b3e5b4ab58c4a404416fb5688b03a2c0e398194e6b2", + bundleID: + 'b1-5ce9bb36ceb21c4af80b3c11098ac049ddfaa1898cf7a9e33d100c44f5fc68e5a14a96a5d2f9af0117929b3e5b4ab58c4a404416fb5688b03a2c0e398194e6b2', }, zoeRef: { - bundleID: "b1-db507028460b0c9ad9b16a1e1094b4cd09cfbdc1779c992b42d828745788d98393ca4740599ac4b2e3a6f4bd8d9018aad6d509107eced9253fe7d3c0085709a7", + bundleID: + 'b1-db507028460b0c9ad9b16a1e1094b4cd09cfbdc1779c992b42d828745788d98393ca4740599ac4b2e3a6f4bd8d9018aad6d509107eced9253fe7d3c0085709a7', }, }, ]); From 06783aadef4a09931ea4ace9a3e6b5bbf699ab77 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 08:31:13 -0700 Subject: [PATCH 06/13] build: npm pkg fix --- packages/synthetic-chain/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/synthetic-chain/package.json b/packages/synthetic-chain/package.json index b0d5db25..b1d09f86 100644 --- a/packages/synthetic-chain/package.json +++ b/packages/synthetic-chain/package.json @@ -2,7 +2,9 @@ "name": "@agoric/synthetic-chain", "version": "0.1.0", "description": "Utilities to build a chain and test proposals atop it", - "bin": "dist/cli/cli.js", + "bin": { + "synthetic-chain": "dist/cli/cli.js" + }, "main": "./dist/lib/index.js", "type": "module", "module": "./dist/lib/index.js", From be082194ba9012891b2be8e16954567265b89dcf Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 07:42:37 -0700 Subject: [PATCH 07/13] chore: release 0.1.1 --- packages/synthetic-chain/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/synthetic-chain/package.json b/packages/synthetic-chain/package.json index b1d09f86..dfd13107 100644 --- a/packages/synthetic-chain/package.json +++ b/packages/synthetic-chain/package.json @@ -1,6 +1,6 @@ { "name": "@agoric/synthetic-chain", - "version": "0.1.0", + "version": "0.1.1", "description": "Utilities to build a chain and test proposals atop it", "bin": { "synthetic-chain": "dist/cli/cli.js" From bd07714d5caa96febb3323e9ecaa29c06ed2687c Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 10:38:56 -0700 Subject: [PATCH 08/13] BREAKING CHANGE: remove PSM_PAIR export --- packages/synthetic-chain/src/lib/constants.js | 1 - proposals/29:upgrade-9/sanity.test.js | 9 +++------ proposals/34:upgrade-10/pre.test.js | 3 ++- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/synthetic-chain/src/lib/constants.js b/packages/synthetic-chain/src/lib/constants.js index c42616a8..13f09b62 100644 --- a/packages/synthetic-chain/src/lib/constants.js +++ b/packages/synthetic-chain/src/lib/constants.js @@ -8,7 +8,6 @@ export const VALIDATORADDR = 'agoric1estsewt6jqsx77pwcxkn5ah0jqgu8rhgflwfdl'; export const BINARY = NonNullish(process.env.binary); -export const PSM_PAIR = NonNullish(process.env.PSM_PAIR); export const ATOM_DENOM = NonNullish(process.env.ATOM_DENOM); export const CHAINID = NonNullish(process.env.CHAINID); diff --git a/proposals/29:upgrade-9/sanity.test.js b/proposals/29:upgrade-9/sanity.test.js index 4d7603cf..34c55b7f 100644 --- a/proposals/29:upgrade-9/sanity.test.js +++ b/proposals/29:upgrade-9/sanity.test.js @@ -6,12 +6,9 @@ import fsp from 'node:fs/promises'; import { agd, agops, agoric } from '@agoric/synthetic-chain'; import { getUser } from '@agoric/synthetic-chain'; -import { - GOV1ADDR, - GOV2ADDR, - GOV3ADDR, - PSM_PAIR, -} from '@agoric/synthetic-chain'; +import { GOV1ADDR, GOV2ADDR, GOV3ADDR } from '@agoric/synthetic-chain'; + +const PSM_PAIR = process.env.PSM_PAIR; test(`there's only uist`, async t => { const result = await agd.query( diff --git a/proposals/34:upgrade-10/pre.test.js b/proposals/34:upgrade-10/pre.test.js index 31f51d2a..e58948ce 100644 --- a/proposals/34:upgrade-10/pre.test.js +++ b/proposals/34:upgrade-10/pre.test.js @@ -13,10 +13,11 @@ import { GOV1ADDR, GOV2ADDR, GOV3ADDR, - PSM_PAIR, } from '@agoric/synthetic-chain/src/lib/constants.js'; import { openVault } from '@agoric/synthetic-chain/src/lib/econHelpers.js'; +const PSM_PAIR = process.env.PSM_PAIR; + test(`Ensure there's only uist`, async t => { const result = await agd.query( 'bank', From 66c2807553740a58de4c3b7745ea053c40ae4a15 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 10:39:17 -0700 Subject: [PATCH 09/13] test: snapshot exports --- packages/synthetic-chain/package.json | 6 ++ packages/synthetic-chain/src/lib/agd-lib.ts | 4 +- packages/synthetic-chain/src/lib/cliHelper.ts | 12 +-- packages/synthetic-chain/src/lib/constants.js | 2 +- .../test/snapshots/test-exports.ts.md | 101 ++++++++++++++++++ .../test/snapshots/test-exports.ts.snap | Bin 0 -> 2158 bytes packages/synthetic-chain/test/test-exports.ts | 7 ++ 7 files changed, 120 insertions(+), 12 deletions(-) create mode 100644 packages/synthetic-chain/test/snapshots/test-exports.ts.md create mode 100644 packages/synthetic-chain/test/snapshots/test-exports.ts.snap create mode 100644 packages/synthetic-chain/test/test-exports.ts diff --git a/packages/synthetic-chain/package.json b/packages/synthetic-chain/package.json index dfd13107..d5b14fbe 100644 --- a/packages/synthetic-chain/package.json +++ b/packages/synthetic-chain/package.json @@ -42,6 +42,12 @@ "js": true, "ts": "module" }, + "environmentVariables": { + "binary": "fake-agd", + "ATOM_DENOM": "uatom", + "CHAINID": "fakechain", + "HOME": "/tmp/fake-home" + }, "nodeArguments": [ "--import=tsimp" ] diff --git a/packages/synthetic-chain/src/lib/agd-lib.ts b/packages/synthetic-chain/src/lib/agd-lib.ts index 1d56b99d..12b5954f 100644 --- a/packages/synthetic-chain/src/lib/agd-lib.ts +++ b/packages/synthetic-chain/src/lib/agd-lib.ts @@ -1,7 +1,7 @@ import assert from 'node:assert'; import { ExecFileSyncOptionsWithStringEncoding } from 'node:child_process'; -import { CHAINID, VALIDATORADDR } from './constants'; -import { agd } from './cliHelper'; +import { CHAINID, VALIDATORADDR } from './constants.js'; +import { agd } from './cliHelper.js'; const { freeze } = Object; diff --git a/packages/synthetic-chain/src/lib/cliHelper.ts b/packages/synthetic-chain/src/lib/cliHelper.ts index 55fe12d3..60b86ab2 100644 --- a/packages/synthetic-chain/src/lib/cliHelper.ts +++ b/packages/synthetic-chain/src/lib/cliHelper.ts @@ -1,5 +1,5 @@ import { $, execaCommand } from 'execa'; -import { BINARY } from './constants.js'; +import { BINARY, SDK_ROOT } from './constants.js'; export const executeCommand = async ( command: string, @@ -86,10 +86,7 @@ export const agoric = { }, }; -export const { stdout: agopsLocation } = await $({ - shell: true, - cwd: '/usr/src/agoric-sdk', -})`yarn bin agops`; +export const agopsLocation = `${SDK_ROOT}/node_modules/.bin/agops`; export const agops = { vaults: async (...params: string[]) => { @@ -123,10 +120,7 @@ export const agops = { }, }; -export const { stdout: bundleSourceLocation } = await $({ - shell: true, - cwd: '/usr/src/agoric-sdk', -})`yarn bin bundle-source`; +export const bundleSourceLocation = `${SDK_ROOT}/node_modules/.bin/bundle-source`; /** * @returns Returns the filepath of the bundle diff --git a/packages/synthetic-chain/src/lib/constants.js b/packages/synthetic-chain/src/lib/constants.js index 13f09b62..43111efc 100644 --- a/packages/synthetic-chain/src/lib/constants.js +++ b/packages/synthetic-chain/src/lib/constants.js @@ -13,4 +13,4 @@ export const ATOM_DENOM = NonNullish(process.env.ATOM_DENOM); export const CHAINID = NonNullish(process.env.CHAINID); export const HOME = NonNullish(process.env.HOME); -export const SDK_ROOT = '/usr/src/agoric-sdk'; +export const SDK_ROOT = process.env.AGORIC_SDK || '/usr/src/agoric-sdk'; diff --git a/packages/synthetic-chain/test/snapshots/test-exports.ts.md b/packages/synthetic-chain/test/snapshots/test-exports.ts.md new file mode 100644 index 00000000..f7ab60c8 --- /dev/null +++ b/packages/synthetic-chain/test/snapshots/test-exports.ts.md @@ -0,0 +1,101 @@ +# Snapshot report for `test/test-exports.ts` + +The actual snapshot is saved in `test-exports.ts.snap`. + +Generated by [AVA](https://avajs.dev). + +## exports + +> Snapshot 1 + + @Module { + ATOM_DENOM: 'uatom', + BINARY: 'fake-agd', + CHAINID: 'fakechain', + GOV1ADDR: 'agoric1ee9hr0jyrxhy999y755mp862ljgycmwyp4pl7q', + GOV2ADDR: 'agoric1wrfh296eu2z34p6pah7q04jjuyj3mxu9v98277', + GOV3ADDR: 'agoric1ydzxwh6f893jvpaslmaz6l8j2ulup9a7x8qvvq', + HOME: '/tmp/fake-home', + SDK_ROOT: '/usr/src/agoric-sdk', + USER1ADDR: 'agoric1rwwley550k9mmk6uq6mm6z4udrg8kyuyvfszjk', + VALIDATORADDR: 'agoric1estsewt6jqsx77pwcxkn5ah0jqgu8rhgflwfdl', + addPreexistingOracles: AsyncFunction {}, + addUser: AsyncFunction {}, + adjustVault: Function adjustVault {}, + agd: { + export: AsyncFunction [], + keys: AsyncFunction [], + query: AsyncFunction [], + tx: AsyncFunction [], + }, + agops: { + auctioneer: AsyncFunction [], + ec: AsyncFunction [], + oracle: AsyncFunction [], + perf: AsyncFunction [], + vaults: AsyncFunction [], + }, + agopsInter: Function agopsInter {}, + agopsLocation: '/usr/src/agoric-sdk/node_modules/.bin/agops', + agoric: { + follow: AsyncFunction [], + run: AsyncFunction [], + wallet: AsyncFunction [], + }, + bankSend: Function bankSend {}, + bundleDetail: Function bundleDetail {}, + bundleSource: AsyncFunction {}, + bundleSourceLocation: '/usr/src/agoric-sdk/node_modules/.bin/bundle-source', + calculateWalletState: AsyncFunction {}, + checkForOracle: AsyncFunction {}, + closeVault: Function closeVault {}, + createBid: Function createBid {}, + dbTool: Function dbTool {}, + ensureISTForInstall: AsyncFunction {}, + evalBundles: AsyncFunction {}, + executeCommand: AsyncFunction {}, + executeOffer: AsyncFunction {}, + flags: Function flags {}, + generateOracleMap: Function generateOracleMap {}, + getAuctionCollateral: AsyncFunction {}, + getContractInfo: AsyncFunction {}, + getISTBalance: AsyncFunction {}, + getIncarnation: AsyncFunction {}, + getLiveOffers: AsyncFunction {}, + getPriceQuote: AsyncFunction {}, + getProvisionPoolMetrics: AsyncFunction [], + getUser: AsyncFunction {}, + getVatDetails: AsyncFunction {}, + getVaultPrices: AsyncFunction {}, + installBundle: AsyncFunction {}, + loadedBundleIds: Function loadedBundleIds {}, + makeAgd: Function makeAgd {}, + makeFileRW: Function makeFileRW {}, + makeFileRd: Function makeFileRd {}, + makeWebCache: Function makeWebCache {}, + makeWebRd: Function makeWebRd {}, + mintIST: AsyncFunction {}, + mkTemp: AsyncFunction {}, + newOfferId: AsyncFunction [], + openVault: Function openVault {}, + passCoreEvalProposal: AsyncFunction {}, + proposalBuilder: AsyncFunction {}, + provisionSmartWallet: AsyncFunction {}, + pushPrices: AsyncFunction {}, + readBundles: AsyncFunction {}, + registerOraclesForBrand: AsyncFunction {}, + smallCapsContext: Function smallCapsContext {}, + staticConfig: { + collateralPrice: 6, + deposit: '10000000ubld', + installer: 'gov1', + proposer: 'validator', + swingstorePath: '~/.agoric/data/agoric/swingstore.sqlite', + }, + step: AsyncFunction {}, + submitProposal: AsyncFunction {}, + txAbbr: Function txAbbr {}, + voteLatestProposalAndWait: AsyncFunction {}, + waitForBlock: AsyncFunction [], + wellKnownIdentities: AsyncFunction [], + } diff --git a/packages/synthetic-chain/test/snapshots/test-exports.ts.snap b/packages/synthetic-chain/test/snapshots/test-exports.ts.snap new file mode 100644 index 0000000000000000000000000000000000000000..8ba0d87d8b6944d0fc1319a6c9df3c949e9f6480 GIT binary patch literal 2158 zcmV-!2$Aoo52L{3Ah0+H><$9fAaLjY_s{Ns|8Wp_e-Jnu0~TVyW(+9D zfN#fu*J8jgW5C-n;9oHy5eFWL16SgJ5eL2(2kzegz842RhyzmzU@-wal>jOU;9Cjc zM+x9w0+>*uBZ@MvM7Nmc7<6oG49YN+H7KK)PzENI5R}NclF06DZ{1p3zq-BE6-6Av zSv!tZ?XoI=S+5FY~TK7BN;i+Y!n?7RfYunc^X4lqsx`J6! zVwSF6q%>2u<|=KgRc>c8nfCJ1Qmwv{o;NC`wpwep>x*?`dB2af`F_@#RcYUXCB&}xCpzWolxoW0XtEQd(bgh=Yz36CGX{FkB+Kr-pyW%%Dd_B9F zU(4=o@AOTM&28G`>B_#{T3)U<)mGJ9BIUWte#u#}%B7;wENTXn5k+|~0d&=qMANQW zl(ux6>t<=&BC0`cm-gV99&M0l+A}t_T;Q?t|W|* z603_5{w9eNt~hV<&LD^9?IN2@C0u7_SNd3=_@_*!(OWflRoSTv1>H>b2Adx04HgwT zu6#q1#|p%(?ov~D-H?!>f@5k1U89`nB8qPwMR%EFss75DlrjG-7EU({VPe+y?2jnQ z+tTQhDlt^YAe`PHhC%r*CtR=whI_0LwM^CO2D3ztUHpQCCsc#kw3o}jK~b%+$CwDouO#^dHEqYD`Q5z@X5~$r6GM>xA(76|1~FFM$$3c{ksPKisydwJ zSgl69l;k9Q$iugbMXxZKghq-6DG8%Lki_F9YEp}EDx$DO>MrHa5@oVPdDc-oY05F9 z6IP1|*Ok#8YqUgpj+xvdD$kom<`QNl!f=W5{O;Z=F^K6U?WP2ebYN2@mgyFRi@)Gg z-_#poc48hs@xj+DU8PSu%uDt=5x7Gf7kXsuu={SUxK0TCMOj@JDHq9g;a^DbsKJOvHG$?eq5q!jSB+F@*4sYLjZ0

R>l$AxG4*@aN|e8uw67@$ciZC%V~5qzg=*l`6kh-J>;8 zKbItV!lX?%Yk6VJkgzzbQ?s|mUXh^5Iv*>z*7}qRTXSP>%e~?(Cbq`r}bVKv< z_TeEj-L&u4h{eT@;IbZ`kbJB=c3Dc@mV}+LDAD9a*_Oa*i z5^>C~5yQxly4_hNv?Y9aM`8@woN!&uF|(+bM06*6XxQe|i>)Lbv7JIq=ZC^$NO+XD zvW0?(%FB{`rolMfB%Im@x>-}ZL3H8P?GkJ^`f_JF2g%_>)>V!j=!K;ZVP1(mlmyNv zfhUu|P7=_Q5MxHS3l*wzH&EiQrxN`}5_mod{4fdpGzr{G0`L0O5{K11=cI$%=iAs( z-@+dyfsd2G^c3*;ly89Xz5^T_%0BZ+zj=>;=&1JTOdWBlZ#Jd_WbT0g+?kWIEFHi; zuRn3jOnb+&PvMitD0qjpkNx23g7T>V6MZNE_gnz(r%wu?IP!gyd-#}89Bl-Aik~@M zR6ZNP`||;~j|AX;E&%t@0Nl?9;C|sKcl0>!7X#RRECBcM0NmM=D#_oT_)6o#F*Vg~ zT72}>F?6Yw@oCKcUk(2l7mwQv<+jJCGk@H+a?lL<6c$dmBo+gtVJQGN-M7TLP9Jnu zKBt#Y=k!VdM=}ApUkbo|A^`Wv0NgL1RO?3?HDCO`a`Y6Bu1x_?O#%B;z$;V0TT{S4 z{ipd?eO*Rh*DeK^M)ss>c%7fm`PI`UKNrA@wE!F4dSC7^l(5@aJ~1tIuHr$}m6s%W zxJuii4gbC*jqE$rYKu#^Bp%=`*L+0Wv?U}##Eq7ESBB{aBrPglLUNKU%6hK^Op=G| z)GE5tJ2Jb`S$MWPcF0A4FQY|f7_8~a-D^ewG!8wbjH(Csarf@x z%EL<3|I(?^I { + t.snapshot(lib); +}); From af46d484ceeaf377db82692c20a32473fd5a8b53 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 10:39:54 -0700 Subject: [PATCH 10/13] feat: getInstanceBoardId --- packages/synthetic-chain/src/lib/index.ts | 1 + .../test/snapshots/test-exports.ts.md | 4 ++++ .../test/snapshots/test-exports.ts.snap | Bin 2158 -> 2256 bytes 3 files changed, 5 insertions(+) diff --git a/packages/synthetic-chain/src/lib/index.ts b/packages/synthetic-chain/src/lib/index.ts index 76bff8fe..50db19a8 100644 --- a/packages/synthetic-chain/src/lib/index.ts +++ b/packages/synthetic-chain/src/lib/index.ts @@ -7,4 +7,5 @@ export * from './core-eval.js'; export * from './econHelpers.js'; export * from './logging.js'; export * from './vat-status.js'; +export * from './vstorage.js'; export * from './webAsset.js'; diff --git a/packages/synthetic-chain/test/snapshots/test-exports.ts.md b/packages/synthetic-chain/test/snapshots/test-exports.ts.md index f7ab60c8..05e608ff 100644 --- a/packages/synthetic-chain/test/snapshots/test-exports.ts.md +++ b/packages/synthetic-chain/test/snapshots/test-exports.ts.md @@ -55,15 +55,18 @@ Generated by [AVA](https://avajs.dev). evalBundles: AsyncFunction {}, executeCommand: AsyncFunction {}, executeOffer: AsyncFunction {}, + extractStreamCellValue: Function extractStreamCellValue {}, flags: Function flags {}, generateOracleMap: Function generateOracleMap {}, getAuctionCollateral: AsyncFunction {}, getContractInfo: AsyncFunction {}, getISTBalance: AsyncFunction {}, getIncarnation: AsyncFunction {}, + getInstanceBoardId: AsyncFunction {}, getLiveOffers: AsyncFunction {}, getPriceQuote: AsyncFunction {}, getProvisionPoolMetrics: AsyncFunction [], + getQuoteBody: AsyncFunction {}, getUser: AsyncFunction {}, getVatDetails: AsyncFunction {}, getVaultPrices: AsyncFunction {}, @@ -82,6 +85,7 @@ Generated by [AVA](https://avajs.dev). proposalBuilder: AsyncFunction {}, provisionSmartWallet: AsyncFunction {}, pushPrices: AsyncFunction {}, + queryVstorage: Function queryVstorage {}, readBundles: AsyncFunction {}, registerOraclesForBrand: AsyncFunction {}, smallCapsContext: Function smallCapsContext {}, diff --git a/packages/synthetic-chain/test/snapshots/test-exports.ts.snap b/packages/synthetic-chain/test/snapshots/test-exports.ts.snap index 8ba0d87d8b6944d0fc1319a6c9df3c949e9f6480..dc736f9941c39759a2a5a7b55fdf70ebcdd51b2f 100644 GIT binary patch literal 2256 zcmV;>2ru_RRzVCBSs`c*^auar@-{zwiI+e^vRf^4-F&!PJWV;#Vlwxj~DxSz{Krb=xF0yTrKt z;$2N6oIHE(UI;O?f0VeAUs8ap3Q$vkFDt;06(H3IJl6+&qYrqy4@iW7XF|X?L%?rC zz~4haJPbS(24=#*Mi{so27VX@-UfQN3L`IZkc6)v8=JLw* z^|g*D;tD=aKdm+LiR z8&z^^&R8fq_gZmzFycLbvu z$F?%IrDlW&6Sh|I=_H=sTG{NGNvqK?Xlr(Mva(pMR_2_&xoUOp){LWB#f3`CY1Iq% zt+L4H}r)_Gvz&jGqPqeaQ^Bv+C+y%!5x?srd z!jz(1k%SRaWHqtE3z9hLit{FKFLE$$7rDk%!gXeLq!)YSKVveD-mJR2%FbNc)y+(I zvF}KWMTL$l|Dz<2?-H}JMNQ%L&|nuC*mX?Jpv#mKU1TwL7~NuyrTRN(Ove0COrImD=t$V@YQj=PQQ<1GTQgbPlMSqSvpq4P_dN+4Xk$0%ZjPuW;m>^uO?arMm>!iq(am-%h~q^9qSeYa zt%?q0l00eBhFepw=C4Rtg4L+m-Oaz0ps^aU?Hse{N}U)R7OOGaYutZHtf88REIGQN zd3AeiOg7VLimfWKxHx-U)`rAN)*QPemF_bVHn`_dtF>cuW|5*u)psSh-=aj5PlrE9 zVA`TZ-R9Ig&g@lYEm@soB5}G)9JZ^(Fmj}3x3?i}3Kz2yW5DKw>uQdf1--}ZL3H8Pg>lKP2GMyt zto9)8qB{~g+MtH7GtXpI_pRoV~fBp4_wT zzi0>l+Pli}eZ8>sAx4QY2f)ZaL2#ENY4fKrvsn)(|+?F|G>=P z(-}YHQqO9n161xz0Pfl2sw_$3dUdA32%R9}VEh#{zIa9)SCa z<9hPoEa?mKlP3%EQvsaG9_P%VnbYUb(&2$5`t>yM?KJRq8c@yv=g$C7o$(DOIp4t4 z)3xOQVXPb%hBw6eoL@azGOq;i;%b1CG~bgu2qo;!$giG}hH&v{?aF^4$-@=e5;ux> zC27R%AXoh8*{-;cH(m1)7g?8(BoViN>RpbWm$j&PUHY0Ni?Z&^%UhB>T%%UOmHtO& z*W0_*cGnKM=*4pqT40938m|0?BoA4Rcq90{Om290GZDst=cyre|LwxPrMdF367|0x zYqZ8}o$p^xE>DUdXV>t*G$*_pIkom9EVBA#|BI@)Uv^1}Ix%#OaOQsiOxX?HEVg$x z-5|Ww5ubk{b4k3KW!nFU@Ltd|UGgP+&(PZs8oe9okmQ)Aiv{4u18@@oxcvdR0|B^$ e0l29E+@S#6QvtZ60k~s5xc>!I3#;eb8UO%qd|g`r literal 2158 zcmV-!2$Aoo52L{3Ah0+H><$9fAaLjY_s{Ns|8Wp_e-Jnu0~TVyW(+9D zfN#fu*J8jgW5C-n;9oHy5eFWL16SgJ5eL2(2kzegz842RhyzmzU@-wal>jOU;9Cjc zM+x9w0+>*uBZ@MvM7Nmc7<6oG49YN+H7KK)PzENI5R}NclF06DZ{1p3zq-BE6-6Av zSv!tZ?XoI=S+5FY~TK7BN;i+Y!n?7RfYunc^X4lqsx`J6! zVwSF6q%>2u<|=KgRc>c8nfCJ1Qmwv{o;NC`wpwep>x*?`dB2af`F_@#RcYUXCB&}xCpzWolxoW0XtEQd(bgh=Yz36CGX{FkB+Kr-pyW%%Dd_B9F zU(4=o@AOTM&28G`>B_#{T3)U<)mGJ9BIUWte#u#}%B7;wENTXn5k+|~0d&=qMANQW zl(ux6>t<=&BC0`cm-gV99&M0l+A}t_T;Q?t|W|* z603_5{w9eNt~hV<&LD^9?IN2@C0u7_SNd3=_@_*!(OWflRoSTv1>H>b2Adx04HgwT zu6#q1#|p%(?ov~D-H?!>f@5k1U89`nB8qPwMR%EFss75DlrjG-7EU({VPe+y?2jnQ z+tTQhDlt^YAe`PHhC%r*CtR=whI_0LwM^CO2D3ztUHpQCCsc#kw3o}jK~b%+$CwDouO#^dHEqYD`Q5z@X5~$r6GM>xA(76|1~FFM$$3c{ksPKisydwJ zSgl69l;k9Q$iugbMXxZKghq-6DG8%Lki_F9YEp}EDx$DO>MrHa5@oVPdDc-oY05F9 z6IP1|*Ok#8YqUgpj+xvdD$kom<`QNl!f=W5{O;Z=F^K6U?WP2ebYN2@mgyFRi@)Gg z-_#poc48hs@xj+DU8PSu%uDt=5x7Gf7kXsuu={SUxK0TCMOj@JDHq9g;a^DbsKJOvHG$?eq5q!jSB+F@*4sYLjZ0

R>l$AxG4*@aN|e8uw67@$ciZC%V~5qzg=*l`6kh-J>;8 zKbItV!lX?%Yk6VJkgzzbQ?s|mUXh^5Iv*>z*7}qRTXSP>%e~?(Cbq`r}bVKv< z_TeEj-L&u4h{eT@;IbZ`kbJB=c3Dc@mV}+LDAD9a*_Oa*i z5^>C~5yQxly4_hNv?Y9aM`8@woN!&uF|(+bM06*6XxQe|i>)Lbv7JIq=ZC^$NO+XD zvW0?(%FB{`rolMfB%Im@x>-}ZL3H8P?GkJ^`f_JF2g%_>)>V!j=!K;ZVP1(mlmyNv zfhUu|P7=_Q5MxHS3l*wzH&EiQrxN`}5_mod{4fdpGzr{G0`L0O5{K11=cI$%=iAs( z-@+dyfsd2G^c3*;ly89Xz5^T_%0BZ+zj=>;=&1JTOdWBlZ#Jd_WbT0g+?kWIEFHi; zuRn3jOnb+&PvMitD0qjpkNx23g7T>V6MZNE_gnz(r%wu?IP!gyd-#}89Bl-Aik~@M zR6ZNP`||;~j|AX;E&%t@0Nl?9;C|sKcl0>!7X#RRECBcM0NmM=D#_oT_)6o#F*Vg~ zT72}>F?6Yw@oCKcUk(2l7mwQv<+jJCGk@H+a?lL<6c$dmBo+gtVJQGN-M7TLP9Jnu zKBt#Y=k!VdM=}ApUkbo|A^`Wv0NgL1RO?3?HDCO`a`Y6Bu1x_?O#%B;z$;V0TT{S4 z{ipd?eO*Rh*DeK^M)ss>c%7fm`PI`UKNrA@wE!F4dSC7^l(5@aJ~1tIuHr$}m6s%W zxJuii4gbC*jqE$rYKu#^Bp%=`*L+0Wv?U}##Eq7ESBB{aBrPglLUNKU%6hK^Op=G| z)GE5tJ2Jb`S$MWPcF0A4FQY|f7_8~a-D^ewG!8wbjH(Csarf@x z%EL<3|I(?^I Date: Tue, 27 Aug 2024 10:40:45 -0700 Subject: [PATCH 11/13] chore: release 0.2.0 --- packages/synthetic-chain/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/synthetic-chain/package.json b/packages/synthetic-chain/package.json index d5b14fbe..fdb26ac6 100644 --- a/packages/synthetic-chain/package.json +++ b/packages/synthetic-chain/package.json @@ -1,6 +1,6 @@ { "name": "@agoric/synthetic-chain", - "version": "0.1.1", + "version": "0.2.0", "description": "Utilities to build a chain and test proposals atop it", "bin": { "synthetic-chain": "dist/cli/cli.js" From c297c191f3acea4fccf0bb67bd3c1cc0728033c8 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 07:51:10 -0700 Subject: [PATCH 12/13] chore: clean up dead code --- .../64:crabble-start/test-crabble-start.js | 6 +- proposals/75:upgrade-16/vatDetails.js | 100 ------------------ 2 files changed, 3 insertions(+), 103 deletions(-) delete mode 100644 proposals/75:upgrade-16/vatDetails.js diff --git a/proposals/64:crabble-start/test-crabble-start.js b/proposals/64:crabble-start/test-crabble-start.js index 800106d2..8a8da349 100644 --- a/proposals/64:crabble-start/test-crabble-start.js +++ b/proposals/64:crabble-start/test-crabble-start.js @@ -50,8 +50,8 @@ import { } from './core-eval-support.js'; /** @typedef {Awaited>} TestContext */ -/** @type {import('ava').TestFn}} */ -const test = anyTest; + +const test = /** @type {import('ava').TestFn}} */ (anyTest); const assetInfo = { /** @type {Record} */ @@ -208,7 +208,7 @@ const getFileSize = async (src, fileName) => { return size; }; -/** @param {import('./lib/webAsset.js').FileRd} src */ +/** @param {import('@agoric/synthetic-chain').FileRd} src */ const readBundleSizes = async src => { const info = staticConfig.buildInfo; const bundleSizes = await Promise.all( diff --git a/proposals/75:upgrade-16/vatDetails.js b/proposals/75:upgrade-16/vatDetails.js deleted file mode 100644 index ccf24608..00000000 --- a/proposals/75:upgrade-16/vatDetails.js +++ /dev/null @@ -1,100 +0,0 @@ -import dbOpenAmbient from 'better-sqlite3'; - -const HOME = process.env.HOME; - -/** @type {(val: T | undefined) => T} */ -export const NonNullish = val => { - if (!val) throw Error('required'); - return val; -}; - -/** - * @file look up vat incarnation from kernel DB - * @see {getIncarnation} - */ - -const swingstorePath = `${HOME}/.agoric/data/agoric/swingstore.sqlite`; - -/** - * SQL short-hand - * - * @param {import('better-sqlite3').Database} db - */ -export const dbTool = db => { - const prepare = (strings, ...params) => { - const dml = strings.join('?'); - return { stmt: db.prepare(dml), params }; - }; - const sql = (strings, ...args) => { - const { stmt, params } = prepare(strings, ...args); - return stmt.all(...params); - }; - sql.get = (strings, ...args) => { - const { stmt, params } = prepare(strings, ...args); - return stmt.get(...params); - }; - return sql; -}; - -/** - * @param {import('better-sqlite3').Database} db - */ -const makeSwingstore = db => { - const sql = dbTool(db); - - /** @param {string} key */ - const kvGet = key => sql.get`select * from kvStore where key = ${key}`.value; - /** @param {string} key */ - const kvGetJSON = key => JSON.parse(kvGet(key)); - - /** @param {string} vatID */ - const lookupVat = vatID => { - return Object.freeze({ - source: () => kvGetJSON(`${vatID}.source`), - options: () => kvGetJSON(`${vatID}.options`), - currentSpan: () => - sql.get`select * from transcriptSpans where isCurrent = 1 and vatID = ${vatID}`, - }); - }; - - return Object.freeze({ - /** @param {string} vatName */ - findVat: vatName => { - /** @type {string[]} */ - const dynamicIDs = kvGetJSON('vat.dynamicIDs'); - const targetVat = dynamicIDs.find(vatID => - lookupVat(vatID).options().name.includes(vatName), - ); - if (!targetVat) throw Error(`vat not found: ${vatName}`); - return targetVat; - }, - /** @param {string} vatName */ - findVats: vatName => { - /** @type {string[]} */ - const dynamicIDs = kvGetJSON('vat.dynamicIDs'); - return dynamicIDs.filter(vatID => - lookupVat(vatID).options().name.includes(vatName), - ); - }, - lookupVat, - }); -}; - -/** @param {string} vatName */ -export const getDetailsMatchingVats = async vatName => { - const kStore = makeSwingstore( - dbOpenAmbient(swingstorePath, { readonly: true }), - ); - - const vatIDs = kStore.findVats(vatName); - const infos = []; - for (const vatID of vatIDs) { - const vatInfo = kStore.lookupVat(vatID); - const source = vatInfo.source(); - // @ts-expect-error cast - const { incarnation } = vatInfo.currentSpan(); - infos.push({ vatName, vatID, incarnation, ...source }); - } - - return infos; -}; From 7a6bb65dd9b279dc8fa47d86c85731cbdcf61039 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 27 Aug 2024 07:39:38 -0700 Subject: [PATCH 13/13] refactor(crabble-start): use 0.1.1 lib --- .../64:crabble-start/core-eval-support.js | 151 ------- proposals/64:crabble-start/package.json | 2 +- .../64:crabble-start/test-crabble-start.js | 39 +- proposals/64:crabble-start/yarn.lock | 379 +++--------------- 4 files changed, 91 insertions(+), 480 deletions(-) delete mode 100644 proposals/64:crabble-start/core-eval-support.js diff --git a/proposals/64:crabble-start/core-eval-support.js b/proposals/64:crabble-start/core-eval-support.js deleted file mode 100644 index 71ecc257..00000000 --- a/proposals/64:crabble-start/core-eval-support.js +++ /dev/null @@ -1,151 +0,0 @@ -// @ts-check -import { - Far, - makeMarshal, - makeTranslationTable, -} from '@agoric/synthetic-chain/src/lib/unmarshal.js'; -import { Fail, NonNullish } from '@agoric/synthetic-chain/src/lib/assert.js'; - -// TODO: factor out ambient authority from these -// or at least allow caller to supply authority. -import { mintIST } from '@agoric/synthetic-chain/src/lib/econHelpers.js'; -import { agoric } from '@agoric/synthetic-chain/src/lib/cliHelper.js'; - -// move to unmarshal.js? -const makeBoardUnmarshal = () => { - const synthesizeRemotable = (_slot, iface) => - Far(iface.replace(/^Alleged: /, ''), {}); - - const { convertValToSlot, convertSlotToVal } = makeTranslationTable( - slot => Fail`unknown id: ${slot}`, - synthesizeRemotable, - ); - - return makeMarshal(convertValToSlot, convertSlotToVal); -}; - -export const getContractInfo = async (path, io = {}) => { - const m = makeBoardUnmarshal(); - const { - agoric: { follow = agoric.follow }, - prefix = 'published.', - } = io; - console.log('@@TODO: prevent agoric follow hang', prefix, path); - const txt = await follow('-lF', `:${prefix}${path}`, '-o', 'text'); - const { body, slots } = JSON.parse(txt); - return m.fromCapData({ body, slots }); -}; - -/** - * Asserts that `haystack` includes `needle` (or when `sense` is false, that it - * does not), providing pretty output in the case of failure. - * - * @param {import('ava').ExecutionContext} t - * @param {unknown} needle - * @param {unknown[]} haystack - * @param {string} label - * @param {boolean} [sense] true to assert inclusion; false for exclusion - * @returns {void} - */ -export const testIncludes = (t, needle, haystack, label, sense = true) => { - const matches = haystack.filter(c => Object.is(c, needle)); - t.deepEqual(matches, sense ? [needle] : [], label); -}; - -/** - * @param {Record} record - e.g. { color: 'blue' } - * @returns {string[]} - e.g. ['--color', 'blue'] - */ -export const flags = record => { - return Object.entries(record) - .map(([k, v]) => [`--${k}`, v]) - .flat(); -}; - -export const txAbbr = tx => { - const { txhash, code, height, gas_used } = tx; - return { txhash, code, height, gas_used }; -}; - -export const loadedBundleIds = swingstore => { - const ids = swingstore`SELECT bundleID FROM bundles`.map(r => r.bundleID); - return ids; -}; - -/** - * @param {string} cacheFn - e.g. /home/me.agoric/cache/b1-DEADBEEF.json - */ -export const bundleDetail = cacheFn => { - const fileName = NonNullish(cacheFn.split('/').at(-1)); - const id = fileName.replace(/\.json$/, ''); - const hash = id.replace(/^b1-/, ''); - return { fileName, endoZipBase64Sha512: hash, id }; -}; - -const importBundleCost = (bytes, price = 0.002) => { - return bytes * price; -}; - -/** - * @typedef {{ - * bundles: string[], - * evals: { permit: string; script: string }[], - * }} ProposalInfo - */ - -const myISTBalance = async (agd, addr, denom = 'uist', unit = 1_000_000) => { - const coins = await agd.query(['bank', 'balances', addr]); - const coin = coins.balances.find(a => a.denom === denom); - return Number(coin.amount) / unit; -}; - -/** - * @param {number} myIST - * @param {number} cost - * @param {{ - * unit?: number, padding?: number, minInitialDebt?: number, - * collateralPrice: number, - * }} opts - * @returns - */ -const mintCalc = (myIST, cost, opts) => { - const { - unit = 1_000_000, - padding = 1, - minInitialDebt = 6, - collateralPrice, - } = opts; - const { round, max } = Math; - const wantMinted = max(round(cost - myIST + padding), minInitialDebt); - const giveCollateral = round(wantMinted / collateralPrice) + 1; - const sendValue = round(giveCollateral * unit); - return { wantMinted, giveCollateral, sendValue }; -}; - -/** - * - * @param {ReturnType} agd - * @param {*} config - * @param {number} bytes total bytes - * @param {{ log: (...args: any[]) => void }} io - * @returns - */ -export const ensureISTForInstall = async (agd, config, bytes, { log }) => { - const cost = importBundleCost(bytes); - log({ totalSize: bytes, cost }); - const { installer } = config; - const addr = agd.lookup(installer); - const istBalance = await myISTBalance(agd, addr); - - if (istBalance > cost) { - log('balance sufficient', { istBalance, cost }); - return; - } - const { sendValue, wantMinted, giveCollateral } = mintCalc( - istBalance, - cost, - config, - ); - log({ wantMinted }); - await mintIST(addr, sendValue, wantMinted, giveCollateral); -}; diff --git a/proposals/64:crabble-start/package.json b/proposals/64:crabble-start/package.json index c89636f1..fe56f14f 100644 --- a/proposals/64:crabble-start/package.json +++ b/proposals/64:crabble-start/package.json @@ -5,7 +5,7 @@ "type": "module", "license": "Apache-2.0", "dependencies": { - "@agoric/synthetic-chain": "^0.0.1-rc0", + "@agoric/synthetic-chain": "^0.2.0", "@endo/zip": "^0.2.35", "ava": "^5.3.1", "better-sqlite3": "^8.5.1", diff --git a/proposals/64:crabble-start/test-crabble-start.js b/proposals/64:crabble-start/test-crabble-start.js index 8a8da349..3363fded 100644 --- a/proposals/64:crabble-start/test-crabble-start.js +++ b/proposals/64:crabble-start/test-crabble-start.js @@ -15,44 +15,55 @@ */ import anyTest from 'ava'; +import dbOpenAmbient from 'better-sqlite3'; import * as cpAmbient from 'child_process'; // TODO: use execa import * as fspAmbient from 'fs/promises'; -import { tmpName as tmpNameAmbient } from 'tmp'; import * as pathAmbient from 'path'; import * as processAmbient from 'process'; -import dbOpenAmbient from 'better-sqlite3'; +import { tmpName as tmpNameAmbient } from 'tmp'; // TODO: factor out ambient authority from these // or at least allow caller to supply authority. import { agoric, - wellKnownIdentities, -} from '@agoric/synthetic-chain/src/lib/cliHelper.js'; -import { provisionSmartWallet, voteLatestProposalAndWait, waitForBlock, -} from '@agoric/synthetic-chain/src/lib/commonUpgradeHelpers.js'; + wellKnownIdentities, +} from '@agoric/synthetic-chain'; -import { makeAgd } from '@agoric/synthetic-chain/src/lib/agd-lib.js'; -import { dbTool } from '@agoric/synthetic-chain/src/lib/vat-status.js'; -import { - makeFileRd, - makeFileRW, -} from '@agoric/synthetic-chain/src/lib/webAsset.js'; import { + dbTool, ensureISTForInstall, flags, getContractInfo, loadedBundleIds, - testIncludes, + makeAgd, + makeFileRd, + makeFileRW, txAbbr, -} from './core-eval-support.js'; +} from '@agoric/synthetic-chain'; /** @typedef {Awaited>} TestContext */ const test = /** @type {import('ava').TestFn}} */ (anyTest); +/** + * Asserts that `haystack` includes `needle` (or when `sense` is false, that it + * does not), providing pretty output in the case of failure. + * + * @param {import('ava').ExecutionContext} t + * @param {unknown} needle + * @param {unknown[]} haystack + * @param {string} label + * @param {boolean} [sense] true to assert inclusion; false for exclusion + * @returns {void} + */ +export const testIncludes = (t, needle, haystack, label, sense = true) => { + const matches = haystack.filter(c => Object.is(c, needle)); + t.deepEqual(matches, sense ? [needle] : [], label); +}; + const assetInfo = { /** @type {Record} */ buildAssets: { diff --git a/proposals/64:crabble-start/yarn.lock b/proposals/64:crabble-start/yarn.lock index ead430ab..a9cd907e 100644 --- a/proposals/64:crabble-start/yarn.lock +++ b/proposals/64:crabble-start/yarn.lock @@ -5,15 +5,18 @@ __metadata: version: 8 cacheKey: 10c0 -"@agoric/synthetic-chain@npm:^0.0.1-rc0": - version: 0.0.1 - resolution: "@agoric/synthetic-chain@npm:0.0.1" +"@agoric/synthetic-chain@npm:^0.2.0": + version: 0.2.0 + resolution: "@agoric/synthetic-chain@npm:0.2.0" dependencies: - tsx: "npm:^3.12.8" - typescript: "npm:^5.3.3" + "@endo/zip": "npm:^1.0.6" + better-sqlite3: "npm:^9.6.0" + chalk: "npm:^5.3.0" + cosmjs-types: "npm:^0.9.0" + execa: "npm:^8.0.1" bin: - synthetic-chain: cli.ts - checksum: 10c0/58310d95f8ec2681423c64c2be6405f37c5512dc798f80e216b40aa3fcdd55746bb629e9898b25f6f979508f9ae55b89aa51c3341fa55be51c7e7a271ee3973b + synthetic-chain: dist/cli/cli.js + checksum: 10c0/cc30befe632a3bbb9225a7aa9abeececb421721c552bb409dc5a6140833444daf8fe5459a9cd5beb672fc55052ba6dbff2d829f22887a8e9cb74e85885f4f5b1 languageName: node linkType: hard @@ -24,157 +27,10 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/android-arm64@npm:0.18.20" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/android-arm@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/android-arm@npm:0.18.20" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - -"@esbuild/android-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/android-x64@npm:0.18.20" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/darwin-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/darwin-arm64@npm:0.18.20" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/darwin-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/darwin-x64@npm:0.18.20" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/freebsd-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/freebsd-arm64@npm:0.18.20" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/freebsd-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/freebsd-x64@npm:0.18.20" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/linux-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-arm64@npm:0.18.20" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/linux-arm@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-arm@npm:0.18.20" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@esbuild/linux-ia32@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-ia32@npm:0.18.20" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - -"@esbuild/linux-loong64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-loong64@npm:0.18.20" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - -"@esbuild/linux-mips64el@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-mips64el@npm:0.18.20" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - -"@esbuild/linux-ppc64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-ppc64@npm:0.18.20" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - -"@esbuild/linux-riscv64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-riscv64@npm:0.18.20" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - -"@esbuild/linux-s390x@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-s390x@npm:0.18.20" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - -"@esbuild/linux-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/linux-x64@npm:0.18.20" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/netbsd-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/netbsd-x64@npm:0.18.20" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/openbsd-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/openbsd-x64@npm:0.18.20" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/sunos-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/sunos-x64@npm:0.18.20" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - -"@esbuild/win32-arm64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/win32-arm64@npm:0.18.20" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"@esbuild/win32-ia32@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/win32-ia32@npm:0.18.20" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"@esbuild/win32-x64@npm:0.18.20": - version: 0.18.20 - resolution: "@esbuild/win32-x64@npm:0.18.20" - conditions: os=win32 & cpu=x64 +"@endo/zip@npm:^1.0.6": + version: 1.0.6 + resolution: "@endo/zip@npm:1.0.6" + checksum: 10c0/70549f380db9b2454875416359348ffabc6eeecd550c8b63016d26e384335e498eb7ebfafb45cd69a0c64d093d89d399dedb37408ca6764f13ebaf0d720d8ad2 languageName: node linkType: hard @@ -453,6 +309,17 @@ __metadata: languageName: node linkType: hard +"better-sqlite3@npm:^9.6.0": + version: 9.6.0 + resolution: "better-sqlite3@npm:9.6.0" + dependencies: + bindings: "npm:^1.5.0" + node-gyp: "npm:latest" + prebuild-install: "npm:^7.1.1" + checksum: 10c0/8db9b38f414e26a56d4c40fc16e94a253118491dae0e2c054338a9e470f1a883c7eb4cb330f2f5737db30f704d4f2e697c59071ca04e03364ee9fe04375aa9c8 + languageName: node + linkType: hard + "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -515,13 +382,6 @@ __metadata: languageName: node linkType: hard -"buffer-from@npm:^1.0.0": - version: 1.1.2 - resolution: "buffer-from@npm:1.1.2" - checksum: 10c0/124fff9d66d691a86d3b062eff4663fe437a9d9ee4b47b1b9e97f5a5d14f6d5399345db80f796827be7c95e70a8e765dd404b7c3ff3b3324f98e9b0c8826cc34 - languageName: node - linkType: hard - "buffer@npm:^5.5.0": version: 5.7.1 resolution: "buffer@npm:5.7.1" @@ -568,7 +428,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^5.2.0": +"chalk@npm:^5.2.0, chalk@npm:^5.3.0": version: 5.3.0 resolution: "chalk@npm:5.3.0" checksum: 10c0/8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09 @@ -735,6 +595,13 @@ __metadata: languageName: node linkType: hard +"cosmjs-types@npm:^0.9.0": + version: 0.9.0 + resolution: "cosmjs-types@npm:0.9.0" + checksum: 10c0/bc20f4293fb34629d7c5f96bafe533987f753df957ff68eb078d0128ae5a418320cb945024441769a07bb9bc5dde9d22b972fd40d485933e5706ea191c43727b + languageName: node + linkType: hard + "cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -868,83 +735,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:~0.18.20": - version: 0.18.20 - resolution: "esbuild@npm:0.18.20" - dependencies: - "@esbuild/android-arm": "npm:0.18.20" - "@esbuild/android-arm64": "npm:0.18.20" - "@esbuild/android-x64": "npm:0.18.20" - "@esbuild/darwin-arm64": "npm:0.18.20" - "@esbuild/darwin-x64": "npm:0.18.20" - "@esbuild/freebsd-arm64": "npm:0.18.20" - "@esbuild/freebsd-x64": "npm:0.18.20" - "@esbuild/linux-arm": "npm:0.18.20" - "@esbuild/linux-arm64": "npm:0.18.20" - "@esbuild/linux-ia32": "npm:0.18.20" - "@esbuild/linux-loong64": "npm:0.18.20" - "@esbuild/linux-mips64el": "npm:0.18.20" - "@esbuild/linux-ppc64": "npm:0.18.20" - "@esbuild/linux-riscv64": "npm:0.18.20" - "@esbuild/linux-s390x": "npm:0.18.20" - "@esbuild/linux-x64": "npm:0.18.20" - "@esbuild/netbsd-x64": "npm:0.18.20" - "@esbuild/openbsd-x64": "npm:0.18.20" - "@esbuild/sunos-x64": "npm:0.18.20" - "@esbuild/win32-arm64": "npm:0.18.20" - "@esbuild/win32-ia32": "npm:0.18.20" - "@esbuild/win32-x64": "npm:0.18.20" - dependenciesMeta: - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 10c0/473b1d92842f50a303cf948a11ebd5f69581cd254d599dd9d62f9989858e0533f64e83b723b5e1398a5b488c0f5fd088795b4235f65ecaf4f007d4b79f04bc88 - languageName: node - linkType: hard - "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -1000,6 +790,23 @@ __metadata: languageName: node linkType: hard +"execa@npm:^8.0.1": + version: 8.0.1 + resolution: "execa@npm:8.0.1" + dependencies: + cross-spawn: "npm:^7.0.3" + get-stream: "npm:^8.0.1" + human-signals: "npm:^5.0.0" + is-stream: "npm:^3.0.0" + merge-stream: "npm:^2.0.0" + npm-run-path: "npm:^5.1.0" + onetime: "npm:^6.0.0" + signal-exit: "npm:^4.1.0" + strip-final-newline: "npm:^3.0.0" + checksum: 10c0/2c52d8775f5bf103ce8eec9c7ab3059909ba350a5164744e9947ed14a53f51687c040a250bda833f906d1283aa8803975b84e6c8f7a7c42f99dc8ef80250d1af + languageName: node + linkType: hard + "expand-template@npm:^2.0.3": version: 2.0.3 resolution: "expand-template@npm:2.0.3" @@ -1121,7 +928,7 @@ __metadata: languageName: node linkType: hard -"fsevents@npm:~2.3.2, fsevents@npm:~2.3.3": +"fsevents@npm:~2.3.2": version: 2.3.3 resolution: "fsevents@npm:2.3.3" dependencies: @@ -1131,7 +938,7 @@ __metadata: languageName: node linkType: hard -"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.3#optional!builtin": +"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin": version: 2.3.3 resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" dependencies: @@ -1154,12 +961,10 @@ __metadata: languageName: node linkType: hard -"get-tsconfig@npm:^4.7.2": - version: 4.7.2 - resolution: "get-tsconfig@npm:4.7.2" - dependencies: - resolve-pkg-maps: "npm:^1.0.0" - checksum: 10c0/169b2beababfbb16e8a0ae813ee59d3e14d4960231c816615161ab5be68ec07a394dce59695742ac84295e2efab8d9e89bcf3abaf5e253dfbec3496e01bb9a65 +"get-stream@npm:^8.0.1": + version: 8.0.1 + resolution: "get-stream@npm:8.0.1" + checksum: 10c0/5c2181e98202b9dae0bb4a849979291043e5892eb40312b47f0c22b9414fc9b28a3b6063d2375705eb24abc41ecf97894d9a51f64ff021511b504477b27b4290 languageName: node linkType: hard @@ -1262,6 +1067,13 @@ __metadata: languageName: node linkType: hard +"human-signals@npm:^5.0.0": + version: 5.0.0 + resolution: "human-signals@npm:5.0.0" + checksum: 10c0/5a9359073fe17a8b58e5a085e9a39a950366d9f00217c4ff5878bd312e09d80f460536ea6a3f260b5943a01fe55c158d1cea3fc7bee3d0520aeef04f6d915c82 + languageName: node + linkType: hard + "iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -2111,13 +1923,6 @@ __metadata: languageName: node linkType: hard -"resolve-pkg-maps@npm:^1.0.0": - version: 1.0.0 - resolution: "resolve-pkg-maps@npm:1.0.0" - checksum: 10c0/fb8f7bbe2ca281a73b7ef423a1cbc786fb244bd7a95cbe5c3fba25b27d327150beca8ba02f622baea65919a57e061eb5005204daa5f93ed590d9b77463a567ab - languageName: node - linkType: hard - "retry@npm:^0.12.0": version: 0.12.0 resolution: "retry@npm:0.12.0" @@ -2147,7 +1952,7 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@agoric/synthetic-chain": "npm:^0.0.1-rc0" + "@agoric/synthetic-chain": "npm:^0.2.0" "@endo/zip": "npm:^0.2.35" ava: "npm:^5.3.1" better-sqlite3: "npm:^8.5.1" @@ -2222,7 +2027,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^4.0.1": +"signal-exit@npm:^4.0.1, signal-exit@npm:^4.1.0": version: 4.1.0 resolution: "signal-exit@npm:4.1.0" checksum: 10c0/41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83 @@ -2292,23 +2097,6 @@ __metadata: languageName: node linkType: hard -"source-map-support@npm:^0.5.21": - version: 0.5.21 - resolution: "source-map-support@npm:0.5.21" - dependencies: - buffer-from: "npm:^1.0.0" - source-map: "npm:^0.6.0" - checksum: 10c0/9ee09942f415e0f721d6daad3917ec1516af746a8120bba7bb56278707a37f1eb8642bde456e98454b8a885023af81a16e646869975f06afc1a711fb90484e7d - languageName: node - linkType: hard - -"source-map@npm:^0.6.0": - version: 0.6.1 - resolution: "source-map@npm:0.6.1" - checksum: 10c0/ab55398007c5e5532957cb0beee2368529618ac0ab372d789806f5718123cc4367d57de3904b4e6a4170eb5a0b0f41373066d02ca0735a0c4d75c7d328d3e011 - languageName: node - linkType: hard - "sprintf-js@npm:~1.0.2": version: 1.0.3 resolution: "sprintf-js@npm:1.0.3" @@ -2480,23 +2268,6 @@ __metadata: languageName: node linkType: hard -"tsx@npm:^3.12.8": - version: 3.14.0 - resolution: "tsx@npm:3.14.0" - dependencies: - esbuild: "npm:~0.18.20" - fsevents: "npm:~2.3.3" - get-tsconfig: "npm:^4.7.2" - source-map-support: "npm:^0.5.21" - dependenciesMeta: - fsevents: - optional: true - bin: - tsx: dist/cli.mjs - checksum: 10c0/b6c938bdae9c656aef2aa0130ee6aa8f3487b5d411d5f7934b705c28ff44ab268db3dde123cf5237b4e5e2ab4441a0bad4b1a39e3ff2170d138538e44082f05d - languageName: node - linkType: hard - "tunnel-agent@npm:^0.6.0": version: 0.6.0 resolution: "tunnel-agent@npm:0.6.0" @@ -2513,26 +2284,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.3.3": - version: 5.3.3 - resolution: "typescript@npm:5.3.3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/e33cef99d82573624fc0f854a2980322714986bc35b9cb4d1ce736ed182aeab78e2cb32b385efa493b2a976ef52c53e20d6c6918312353a91850e2b76f1ea44f - languageName: node - linkType: hard - -"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin": - version: 5.3.3 - resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/1d0a5f4ce496c42caa9a30e659c467c5686eae15d54b027ee7866744952547f1be1262f2d40de911618c242b510029d51d43ff605dba8fb740ec85ca2d3f9500 - languageName: node - linkType: hard - "unique-filename@npm:^3.0.0": version: 3.0.0 resolution: "unique-filename@npm:3.0.0"