diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d9cbe7b..8ea236a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [5.1.0](https://github.com/jdx/usage/compare/v5.0.0..v5.1.0) - 2026-08-09 + +### ๐Ÿš€ Features + +- **(spec)** parse usage comments from strings by [@jdx](https://github.com/jdx) in [#782](https://github.com/jdx/usage/pull/782) + +### ๐Ÿ› Bug Fixes + +- **(spec)** avoid inferred metadata from included specs by [@jdx](https://github.com/jdx) in [#786](https://github.com/jdx/usage/pull/786) + +### ๐Ÿงช Testing + +- **(windows)** make the suite runnable on Windows by [@JamBalaya56562](https://github.com/JamBalaya56562) in [#771](https://github.com/jdx/usage/pull/771) + +### ๐Ÿ“ฆ๏ธ Dependency Updates + +- update rust crate rmcp to v3 by [@renovate[bot]](https://github.com/renovate[bot]) in [#780](https://github.com/jdx/usage/pull/780) + ## [5.0.0](https://github.com/jdx/usage/compare/v4.1.0..v5.0.0) - 2026-08-02 ### ๐Ÿš€ Features diff --git a/Cargo.lock b/Cargo.lock index 142710ae..a5186f62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -37,9 +37,9 @@ dependencies = [ [[package]] name = "android_system_properties" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" dependencies = [ "libc", ] @@ -116,17 +116,6 @@ dependencies = [ "wait-timeout", ] -[[package]] -name = "async-trait" -version = "0.1.91" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae36dc4177970ef04fde5178d3e2429882def40e57a451f919c098f72baa6cec" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.3", -] - [[package]] name = "autocfg" version = "1.5.1" @@ -221,9 +210,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.4.0" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5add81bb678e6cb321aff7fa0dc7689ad82b112dbc032cea19f91d6b8e3582b9" +checksum = "5d262e149917187838d5b42777c8253bcb64500067342904e7d429499a6f277e" dependencies = [ "find-msvc-tools", "shlex", @@ -293,9 +282,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.6.5" +version = "4.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301b56658598e48f3648647ac6fc887be7e7108eddfa4e9b63fcf3ec58c0cadf" +checksum = "473c7e07f409a8d772161724aa8db6a765a2532a70f9667eeb7b49d3d02fbdca" dependencies = [ "clap_builder", "clap_derive", @@ -312,9 +301,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.6.5" +version = "4.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94a65403d1a1bd28f7dc68eb8506e8874808ee5eecb59298de588e2e1407a078" +checksum = "7b48fea5a88e9ae728a2dcbedbfc0e730f7d60da42e1cb049a83c9fb8b789889" dependencies = [ "anstream", "anstyle", @@ -463,8 +452,18 @@ version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.23.0", + "darling_macro 0.23.0", +] + +[[package]] +name = "darling" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88490bf1b990d87eaaa7ac8aa887f629a08e7359765b4911faf63c3763347d23" +dependencies = [ + "darling_core 0.24.0", + "darling_macro 0.24.0", ] [[package]] @@ -480,17 +479,41 @@ dependencies = [ "syn 2.0.119", ] +[[package]] +name = "darling_core" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "084e274f91c482280130e1e34e0b8d6e66776a060d7b6de7b84289ca778868c4" +dependencies = [ + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 3.0.3", +] + [[package]] name = "darling_macro" version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" dependencies = [ - "darling_core", + "darling_core 0.23.0", "quote", "syn 2.0.119", ] +[[package]] +name = "darling_macro" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68f5792fa0d41cd2325ce0ffa64f0a340eaebd4971a3a0c5e1ffd2cc488a355e" +dependencies = [ + "darling_core 0.24.0", + "quote", + "syn 3.0.3", +] + [[package]] name = "defmt" version = "1.1.1" @@ -661,9 +684,9 @@ dependencies = [ [[package]] name = "find-msvc-tools" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" +checksum = "26b73573e6edcd2af0cdf47bd6cb58f0b3839491263c314eaad1ccf24430e1de" [[package]] name = "float-cmp" @@ -948,10 +971,12 @@ dependencies = [ "defmt", "jiff-core", "jiff-static", + "jiff-tzdb-platform", "log", "portable-atomic", "portable-atomic-util", "serde_core", + "windows-link 0.2.1", ] [[package]] @@ -975,11 +1000,26 @@ dependencies = [ "syn 2.0.119", ] +[[package]] +name = "jiff-tzdb" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "142bd39932ad231f10513df9ab62661fead8719872150b7ad02a2df79f4e141e" + +[[package]] +name = "jiff-tzdb-platform" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" +dependencies = [ + "jiff-tzdb", +] + [[package]] name = "js-sys" -version = "0.3.103" +version = "0.3.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53b44bfcdb3f8d5837a46dae1ca9660a837176eee74a28b229bc626816589102" +checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a" dependencies = [ "cfg-if", "futures-util", @@ -1381,11 +1421,10 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" [[package]] name = "rmcp" -version = "3.1.0" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad26b216c966e987e80e86daf784a455c039c43d98575ceed57b8faa259e5695" +checksum = "c8dddc5b1924b9a59fba420166160ca2c4663a4e01803e52eda33070f56d63c8" dependencies = [ - "async-trait", "base64 0.23.1", "chrono", "futures", @@ -1404,15 +1443,15 @@ dependencies = [ [[package]] name = "rmcp-macros" -version = "3.1.0" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41bc748630c2be2a71b614c2f40d27bc0df0060696d224e1692c72345b7e0b79" +checksum = "6898e24cd16342b59bfa8a53c2c04b9cf62fc8a2cfea57b9c038b09984bfc521" dependencies = [ - "darling", + "darling 0.24.0", "proc-macro2", "quote", "serde_json", - "syn 2.0.119", + "syn 3.0.3", ] [[package]] @@ -1549,9 +1588,9 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.21.0" +version = "3.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a5c54c7310e7b8b9577c286d7e399ddd876c3e12b3ed917a8aabc4b96e9e8c" +checksum = "ee78f1fbe43ac4a0e47aadb3dbd357b69eb0d3793e948624cd03dd2750ab1c0a" dependencies = [ "base64 0.22.1", "bs58", @@ -1559,6 +1598,7 @@ dependencies = [ "hex", "indexmap 1.9.3", "indexmap 2.14.0", + "jiff", "schemars 0.9.0", "schemars 1.2.2", "serde_core", @@ -1569,11 +1609,11 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.21.0" +version = "3.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84d57bc0c8b9a17920c178daa6bb924850d54a9c97ab45194bb8c17ad66bb660" +checksum = "8705578779c2b6bd90d84d66eb2e206b708b1a4d7b9f17641b293545bf1c7e46" dependencies = [ - "darling", + "darling 0.23.0", "proc-macro2", "quote", "syn 2.0.119", @@ -1771,18 +1811,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.19" +version = "2.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09a43598840e33d5b0331f38c5e30d13bb11c11210a4b58f0d9b18a5a5eefcd9" +checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "2.0.19" +version = "2.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43cbfe0cf76104d42a574802844187e84a305e531ed54455f11fbde0f10541cd" +checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" dependencies = [ "proc-macro2", "quote", @@ -1937,7 +1977,7 @@ checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "usage-cli" -version = "5.0.0" +version = "5.1.0" dependencies = [ "assert_cmd", "clap", @@ -1968,7 +2008,7 @@ dependencies = [ [[package]] name = "usage-lib" -version = "5.0.0" +version = "5.1.0" dependencies = [ "clap", "criterion", @@ -2042,9 +2082,9 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.126" +version = "0.2.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b067c0c11094aef6b7a801c1e34a26affafdf3d051dba08456b868789aaf9a4" +checksum = "1b70935747edd64d89de3efa29d73789b806c15798f8e7dca4d8ac356b50ce70" dependencies = [ "cfg-if", "once_cell", @@ -2055,9 +2095,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.126" +version = "0.2.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "167ce5e579f6bcf889c4f7175a8a5a585de84e8ff93976ce393efa5f2837aab1" +checksum = "77775f8f3f7217702089053b94958f8f54061a3f663417df76e19cbdcca29bc1" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2065,9 +2105,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.126" +version = "0.2.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3997c7839262f4ef12cf90b818d6340c18e80f263f1a94bf157d0ec4420380e" +checksum = "e11d33f857dc2fb11b8bc75aee111aa9cbeb12cd9f25efd3d4c2a3dd4e235284" dependencies = [ "bumpalo", "proc-macro2", @@ -2078,18 +2118,18 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.126" +version = "0.2.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1b4cb0cc549fcf58d7dfc081778139b3d283a081644e833e84682ad71cea24" +checksum = "7ef64dbcc55df09c7e5a46182d181c2cfa3e925f3da937ea764728b4bbb9dcbf" dependencies = [ "unicode-ident", ] [[package]] name = "web-sys" -version = "0.3.103" +version = "0.3.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8622dcb61c0bcc9fffa6938bed81210af2da9a7e4a1a834b2e37a59b6dfb6141" +checksum = "c435338968042f4f59a557f690a253676d47ce13ceb55d70100e7facf6620a30" dependencies = [ "js-sys", "wasm-bindgen", @@ -2398,18 +2438,18 @@ checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" [[package]] name = "zerocopy" -version = "0.8.55" +version = "0.8.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5a105cd7b140f6eeec8acff2ea38135d3cab283ada58540f629fe51e46696eb" +checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.55" +version = "0.8.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fe976fb70c78cd64cccfe3a6fc142244e8a77b70959b30faf9d0ac37ee228eb" +checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 75878702..68eb4e82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ license = "MIT" [workspace.dependencies] clap_usage = { path = "./clap_usage", version = "5.0.0" } usage-cli = { path = "./cli" } -usage-lib = { path = "./lib", version = "5.0.0", features = ["clap"] } +usage-lib = { path = "./lib", version = "5.1.0", features = ["clap"] } [workspace.metadata.release] allow-branch = ["main"] diff --git a/aube-lock.yaml b/aube-lock.yaml index 1900c6d6..fde000bb 100644 --- a/aube-lock.yaml +++ b/aube-lock.yaml @@ -14,10 +14,8 @@ time: '@withfig/autocomplete@2.692.3': 2025-05-05T17:15:37.900Z '@withfig/eslint-plugin-fig-linter@1.4.1': 2023-02-05T19:39:17.032Z eslint-plugin-compat@4.2.0: 2023-08-28T22:14:26.062Z - eslint@10.8.0: 2026-07-24T20:15:20.693Z postcss@8.5.25: 2026-07-29T13:01:35.017Z semver@7.8.5: 2026-06-19T18:32:48.972Z - typescript@7.0.2: 2026-07-08T15:55:18.431Z vitepress@1.6.4: 2025-08-05T13:40:31.197Z importers: @@ -26,29 +24,29 @@ importers: dependencies: '@typescript-eslint/eslint-plugin': specifier: ^7.0.0 - version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.0))(eslint@10.8.0) + version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(eslint@10.8.1) '@typescript-eslint/parser': specifier: ^7.0.0 - version: 7.18.0(eslint@10.8.0) + version: 7.18.0(eslint@10.8.1) '@withfig/eslint-plugin-fig-linter': specifier: ^1.4.1 version: 1.4.1 eslint-plugin-compat: specifier: ^4.2.0 - version: 4.2.0(eslint@10.8.0) + version: 4.2.0(eslint@10.8.1) postcss: specifier: ^8 version: 8.5.25 typescript: specifier: '>=4.7.4' - version: 7.0.2 + version: 4.9.5 vitepress: specifier: 1.6.4 version: 1.6.4(postcss@8.5.25) devDependencies: '@fig/eslint-config-autocomplete': specifier: ^2.0.0 - version: 2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.0))(eslint@10.8.0))(@typescript-eslint/parser@7.18.0(eslint@10.8.0))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.8.0)(eslint-plugin-compat@4.2.0(eslint@10.8.0))(typescript@7.0.2) + version: 2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(eslint@10.8.1))(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.8.1)(eslint-plugin-compat@4.2.0(eslint@10.8.1))(typescript@4.9.5) '@tsconfig/node24': specifier: ^24.0.4 version: 24.0.4 @@ -62,8 +60,8 @@ importers: specifier: ^1.31.0 version: 1.31.0 eslint: - specifier: ^10.8.0 - version: 10.8.0 + specifier: ^10.8.1 + version: 10.8.1 semver: specifier: ^7.8.5 version: 7.8.5 @@ -447,166 +445,6 @@ packages: resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript/typescript-aix-ppc64@7.0.2': - resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==} - engines: {node: '>=16.20.0'} - os: - - aix - cpu: - - ppc64 - - '@typescript/typescript-darwin-arm64@7.0.2': - resolution: {integrity: sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==} - engines: {node: '>=16.20.0'} - os: - - darwin - cpu: - - arm64 - - '@typescript/typescript-darwin-x64@7.0.2': - resolution: {integrity: sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==} - engines: {node: '>=16.20.0'} - os: - - darwin - cpu: - - x64 - - '@typescript/typescript-freebsd-arm64@7.0.2': - resolution: {integrity: sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==} - engines: {node: '>=16.20.0'} - os: - - freebsd - cpu: - - arm64 - - '@typescript/typescript-freebsd-x64@7.0.2': - resolution: {integrity: sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==} - engines: {node: '>=16.20.0'} - os: - - freebsd - cpu: - - x64 - - '@typescript/typescript-linux-arm64@7.0.2': - resolution: {integrity: sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - arm64 - - '@typescript/typescript-linux-arm@7.0.2': - resolution: {integrity: sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - arm - - '@typescript/typescript-linux-loong64@7.0.2': - resolution: {integrity: sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - loong64 - - '@typescript/typescript-linux-mips64el@7.0.2': - resolution: {integrity: sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - mips64el - - '@typescript/typescript-linux-ppc64@7.0.2': - resolution: {integrity: sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - ppc64 - - '@typescript/typescript-linux-riscv64@7.0.2': - resolution: {integrity: sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - riscv64 - - '@typescript/typescript-linux-s390x@7.0.2': - resolution: {integrity: sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - s390x - - '@typescript/typescript-linux-x64@7.0.2': - resolution: {integrity: sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==} - engines: {node: '>=16.20.0'} - os: - - linux - cpu: - - x64 - - '@typescript/typescript-netbsd-arm64@7.0.2': - resolution: {integrity: sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==} - engines: {node: '>=16.20.0'} - os: - - netbsd - cpu: - - arm64 - - '@typescript/typescript-netbsd-x64@7.0.2': - resolution: {integrity: sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==} - engines: {node: '>=16.20.0'} - os: - - netbsd - cpu: - - x64 - - '@typescript/typescript-openbsd-arm64@7.0.2': - resolution: {integrity: sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==} - engines: {node: '>=16.20.0'} - os: - - openbsd - cpu: - - arm64 - - '@typescript/typescript-openbsd-x64@7.0.2': - resolution: {integrity: sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==} - engines: {node: '>=16.20.0'} - os: - - openbsd - cpu: - - x64 - - '@typescript/typescript-sunos-x64@7.0.2': - resolution: {integrity: sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==} - engines: {node: '>=16.20.0'} - os: - - sunos - cpu: - - x64 - - '@typescript/typescript-win32-arm64@7.0.2': - resolution: {integrity: sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==} - engines: {node: '>=16.20.0'} - os: - - win32 - cpu: - - arm64 - - '@typescript/typescript-win32-x64@7.0.2': - resolution: {integrity: sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==} - engines: {node: '>=16.20.0'} - os: - - win32 - cpu: - - x64 - '@ungap/structured-clone@1.3.3': resolution: {integrity: sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg==} @@ -893,8 +731,8 @@ packages: resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - eslint@10.8.0: - resolution: {integrity: sha512-nuKKvN+oIBO0koN7Tm7dlkmnkc21mtt0QJLwAKzjLq14y6lRTdVG36MZHJ8eQHwdJMwZbQNMlPOYedMq/oVJvQ==} + eslint@10.8.1: + resolution: {integrity: sha512-wqA7W2jbsC/BnV9Iv1UZpKVFkO1AdNoSmYW8NWG4HNOBbkAMvIqDZ27pI2f07dqn583NcIC44ckjAcOXDL1QbQ==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} hasBin: true peerDependencies: @@ -1306,11 +1144,6 @@ packages: engines: {node: '>=14.17'} hasBin: true - typescript@7.0.2: - resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==} - engines: {node: '>=16.20.0'} - hasBin: true - unist-util-is@6.0.1: resolution: {integrity: sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==} @@ -1560,9 +1393,9 @@ snapshots: '@esbuild/linux-x64@0.24.2': {} - '@eslint-community/eslint-utils@4.10.1(eslint@10.8.0)': + '@eslint-community/eslint-utils@4.10.1(eslint@10.8.1)': dependencies: - eslint: 10.8.0 + eslint: 10.8.1 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.2': {} @@ -1604,15 +1437,15 @@ snapshots: prettier: 3.9.6 ts-morph: 22.0.0 typescript: 5.9.3 - ? '@fig/eslint-config-autocomplete@2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.0))(eslint@10.8.0))(@typescript-eslint/parser@7.18.0(eslint@10.8.0))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.8.0)(eslint-plugin-compat@4.2.0(eslint@10.8.0))(typescript@7.0.2)' + ? '@fig/eslint-config-autocomplete@2.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(eslint@10.8.1))(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(@withfig/eslint-plugin-fig-linter@1.4.1)(eslint@10.8.1)(eslint-plugin-compat@4.2.0(eslint@10.8.1))(typescript@4.9.5)' : dependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.0))(eslint@10.8.0) - '@typescript-eslint/parser': 7.18.0(eslint@10.8.0) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(eslint@10.8.1) + '@typescript-eslint/parser': 7.18.0(eslint@10.8.1) '@withfig/eslint-plugin-fig-linter': 1.4.1 - eslint: 10.8.0 - eslint-plugin-compat: 4.2.0(eslint@10.8.0) - typescript: 7.0.2 + eslint: 10.8.1 + eslint-plugin-compat: 4.2.0(eslint@10.8.1) + typescript: 4.9.5 '@humanfs/core@0.19.2': dependencies: @@ -1734,45 +1567,45 @@ snapshots: '@types/web-bluetooth@0.0.21': {} - '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.0))(eslint@10.8.0)': + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@10.8.1))(eslint@10.8.1)': dependencies: '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 7.18.0(eslint@10.8.0) + '@typescript-eslint/parser': 7.18.0(eslint@10.8.1) '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/type-utils': 7.18.0(eslint@10.8.0) - '@typescript-eslint/utils': 7.18.0(eslint@10.8.0) + '@typescript-eslint/type-utils': 7.18.0(eslint@10.8.1) + '@typescript-eslint/utils': 7.18.0(eslint@10.8.1) '@typescript-eslint/visitor-keys': 7.18.0 - eslint: 10.8.0 + eslint: 10.8.1 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.4.3(typescript@7.0.2) + ts-api-utils: 1.4.3(typescript@4.9.5) - '@typescript-eslint/parser@7.18.0(eslint@10.8.0)': + '@typescript-eslint/parser@7.18.0(eslint@10.8.1)': dependencies: '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@7.0.2) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@4.9.5) '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.4.3 - eslint: 10.8.0 + eslint: 10.8.1 '@typescript-eslint/scope-manager@7.18.0': dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 - '@typescript-eslint/type-utils@7.18.0(eslint@10.8.0)': + '@typescript-eslint/type-utils@7.18.0(eslint@10.8.1)': dependencies: - '@typescript-eslint/typescript-estree': 7.18.0(typescript@7.0.2) - '@typescript-eslint/utils': 7.18.0(eslint@10.8.0) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@4.9.5) + '@typescript-eslint/utils': 7.18.0(eslint@10.8.1) debug: 4.4.3 - eslint: 10.8.0 - ts-api-utils: 1.4.3(typescript@7.0.2) + eslint: 10.8.1 + ts-api-utils: 1.4.3(typescript@4.9.5) '@typescript-eslint/types@7.18.0': {} - '@typescript-eslint/typescript-estree@7.18.0(typescript@7.0.2)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@4.9.5)': dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 @@ -1781,67 +1614,27 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.9 semver: 7.8.5 - ts-api-utils: 1.4.3(typescript@7.0.2) + ts-api-utils: 1.4.3(typescript@4.9.5) - '@typescript-eslint/utils@7.18.0(eslint@10.8.0)': + '@typescript-eslint/utils@7.18.0(eslint@10.8.1)': dependencies: - '@eslint-community/eslint-utils': 4.10.1(eslint@10.8.0) + '@eslint-community/eslint-utils': 4.10.1(eslint@10.8.1) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@7.0.2) - eslint: 10.8.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@4.9.5) + eslint: 10.8.1 '@typescript-eslint/visitor-keys@7.18.0': dependencies: '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 - '@typescript/typescript-aix-ppc64@7.0.2': {} - - '@typescript/typescript-darwin-arm64@7.0.2': {} - - '@typescript/typescript-darwin-x64@7.0.2': {} - - '@typescript/typescript-freebsd-arm64@7.0.2': {} - - '@typescript/typescript-freebsd-x64@7.0.2': {} - - '@typescript/typescript-linux-arm64@7.0.2': {} - - '@typescript/typescript-linux-arm@7.0.2': {} - - '@typescript/typescript-linux-loong64@7.0.2': {} - - '@typescript/typescript-linux-mips64el@7.0.2': {} - - '@typescript/typescript-linux-ppc64@7.0.2': {} - - '@typescript/typescript-linux-riscv64@7.0.2': {} - - '@typescript/typescript-linux-s390x@7.0.2': {} - - '@typescript/typescript-linux-x64@7.0.2': {} - - '@typescript/typescript-netbsd-arm64@7.0.2': {} - - '@typescript/typescript-netbsd-x64@7.0.2': {} - - '@typescript/typescript-openbsd-arm64@7.0.2': {} - - '@typescript/typescript-openbsd-x64@7.0.2': {} - - '@typescript/typescript-sunos-x64@7.0.2': {} - - '@typescript/typescript-win32-arm64@7.0.2': {} - - '@typescript/typescript-win32-x64@7.0.2': {} - '@ungap/structured-clone@1.3.3': {} - '@vitejs/plugin-vue@5.2.4(vite@5.4.21)(vue@3.5.40(typescript@7.0.2))': + '@vitejs/plugin-vue@5.2.4(vite@5.4.21)(vue@3.5.40(typescript@4.9.5))': dependencies: vite: 5.4.21 - vue: 3.5.40(typescript@7.0.2) + vue: 3.5.40(typescript@4.9.5) '@vue/compiler-core@3.5.40': dependencies: @@ -1915,25 +1708,25 @@ snapshots: '@vue/shared@3.5.40': {} - '@vueuse/core@12.8.2(typescript@7.0.2)': + '@vueuse/core@12.8.2(typescript@4.9.5)': dependencies: '@types/web-bluetooth': 0.0.21 '@vueuse/metadata': 12.8.2 - '@vueuse/shared': 12.8.2(typescript@7.0.2) - vue: 3.5.40(typescript@7.0.2) + '@vueuse/shared': 12.8.2(typescript@4.9.5) + vue: 3.5.40(typescript@4.9.5) '@vueuse/integrations@12.8.2(focus-trap@7.8.0)': dependencies: - '@vueuse/core': 12.8.2(typescript@7.0.2) - '@vueuse/shared': 12.8.2(typescript@7.0.2) + '@vueuse/core': 12.8.2(typescript@4.9.5) + '@vueuse/shared': 12.8.2(typescript@4.9.5) focus-trap: 7.8.0 - vue: 3.5.40(typescript@7.0.2) + vue: 3.5.40(typescript@4.9.5) '@vueuse/metadata@12.8.2': {} - '@vueuse/shared@12.8.2(typescript@7.0.2)': + '@vueuse/shared@12.8.2(typescript@4.9.5)': dependencies: - vue: 3.5.40(typescript@7.0.2) + vue: 3.5.40(typescript@4.9.5) '@withfig/autocomplete-tools@2.11.0(esbuild@0.24.2)': dependencies: @@ -2105,13 +1898,13 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-plugin-compat@4.2.0(eslint@10.8.0): + eslint-plugin-compat@4.2.0(eslint@10.8.1): dependencies: '@mdn/browser-compat-data': 5.7.6 ast-metadata-inferer: 0.8.1 browserslist: 4.28.7 caniuse-lite: 1.0.30001806 - eslint: 10.8.0 + eslint: 10.8.1 find-up: 5.0.0 lodash.memoize: 4.1.2 semver: 7.8.5 @@ -2127,9 +1920,9 @@ snapshots: eslint-visitor-keys@5.0.1: {} - eslint@10.8.0: + eslint@10.8.1: dependencies: - '@eslint-community/eslint-utils': 4.10.1(eslint@10.8.0) + '@eslint-community/eslint-utils': 4.10.1(eslint@10.8.1) '@eslint-community/regexpp': 4.12.2 '@eslint/config-array': 0.23.5 '@eslint/config-helpers': 0.7.0 @@ -2521,9 +2314,9 @@ snapshots: trim-lines@3.0.1: {} - ts-api-utils@1.4.3(typescript@7.0.2): + ts-api-utils@1.4.3(typescript@4.9.5): dependencies: - typescript: 7.0.2 + typescript: 4.9.5 ts-morph@22.0.0: dependencies: @@ -2538,29 +2331,6 @@ snapshots: typescript@5.9.3: {} - typescript@7.0.2: - optionalDependencies: - '@typescript/typescript-aix-ppc64': 7.0.2 - '@typescript/typescript-darwin-arm64': 7.0.2 - '@typescript/typescript-darwin-x64': 7.0.2 - '@typescript/typescript-freebsd-arm64': 7.0.2 - '@typescript/typescript-freebsd-x64': 7.0.2 - '@typescript/typescript-linux-arm': 7.0.2 - '@typescript/typescript-linux-arm64': 7.0.2 - '@typescript/typescript-linux-loong64': 7.0.2 - '@typescript/typescript-linux-mips64el': 7.0.2 - '@typescript/typescript-linux-ppc64': 7.0.2 - '@typescript/typescript-linux-riscv64': 7.0.2 - '@typescript/typescript-linux-s390x': 7.0.2 - '@typescript/typescript-linux-x64': 7.0.2 - '@typescript/typescript-netbsd-arm64': 7.0.2 - '@typescript/typescript-netbsd-x64': 7.0.2 - '@typescript/typescript-openbsd-arm64': 7.0.2 - '@typescript/typescript-openbsd-x64': 7.0.2 - '@typescript/typescript-sunos-x64': 7.0.2 - '@typescript/typescript-win32-arm64': 7.0.2 - '@typescript/typescript-win32-x64': 7.0.2 - unist-util-is@6.0.1: dependencies: '@types/unist': 3.0.3 @@ -2619,10 +2389,10 @@ snapshots: '@shikijs/transformers': 2.5.0 '@shikijs/types': 2.5.0 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.2.4(vite@5.4.21)(vue@3.5.40(typescript@7.0.2)) + '@vitejs/plugin-vue': 5.2.4(vite@5.4.21)(vue@3.5.40(typescript@4.9.5)) '@vue/devtools-api': 7.7.10 '@vue/shared': 3.5.40 - '@vueuse/core': 12.8.2(typescript@7.0.2) + '@vueuse/core': 12.8.2(typescript@4.9.5) '@vueuse/integrations': 12.8.2(focus-trap@7.8.0) focus-trap: 7.8.0 mark.js: 8.11.1 @@ -2630,16 +2400,16 @@ snapshots: postcss: 8.5.25 shiki: 2.5.0 vite: 5.4.21 - vue: 3.5.40(typescript@7.0.2) + vue: 3.5.40(typescript@4.9.5) - vue@3.5.40(typescript@7.0.2): + vue@3.5.40(typescript@4.9.5): dependencies: '@vue/compiler-dom': 3.5.40 '@vue/compiler-sfc': 3.5.40 '@vue/runtime-dom': 3.5.40 '@vue/server-renderer': 3.5.40 '@vue/shared': 3.5.40 - typescript: 7.0.2 + typescript: 4.9.5 which@2.0.2: dependencies: diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 18281aa0..795a80a0 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-cli" edition = "2021" -version = "5.0.0" +version = "5.1.0" description = "CLI for working with usage-based CLIs" license = { workspace = true } authors = { workspace = true } diff --git a/cli/usage.usage.kdl b/cli/usage.usage.kdl index 23b6e6b7..00d1cc8f 100644 --- a/cli/usage.usage.kdl +++ b/cli/usage.usage.kdl @@ -2,7 +2,7 @@ min_usage_version "4.0" name usage-cli bin usage -version "5.0.0" +version "5.1.0" about "CLI for working with usage-based CLIs" usage "Usage: usage-cli [OPTIONS] [COMPLETIONS] " flag --usage-spec help="Outputs a `usage.kdl` spec for this CLI itself" diff --git a/docs/cli/reference/commands.json b/docs/cli/reference/commands.json index 279c359f..c6b0c85a 100644 --- a/docs/cli/reference/commands.json +++ b/docs/cli/reference/commands.json @@ -1136,7 +1136,7 @@ "config": { "props": {} }, - "version": "5.0.0", + "version": "5.1.0", "usage": "Usage: usage-cli [OPTIONS] [COMPLETIONS] ", "complete": {}, "source_code_link_template": "https://github.com/jdx/usage/blob/main/cli/src/cli/{{path}}.rs", diff --git a/docs/cli/reference/index.md b/docs/cli/reference/index.md index afcd6107..73d9da5d 100644 --- a/docs/cli/reference/index.md +++ b/docs/cli/reference/index.md @@ -4,7 +4,7 @@ **Usage**: `usage [--usage-spec] [COMPLETIONS] ` -**Version**: 5.0.0 +**Version**: 5.1.0 - **Usage**: `usage [--usage-spec] [COMPLETIONS] ` diff --git a/lib/Cargo.toml b/lib/Cargo.toml index cd2b2f51..d8607b4b 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "usage-lib" edition = "2021" -version = "5.0.0" +version = "5.1.0" rust-version = "1.80.0" include = [ "/Cargo.toml", diff --git a/package.json b/package.json index dcec3f13..5556d64d 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@withfig/autocomplete": "^2.692.3", "@withfig/autocomplete-tools": "^2.11.0", "@withfig/autocomplete-types": "^1.31.0", - "eslint": "^10.8.0", + "eslint": "^10.8.1", "semver": "^7.8.5" } }