diff --git a/COVERAGE.md b/COVERAGE.md index 59d8019d78d..e5f926e023b 100644 --- a/COVERAGE.md +++ b/COVERAGE.md @@ -2,59 +2,32 @@ ## Caveat -Until each module can be migrated to support Node.js's builtin ESM -implementation (`nesm`), the coverage line numbers will be out-of-sync with -reality. - -In addition, we will have to implement source maps in all of our +Lines from bundled code cannot be detected until we implement source maps in all of our source-to-source transforms (such as `@endo/bundle-source`, `@agoric/transform-metering`, and `@agoric/static-module-record`). ## Reports -Coverage reports for the current main branch (whose packages support `nesm`) are +Coverage reports for the current main branch are published by CI to: https://agoric-sdk-coverage.netlify.app -You can create a report in any package (including the top-level directory): +You can create a report in any package: + +```sh +yarn test:c8 +``` +For more flexibility: ```sh # Get options available for coverage: yarn c8 --help -# Run ava under Node.js coverage and display a summary: -yarn c8 -a ava +# Run a particular test +yarn c8 -a ava test/foo.test.js # Generate a nice, detailed HTML report: yarn c8 report --reporter=html-spa open coverage/html/index.html ``` -## Node.js ESM Support - -With the current `patches/esm+3.2.25.diff`, it is possible to migrate packages -to support both resm (`-r esm`) and nesm (Node.js ESM Support). If an -`agoric-sdk` package has dependencies that support nesm, you can attempt to make -it also support nesm by: - -1. Create `ava-nesm.config.js` removing `"require": ["esm"]`: - -```sh -../../scripts/ava-nesm.cjs > ava-nesm.config.js -``` - -2. Make the following changes to its `package.json` (omitting comments): - -```js -{ - // Enable nesm support. - "type": "module", - "scripts": { - // The following line enables coverage generation from the top. - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js" - } -} -``` - -3. Test that both `yarn test` and `yarn test:c8` run correctly. - ## Planned Implementation Our runtime source transforms can be conditional on the `$NODE_V8_COVERAGE` diff --git a/package.json b/package.json index d02ffa8caaa..0c1f8ff3799 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@types/express": "^4.17.17", "@types/node": "^22.0.0", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "conventional-changelog-conventionalcommits": "^4.6.0", "eslint": "^8.57.0", "eslint-config-airbnb-base": "^15.0.0", diff --git a/packages/access-token/package.json b/packages/access-token/package.json index 6651fff1643..a75717d7f87 100644 --- a/packages/access-token/package.json +++ b/packages/access-token/package.json @@ -10,7 +10,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint": "run-s --continue-on-error lint:*", "lint-fix": "yarn lint:eslint --fix", @@ -26,7 +26,7 @@ "@types/n-readlines": "^1.0.3", "@types/proper-lockfile": "^4.1.2", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "publishConfig": { "access": "public" diff --git a/packages/agoric-cli/package.json b/packages/agoric-cli/package.json index e8cd7299c88..29ed18a9895 100644 --- a/packages/agoric-cli/package.json +++ b/packages/agoric-cli/package.json @@ -20,7 +20,7 @@ "scripts": { "build": "node ./scripts/get-sdk-package-names.js > src/sdk-package-names.js", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "integration-test": "ava --config .ava-integration-test.config.js", "lint-fix": "yarn lint:eslint --fix", @@ -32,7 +32,7 @@ "@agoric/cosmic-swingset": "^0.41.3", "@agoric/deploy-script-support": "^0.10.3", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "dd-trace": "^4.11.1" }, "dependencies": { diff --git a/packages/async-flow/package.json b/packages/async-flow/package.json index d1cb293a8e1..f54c0954fa8 100644 --- a/packages/async-flow/package.json +++ b/packages/async-flow/package.json @@ -10,7 +10,7 @@ "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", diff --git a/packages/base-zone/package.json b/packages/base-zone/package.json index f66978edb1c..5e2b784f210 100644 --- a/packages/base-zone/package.json +++ b/packages/base-zone/package.json @@ -10,7 +10,7 @@ "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", diff --git a/packages/boot/package.json b/packages/boot/package.json index 53ec8d08419..5cf0ad71e72 100644 --- a/packages/boot/package.json +++ b/packages/boot/package.json @@ -58,7 +58,7 @@ "@endo/base64": "^1.0.9", "@endo/patterns": "^1.4.7", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "ts-blank-space": "^0.4.1" }, "files": [ diff --git a/packages/builders/package.json b/packages/builders/package.json index f3658e483a2..dfc3a889763 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -53,7 +53,7 @@ "@agoric/swingset-liveslots": "^0.10.2", "@agoric/time": "^0.3.2", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "files": [ "CHANGELOG.md", diff --git a/packages/cache/package.json b/packages/cache/package.json index de770f8d5ca..0cf79b10bfb 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -29,7 +29,7 @@ "devDependencies": { "@agoric/zoe": "^0.26.2", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "publishConfig": { "access": "public" diff --git a/packages/casting/package.json b/packages/casting/package.json index e73616edfc3..6575980ed1a 100644 --- a/packages/casting/package.json +++ b/packages/casting/package.json @@ -11,7 +11,7 @@ "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", "demo": "node -e 'import(\"./test/fake-rpc-server.js\").then(ns => ns.develop())'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -40,7 +40,7 @@ "@agoric/cosmic-proto": "^0.4.0", "@endo/ses-ava": "^1.2.8", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "express": "^5.0.1", "ws": "^7.2.0" }, diff --git a/packages/client-utils/package.json b/packages/client-utils/package.json index 83effdc5a47..a6c09a05439 100644 --- a/packages/client-utils/package.json +++ b/packages/client-utils/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -23,7 +23,7 @@ }, "devDependencies": { "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "ts-blank-space": "^0.4.1" }, "dependencies": { diff --git a/packages/cosmic-swingset/package.json b/packages/cosmic-swingset/package.json index 7553af8ad4a..9fac90c75de 100644 --- a/packages/cosmic-swingset/package.json +++ b/packages/cosmic-swingset/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -51,7 +51,7 @@ }, "devDependencies": { "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "publishConfig": { "access": "public" diff --git a/packages/create-dapp/package.json b/packages/create-dapp/package.json index dd1112eff6d..d6fe693055e 100644 --- a/packages/create-dapp/package.json +++ b/packages/create-dapp/package.json @@ -12,7 +12,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -21,7 +21,7 @@ }, "devDependencies": { "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "dependencies": { "agoric": "^0.21.1" diff --git a/packages/fast-usdc/package.json b/packages/fast-usdc/package.json index eaa7bb45b51..857ae443087 100644 --- a/packages/fast-usdc/package.json +++ b/packages/fast-usdc/package.json @@ -13,7 +13,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -26,7 +26,7 @@ "@agoric/zone": "^0.2.2", "@fast-check/ava": "^2.0.1", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "execa": "9.1.0", "ts-blank-space": "^0.4.1" }, diff --git a/packages/governance/package.json b/packages/governance/package.json index 2d76a3181e9..1f393525ee2 100644 --- a/packages/governance/package.json +++ b/packages/governance/package.json @@ -13,7 +13,7 @@ "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -53,7 +53,7 @@ "@endo/bundle-source": "^3.5.0", "@endo/init": "^1.1.7", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "files": [ "README.md", diff --git a/packages/import-manager/package.json b/packages/import-manager/package.json index 18016783487..dda4e8c8c90 100644 --- a/packages/import-manager/package.json +++ b/packages/import-manager/package.json @@ -10,7 +10,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint": "yarn lint:eslint", "lint-fix": "yarn lint:eslint --fix", @@ -32,7 +32,7 @@ "devDependencies": { "@agoric/swingset-vat": "^0.32.2", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "files": [ "src/", diff --git a/packages/inter-protocol/package.json b/packages/inter-protocol/package.json index f0fd36f4daa..acf9a77063e 100644 --- a/packages/inter-protocol/package.json +++ b/packages/inter-protocol/package.json @@ -13,7 +13,7 @@ "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -59,7 +59,7 @@ "@endo/promise-kit": "^1.1.8", "@fast-check/ava": "^1.1.5", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "deep-object-diff": "^1.1.9", "import-meta-resolve": "^2.2.1" }, diff --git a/packages/kmarshal/package.json b/packages/kmarshal/package.json index c07b1c1bba4..ba69513d627 100644 --- a/packages/kmarshal/package.json +++ b/packages/kmarshal/package.json @@ -13,7 +13,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", diff --git a/packages/network/package.json b/packages/network/package.json index 651d0aad84b..4bbbda80dc7 100644 --- a/packages/network/package.json +++ b/packages/network/package.json @@ -38,7 +38,7 @@ "@agoric/zone": "^0.2.2", "@endo/bundle-source": "^3.5.0", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "exports": { ".": "./src/index.js" diff --git a/packages/notifier/package.json b/packages/notifier/package.json index 115a664ec92..e94128382a1 100644 --- a/packages/notifier/package.json +++ b/packages/notifier/package.json @@ -12,7 +12,7 @@ "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -49,7 +49,7 @@ "@endo/init": "^1.1.7", "@endo/ses-ava": "^1.2.8", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "exports": { ".": "./src/index.js", diff --git a/packages/orchestration/package.json b/packages/orchestration/package.json index aec0f9802c8..5ec9275d6e0 100644 --- a/packages/orchestration/package.json +++ b/packages/orchestration/package.json @@ -14,7 +14,7 @@ "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint": "run-s --continue-on-error lint:*", "lint:types": "tsc", @@ -62,7 +62,7 @@ "@endo/import-bundle": "^1.3.2", "@endo/ses-ava": "^1.2.8", "ava": "^5.3.1", - "c8": "^9.1.0", + "c8": "^10.1.2", "prettier": "^3.3.2", "ts-blank-space": "^0.4.1" }, diff --git a/packages/pegasus/package.json b/packages/pegasus/package.json index 42ca7af6cda..8ed5a06bdda 100644 --- a/packages/pegasus/package.json +++ b/packages/pegasus/package.json @@ -10,7 +10,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -48,7 +48,7 @@ }, "devDependencies": { "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "import-meta-resolve": "^2.2.1", "@agoric/vat-data": "^0.5.2" }, diff --git a/packages/solo/package.json b/packages/solo/package.json index f0236ccea03..aca853a2679 100644 --- a/packages/solo/package.json +++ b/packages/solo/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -58,7 +58,7 @@ "@agoric/ertp": "^0.16.2", "@endo/bundle-source": "^3.5.0", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "publishConfig": { "access": "public" diff --git a/packages/spawner/package.json b/packages/spawner/package.json index a8a0d8c0193..41ff88e316d 100644 --- a/packages/spawner/package.json +++ b/packages/spawner/package.json @@ -11,7 +11,7 @@ "build": "yarn build:bundles", "build:bundles": "node scripts/build-bundles.js", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint": "run-s --continue-on-error lint:*", "lint-fix": "yarn lint:eslint --fix", @@ -42,7 +42,7 @@ "@endo/bundle-source": "^3.5.0", "@endo/init": "^1.1.7", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "files": [ "src/", diff --git a/packages/swing-store/package.json b/packages/swing-store/package.json index a74bfc338e6..22dd844611c 100644 --- a/packages/swing-store/package.json +++ b/packages/swing-store/package.json @@ -13,7 +13,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -33,7 +33,7 @@ "@endo/init": "^1.1.7", "@types/better-sqlite3": "^7.6.9", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "tmp": "^0.2.1" }, "publishConfig": { diff --git a/packages/swingset-runner/package.json b/packages/swingset-runner/package.json index 16c4452c52d..3ba6090a671 100644 --- a/packages/swingset-runner/package.json +++ b/packages/swingset-runner/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -43,7 +43,7 @@ }, "devDependencies": { "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "import-meta-resolve": "^2.2.1" }, "publishConfig": { diff --git a/packages/swingset-xsnap-supervisor/package.json b/packages/swingset-xsnap-supervisor/package.json index 04b157e7157..9d60558bf2c 100644 --- a/packages/swingset-xsnap-supervisor/package.json +++ b/packages/swingset-xsnap-supervisor/package.json @@ -19,7 +19,7 @@ "lint:types": "tsc", "lint-fix": "eslint --fix 'lib/**/*.js' 'src/**/*.js' 'scripts/**/*.js' 'test/**/*.js'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0" }, "devDependencies": { @@ -30,7 +30,7 @@ "@endo/init": "^1.1.7", "@endo/marshal": "^1.6.2", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "files": [ "LICENSE*", diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index 070b1f469b0..2d758acdd64 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -46,7 +46,7 @@ "@endo/lockdown": "^1.0.13", "@endo/ses-ava": "^1.2.8", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "tmp": "^0.2.1" }, "publishConfig": { diff --git a/packages/vats/package.json b/packages/vats/package.json index eccd91f3c39..3f369d4cfdf 100644 --- a/packages/vats/package.json +++ b/packages/vats/package.json @@ -51,7 +51,7 @@ "@endo/bundle-source": "^3.5.0", "@endo/init": "^1.1.7", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "files": [ "CHANGELOG.md", diff --git a/packages/vm-config/package.json b/packages/vm-config/package.json index de054026eb1..f058e962ed2 100644 --- a/packages/vm-config/package.json +++ b/packages/vm-config/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", @@ -21,7 +21,7 @@ "dependencies": {}, "devDependencies": { "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "files": [ "CHANGELOG.md", diff --git a/packages/xsnap-lockdown/package.json b/packages/xsnap-lockdown/package.json index b921b4c2888..379bd23e067 100644 --- a/packages/xsnap-lockdown/package.json +++ b/packages/xsnap-lockdown/package.json @@ -16,14 +16,14 @@ "lint:types": "tsc", "lint-fix": "eslint --fix 'src/**/*.js' 'lib/**/*.js' 'scripts/**/*.js' 'test/**/*.js'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0" }, "devDependencies": { "@endo/bundle-source": "^3.5.0", "@endo/init": "^1.1.7", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "rollup": "^4.24.0", "rollup-plugin-string": "^3.0.0", "source-map": "^0.7.4" diff --git a/packages/xsnap/package.json b/packages/xsnap/package.json index c7126d0ae65..af7de48d332 100644 --- a/packages/xsnap/package.json +++ b/packages/xsnap/package.json @@ -24,7 +24,7 @@ "lint:types": "tsc", "lint-fix": "eslint --fix 'src/**/*.js' 'test/**/*.js' api.js", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0" }, "dependencies": { @@ -46,7 +46,7 @@ "@endo/nat": "^5.0.13", "@types/glob": "^8.1.0", "ava": "^5.3.0", - "c8": "^9.1.0" + "c8": "^10.1.2" }, "files": [ "LICENSE*", diff --git a/packages/zoe/package.json b/packages/zoe/package.json index c7604a8446b..9420f3b860d 100644 --- a/packages/zoe/package.json +++ b/packages/zoe/package.json @@ -13,7 +13,7 @@ "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", "test": "ava --verbose", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:unit": "ava 'test/unitTests' -T 1m --verbose", "test:swingset": "ava 'test/swingsetTests' -T 10m --verbose", "test:xs": "yarn test:xs-worker", @@ -73,7 +73,7 @@ "@endo/init": "^1.1.7", "@agoric/kmarshal": "^0.1.0", "ava": "^5.3.0", - "c8": "^9.1.0", + "c8": "^10.1.2", "import-meta-resolve": "^2.2.1", "tsd": "^0.31.1" }, diff --git a/packages/zone/package.json b/packages/zone/package.json index 9ee496592b2..f7d61fd0162 100644 --- a/packages/zone/package.json +++ b/packages/zone/package.json @@ -10,7 +10,7 @@ "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'", "test": "ava", - "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", + "test:c8": "c8 --all ava", "test:xs": "exit 0", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", diff --git a/scripts/ava-nesm.cjs b/scripts/ava-nesm.cjs deleted file mode 100755 index 8b922b98ffc..00000000000 --- a/scripts/ava-nesm.cjs +++ /dev/null @@ -1,16 +0,0 @@ -#! /usr/bin/env node -const fs = require('fs'); -const packageJson = fs.readFileSync('package.json', 'utf-8'); -const package = JSON.parse(packageJson); -const { ava: avaConfig } = package; -if (avaConfig.require) { - const newRequire = avaConfig.require.filter(m => m !== 'esm'); - if (newRequire.length) { - avaConfig.require = newRequire; - } else { - delete avaConfig.require; - } -} -process.stdout.write(`\ -export default ${JSON.stringify(avaConfig, undefined, 2)}; -`); diff --git a/yarn.lock b/yarn.lock index 9e50299b5d4..dc3907130c3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1599,23 +1599,11 @@ "@endo/zip" "^1.0.9" ses "^1.10.0" -"@endo/env-options@^1.1.7": - version "1.1.7" - resolved "https://registry.yarnpkg.com/@endo/env-options/-/env-options-1.1.7.tgz#f8f9186010cff12506fdd8f5c8cd4d9051830fd8" - integrity sha512-8twSTbM45rzIP0lHw99ei1EaW98H2BXYKjCTUcq1qgK2OvQWaoiXNcJvUQQo1g7i3oPwbXTQsY69L+nTNeCDyA== - "@endo/env-options@^1.1.8": version "1.1.8" resolved "https://registry.yarnpkg.com/@endo/env-options/-/env-options-1.1.8.tgz#dbfcfbf7574f2a793155281d035c8d6f809f5828" integrity sha512-Xtxw9n33I4guo8q0sDyZiRuxlfaopM454AKiELgU7l3tqsylCut6IBZ0fPy4ltSHsBib7M3yF7OEMoIuLwzWVg== -"@endo/errors@^1.2.7": - version "1.2.7" - resolved "https://registry.yarnpkg.com/@endo/errors/-/errors-1.2.7.tgz#cd8513a8e5544f4caec3eb47dd2ec101b445ea8f" - integrity sha512-StTidOD6ermjj46VGXHdsRrPDyvD7+xsT1x20hZlYe+bZfUn0q/JvqMq51O2/fVA0UPuVu61uQXD7m5MH7sklw== - dependencies: - ses "^1.9.1" - "@endo/errors@^1.2.8": version "1.2.8" resolved "https://registry.yarnpkg.com/@endo/errors/-/errors-1.2.8.tgz#c2ead8072c92115d5959e2d9ca4d1e46b8e0d8fc" @@ -1643,13 +1631,6 @@ "@babel/traverse" "^7.23.6" source-map-js "^1.2.0" -"@endo/eventual-send@^1.2.7": - version "1.2.7" - resolved "https://registry.yarnpkg.com/@endo/eventual-send/-/eventual-send-1.2.7.tgz#b4f5408bba1dd1974f147ecb8c346d443b5a31f5" - integrity sha512-5acCJhp2OBgQc9/Sp1BKpMu1xZHvaXaZa7UybRhc5qEKlC1AHt936wkVdypER96pEVllnNYJi1lBoqBfiV5zag== - dependencies: - "@endo/env-options" "^1.1.7" - "@endo/eventual-send@^1.2.8": version "1.2.8" resolved "https://registry.yarnpkg.com/@endo/eventual-send/-/eventual-send-1.2.8.tgz#83bf2ec4a940f2b8d2992eba6902d15eb43ec8f1" @@ -1670,16 +1651,7 @@ "@endo/pass-style" "^1.4.7" "@endo/patterns" "^1.4.7" -"@endo/far@^1.0.0": - version "1.1.8" - resolved "https://registry.yarnpkg.com/@endo/far/-/far-1.1.8.tgz#c8212b8182dd671719dc54e55f6406115f2966de" - integrity sha512-xtfKPj1bhefpMouI+6q6zjfwDSSnaCZaSDqjClBrx6SnEO1B3ARdxtmiMEOgCdsw1XakvQwq8HDUWqDWEusJFQ== - dependencies: - "@endo/errors" "^1.2.7" - "@endo/eventual-send" "^1.2.7" - "@endo/pass-style" "^1.4.6" - -"@endo/far@^1.1.9": +"@endo/far@^1.0.0", "@endo/far@^1.1.9": version "1.1.9" resolved "https://registry.yarnpkg.com/@endo/far/-/far-1.1.9.tgz#ef14b5d4137309498978f002d4412786c8a879b2" integrity sha512-R7EBw1T4Wqysh0Q/tNkpth0eb18Y+iigyzYVIbLIs0uZztr5GHLwAOUWGkceCJJ51dSgV9kYiDDeM0wBwv+ZoQ== @@ -1754,17 +1726,6 @@ "@endo/stream" "^1.2.8" ses "^1.10.0" -"@endo/pass-style@^1.4.6": - version "1.4.6" - resolved "https://registry.yarnpkg.com/@endo/pass-style/-/pass-style-1.4.6.tgz#75092d33ad5183be120fb662361eef44c28f7768" - integrity sha512-9Tjvi2ZEek9xOOsGy4C5n1yQc91ciqi1r2LNA8BERsl/1g2AuXOtRb/cIVgeUOt1uumO5E1Wg3yKVkcnwLeVqg== - dependencies: - "@endo/env-options" "^1.1.7" - "@endo/errors" "^1.2.7" - "@endo/eventual-send" "^1.2.7" - "@endo/promise-kit" "^1.1.7" - "@fast-check/ava" "^1.1.5" - "@endo/pass-style@^1.4.7": version "1.4.7" resolved "https://registry.yarnpkg.com/@endo/pass-style/-/pass-style-1.4.7.tgz#8a8fd5b23322a4ece80ac6d56502ab8049609263" @@ -1787,13 +1748,6 @@ "@endo/marshal" "^1.6.2" "@endo/promise-kit" "^1.1.8" -"@endo/promise-kit@^1.1.7": - version "1.1.7" - resolved "https://registry.yarnpkg.com/@endo/promise-kit/-/promise-kit-1.1.7.tgz#04c84ef2a2047b94925fcc8ad4feb22cb0a7b2a0" - integrity sha512-WuelSrrgyi01ieUAlaVmQPWOPcKWpifF6t6Cr6ef0Wrmpygp3d45/ucOqKkuVlBckfMQh24/KxAhsiovgy2N2A== - dependencies: - ses "^1.9.1" - "@endo/promise-kit@^1.1.8": version "1.1.8" resolved "https://registry.yarnpkg.com/@endo/promise-kit/-/promise-kit-1.1.8.tgz#412c7fc746b331fe9f3df2fe1ad5a0944a875013" @@ -3820,14 +3774,7 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@>=13.7.0", "@types/node@^22.0.0": - version "22.0.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.0.tgz#04862a2a71e62264426083abe1e27e87cac05a30" - integrity sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw== - dependencies: - undici-types "~6.11.1" - -"@types/node@22.7.5": +"@types/node@*", "@types/node@22.7.5", "@types/node@>=13.7.0", "@types/node@^22.0.0": version "22.7.5" resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.5.tgz#cfde981727a7ab3611a481510b473ae54442b92b" integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ== @@ -4798,10 +4745,10 @@ bytes@3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -c8@^9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/c8/-/c8-9.1.0.tgz#0e57ba3ab9e5960ab1d650b4a86f71e53cb68112" - integrity sha512-mBWcT5iqNir1zIkzSPyI3NCR9EZCVI3WUD+AVO17MVWTSFNyUueXE82qTeampNtTr+ilN/5Ua3j24LgbCKjDVg== +c8@^10.1.2: + version "10.1.2" + resolved "https://registry.yarnpkg.com/c8/-/c8-10.1.2.tgz#7fe04ced150316e2a623612ab78378289f7e6a9f" + integrity sha512-Qr6rj76eSshu5CgRYvktW0uM0CFY0yi4Fd5D0duDXO6sYinyopmftUiJVuzBQxQcwQLor7JWDVRP+dUfCmzgJw== dependencies: "@bcoe/v8-coverage" "^0.2.3" "@istanbuljs/schema" "^0.1.3" @@ -4810,7 +4757,7 @@ c8@^9.1.0: istanbul-lib-coverage "^3.2.0" istanbul-lib-report "^3.0.1" istanbul-reports "^3.1.6" - test-exclude "^6.0.0" + test-exclude "^7.0.1" v8-to-istanbul "^9.0.0" yargs "^17.7.2" yargs-parser "^21.1.1" @@ -7139,16 +7086,17 @@ glob@8.0.3: minimatch "^5.0.1" once "^1.3.0" -glob@^10.0.0, glob@^10.2.2, glob@^10.3.7: - version "10.3.10" - resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" - integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== +glob@^10.0.0, glob@^10.2.2, glob@^10.3.7, glob@^10.4.1: + version "10.4.5" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" + integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== dependencies: foreground-child "^3.1.0" - jackspeak "^2.3.5" - minimatch "^9.0.1" - minipass "^5.0.0 || ^6.0.2 || ^7.0.0" - path-scurry "^1.10.1" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^1.11.1" glob@^7.0.0, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.2.3" @@ -8093,10 +8041,10 @@ istanbul-reports@^3.1.6: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -jackspeak@^2.3.5: - version "2.3.6" - resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" - integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== +jackspeak@^3.1.2: + version "3.4.3" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" + integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== dependencies: "@isaacs/cliui" "^8.0.2" optionalDependencies: @@ -8619,6 +8567,11 @@ long@*, long@^5.0.0, long@^5.2.0, long@^5.2.1: resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== +lru-cache@^10.2.0: + version "10.4.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== + lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -8638,11 +8591,6 @@ lru-cache@^7.14.0, lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== -"lru-cache@^9.1.1 || ^10.0.0": - version "10.0.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.0.tgz#b9e2a6a72a129d81ab317202d93c7691df727e61" - integrity sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw== - lru-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" @@ -9187,7 +9135,7 @@ minimatch@5.1.0: dependencies: brace-expansion "^2.0.1" -"minimatch@6 || 7 || 8 || 9", minimatch@^9.0.1, minimatch@^9.0.4, minimatch@^9.0.5: +"minimatch@6 || 7 || 8 || 9", minimatch@^9.0.4, minimatch@^9.0.5: version "9.0.5" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== @@ -9297,10 +9245,10 @@ minipass@^5.0.0: resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.3: - version "7.0.4" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" - integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.3, minipass@^7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" + integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" @@ -10100,6 +10048,11 @@ p-waterfall@^2.1.1: dependencies: p-reduce "^2.0.0" +package-json-from-dist@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" + integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== + pacote@^13.0.3, pacote@^13.6.1: version "13.6.2" resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.6.2.tgz#0d444ba3618ab3e5cd330b451c22967bbd0ca48a" @@ -10269,12 +10222,12 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-scurry@^1.10.1: - version "1.10.1" - resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" - integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== +path-scurry@^1.11.1: + version "1.11.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== dependencies: - lru-cache "^9.1.1 || ^10.0.0" + lru-cache "^10.2.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" path-to-regexp@^0.1.2: @@ -11141,13 +11094,6 @@ ses@^1.10.0: dependencies: "@endo/env-options" "^1.1.8" -ses@^1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/ses/-/ses-1.9.1.tgz#54991a775cea5f9e27292bbb6706941a8203062a" - integrity sha512-izNBxTLopF1wi5CvMdJYfCLWRYZtHGCKEtr2cbBl/Dqz3qzmDFep24I3vUAWye0GYh8aUgLLuGHbfvs5IRKasg== - dependencies: - "@endo/env-options" "^1.1.7" - set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -11849,6 +11795,15 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" +test-exclude@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-7.0.1.tgz#20b3ba4906ac20994e275bbcafd68d510264c2a2" + integrity sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^10.4.1" + minimatch "^9.0.4" + text-extensions@^1.0.0: version "1.9.0" resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" @@ -12029,12 +11984,7 @@ tsimp@^2.0.11: sock-daemon "^1.4.2" walk-up-path "^3.0.1" -"tslib@1 || 2", tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" - integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== - -tslib@2.7.0: +"tslib@1 || 2", tslib@2.7.0, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.6.2: version "2.7.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== @@ -12252,11 +12202,6 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" -undici-types@~6.11.1: - version "6.11.1" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.11.1.tgz#432ea6e8efd54a48569705a699e62d8f4981b197" - integrity sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ== - undici-types@~6.19.2: version "6.19.8" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"