From 686ce6c7caf6be6f0c6b37e8b83e746cac95a1cd Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 6 Dec 2023 16:25:29 +1300 Subject: [PATCH] update effect (#410) --- .changeset/long-falcons-eat.md | 5 + package.json | 38 +- pnpm-lock.yaml | 664 +++++++++++++++++--------------- src/internal/prompt/confirm.ts | 6 +- src/internal/prompt/date.ts | 6 +- src/internal/prompt/number.ts | 6 +- src/internal/prompt/select.ts | 6 +- src/internal/prompt/text.ts | 6 +- src/internal/prompt/toggle.ts | 6 +- test/CommandDescriptor.test.ts | 1 + test/snapshots/bash-completions | 60 +-- test/snapshots/fish-completions | 40 +- test/snapshots/zsh-completions | 86 ++--- 13 files changed, 498 insertions(+), 432 deletions(-) create mode 100644 .changeset/long-falcons-eat.md diff --git a/.changeset/long-falcons-eat.md b/.changeset/long-falcons-eat.md new file mode 100644 index 0000000..d692e71 --- /dev/null +++ b/.changeset/long-falcons-eat.md @@ -0,0 +1,5 @@ +--- +"@effect/cli": minor +--- + +update effect diff --git a/package.json b/package.json index 4cd94db..20f09a3 100644 --- a/package.json +++ b/package.json @@ -57,11 +57,11 @@ "coverage": "vitest run --coverage" }, "peerDependencies": { - "@effect/platform": "^0.32.1", - "@effect/printer": "^0.25.1", - "@effect/printer-ansi": "^0.26.1", - "@effect/schema": "^0.51.1", - "effect": "2.0.0-next.58" + "@effect/platform": "^0.33.0", + "@effect/printer": "^0.26.0", + "@effect/printer-ansi": "^0.27.0", + "@effect/schema": "^0.52.0", + "effect": "2.0.0-next.59" }, "devDependencies": { "@babel/cli": "^7.23.4", @@ -74,19 +74,19 @@ "@effect/docgen": "^0.3.6", "@effect/eslint-plugin": "^0.1.2", "@effect/language-service": "^0.0.21", - "@effect/platform": "^0.32.1", - "@effect/platform-node": "^0.33.2", - "@effect/printer": "^0.25.1", - "@effect/printer-ansi": "^0.26.1", - "@effect/schema": "^0.51.1", - "@types/node": "^20.10.1", - "@typescript-eslint/eslint-plugin": "^6.13.1", - "@typescript-eslint/parser": "^6.13.1", - "@vitest/coverage-v8": "^0.34.6", + "@effect/platform": "^0.33.0", + "@effect/platform-node": "^0.34.0", + "@effect/printer": "^0.26.0", + "@effect/printer-ansi": "^0.27.0", + "@effect/schema": "^0.52.0", + "@types/node": "^20.10.3", + "@typescript-eslint/eslint-plugin": "^6.13.2", + "@typescript-eslint/parser": "^6.13.2", + "@vitest/coverage-v8": "^1.0.1", "babel-plugin-annotate-pure-calls": "^0.4.0", - "effect": "2.0.0-next.58", + "effect": "2.0.0-next.59", "error-stack-parser": "^2.1.4", - "eslint": "^8.54.0", + "eslint": "^8.55.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-codegen": "^0.21.0", "eslint-plugin-deprecation": "^2.0.0", @@ -97,9 +97,9 @@ "madge": "^6.1.0", "rimraf": "^5.0.5", "stackframe": "^1.3.4", - "tsx": "^4.6.1", + "tsx": "^4.6.2", "typescript": "^5.3.2", - "vite": "^5.0.4", - "vitest": "^0.34.6" + "vite": "^5.0.5", + "vitest": "^1.0.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 711a568..b34b6bd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,7 +28,7 @@ devDependencies: version: 0.5.1 '@effect/docgen': specifier: ^0.3.6 - version: 0.3.6(tsx@4.6.1)(typescript@5.3.2) + version: 0.3.6(tsx@4.6.2)(typescript@5.3.2) '@effect/eslint-plugin': specifier: ^0.1.2 version: 0.1.2 @@ -36,62 +36,62 @@ devDependencies: specifier: ^0.0.21 version: 0.0.21 '@effect/platform': - specifier: ^0.32.1 - version: 0.32.1(@effect/schema@0.51.1)(effect@2.0.0-next.58) + specifier: ^0.33.0 + version: 0.33.0(@effect/schema@0.52.0)(effect@2.0.0-next.59) '@effect/platform-node': - specifier: ^0.33.2 - version: 0.33.2(@effect/schema@0.51.1)(effect@2.0.0-next.58) + specifier: ^0.34.0 + version: 0.34.0(@effect/schema@0.52.0)(effect@2.0.0-next.59) '@effect/printer': - specifier: ^0.25.1 - version: 0.25.1(@effect/typeclass@0.17.1)(effect@2.0.0-next.58) + specifier: ^0.26.0 + version: 0.26.0(@effect/typeclass@0.18.0)(effect@2.0.0-next.59) '@effect/printer-ansi': - specifier: ^0.26.1 - version: 0.26.1(@effect/typeclass@0.17.1)(effect@2.0.0-next.58) + specifier: ^0.27.0 + version: 0.27.0(@effect/typeclass@0.18.0)(effect@2.0.0-next.59) '@effect/schema': - specifier: ^0.51.1 - version: 0.51.1(effect@2.0.0-next.58)(fast-check@3.14.0) + specifier: ^0.52.0 + version: 0.52.0(effect@2.0.0-next.59)(fast-check@3.14.0) '@types/node': - specifier: ^20.10.1 - version: 20.10.1 + specifier: ^20.10.3 + version: 20.10.3 '@typescript-eslint/eslint-plugin': - specifier: ^6.13.1 - version: 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) + specifier: ^6.13.2 + version: 6.13.2(@typescript-eslint/parser@6.13.2)(eslint@8.55.0)(typescript@5.3.2) '@typescript-eslint/parser': - specifier: ^6.13.1 - version: 6.13.1(eslint@8.54.0)(typescript@5.3.2) + specifier: ^6.13.2 + version: 6.13.2(eslint@8.55.0)(typescript@5.3.2) '@vitest/coverage-v8': - specifier: ^0.34.6 - version: 0.34.6(vitest@0.34.6) + specifier: ^1.0.1 + version: 1.0.1(vitest@1.0.1) babel-plugin-annotate-pure-calls: specifier: ^0.4.0 version: 0.4.0(@babel/core@7.23.5) effect: - specifier: 2.0.0-next.58 - version: 2.0.0-next.58 + specifier: 2.0.0-next.59 + version: 2.0.0-next.59 error-stack-parser: specifier: ^2.1.4 version: 2.1.4 eslint: - specifier: ^8.54.0 - version: 8.54.0 + specifier: ^8.55.0 + version: 8.55.0 eslint-import-resolver-typescript: specifier: ^3.6.1 - version: 3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.54.0) + version: 3.6.1(@typescript-eslint/parser@6.13.2)(eslint-plugin-import@2.29.0)(eslint@8.55.0) eslint-plugin-codegen: specifier: ^0.21.0 - version: 0.21.0(eslint@8.54.0) + version: 0.21.0(eslint@8.55.0) eslint-plugin-deprecation: specifier: ^2.0.0 - version: 2.0.0(eslint@8.54.0)(typescript@5.3.2) + version: 2.0.0(eslint@8.55.0)(typescript@5.3.2) eslint-plugin-import: specifier: ^2.29.0 - version: 2.29.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0) + version: 2.29.0(@typescript-eslint/parser@6.13.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0) eslint-plugin-simple-import-sort: specifier: ^10.0.0 - version: 10.0.0(eslint@8.54.0) + version: 10.0.0(eslint@8.55.0) eslint-plugin-sort-destructure-keys: specifier: ^1.5.0 - version: 1.5.0(eslint@8.54.0) + version: 1.5.0(eslint@8.55.0) fast-check: specifier: ^3.14.0 version: 3.14.0 @@ -105,17 +105,17 @@ devDependencies: specifier: ^1.3.4 version: 1.3.4 tsx: - specifier: ^4.6.1 - version: 4.6.1 + specifier: ^4.6.2 + version: 4.6.2 typescript: specifier: ^5.3.2 version: 5.3.2 vite: - specifier: ^5.0.4 - version: 5.0.4(@types/node@20.10.1) + specifier: ^5.0.5 + version: 5.0.5(@types/node@20.10.3) vitest: - specifier: ^0.34.6 - version: 0.34.6 + specifier: ^1.0.1 + version: 1.0.1(@types/node@20.10.3) packages: @@ -654,7 +654,7 @@ packages: hasBin: true dev: true - /@effect/docgen@0.3.6(tsx@4.6.1)(typescript@5.3.2): + /@effect/docgen@0.3.6(tsx@4.6.2)(typescript@5.3.2): resolution: {integrity: sha512-GjEL+DWb/ttzPNvJ1GplOh5hCVVukqpTuZVVImaWkWMcYEphMKyPgw3HcXcEv7Jl/lLWzrjfuz9ClXN2+Zgxiw==} engines: {node: '>=16.17.1'} hasBin: true @@ -666,7 +666,7 @@ packages: glob: 10.3.10 markdown-toc: github.com/effect-ts/markdown-toc/4bfeb0f140105440ea0d12df2fa23199cc3ec1d5 prettier: 3.1.0 - tsx: 4.6.1 + tsx: 4.6.2 typescript: 5.3.2 dev: true @@ -682,69 +682,69 @@ packages: resolution: {integrity: sha512-e8vfKbjnbYiyneBincEFS0tzXluopGK77OkVFbPRtUbNDS5tJfb+jiwOQEiqASDsadcZmd+9J9+Q6v/z7GuN2g==} dev: true - /@effect/platform-node@0.33.2(@effect/schema@0.51.1)(effect@2.0.0-next.58): - resolution: {integrity: sha512-wjomkvwxNIUljBnnog1q0TDWIQKN1N1sjVNfBfU+cj2+06bL8mFbAPuG6g1XTPNd+/y7XYTTuV6Wh4/f+OmL8Q==} + /@effect/platform-node@0.34.0(@effect/schema@0.52.0)(effect@2.0.0-next.59): + resolution: {integrity: sha512-T5GNvJcl3vshkBs/Jg8EbEpce/GA6eVBXWPEyOpusIHNaOfGzLvfAKuElR35K7Rv473UmNiX+yH4rM9+VsyNNA==} peerDependencies: - effect: 2.0.0-next.58 + effect: 2.0.0-next.59 dependencies: - '@effect/platform': 0.32.1(@effect/schema@0.51.1)(effect@2.0.0-next.58) - effect: 2.0.0-next.58 + '@effect/platform': 0.33.0(@effect/schema@0.52.0)(effect@2.0.0-next.59) + effect: 2.0.0-next.59 mime: 3.0.0 multipasta: 0.1.19 transitivePeerDependencies: - '@effect/schema' dev: true - /@effect/platform@0.32.1(@effect/schema@0.51.1)(effect@2.0.0-next.58): - resolution: {integrity: sha512-6hZqIEC2S21kXFluwKX3slXddQe3GhAJCJCwGJq8lNQfWDeOnpOs4tQyNYrTdYEEAy8zA7LwZGRqCbdE5hacdA==} + /@effect/platform@0.33.0(@effect/schema@0.52.0)(effect@2.0.0-next.59): + resolution: {integrity: sha512-WJv91JDpoglNn/iEFq8i/Uye+1W+w44coQikG0PfRyiYg47Jr303xHe6c6KtUijK1DdImXHfA8w6lb0+TN88wg==} peerDependencies: - '@effect/schema': ^0.51.1 - effect: 2.0.0-next.58 + '@effect/schema': ^0.52.0 + effect: 2.0.0-next.59 dependencies: - '@effect/schema': 0.51.1(effect@2.0.0-next.58)(fast-check@3.14.0) - effect: 2.0.0-next.58 + '@effect/schema': 0.52.0(effect@2.0.0-next.59)(fast-check@3.14.0) + effect: 2.0.0-next.59 find-my-way: 7.7.0 multipasta: 0.1.19 path-browserify: 1.0.1 dev: true - /@effect/printer-ansi@0.26.1(@effect/typeclass@0.17.1)(effect@2.0.0-next.58): - resolution: {integrity: sha512-ylDNvOhgpn5UM7jAI5QsQ/Z70G8L9NITxP4sYbvgeCjq/Qp0ssZYBEytEf4taLUT5pYfqmxZLhHO9664ougbRw==} + /@effect/printer-ansi@0.27.0(@effect/typeclass@0.18.0)(effect@2.0.0-next.59): + resolution: {integrity: sha512-voQN7EN5V41z+RDHR4jMhtylNe6uH8o999vahooZB5FusbjRhYpxD3+jD7N0jzlhJvEqMCILpBTGufrKbkqTqg==} peerDependencies: - '@effect/typeclass': ^0.17.1 - effect: 2.0.0-next.58 + '@effect/typeclass': ^0.18.0 + effect: 2.0.0-next.59 dependencies: - '@effect/printer': 0.25.1(@effect/typeclass@0.17.1)(effect@2.0.0-next.58) - '@effect/typeclass': 0.17.1(effect@2.0.0-next.58) - effect: 2.0.0-next.58 + '@effect/printer': 0.26.0(@effect/typeclass@0.18.0)(effect@2.0.0-next.59) + '@effect/typeclass': 0.18.0(effect@2.0.0-next.59) + effect: 2.0.0-next.59 dev: true - /@effect/printer@0.25.1(@effect/typeclass@0.17.1)(effect@2.0.0-next.58): - resolution: {integrity: sha512-aHENp06DwGgo9DlVgD0BcKVbUR1QiWdx6H7R21OXo4IpOtOtRf9o3b/wm3usOfT9GhwhtUpBoE0QfOPVr4VUFg==} + /@effect/printer@0.26.0(@effect/typeclass@0.18.0)(effect@2.0.0-next.59): + resolution: {integrity: sha512-KoGM3FrXYHZgT18ZzlqeRVPb1Ka22nn3FYjunSZhFF3r0STPC4y0bgE54XM2df56j6RR1jAisi5++01i5ELAPQ==} peerDependencies: - '@effect/typeclass': ^0.17.1 - effect: 2.0.0-next.58 + '@effect/typeclass': ^0.18.0 + effect: 2.0.0-next.59 dependencies: - '@effect/typeclass': 0.17.1(effect@2.0.0-next.58) - effect: 2.0.0-next.58 + '@effect/typeclass': 0.18.0(effect@2.0.0-next.59) + effect: 2.0.0-next.59 dev: true - /@effect/schema@0.51.1(effect@2.0.0-next.58)(fast-check@3.14.0): - resolution: {integrity: sha512-ZuULzdmAUTtdC/OFaVsEtc7NUCCElYYBE6LJSc9sYG8sDQisA5AQnWFsRk6MZPxzD2EdpTlKgQE0gysn14sttA==} + /@effect/schema@0.52.0(effect@2.0.0-next.59)(fast-check@3.14.0): + resolution: {integrity: sha512-x6SmSdoL6PeZVAaK895NoRkKF8D/w+XyO8i17cUsQYFJBHNyUTi9Y1H2wrO8TkxhTmC93ejburpM+35/OKCi2Q==} peerDependencies: - effect: 2.0.0-next.58 + effect: 2.0.0-next.59 fast-check: ^3.13.2 dependencies: - effect: 2.0.0-next.58 + effect: 2.0.0-next.59 fast-check: 3.14.0 dev: true - /@effect/typeclass@0.17.1(effect@2.0.0-next.58): - resolution: {integrity: sha512-odB3mUXpwuspDnJSixthbDnNJXP9Ratnf1B4SFuYVgglmLfphKzqDfnBKgM5fhMEZyagOgUUcDr6TjxidR7koQ==} + /@effect/typeclass@0.18.0(effect@2.0.0-next.59): + resolution: {integrity: sha512-g1OqcszdgJaAPyxvCbuaeHuVemuWPNT1ro50QPuuavHu0KZrkrPgRWocqLcuM+xjs7uNDEZl78j6Gmgb+eRRKA==} peerDependencies: - effect: 2.0.0-next.58 + effect: 2.0.0-next.59 dependencies: - effect: 2.0.0-next.58 + effect: 2.0.0-next.59 dev: true /@esbuild/android-arm64@0.18.20: @@ -1143,13 +1143,13 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.54.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.55.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.54.0 + eslint: 8.55.0 eslint-visitor-keys: 3.4.3 dev: true @@ -1158,8 +1158,8 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true - /@eslint/eslintrc@2.1.3: - resolution: {integrity: sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==} + /@eslint/eslintrc@2.1.4: + resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 @@ -1175,8 +1175,8 @@ packages: - supports-color dev: true - /@eslint/js@8.54.0: - resolution: {integrity: sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==} + /@eslint/js@8.55.0: + resolution: {integrity: sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true @@ -1238,7 +1238,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.10.1 + '@types/node': 20.10.3 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1266,13 +1266,6 @@ packages: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@jridgewell/trace-mapping@0.3.19: - resolution: {integrity: sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==} - dependencies: - '@jridgewell/resolve-uri': 3.1.1 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - /@jridgewell/trace-mapping@0.3.20: resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} dependencies: @@ -1334,96 +1327,96 @@ packages: dev: true optional: true - /@rollup/rollup-android-arm-eabi@4.6.0: - resolution: {integrity: sha512-keHkkWAe7OtdALGoutLY3utvthkGF+Y17ws9LYT8pxMBYXaCoH/8dXS2uzo6e8+sEhY7y/zi5RFo22Dy2lFpDw==} + /@rollup/rollup-android-arm-eabi@4.6.1: + resolution: {integrity: sha512-0WQ0ouLejaUCRsL93GD4uft3rOmB8qoQMU05Kb8CmMtMBe7XUDLAltxVZI1q6byNqEtU7N1ZX1Vw5lIpgulLQA==} cpu: [arm] os: [android] requiresBuild: true dev: true optional: true - /@rollup/rollup-android-arm64@4.6.0: - resolution: {integrity: sha512-y3Kt+34smKQNWilicPbBz/MXEY7QwDzMFNgwEWeYiOhUt9MTWKjHqe3EVkXwT2fR7izOvHpDWZ0o2IyD9SWX7A==} + /@rollup/rollup-android-arm64@4.6.1: + resolution: {integrity: sha512-1TKm25Rn20vr5aTGGZqo6E4mzPicCUD79k17EgTLAsXc1zysyi4xXKACfUbwyANEPAEIxkzwue6JZ+stYzWUTA==} cpu: [arm64] os: [android] requiresBuild: true dev: true optional: true - /@rollup/rollup-darwin-arm64@4.6.0: - resolution: {integrity: sha512-oLzzxcUIHltHxOCmaXl+pkIlU+uhSxef5HfntW7RsLh1eHm+vJzjD9Oo4oUKso4YuP4PpbFJNlZjJuOrxo8dPg==} + /@rollup/rollup-darwin-arm64@4.6.1: + resolution: {integrity: sha512-cEXJQY/ZqMACb+nxzDeX9IPLAg7S94xouJJCNVE5BJM8JUEP4HeTF+ti3cmxWeSJo+5D+o8Tc0UAWUkfENdeyw==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /@rollup/rollup-darwin-x64@4.6.0: - resolution: {integrity: sha512-+ANnmjkcOBaV25n0+M0Bere3roeVAnwlKW65qagtuAfIxXF9YxUneRyAn/RDcIdRa7QrjRNJL3jR7T43ObGe8Q==} + /@rollup/rollup-darwin-x64@4.6.1: + resolution: {integrity: sha512-LoSU9Xu56isrkV2jLldcKspJ7sSXmZWkAxg7sW/RfF7GS4F5/v4EiqKSMCFbZtDu2Nc1gxxFdQdKwkKS4rwxNg==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.6.0: - resolution: {integrity: sha512-tBTSIkjSVUyrekddpkAqKOosnj1Fc0ZY0rJL2bIEWPKqlEQk0paORL9pUIlt7lcGJi3LzMIlUGXvtNi1Z6MOCQ==} + /@rollup/rollup-linux-arm-gnueabihf@4.6.1: + resolution: {integrity: sha512-EfI3hzYAy5vFNDqpXsNxXcgRDcFHUWSx5nnRSCKwXuQlI5J9dD84g2Usw81n3FLBNsGCegKGwwTVsSKK9cooSQ==} cpu: [arm] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.6.0: - resolution: {integrity: sha512-Ed8uJI3kM11de9S0j67wAV07JUNhbAqIrDYhQBrQW42jGopgheyk/cdcshgGO4fW5Wjq97COCY/BHogdGvKVNQ==} + /@rollup/rollup-linux-arm64-gnu@4.6.1: + resolution: {integrity: sha512-9lhc4UZstsegbNLhH0Zu6TqvDfmhGzuCWtcTFXY10VjLLUe4Mr0Ye2L3rrtHaDd/J5+tFMEuo5LTCSCMXWfUKw==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-arm64-musl@4.6.0: - resolution: {integrity: sha512-mZoNQ/qK4D7SSY8v6kEsAAyDgznzLLuSFCA3aBHZTmf3HP/dW4tNLTtWh9+LfyO0Z1aUn+ecpT7IQ3WtIg3ViQ==} + /@rollup/rollup-linux-arm64-musl@4.6.1: + resolution: {integrity: sha512-FfoOK1yP5ksX3wwZ4Zk1NgyGHZyuRhf99j64I5oEmirV8EFT7+OhUZEnP+x17lcP/QHJNWGsoJwrz4PJ9fBEXw==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-x64-gnu@4.6.0: - resolution: {integrity: sha512-rouezFHpwCqdEXsqAfNsTgSWO0FoZ5hKv5p+TGO5KFhyN/dvYXNMqMolOb8BkyKcPqjYRBeT+Z6V3aM26rPaYg==} + /@rollup/rollup-linux-x64-gnu@4.6.1: + resolution: {integrity: sha512-DNGZvZDO5YF7jN5fX8ZqmGLjZEXIJRdJEdTFMhiyXqyXubBa0WVLDWSNlQ5JR2PNgDbEV1VQowhVRUh+74D+RA==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-x64-musl@4.6.0: - resolution: {integrity: sha512-Bbm+fyn3S6u51urfj3YnqBXg5vI2jQPncRRELaucmhBVyZkbWClQ1fEsRmdnCPpQOQfkpg9gZArvtMVkOMsh1w==} + /@rollup/rollup-linux-x64-musl@4.6.1: + resolution: {integrity: sha512-RkJVNVRM+piYy87HrKmhbexCHg3A6Z6MU0W9GHnJwBQNBeyhCJG9KDce4SAMdicQnpURggSvtbGo9xAWOfSvIQ==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.6.0: - resolution: {integrity: sha512-+MRMcyx9L2kTrTUzYmR61+XVsliMG4odFb5UmqtiT8xOfEicfYAGEuF/D1Pww1+uZkYhBqAHpvju7VN+GnC3ng==} + /@rollup/rollup-win32-arm64-msvc@4.6.1: + resolution: {integrity: sha512-v2FVT6xfnnmTe3W9bJXl6r5KwJglMK/iRlkKiIFfO6ysKs0rDgz7Cwwf3tjldxQUrHL9INT/1r4VA0n9L/F1vQ==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.6.0: - resolution: {integrity: sha512-rxfeE6K6s/Xl2HGeK6cO8SiQq3k/3BYpw7cfhW5Bk2euXNEpuzi2cc7llxx1si1QgwfjNtdRNTGqdBzGlFZGFw==} + /@rollup/rollup-win32-ia32-msvc@4.6.1: + resolution: {integrity: sha512-YEeOjxRyEjqcWphH9dyLbzgkF8wZSKAKUkldRY6dgNR5oKs2LZazqGB41cWJ4Iqqcy9/zqYgmzBkRoVz3Q9MLw==} cpu: [ia32] os: [win32] requiresBuild: true dev: true optional: true - /@rollup/rollup-win32-x64-msvc@4.6.0: - resolution: {integrity: sha512-QqmCsydHS172Y0Kc13bkMXvipbJSvzeglBncJG3LsYJSiPlxYACz7MmJBs4A8l1oU+jfhYEIC/+AUSlvjmiX/g==} + /@rollup/rollup-win32-x64-msvc@4.6.1: + resolution: {integrity: sha512-0zfTlFAIhgz8V2G8STq8toAjsYYA6eci1hnXuyOTUFnymrtJwnS6uGKiv3v5UrPZkBlamLvrLV2iiaeqCKzb0A==} cpu: [x64] os: [win32] requiresBuild: true @@ -1434,16 +1427,6 @@ packages: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@types/chai-subset@1.3.3: - resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} - dependencies: - '@types/chai': 4.3.10 - dev: true - - /@types/chai@4.3.10: - resolution: {integrity: sha512-of+ICnbqjmFCiixUnqRulbylyXQrPqIGf/B3Jax1wIF3DvSheysQxAWvqHhZiW3IQrycvokcLcFQlveGp+vyNg==} - dev: true - /@types/dedent@0.7.0: resolution: {integrity: sha512-EGlKlgMhnLt/cM4DbUSafFdrkeJoC9Mvnj0PUCU7tFmTjMjNRT957kXCx0wYm3JuEq4o4ZsS5vG+NlkM2DMd2A==} dev: true @@ -1463,11 +1446,7 @@ packages: resolution: {integrity: sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.10.1 - dev: true - - /@types/istanbul-lib-coverage@2.0.4: - resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==} + '@types/node': 20.10.3 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -1531,8 +1510,8 @@ packages: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true - /@types/node@20.10.1: - resolution: {integrity: sha512-T2qwhjWwGH81vUEx4EXmBKsTJRXFXNZTL4v0gi01+zyBmCwzE6TyHszqX01m+QHTEq+EZNo13NeJIdEqf+Myrg==} + /@types/node@20.10.3: + resolution: {integrity: sha512-XJavIpZqiXID5Yxnxv3RUDKTN5b81ddNC3ecsA0SoFXz/QU8OGBwZGMomiq0zw+uuqbL/krztv/DINAQ/EV4gg==} dependencies: undici-types: 5.26.5 dev: true @@ -1567,8 +1546,8 @@ packages: '@types/yargs-parser': 21.0.3 dev: true - /@typescript-eslint/eslint-plugin@6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2): - resolution: {integrity: sha512-5bQDGkXaxD46bPvQt08BUz9YSaO4S0fB1LB5JHQuXTfkGPI3+UUeS387C/e9jRie5GqT8u5kFTrMvAjtX4O5kA==} + /@typescript-eslint/eslint-plugin@6.13.2(@typescript-eslint/parser@6.13.2)(eslint@8.55.0)(typescript@5.3.2): + resolution: {integrity: sha512-3+9OGAWHhk4O1LlcwLBONbdXsAhLjyCFogJY/cWy2lxdVJ2JrcTF2pTGMaLl2AE7U1l31n8Py4a8bx5DLf/0dQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -1579,13 +1558,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/scope-manager': 6.13.1 - '@typescript-eslint/type-utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/visitor-keys': 6.13.1 + '@typescript-eslint/parser': 6.13.2(eslint@8.55.0)(typescript@5.3.2) + '@typescript-eslint/scope-manager': 6.13.2 + '@typescript-eslint/type-utils': 6.13.2(eslint@8.55.0)(typescript@5.3.2) + '@typescript-eslint/utils': 6.13.2(eslint@8.55.0)(typescript@5.3.2) + '@typescript-eslint/visitor-keys': 6.13.2 debug: 4.3.4 - eslint: 8.54.0 + eslint: 8.55.0 graphemer: 1.4.0 ignore: 5.3.0 natural-compare: 1.4.0 @@ -1596,8 +1575,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.13.1(eslint@8.54.0)(typescript@5.3.2): - resolution: {integrity: sha512-fs2XOhWCzRhqMmQf0eicLa/CWSaYss2feXsy7xBD/pLyWke/jCIVc2s1ikEAtSW7ina1HNhv7kONoEfVNEcdDQ==} + /@typescript-eslint/parser@6.13.2(eslint@8.55.0)(typescript@5.3.2): + resolution: {integrity: sha512-MUkcC+7Wt/QOGeVlM8aGGJZy1XV5YKjTpq9jK6r6/iLsGXhBVaGP5N0UYvFsu9BFlSpwY9kMretzdBH01rkRXg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1606,23 +1585,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.13.1 - '@typescript-eslint/types': 6.13.1 - '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) - '@typescript-eslint/visitor-keys': 6.13.1 + '@typescript-eslint/scope-manager': 6.13.2 + '@typescript-eslint/types': 6.13.2 + '@typescript-eslint/typescript-estree': 6.13.2(typescript@5.3.2) + '@typescript-eslint/visitor-keys': 6.13.2 debug: 4.3.4 - eslint: 8.54.0 + eslint: 8.55.0 typescript: 5.3.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager@6.13.1: - resolution: {integrity: sha512-BW0kJ7ceiKi56GbT2KKzZzN+nDxzQK2DS6x0PiSMPjciPgd/JRQGMibyaN2cPt2cAvuoH0oNvn2fwonHI+4QUQ==} + /@typescript-eslint/scope-manager@6.13.2: + resolution: {integrity: sha512-CXQA0xo7z6x13FeDYCgBkjWzNqzBn8RXaE3QVQVIUm74fWJLkJkaHmHdKStrxQllGh6Q4eUGyNpMe0b1hMkXFA==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.13.1 - '@typescript-eslint/visitor-keys': 6.13.1 + '@typescript-eslint/types': 6.13.2 + '@typescript-eslint/visitor-keys': 6.13.2 dev: true /@typescript-eslint/scope-manager@6.7.5: @@ -1633,8 +1612,8 @@ packages: '@typescript-eslint/visitor-keys': 6.7.5 dev: true - /@typescript-eslint/type-utils@6.13.1(eslint@8.54.0)(typescript@5.3.2): - resolution: {integrity: sha512-A2qPlgpxx2v//3meMqQyB1qqTg1h1dJvzca7TugM3Yc2USDY+fsRBiojAEo92HO7f5hW5mjAUF6qobOPzlBCBQ==} + /@typescript-eslint/type-utils@6.13.2(eslint@8.55.0)(typescript@5.3.2): + resolution: {integrity: sha512-Qr6ssS1GFongzH2qfnWKkAQmMUyZSyOr0W54nZNU1MDfo+U4Mv3XveeLZzadc/yq8iYhQZHYT+eoXJqnACM1tw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1643,10 +1622,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) - '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/typescript-estree': 6.13.2(typescript@5.3.2) + '@typescript-eslint/utils': 6.13.2(eslint@8.55.0)(typescript@5.3.2) debug: 4.3.4 - eslint: 8.54.0 + eslint: 8.55.0 ts-api-utils: 1.0.3(typescript@5.3.2) typescript: 5.3.2 transitivePeerDependencies: @@ -1663,8 +1642,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/types@6.13.1: - resolution: {integrity: sha512-gjeEskSmiEKKFIbnhDXUyiqVma1gRCQNbVZ1C8q7Zjcxh3WZMbzWVfGE9rHfWd1msQtPS0BVD9Jz9jded44eKg==} + /@typescript-eslint/types@6.13.2: + resolution: {integrity: sha512-7sxbQ+EMRubQc3wTfTsycgYpSujyVbI1xw+3UMRUcrhSy+pN09y/lWzeKDbvhoqcRbHdc+APLs/PWYi/cisLPg==} engines: {node: ^16.0.0 || >=18.0.0} dev: true @@ -1715,8 +1694,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.13.1(typescript@5.3.2): - resolution: {integrity: sha512-sBLQsvOC0Q7LGcUHO5qpG1HxRgePbT6wwqOiGLpR8uOJvPJbfs0mW3jPA3ujsDvfiVwVlWUDESNXv44KtINkUQ==} + /@typescript-eslint/typescript-estree@6.13.2(typescript@5.3.2): + resolution: {integrity: sha512-SuD8YLQv6WHnOEtKv8D6HZUzOub855cfPnPMKvdM/Bh1plv1f7Q/0iFUDLKKlxHcEstQnaUU4QZskgQq74t+3w==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1724,8 +1703,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.13.1 - '@typescript-eslint/visitor-keys': 6.13.1 + '@typescript-eslint/types': 6.13.2 + '@typescript-eslint/visitor-keys': 6.13.2 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -1757,38 +1736,38 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.13.1(eslint@8.54.0)(typescript@5.3.2): - resolution: {integrity: sha512-ouPn/zVoan92JgAegesTXDB/oUp6BP1v8WpfYcqh649ejNc9Qv+B4FF2Ff626kO1xg0wWwwG48lAJ4JuesgdOw==} + /@typescript-eslint/utils@6.13.2(eslint@8.55.0)(typescript@5.3.2): + resolution: {integrity: sha512-b9Ptq4eAZUym4idijCRzl61oPCwwREcfDI8xGk751Vhzig5fFZR9CyzDz4Sp/nxSLBYxUPyh4QdIDqWykFhNmQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.55.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 - '@typescript-eslint/scope-manager': 6.13.1 - '@typescript-eslint/types': 6.13.1 - '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) - eslint: 8.54.0 + '@typescript-eslint/scope-manager': 6.13.2 + '@typescript-eslint/types': 6.13.2 + '@typescript-eslint/typescript-estree': 6.13.2(typescript@5.3.2) + eslint: 8.55.0 semver: 7.5.4 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/utils@6.7.5(eslint@8.54.0)(typescript@5.3.2): + /@typescript-eslint/utils@6.7.5(eslint@8.55.0)(typescript@5.3.2): resolution: {integrity: sha512-pfRRrH20thJbzPPlPc4j0UNGvH1PjPlhlCMq4Yx7EGjV7lvEeGX0U6MJYe8+SyFutWgSHsdbJ3BXzZccYggezA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.55.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.3 '@typescript-eslint/scope-manager': 6.7.5 '@typescript-eslint/types': 6.7.5 '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.3.2) - eslint: 8.54.0 + eslint: 8.55.0 semver: 7.5.4 transitivePeerDependencies: - supports-color @@ -1811,11 +1790,11 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@6.13.1: - resolution: {integrity: sha512-NDhQUy2tg6XGNBGDRm1XybOHSia8mcXmlbKWoQP+nm1BIIMxa55shyJfZkHpEBN62KNPLrocSM2PdPcaLgDKMQ==} + /@typescript-eslint/visitor-keys@6.13.2: + resolution: {integrity: sha512-OGznFs0eAQXJsp+xSd6k/O1UbFi/K/L7WjqeRoFE7vadjAF9y0uppXhYNQNEqygjou782maGClOoZwPqF0Drlw==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.13.1 + '@typescript-eslint/types': 6.13.2 eslint-visitor-keys: 3.4.3 dev: true @@ -1831,62 +1810,64 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitest/coverage-v8@0.34.6(vitest@0.34.6): - resolution: {integrity: sha512-fivy/OK2d/EsJFoEoxHFEnNGTg+MmdZBAVK9Ka4qhXR2K3J0DS08vcGVwzDtXSuUMabLv4KtPcpSKkcMXFDViw==} + /@vitest/coverage-v8@1.0.1(vitest@1.0.1): + resolution: {integrity: sha512-Z4a7ig4VjUCT/P+LRB3IZrBRXb9xWRUM8rSBH9cKgfrU1Oe01/K2WJKtGshOnQwXZoSfQtwCGpbnHmB/qJwjcw==} peerDependencies: - vitest: '>=0.32.0 <1' + vitest: ^1.0.0 dependencies: '@ampproject/remapping': 2.2.1 '@bcoe/v8-coverage': 0.2.3 - istanbul-lib-coverage: 3.2.0 + debug: 4.3.4 + istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 4.0.1 istanbul-reports: 3.1.6 - magic-string: 0.30.4 + magic-string: 0.30.5 + magicast: 0.3.2 picocolors: 1.0.0 - std-env: 3.4.3 + std-env: 3.6.0 test-exclude: 6.0.0 - v8-to-istanbul: 9.1.3 - vitest: 0.34.6 + v8-to-istanbul: 9.2.0 + vitest: 1.0.1(@types/node@20.10.3) transitivePeerDependencies: - supports-color dev: true - /@vitest/expect@0.34.6: - resolution: {integrity: sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==} + /@vitest/expect@1.0.1: + resolution: {integrity: sha512-3cdrb/eKD/0tygDX75YscuHEHMUJ70u3UoLSq2eqhWks57AyzvsDQbyn53IhZ0tBN7gA8Jj2VhXiOV2lef7thw==} dependencies: - '@vitest/spy': 0.34.6 - '@vitest/utils': 0.34.6 + '@vitest/spy': 1.0.1 + '@vitest/utils': 1.0.1 chai: 4.3.10 dev: true - /@vitest/runner@0.34.6: - resolution: {integrity: sha512-1CUQgtJSLF47NnhN+F9X2ycxUP0kLHQ/JWvNHbeBfwW8CzEGgeskzNnHDyv1ieKTltuR6sdIHV+nmR6kPxQqzQ==} + /@vitest/runner@1.0.1: + resolution: {integrity: sha512-/+z0vhJ0MfRPT3AyTvAK6m57rzlew/ct8B2a4LMv7NhpPaiI2QLGyOBMB3lcioWdJHjRuLi9aYppfOv0B5aRQA==} dependencies: - '@vitest/utils': 0.34.6 - p-limit: 4.0.0 + '@vitest/utils': 1.0.1 + p-limit: 5.0.0 pathe: 1.1.1 dev: true - /@vitest/snapshot@0.34.6: - resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==} + /@vitest/snapshot@1.0.1: + resolution: {integrity: sha512-wIPtPDGSxEZ+DpNMc94AsybX6LV6uN6sosf5TojyP1m2QbKwiRuLV/5RSsjt1oWViHsTj8mlcwrQQ1zHGO0fMw==} dependencies: magic-string: 0.30.5 pathe: 1.1.1 pretty-format: 29.7.0 dev: true - /@vitest/spy@0.34.6: - resolution: {integrity: sha512-xaCvneSaeBw/cz8ySmF7ZwGvL0lBjfvqc1LpQ/vcdHEvpLn3Ff1vAvjw+CoGn0802l++5L/pxb7whwcWAw+DUQ==} + /@vitest/spy@1.0.1: + resolution: {integrity: sha512-yXwm1uKhBVr/5MhVeSmtNqK+0q2RXIchJt8kokEKdrWLtkPeDgdbZ6SjR1VQGZuNdWL6sSBnLayIyVvcS0qLfA==} dependencies: tinyspy: 2.2.0 dev: true - /@vitest/utils@0.34.6: - resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==} + /@vitest/utils@1.0.1: + resolution: {integrity: sha512-MGPCHkzXbbAyscrhwGzh8uP1HPrTYLWaj1WTDtWSGrpe2yJWLRN9mF9ooKawr6NMOg9vTBtg2JqWLfuLC7Dknw==} dependencies: diff-sequences: 29.6.3 - loupe: 2.3.6 + loupe: 2.3.7 pretty-format: 29.7.0 dev: true @@ -1898,8 +1879,8 @@ packages: acorn: 8.11.2 dev: true - /acorn-walk@8.2.0: - resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} + /acorn-walk@8.3.0: + resolution: {integrity: sha512-FS7hV565M5l1R08MXqo8odwMTB02C2UqzB17RVgu9EyuYFBqJZ3/ZY97sQD5FewVu1UyDFc1yztUDrAwT0EypA==} engines: {node: '>=0.4.0'} dev: true @@ -2223,7 +2204,7 @@ packages: check-error: 1.0.3 deep-eql: 4.1.3 get-func-name: 2.0.2 - loupe: 2.3.6 + loupe: 2.3.7 pathval: 1.1.1 type-detect: 4.0.8 dev: true @@ -2750,8 +2731,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /effect@2.0.0-next.58: - resolution: {integrity: sha512-3JtlhJWIZlKe2krJp8ZsKCWCsKMemRVMNOGKtW6bLbg1ZYDi9riuDO44heqEyh7mVBhGsLh/Ut+Hz4olFbfhyg==} + /effect@2.0.0-next.59: + resolution: {integrity: sha512-EE87vFl0/zIN5lKDtFccU3YCnbPqjxg9rY72obNN65/GE4JOJsXciyX8XC4pIDr3lE6KeJ0le8IXf+A7d92ntQ==} dev: true /electron-to-chromium@1.4.597: @@ -3025,7 +3006,7 @@ packages: - supports-color dev: true - /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.54.0): + /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.13.2)(eslint-plugin-import@2.29.0)(eslint@8.55.0): resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3034,9 +3015,9 @@ packages: dependencies: debug: 4.3.4 enhanced-resolve: 5.15.0 - eslint: 8.54.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0) - eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0) + eslint: 8.55.0 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.13.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0) fast-glob: 3.3.1 get-tsconfig: 4.7.2 is-core-module: 2.13.0 @@ -3048,7 +3029,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.13.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -3069,16 +3050,16 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.2(eslint@8.55.0)(typescript@5.3.2) debug: 3.2.7 - eslint: 8.54.0 + eslint: 8.55.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.54.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.13.2)(eslint-plugin-import@2.29.0)(eslint@8.55.0) transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-codegen@0.21.0(eslint@8.54.0): + /eslint-plugin-codegen@0.21.0(eslint@8.55.0): resolution: {integrity: sha512-L7xNLx8Eskp0oBPUOdtKCd8c2K458baEiJz/3eXVYaST4kuzBguGDpXrjR7ohsVbHJsTgdiJGK0UjkAdu4hdXw==} engines: {node: '>=12.0.0'} dependencies: @@ -3092,9 +3073,9 @@ packages: '@types/jest': 29.0.0 '@types/js-yaml': 3.12.5 '@types/lodash': 4.14.202 - '@types/node': 20.10.1 + '@types/node': 20.10.3 dedent: 1.5.1 - eslint-plugin-markdown: 3.0.1(eslint@8.54.0) + eslint-plugin-markdown: 3.0.1(eslint@8.55.0) expect: 29.7.0 fp-ts: 2.16.1 glob: 10.3.10 @@ -3110,14 +3091,14 @@ packages: - supports-color dev: true - /eslint-plugin-deprecation@2.0.0(eslint@8.54.0)(typescript@5.3.2): + /eslint-plugin-deprecation@2.0.0(eslint@8.55.0)(typescript@5.3.2): resolution: {integrity: sha512-OAm9Ohzbj11/ZFyICyR5N6LbOIvQMp7ZU2zI7Ej0jIc8kiGUERXPNMfw2QqqHD1ZHtjMub3yPZILovYEYucgoQ==} peerDependencies: eslint: ^7.0.0 || ^8.0.0 typescript: ^4.2.4 || ^5.0.0 dependencies: - '@typescript-eslint/utils': 6.7.5(eslint@8.54.0)(typescript@5.3.2) - eslint: 8.54.0 + '@typescript-eslint/utils': 6.7.5(eslint@8.55.0)(typescript@5.3.2) + eslint: 8.55.0 tslib: 2.6.2 tsutils: 3.21.0(typescript@5.3.2) typescript: 5.3.2 @@ -3125,7 +3106,7 @@ packages: - supports-color dev: true - /eslint-plugin-import@2.29.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0): + /eslint-plugin-import@2.29.0(@typescript-eslint/parser@6.13.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0): resolution: {integrity: sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg==} engines: {node: '>=4'} peerDependencies: @@ -3135,16 +3116,16 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.2(eslint@8.55.0)(typescript@5.3.2) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.54.0 + eslint: 8.55.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -3160,33 +3141,33 @@ packages: - supports-color dev: true - /eslint-plugin-markdown@3.0.1(eslint@8.54.0): + /eslint-plugin-markdown@3.0.1(eslint@8.55.0): resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.54.0 + eslint: 8.55.0 mdast-util-from-markdown: 0.8.5 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-simple-import-sort@10.0.0(eslint@8.54.0): + /eslint-plugin-simple-import-sort@10.0.0(eslint@8.55.0): resolution: {integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==} peerDependencies: eslint: '>=5.0.0' dependencies: - eslint: 8.54.0 + eslint: 8.55.0 dev: true - /eslint-plugin-sort-destructure-keys@1.5.0(eslint@8.54.0): + /eslint-plugin-sort-destructure-keys@1.5.0(eslint@8.55.0): resolution: {integrity: sha512-xGLyqHtbFXZNXQSvAiQ4ISBYokrbUywEhmaA50fKtSKgceCv5y3zjoNuZwcnajdM6q29Nxj+oXC9KcqfMsAPrg==} engines: {node: '>=6.0.0'} peerDependencies: eslint: 3 - 8 dependencies: - eslint: 8.54.0 + eslint: 8.55.0 natural-compare-lite: 1.4.0 dev: true @@ -3208,15 +3189,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint@8.54.0: - resolution: {integrity: sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==} + /eslint@8.55.0: + resolution: {integrity: sha512-iyUUAM0PCKj5QpwGfmCAG9XXbZCWsqP/eWAWrG/W0umvjuLRBECwSFdt+rCntju0xEH7teIABPwXpahftIaTdA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.55.0) '@eslint-community/regexpp': 4.10.0 - '@eslint/eslintrc': 2.1.3 - '@eslint/js': 8.54.0 + '@eslint/eslintrc': 2.1.4 + '@eslint/js': 8.55.0 '@humanwhocodes/config-array': 0.11.13 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -3294,6 +3275,21 @@ packages: engines: {node: '>=0.10.0'} dev: true + /execa@8.0.1: + resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} + engines: {node: '>=16.17'} + dependencies: + cross-spawn: 7.0.3 + get-stream: 8.0.1 + human-signals: 5.0.0 + is-stream: 3.0.0 + merge-stream: 2.0.0 + npm-run-path: 5.1.0 + onetime: 6.0.0 + signal-exit: 4.1.0 + strip-final-newline: 3.0.0 + dev: true + /expand-range@1.8.2: resolution: {integrity: sha512-AFASGfIlnIbkKPQwX1yHaDjFvh/1gyKJODme52V6IORh69uEYgZp0o9C+qsIGNVEiuuhQU0CSSl++Rlegg1qvA==} engines: {node: '>=0.10.0'} @@ -3607,6 +3603,11 @@ packages: resolution: {integrity: sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==} dev: true + /get-stream@8.0.1: + resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} + engines: {node: '>=16'} + dev: true + /get-symbol-description@1.0.0: resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} engines: {node: '>= 0.4'} @@ -3806,6 +3807,11 @@ packages: resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} dev: true + /human-signals@5.0.0: + resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} + engines: {node: '>=16.17.0'} + dev: true + /iconv-lite@0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} @@ -4083,6 +4089,11 @@ packages: call-bind: 1.0.2 dev: true + /is-stream@3.0.0: + resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true + /is-string@1.0.7: resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} engines: {node: '>= 0.4'} @@ -4160,8 +4171,8 @@ packages: engines: {node: '>=0.10.0'} dev: true - /istanbul-lib-coverage@3.2.0: - resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==} + /istanbul-lib-coverage@3.2.2: + resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} engines: {node: '>=8'} dev: true @@ -4169,7 +4180,7 @@ packages: resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} engines: {node: '>=10'} dependencies: - istanbul-lib-coverage: 3.2.0 + istanbul-lib-coverage: 3.2.2 make-dir: 4.0.0 supports-color: 7.2.0 dev: true @@ -4179,7 +4190,7 @@ packages: engines: {node: '>=10'} dependencies: debug: 4.3.4 - istanbul-lib-coverage: 3.2.0 + istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: - supports-color @@ -4247,7 +4258,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.10.1 + '@types/node': 20.10.3 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4385,9 +4396,12 @@ packages: strip-bom: 3.0.0 dev: true - /local-pkg@0.4.3: - resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} + /local-pkg@0.5.0: + resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} engines: {node: '>=14'} + dependencies: + mlly: 1.4.2 + pkg-types: 1.0.3 dev: true /locate-path@5.0.0: @@ -4441,8 +4455,8 @@ packages: is-unicode-supported: 0.1.0 dev: true - /loupe@2.3.6: - resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} + /loupe@2.3.7: + resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} dependencies: get-func-name: 2.0.2 dev: true @@ -4509,18 +4523,19 @@ packages: - supports-color dev: true - /magic-string@0.30.4: - resolution: {integrity: sha512-Q/TKtsC5BPm0kGqgBIF9oXAs/xEf2vRKiIB4wCRQTJOQIByZ1d+NnUOotvJOvNpi5RNIgVOMC3pOuaP1ZTDlVg==} + /magic-string@0.30.5: + resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /magic-string@0.30.5: - resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} - engines: {node: '>=12'} + /magicast@0.3.2: + resolution: {integrity: sha512-Fjwkl6a0syt9TFN0JSYpOybxiMCkYNEeOTnOTNRbjphirLakznZXAqrXgj/7GG3D1dvETONNwrBfinvAbpunDg==} dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 + '@babel/parser': 7.23.5 + '@babel/types': 7.23.5 + source-map-js: 1.0.2 dev: true /make-dir@2.1.0: @@ -4590,6 +4605,10 @@ packages: yargs-parser: 18.1.3 dev: true + /merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: true + /merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} @@ -4623,6 +4642,11 @@ packages: engines: {node: '>=6'} dev: true + /mimic-fn@4.0.0: + resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} + engines: {node: '>=12'} + dev: true + /min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} @@ -4678,7 +4702,7 @@ packages: acorn: 8.11.2 pathe: 1.1.1 pkg-types: 1.0.3 - ufo: 1.3.1 + ufo: 1.3.2 dev: true /module-definition@3.4.0: @@ -4785,6 +4809,13 @@ packages: dev: true optional: true + /npm-run-path@5.1.0: + resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + path-key: 4.0.0 + dev: true + /object-inspect@1.12.3: resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} dev: true @@ -4855,6 +4886,13 @@ packages: mimic-fn: 2.1.0 dev: true + /onetime@6.0.0: + resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} + engines: {node: '>=12'} + dependencies: + mimic-fn: 4.0.0 + dev: true + /optionator@0.9.3: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} @@ -4912,9 +4950,9 @@ packages: yocto-queue: 0.1.0 dev: true - /p-limit@4.0.0: - resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + /p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} dependencies: yocto-queue: 1.0.0 dev: true @@ -4995,6 +5033,11 @@ packages: engines: {node: '>=8'} dev: true + /path-key@4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} + engines: {node: '>=12'} + dev: true + /path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} dev: true @@ -5084,6 +5127,15 @@ packages: source-map-js: 1.0.2 dev: true + /postcss@8.4.32: + resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.0 + source-map-js: 1.0.2 + dev: true + /precinct@8.3.1: resolution: {integrity: sha512-pVppfMWLp2wF68rwHqBIpPBYY8Kd12lDhk8LVQzOwqllifVR15qNFyod43YLyFpurKRZQKnE7E4pofAagDOm2Q==} engines: {node: ^10.13 || ^12 || >=14} @@ -5415,23 +5467,23 @@ packages: glob: 10.3.10 dev: true - /rollup@4.6.0: - resolution: {integrity: sha512-R8i5Her4oO1LiMQ3jKf7MUglYV/mhQ5g5OKeld5CnkmPdIGo79FDDQYqPhq/PCVuTQVuxsWgIbDy9F+zdHn80w==} + /rollup@4.6.1: + resolution: {integrity: sha512-jZHaZotEHQaHLgKr8JnQiDT1rmatjgKlMekyksz+yk9jt/8z9quNjnKNRoaM0wd9DC2QKXjmWWuDYtM3jfF8pQ==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.6.0 - '@rollup/rollup-android-arm64': 4.6.0 - '@rollup/rollup-darwin-arm64': 4.6.0 - '@rollup/rollup-darwin-x64': 4.6.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.6.0 - '@rollup/rollup-linux-arm64-gnu': 4.6.0 - '@rollup/rollup-linux-arm64-musl': 4.6.0 - '@rollup/rollup-linux-x64-gnu': 4.6.0 - '@rollup/rollup-linux-x64-musl': 4.6.0 - '@rollup/rollup-win32-arm64-msvc': 4.6.0 - '@rollup/rollup-win32-ia32-msvc': 4.6.0 - '@rollup/rollup-win32-x64-msvc': 4.6.0 + '@rollup/rollup-android-arm-eabi': 4.6.1 + '@rollup/rollup-android-arm64': 4.6.1 + '@rollup/rollup-darwin-arm64': 4.6.1 + '@rollup/rollup-darwin-x64': 4.6.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.6.1 + '@rollup/rollup-linux-arm64-gnu': 4.6.1 + '@rollup/rollup-linux-arm64-musl': 4.6.1 + '@rollup/rollup-linux-x64-gnu': 4.6.1 + '@rollup/rollup-linux-x64-musl': 4.6.1 + '@rollup/rollup-win32-arm64-msvc': 4.6.1 + '@rollup/rollup-win32-ia32-msvc': 4.6.1 + '@rollup/rollup-win32-x64-msvc': 4.6.1 fsevents: 2.3.3 dev: true @@ -5664,8 +5716,8 @@ packages: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} dev: true - /std-env@3.4.3: - resolution: {integrity: sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q==} + /std-env@3.6.0: + resolution: {integrity: sha512-aFZ19IgVmhdB2uX599ve2kE6BIE3YMnQ6Gp6BURhW/oIzpXGKr878TQfAQZn1+i0Flcc/UKUy1gOlcfaUBCryg==} dev: true /stream-to-array@2.3.0: @@ -5787,6 +5839,11 @@ packages: engines: {node: '>=0.10.0'} dev: true + /strip-final-newline@3.0.0: + resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} + engines: {node: '>=12'} + dev: true + /strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} engines: {node: '>=8'} @@ -5874,8 +5931,8 @@ packages: resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} dev: true - /tinypool@0.7.0: - resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} + /tinypool@0.8.1: + resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} engines: {node: '>=14.0.0'} dev: true @@ -5981,8 +6038,8 @@ packages: typescript: 5.3.2 dev: true - /tsx@4.6.1: - resolution: {integrity: sha512-OQ4TAPHXAPUo/NZAmmIybl0o8LFOTlycQxFepLBAp6EV87U88fOKYGCQI2viGAEOVU9UW/cgQcxcOMnfEKVY3Q==} + /tsx@4.6.2: + resolution: {integrity: sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==} engines: {node: '>=18.0.0'} hasBin: true dependencies: @@ -6098,8 +6155,8 @@ packages: hasBin: true dev: true - /ufo@1.3.1: - resolution: {integrity: sha512-uY/99gMLIOlJPwATcMVYfqDSxUR9//AUcgZMzwfSTJPDKzA1S8mX4VLqa+fiAtveraQUBCz4FFcwVZBGbwBXIw==} + /ufo@1.3.2: + resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==} dev: true /unbox-primitive@1.0.2: @@ -6151,12 +6208,12 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: true - /v8-to-istanbul@9.1.3: - resolution: {integrity: sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==} + /v8-to-istanbul@9.2.0: + resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} engines: {node: '>=10.12.0'} dependencies: - '@jridgewell/trace-mapping': 0.3.19 - '@types/istanbul-lib-coverage': 2.0.4 + '@jridgewell/trace-mapping': 0.3.20 + '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 dev: true @@ -6167,17 +6224,16 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /vite-node@0.34.6(@types/node@20.10.1): - resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} - engines: {node: '>=v14.18.0'} + /vite-node@1.0.1(@types/node@20.10.3): + resolution: {integrity: sha512-Y2Jnz4cr2azsOMMYuVPrQkp3KMnS/0WV8ezZjCy4hU7O5mUHCAVOnFmoEvs1nvix/4mYm74Len8bYRWZJMNP6g==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: cac: 6.7.14 debug: 4.3.4 - mlly: 1.4.2 pathe: 1.1.1 picocolors: 1.0.0 - vite: 5.0.4(@types/node@20.10.1) + vite: 5.0.5(@types/node@20.10.3) transitivePeerDependencies: - '@types/node' - less @@ -6189,8 +6245,8 @@ packages: - terser dev: true - /vite@5.0.4(@types/node@20.10.1): - resolution: {integrity: sha512-RzAr8LSvM8lmhB4tQ5OPcBhpjOZRZjuxv9zO5UcxeoY2bd3kP3Ticd40Qma9/BqZ8JS96Ll/jeBX9u+LJZrhVg==} + /vite@5.0.5(@types/node@20.10.3): + resolution: {integrity: sha512-OekeWqR9Ls56f3zd4CaxzbbS11gqYkEiBtnWFFgYR2WV8oPJRRKq0mpskYy/XaoCL3L7VINDhqqOMNDiYdGvGg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -6217,30 +6273,30 @@ packages: terser: optional: true dependencies: - '@types/node': 20.10.1 + '@types/node': 20.10.3 esbuild: 0.19.8 - postcss: 8.4.31 - rollup: 4.6.0 + postcss: 8.4.32 + rollup: 4.6.1 optionalDependencies: fsevents: 2.3.3 dev: true - /vitest@0.34.6: - resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==} - engines: {node: '>=v14.18.0'} + /vitest@1.0.1(@types/node@20.10.3): + resolution: {integrity: sha512-MHsOj079S28hDsvdDvyD1pRj4dcS51EC5Vbe0xvOYX+WryP8soiK2dm8oULi+oA/8Xa/h6GoJEMTmcmBy5YM+Q==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': ^1.0.0 + '@vitest/ui': ^1.0.0 happy-dom: '*' jsdom: '*' - playwright: '*' - safaridriver: '*' - webdriverio: '*' peerDependenciesMeta: '@edge-runtime/vm': optional: true + '@types/node': + optional: true '@vitest/browser': optional: true '@vitest/ui': @@ -6249,36 +6305,28 @@ packages: optional: true jsdom: optional: true - playwright: - optional: true - safaridriver: - optional: true - webdriverio: - optional: true dependencies: - '@types/chai': 4.3.10 - '@types/chai-subset': 1.3.3 - '@types/node': 20.10.1 - '@vitest/expect': 0.34.6 - '@vitest/runner': 0.34.6 - '@vitest/snapshot': 0.34.6 - '@vitest/spy': 0.34.6 - '@vitest/utils': 0.34.6 - acorn: 8.11.2 - acorn-walk: 8.2.0 + '@types/node': 20.10.3 + '@vitest/expect': 1.0.1 + '@vitest/runner': 1.0.1 + '@vitest/snapshot': 1.0.1 + '@vitest/spy': 1.0.1 + '@vitest/utils': 1.0.1 + acorn-walk: 8.3.0 cac: 6.7.14 chai: 4.3.10 debug: 4.3.4 - local-pkg: 0.4.3 + execa: 8.0.1 + local-pkg: 0.5.0 magic-string: 0.30.5 pathe: 1.1.1 picocolors: 1.0.0 - std-env: 3.4.3 + std-env: 3.6.0 strip-literal: 1.3.0 tinybench: 2.5.1 - tinypool: 0.7.0 - vite: 5.0.4(@types/node@20.10.1) - vite-node: 0.34.6(@types/node@20.10.1) + tinypool: 0.8.1 + vite: 5.0.5(@types/node@20.10.3) + vite-node: 1.0.1(@types/node@20.10.3) why-is-node-running: 2.2.2 transitivePeerDependencies: - less diff --git a/src/internal/prompt/confirm.ts b/src/internal/prompt/confirm.ts index 1707dd5..3dae9e3 100644 --- a/src/internal/prompt/confirm.ts +++ b/src/internal/prompt/confirm.ts @@ -63,7 +63,8 @@ const renderNextFrame = ( Effect.gen(function*(_) { const terminal = yield* _(Terminal.Terminal) const figures = yield* _(InternalAnsiUtils.figures) - const clearScreen = renderClearScreen(prevState, options, terminal.columns) + const columns = yield* _(terminal.columns) + const clearScreen = renderClearScreen(prevState, options, columns) const leadingSymbol = Doc.annotate(Doc.text("?"), Ansi.cyanBright) const trailingSymbol = Doc.annotate(figures.pointerSmall, Ansi.blackBright) const confirmAnnotation = Ansi.blackBright @@ -92,7 +93,8 @@ const renderSubmission = ( Effect.gen(function*(_) { const terminal = yield* _(Terminal.Terminal) const figures = yield* _(InternalAnsiUtils.figures) - const clearScreen = renderClearScreen(Option.some(nextState), options, terminal.columns) + const columns = yield* _(terminal.columns) + const clearScreen = renderClearScreen(Option.some(nextState), options, columns) const leadingSymbol = Doc.annotate(figures.tick, Ansi.green) const trailingSymbol = Doc.annotate(figures.ellipsis, Ansi.blackBright) const confirmMessage = value ? options.label.confirm : options.label.deny diff --git a/src/internal/prompt/date.ts b/src/internal/prompt/date.ts index b6b65b0..cef036b 100644 --- a/src/internal/prompt/date.ts +++ b/src/internal/prompt/date.ts @@ -111,7 +111,8 @@ const renderNextFrame = ( Effect.gen(function*(_) { const terminal = yield* _(Terminal.Terminal) const figures = yield* _(InternalAnsiUtils.figures) - const clearScreen = renderClearScreen(prevState, options, terminal.columns) + const columns = yield* _(terminal.columns) + const clearScreen = renderClearScreen(prevState, options, columns) const leadingSymbol = Doc.annotate(Doc.text("?"), Ansi.cyanBright) const trailingSymbol = Doc.annotate(figures.pointerSmall, Ansi.blackBright) const parts = renderParts(nextState) @@ -131,7 +132,8 @@ const renderSubmission = (nextState: State, options: Required( Effect.gen(function*(_) { const terminal = yield* _(Terminal.Terminal) const figures = yield* _(InternalAnsiUtils.figures) + const columns = yield* _(terminal.columns) const choices = renderChoices(nextState, options, figures) - const clearScreen = renderClearScreen(prevState, options, terminal.columns) + const clearScreen = renderClearScreen(prevState, options, columns) const leadingSymbol = Doc.annotate(Doc.text("?"), Ansi.cyanBright) const trailingSymbol = Doc.annotate(figures.pointerSmall, Ansi.blackBright) const promptMsg = renderOutput(leadingSymbol, trailingSymbol, options) @@ -154,8 +155,9 @@ const renderSubmission = ( Effect.gen(function*(_) { const terminal = yield* _(Terminal.Terminal) const figures = yield* _(InternalAnsiUtils.figures) + const columns = yield* _(terminal.columns) const selected = Doc.text(options.choices[state.cursor].title) - const clearScreen = renderClearScreen(Option.some(state), options, terminal.columns) + const clearScreen = renderClearScreen(Option.some(state), options, columns) const leadingSymbol = Doc.annotate(figures.tick, Ansi.green) const trailingSymbol = Doc.annotate(figures.ellipsis, Ansi.blackBright) const promptMsg = renderOutput(leadingSymbol, trailingSymbol, options) diff --git a/src/internal/prompt/text.ts b/src/internal/prompt/text.ts index fa4ecf2..97bc49f 100644 --- a/src/internal/prompt/text.ts +++ b/src/internal/prompt/text.ts @@ -131,7 +131,8 @@ const renderNextFrame = ( Effect.gen(function*(_) { const terminal = yield* _(Terminal.Terminal) const figures = yield* _(InternalAnsiUtils.figures) - const clearScreen = renderClearScreen(prevState, options, terminal.columns) + const columns = yield* _(terminal.columns) + const clearScreen = renderClearScreen(prevState, options, columns) const leadingSymbol = Doc.annotate(Doc.text("?"), Ansi.cyanBright) const trailingSymbol = Doc.annotate(figures.pointerSmall, Ansi.blackBright) const promptMsg = renderOutput(nextState, leadingSymbol, trailingSymbol, options) @@ -153,7 +154,8 @@ const renderSubmission = ( Effect.gen(function*(_) { const terminal = yield* _(Terminal.Terminal) const figures = yield* _(InternalAnsiUtils.figures) - const clearScreen = renderClearScreen(Option.some(nextState), options, terminal.columns) + const columns = yield* _(terminal.columns) + const clearScreen = renderClearScreen(Option.some(nextState), options, columns) const leadingSymbol = Doc.annotate(figures.tick, Ansi.green) const trailingSymbol = Doc.annotate(figures.ellipsis, Ansi.blackBright) const promptMsg = renderOutput(nextState, leadingSymbol, trailingSymbol, options, true) diff --git a/src/internal/prompt/toggle.ts b/src/internal/prompt/toggle.ts index f1f9da2..b5ede61 100644 --- a/src/internal/prompt/toggle.ts +++ b/src/internal/prompt/toggle.ts @@ -77,7 +77,8 @@ const renderNextFrame = ( Effect.gen(function*(_) { const terminal = yield* _(Terminal.Terminal) const figures = yield* _(InternalAnsiUtils.figures) - const clearScreen = renderClearScreen(prevState, options, terminal.columns) + const columns = yield* _(terminal.columns) + const clearScreen = renderClearScreen(prevState, options, columns) const leadingSymbol = Doc.annotate(Doc.text("?"), Ansi.cyanBright) const trailingSymbol = Doc.annotate(figures.pointerSmall, Ansi.blackBright) const toggle = renderToggle(nextState.value, options) @@ -99,7 +100,8 @@ const renderSubmission = ( Effect.gen(function*(_) { const terminal = yield* _(Terminal.Terminal) const figures = yield* _(InternalAnsiUtils.figures) - const clearScreen = renderClearScreen(Option.some(nextState), options, terminal.columns) + const columns = yield* _(terminal.columns) + const clearScreen = renderClearScreen(Option.some(nextState), options, columns) const leadingSymbol = Doc.annotate(figures.tick, Ansi.green) const trailingSymbol = Doc.annotate(figures.ellipsis, Ansi.blackBright) const toggle = renderToggle(value, options, true) diff --git a/test/CommandDescriptor.test.ts b/test/CommandDescriptor.test.ts index e708e31..4d4b1ed 100644 --- a/test/CommandDescriptor.test.ts +++ b/test/CommandDescriptor.test.ts @@ -466,6 +466,7 @@ describe("Command", () => { it("should create completions for the zsh shell", () => Effect.gen(function*(_) { const result = yield* _(Descriptor.getZshCompletions(command, "forge")) + console.log(result) yield* _( Effect.promise(() => expect(result).toMatchFileSnapshot("./snapshots/zsh-completions")) ) diff --git a/test/snapshots/bash-completions b/test/snapshots/bash-completions index 7a11eb5..2882a7c 100644 --- a/test/snapshots/bash-completions +++ b/test/snapshots/bash-completions @@ -2,90 +2,90 @@ "function _forge_bash_completions() {", " local i cur prev opts cmd", " COMPREPLY=()", - " cur=\"${COMP_WORDS[COMP_CWORD]}\"", - " prev=\"${COMP_WORDS[COMP_CWORD-1]}\"", - " cmd=\"\"", - " opts=\"\"", - " for i in \"${COMP_WORDS[@]}\"; do", - " case \"${cmd},${i}\" in", - " \",$1\")", - " cmd=\"forge\"", + " cur="${COMP_WORDS[COMP_CWORD]}"", + " prev="${COMP_WORDS[COMP_CWORD-1]}"", + " cmd=""", + " opts=""", + " for i in "${COMP_WORDS[@]}"; do", + " case "${cmd},${i}" in", + " ",$1")", + " cmd="forge"", " ;;", " forge,cache)", - " cmd=\"forge__cache\"", + " cmd="forge__cache"", " ;;", " forge,cache,clean)", - " cmd=\"forge__cache__clean\"", + " cmd="forge__cache__clean"", " ;;", " forge,cache,ls)", - " cmd=\"forge__cache__ls\"", + " cmd="forge__cache__ls"", " ;;", " *)", " ;;", " esac", " done", - " case \"${cmd}\" in", + " case "${cmd}" in", " forge)", - " opts=\"-h --completions --help --wizard --version cache\"", + " opts="-h --completions --help --wizard --version cache"", " if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then", - " COMPREPLY=( $(compgen -W \"${opts}\" -- \"${cur}\") )", + " COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )", " return 0", " fi", - " case \"${prev}\" in", + " case "${prev}" in", " *)", " COMPREPLY=()", " ;;", " esac", - " COMPREPLY=( $(compgen -W \"${opts}\" -- \"${cur}\") )", + " COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )", " return 0", " ;;", " forge__cache)", - " opts=\"-h --verbose --completions --help --wizard --version clean ls\"", + " opts="-h --verbose --completions --help --wizard --version clean ls"", " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then", - " COMPREPLY=( $(compgen -W \"${opts}\" -- \"${cur}\") )", + " COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )", " return 0", " fi", - " case \"${prev}\" in", + " case "${prev}" in", " --verbose)", - " COMPREPLY=( \"${cur}\" )", + " COMPREPLY=( "${cur}" )", " return 0", " ;;", " *)", " COMPREPLY=()", " ;;", " esac", - " COMPREPLY=( $(compgen -W \"${opts}\" -- \"${cur}\") )", + " COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )", " return 0", " ;;", " forge__cache__clean)", - " opts=\"-h --completions --help --wizard --version\"", + " opts="-h --completions --help --wizard --version"", " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then", - " COMPREPLY=( $(compgen -W \"${opts}\" -- \"${cur}\") )", + " COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )", " return 0", " fi", - " case \"${prev}\" in", + " case "${prev}" in", " *)", " COMPREPLY=()", " ;;", " esac", - " COMPREPLY=( $(compgen -W \"${opts}\" -- \"${cur}\") )", + " COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )", " return 0", " ;;", " forge__cache__ls)", - " opts=\"-h --completions --help --wizard --version\"", + " opts="-h --completions --help --wizard --version"", " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then", - " COMPREPLY=( $(compgen -W \"${opts}\" -- \"${cur}\") )", + " COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )", " return 0", " fi", - " case \"${prev}\" in", + " case "${prev}" in", " *)", " COMPREPLY=()", " ;;", " esac", - " COMPREPLY=( $(compgen -W \"${opts}\" -- \"${cur}\") )", + " COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )", " return 0", " ;;", " esac", "}", "complete -F _forge_bash_completions -o nosort -o bashdefault -o default forge", -] +] \ No newline at end of file diff --git a/test/snapshots/fish-completions b/test/snapshots/fish-completions index 6e4f9a3..1d66b86 100644 --- a/test/snapshots/fish-completions +++ b/test/snapshots/fish-completions @@ -1,22 +1,22 @@ [ - "complete -c forge -n \"__fish_use_subcommand\" -l completions -r -f -a \"{sh'',bash'',fish'',zsh''}\" -d 'Generate a completion script for a specific shell'", - "complete -c forge -n \"__fish_use_subcommand\" -s h -l help -d 'Show the help documentation for a command'", - "complete -c forge -n \"__fish_use_subcommand\" -l wizard -d 'Start wizard mode for a command'", - "complete -c forge -n \"__fish_use_subcommand\" -l version -d 'Show the version of the application'", - "complete -c forge -n \"__fish_use_subcommand\" -f -a \"cache\" -d 'The cache command does cache things'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls\" -l completions -r -f -a \"{sh'',bash'',fish'',zsh''}\" -d 'Generate a completion script for a specific shell'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls\" -s h -l help -d 'Show the help documentation for a command'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls\" -l wizard -d 'Start wizard mode for a command'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls\" -l version -d 'Show the version of the application'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls\" -l verbose -d 'Output in verbose mode'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls\" -f -a \"clean\"", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls\" -f -a \"ls\"", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from clean\" -l completions -r -f -a \"{sh'',bash'',fish'',zsh''}\" -d 'Generate a completion script for a specific shell'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from clean\" -s h -l help -d 'Show the help documentation for a command'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from clean\" -l wizard -d 'Start wizard mode for a command'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from clean\" -l version -d 'Show the version of the application'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from ls\" -l completions -r -f -a \"{sh'',bash'',fish'',zsh''}\" -d 'Generate a completion script for a specific shell'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from ls\" -s h -l help -d 'Show the help documentation for a command'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from ls\" -l wizard -d 'Start wizard mode for a command'", - "complete -c forge -n \"__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from ls\" -l version -d 'Show the version of the application'", + "complete -c forge -n "__fish_use_subcommand" -l completions -r -f -a "{sh'',bash'',fish'',zsh''}" -d 'Generate a completion script for a specific shell'", + "complete -c forge -n "__fish_use_subcommand" -s h -l help -d 'Show the help documentation for a command'", + "complete -c forge -n "__fish_use_subcommand" -l wizard -d 'Start wizard mode for a command'", + "complete -c forge -n "__fish_use_subcommand" -l version -d 'Show the version of the application'", + "complete -c forge -n "__fish_use_subcommand" -f -a "cache" -d 'The cache command does cache things'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls" -l completions -r -f -a "{sh'',bash'',fish'',zsh''}" -d 'Generate a completion script for a specific shell'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls" -s h -l help -d 'Show the help documentation for a command'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls" -l wizard -d 'Start wizard mode for a command'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls" -l version -d 'Show the version of the application'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls" -l verbose -d 'Output in verbose mode'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls" -f -a "clean"", + "complete -c forge -n "__fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from clean; and not __fish_seen_subcommand_from ls" -f -a "ls"", + "complete -c forge -n "__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from clean" -l completions -r -f -a "{sh'',bash'',fish'',zsh''}" -d 'Generate a completion script for a specific shell'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from clean" -s h -l help -d 'Show the help documentation for a command'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from clean" -l wizard -d 'Start wizard mode for a command'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from clean" -l version -d 'Show the version of the application'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from ls" -l completions -r -f -a "{sh'',bash'',fish'',zsh''}" -d 'Generate a completion script for a specific shell'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from ls" -s h -l help -d 'Show the help documentation for a command'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from ls" -l wizard -d 'Start wizard mode for a command'", + "complete -c forge -n "__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from ls" -l version -d 'Show the version of the application'", ] \ No newline at end of file diff --git a/test/snapshots/zsh-completions b/test/snapshots/zsh-completions index 3108b43..bb25e1b 100644 --- a/test/snapshots/zsh-completions +++ b/test/snapshots/zsh-completions @@ -14,55 +14,55 @@ " _arguments_options=(-s -C)", " fi", "", - " local context curcontext=\"$curcontext\" state line", - " _arguments \"${_arguments_options[@]}\" \\", - " '--completions[Generate a completion script for a specific shell]:CHOICE:(sh bash fish zsh)' \\", - " '-h[Show the help documentation for a command]' \\", - " '--help[Show the help documentation for a command]' \\", - " '--wizard[Start wizard mode for a command]' \\", - " '--version[Show the version of the application]' \\", - " \":: :_forge_commands\" \\", - " \"*::: :->forge\" \\", + " local context curcontext="$curcontext" state line", + " _arguments "${_arguments_options[@]}" \", + " '--completions[Generate a completion script for a specific shell]:CHOICE:(sh bash fish zsh)' \", + " '-h[Show the help documentation for a command]' \", + " '--help[Show the help documentation for a command]' \", + " '--wizard[Start wizard mode for a command]' \", + " '--version[Show the version of the application]' \", + " ":: :_forge_commands" \", + " "*::: :->forge" \", " && ret=0", " case $state in", " (forge)", - " words=($line[1] \"${words[@]}\")", + " words=($line[1] "${words[@]}")", " (( CURRENT += 1 ))", - " curcontext=\"${curcontext%:*:*}:forge-command-$line[1]:\"", + " curcontext="${curcontext%:*:*}:forge-command-$line[1]:"", " case $line[1] in", " (cache)", - " _arguments \"${_arguments_options[@]}\" \\", - " '--completions[Generate a completion script for a specific shell]:CHOICE:(sh bash fish zsh)' \\", - " '-h[Show the help documentation for a command]' \\", - " '--help[Show the help documentation for a command]' \\", - " '--wizard[Start wizard mode for a command]' \\", - " '--version[Show the version of the application]' \\", - " '--verbose[Output in verbose mode]' \\", - " \":: :_forge__cache_commands\" \\", - " \"*::: :->cache\" \\", + " _arguments "${_arguments_options[@]}" \", + " '--completions[Generate a completion script for a specific shell]:CHOICE:(sh bash fish zsh)' \", + " '-h[Show the help documentation for a command]' \", + " '--help[Show the help documentation for a command]' \", + " '--wizard[Start wizard mode for a command]' \", + " '--version[Show the version of the application]' \", + " '--verbose[Output in verbose mode]' \", + " ":: :_forge__cache_commands" \", + " "*::: :->cache" \", " && ret=0", " case $state in", " (cache)", - " words=($line[1] \"${words[@]}\")", + " words=($line[1] "${words[@]}")", " (( CURRENT += 1 ))", - " curcontext=\"${curcontext%:*:*}:forge-cache-command-$line[1]:\"", + " curcontext="${curcontext%:*:*}:forge-cache-command-$line[1]:"", " case $line[1] in", " (clean)", - " _arguments \"${_arguments_options[@]}\" \\", - " '--completions[Generate a completion script for a specific shell]:CHOICE:(sh bash fish zsh)' \\", - " '-h[Show the help documentation for a command]' \\", - " '--help[Show the help documentation for a command]' \\", - " '--wizard[Start wizard mode for a command]' \\", - " '--version[Show the version of the application]' \\", + " _arguments "${_arguments_options[@]}" \", + " '--completions[Generate a completion script for a specific shell]:CHOICE:(sh bash fish zsh)' \", + " '-h[Show the help documentation for a command]' \", + " '--help[Show the help documentation for a command]' \", + " '--wizard[Start wizard mode for a command]' \", + " '--version[Show the version of the application]' \", " && ret=0", " ;;", " (ls)", - " _arguments \"${_arguments_options[@]}\" \\", - " '--completions[Generate a completion script for a specific shell]:CHOICE:(sh bash fish zsh)' \\", - " '-h[Show the help documentation for a command]' \\", - " '--help[Show the help documentation for a command]' \\", - " '--wizard[Start wizard mode for a command]' \\", - " '--version[Show the version of the application]' \\", + " _arguments "${_arguments_options[@]}" \", + " '--completions[Generate a completion script for a specific shell]:CHOICE:(sh bash fish zsh)' \", + " '-h[Show the help documentation for a command]' \", + " '--help[Show the help documentation for a command]' \", + " '--wizard[Start wizard mode for a command]' \", + " '--version[Show the version of the application]' \", " && ret=0", " ;;", " esac", @@ -77,31 +77,31 @@ "(( $+functions[_forge_commands] )) ||", "_forge_commands() {", " local commands; commands=( - 'cache:The cache command does cache things' \\ + 'cache:The cache command does cache things' \ )", - " _describe -t commands 'forge commands' commands \"$@\"", + " _describe -t commands 'forge commands' commands "$@"", "}", "(( $+functions[_forge__cache_commands] )) ||", "_forge__cache_commands() {", " local commands; commands=( - 'clean:' \\ - 'ls:' \\ + 'clean:' \ + 'ls:' \ )", - " _describe -t commands 'forge cache commands' commands \"$@\"", + " _describe -t commands 'forge cache commands' commands "$@"", "}", "(( $+functions[_forge__cache__clean_commands] )) ||", "_forge__cache__clean_commands() {", " local commands; commands=()", - " _describe -t commands 'forge cache clean commands' commands \"$@\"", + " _describe -t commands 'forge cache clean commands' commands "$@"", "}", "(( $+functions[_forge__cache__ls_commands] )) ||", "_forge__cache__ls_commands() {", " local commands; commands=()", - " _describe -t commands 'forge cache ls commands' commands \"$@\"", + " _describe -t commands 'forge cache ls commands' commands "$@"", "}", "", - "if [ \"$funcstack[1]\" = \"_forge_zsh_completions\" ]; then", - " _forge_zsh_completions \"$@\"", + "if [ "$funcstack[1]" = "_forge_zsh_completions" ]; then", + " _forge_zsh_completions "$@"", "else", " compdef _forge_zsh_completions forge", "fi",