diff --git a/package.json b/package.json index b58395f81..b77ce346d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "devDependencies": { - "@codama/renderers-js": "^1.7.0", + "@codama/renderers-js": "^2.2.0", "@codama/renderers-rust": "^3.1.0", "@solana/prettier-config-solana": "0.0.6", "codama": "^1.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 43f80d55b..b5ef630ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,14 +9,14 @@ importers: .: devDependencies: '@codama/renderers-js': - specifier: ^1.7.0 - version: 1.7.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + specifier: ^2.2.0 + version: 2.2.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@codama/renderers-rust': specifier: ^3.1.0 version: 3.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@solana/prettier-config-solana': specifier: 0.0.6 - version: 0.0.6(prettier@3.8.1) + version: 0.0.6(prettier@3.8.3) codama: specifier: ^1.6.0 version: 1.6.0 @@ -30,34 +30,21 @@ packages: resolution: {integrity: sha512-Cn9SokOi0IpixbdW1Aus61Qt0GCJhWE/+q1OdcvRBAQ4V0NacCpdf7N9aF9HR/H7AD+LWJa3JtK7pEs69ywM6Q==} hasBin: true - '@codama/errors@1.5.0': - resolution: {integrity: sha512-i4cS+S7JaZXhofQHFY3cwzt8rqxUVPNaeJND5VOyKUbtcOi933YXJXk52gDG4mc+CpGqHJijsJjfSpr1lJGxzg==} - hasBin: true - '@codama/errors@1.6.0': resolution: {integrity: sha512-Evj9wO5lqvxvbjxG856ITY5lhRN7SqoYfRX4tMMBjs8J/kT+pKQ8qL0hz9OynOOv/5mWn9Q/sPCNzQ6CUscibQ==} hasBin: true - '@codama/node-types@1.5.0': - resolution: {integrity: sha512-Ebz2vOUukmNaFXWdkni1ZihXkAIUnPYtqIMXYxKXOxjMP+TGz2q0lGtRo7sqw1pc2ksFBIkfBp5pZsl5p6gwXA==} - '@codama/node-types@1.6.0': resolution: {integrity: sha512-atIJW2/3MjPYey0bNlE86W9Gvq9aq8bud7zT7PMyyhj98mbmLqPwT4wclPdbFua0fROLkq17z3bXaaJy5FqSEw==} - '@codama/nodes@1.5.0': - resolution: {integrity: sha512-yg+xmorWiMNjS3n19CGIt/FZ/ZCuDIu+HEY45bq6gHu1MN3RtJZY+Q3v0ErnBPA60D8mNWkvkKoeSZXfzcAvfw==} - '@codama/nodes@1.6.0': resolution: {integrity: sha512-F6Hy3REfl+Ih5R3jldPqEMjFqaPj871iBWX/LV0EtNK0xn7E4DG/3XCK4wlbHrOT9Z1NsiA70e0M1uChzmIrsw==} - '@codama/renderers-core@1.3.5': - resolution: {integrity: sha512-MuZLU+3LZPQb1HuZffwZl+v5JHQDe5LYHGhA1wTMNlwRedYIysSxBjogHNciNIHsKP3JjmqyYmLO5LCEp3hjaQ==} - '@codama/renderers-core@1.3.7': resolution: {integrity: sha512-R42xYJaLansjcpMcBuJ4JBEKFp9aof3WqwDnOtUz90P4Px/3K8NDQn18YkyKTEvZBy42cnTPlzV9Um89s9W+uw==} - '@codama/renderers-js@1.7.0': - resolution: {integrity: sha512-WwKkSkNPdUBVWjGmkG+RNXyZ5K/4ji8UZQGzowDNTrqktUrqPsBThOkc7Zpmv+TpCapxrfjj0Txpo+0q5FjKGw==} + '@codama/renderers-js@2.2.0': + resolution: {integrity: sha512-/GWVnB329kMkeqlOqX+NWQAmd1k6yybVOp7C5X+LEvrZ2A5w1saQwWFbBMCq/EQPqnFU+CRFoG/+7KubAEa73Q==} engines: {node: '>=20.18.0'} '@codama/renderers-rust@3.1.0': @@ -67,9 +54,6 @@ packages: '@codama/validators@1.6.0': resolution: {integrity: sha512-QlLIQt6EpZ7sQvVOz8NFKtrzWLAwYzle0tet2Q0DDU8+4LO654lj+oAwjXzY3eAfTesqBqOgMCPtQe0EpGWk3g==} - '@codama/visitors-core@1.5.0': - resolution: {integrity: sha512-3PIAlBX0a06hIxzyPtQMfQcqWGFBgfbwysSwcXBbvHUYbemwhD6xwlBKJuqTwm9DyFj3faStp5fpvcp03Rjxtw==} - '@codama/visitors-core@1.6.0': resolution: {integrity: sha512-YG0rExvLbBCDAzXnZX6Imu4KwDoZrZz9NF232/nzs9Dr8uQuEWJ81x4VR9UxIcANHcF0+XwJzHamSwhZroAtjQ==} @@ -79,15 +63,6 @@ packages: '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - '@solana/codecs-core@6.0.1': - resolution: {integrity: sha512-OnUQk94qfvfE0nVveZ638aNUL3tyRJoorUFiAG0ICTGUo3c6fkYb8vH23o/5O2qmuSmYND1sn+UCaldNMVkFpg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: ^5.0.0 - peerDependenciesMeta: - typescript: - optional: true - '@solana/codecs-core@6.8.0': resolution: {integrity: sha512-udFO8TrvzgROonwX3rY3E2SG675RehILNb4ZYcKlf1mL7vkDJ9bEJnBxi87AEwl8RWZFTl+MhT0MmrJnbpvdug==} engines: {node: '>=20.18.0'} @@ -97,15 +72,6 @@ packages: typescript: optional: true - '@solana/codecs-numbers@6.0.1': - resolution: {integrity: sha512-ZrI1NjUsf4I+Klue/2rlQbZLcGRom/G2E4VB/8x4IEHGOeFLQhXcxmnib8kdgomQRYOzF1BjVDmCYxvZr+6AWA==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: ^5.0.0 - peerDependenciesMeta: - typescript: - optional: true - '@solana/codecs-numbers@6.8.0': resolution: {integrity: sha512-ebf4f1D19EAe0uhdUYOCEYnn5+EellsBxbJ42tM2yYEoIBVz5FoBBC0gSsq+UTNbQHFa7XagyBT3LewxXttiTQ==} engines: {node: '>=20.18.0'} @@ -115,18 +81,6 @@ packages: typescript: optional: true - '@solana/codecs-strings@6.0.1': - resolution: {integrity: sha512-OmMIfMFbbJVIxveBeATKCj9DsmZ8l4vJPnOLHUop0hLWRiYHTQ1qokMqfk/X8PCmUjXmbXnlp63BikGtdKN3/g==} - engines: {node: '>=20.18.0'} - peerDependencies: - fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: ^5.0.0 - peerDependenciesMeta: - fastestsmallesttextencoderdecoder: - optional: true - typescript: - optional: true - '@solana/codecs-strings@6.8.0': resolution: {integrity: sha512-Rpk5NVhbKYcPnE7wz3IpTp0GVNVs0IYKdmyzByiimgPTiII8eb8ay4wQiYHGHrpYh62hD14Qy3GiGDFgipRKqA==} engines: {node: '>=20.18.0'} @@ -139,16 +93,6 @@ packages: typescript: optional: true - '@solana/errors@6.0.1': - resolution: {integrity: sha512-sMe5GCsXto8F1KDeq9GbZR0+m841SqEYep3NAcYlC0lqF2RG4giaaPQHgrWI5DJR/L7yc8FzUIQfTxnaN7bwOQ==} - engines: {node: '>=20.18.0'} - hasBin: true - peerDependencies: - typescript: ^5.0.0 - peerDependenciesMeta: - typescript: - optional: true - '@solana/errors@6.8.0': resolution: {integrity: sha512-HRTrLgTn0c99GKz4v4IKgz2+6soaRY1mh2tLW4sk1Fe4Zzv85Q6ZLK1mXrVGL73z1apyHDrr9/Sd/9ZhUsUvpA==} engines: {node: '>=20.18.0'} @@ -190,10 +134,6 @@ packages: resolution: {integrity: sha512-JKydzwNYJkGjkZ98ipehd3hJksLQU6nYS7x0GPjOwD0wih+xP8q7WCKgleN8LM2sRuC75rfpr3uXLXSpQpBYKA==} hasBin: true - commander@14.0.2: - resolution: {integrity: sha512-TywoWNNRbhoD0BXs1P3ZEScW8W5iKrnbithIl0YH+uCmBd0QpPOA8yc82DS3BIE5Ma6FnBVUsJ7wVUDz4dvOWQ==} - engines: {node: '>=20'} - commander@14.0.3: resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==} engines: {node: '>=20'} @@ -286,8 +226,8 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - prettier@3.8.1: - resolution: {integrity: sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==} + prettier@3.8.3: + resolution: {integrity: sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==} engines: {node: '>=14'} hasBin: true @@ -295,11 +235,6 @@ packages: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} - semver@7.7.3: - resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} - engines: {node: '>=10'} - hasBin: true - semver@7.7.4: resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} engines: {node: '>=10'} @@ -328,53 +263,34 @@ snapshots: picocolors: 1.1.1 prompts: 2.4.2 - '@codama/errors@1.5.0': - dependencies: - '@codama/node-types': 1.5.0 - commander: 14.0.2 - picocolors: 1.1.1 - '@codama/errors@1.6.0': dependencies: '@codama/node-types': 1.6.0 commander: 14.0.3 picocolors: 1.1.1 - '@codama/node-types@1.5.0': {} - '@codama/node-types@1.6.0': {} - '@codama/nodes@1.5.0': - dependencies: - '@codama/errors': 1.5.0 - '@codama/node-types': 1.5.0 - '@codama/nodes@1.6.0': dependencies: '@codama/errors': 1.6.0 '@codama/node-types': 1.6.0 - '@codama/renderers-core@1.3.5': - dependencies: - '@codama/errors': 1.5.0 - '@codama/nodes': 1.5.0 - '@codama/visitors-core': 1.5.0 - '@codama/renderers-core@1.3.7': dependencies: '@codama/errors': 1.6.0 '@codama/nodes': 1.6.0 '@codama/visitors-core': 1.6.0 - '@codama/renderers-js@1.7.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@codama/renderers-js@2.2.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: - '@codama/errors': 1.5.0 - '@codama/nodes': 1.5.0 - '@codama/renderers-core': 1.3.5 - '@codama/visitors-core': 1.5.0 - '@solana/codecs-strings': 6.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) - prettier: 3.8.1 - semver: 7.7.3 + '@codama/errors': 1.6.0 + '@codama/nodes': 1.6.0 + '@codama/renderers-core': 1.3.7 + '@codama/visitors-core': 1.6.0 + '@solana/codecs-strings': 6.8.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + prettier: 3.8.3 + semver: 7.7.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - typescript @@ -400,12 +316,6 @@ snapshots: '@codama/nodes': 1.6.0 '@codama/visitors-core': 1.6.0 - '@codama/visitors-core@1.5.0': - dependencies: - '@codama/errors': 1.5.0 - '@codama/nodes': 1.5.0 - json-stable-stringify: 1.3.0 - '@codama/visitors-core@1.6.0': dependencies: '@codama/errors': 1.6.0 @@ -420,25 +330,12 @@ snapshots: '@iarna/toml@2.2.5': {} - '@solana/codecs-core@6.0.1(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.0.1(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - '@solana/codecs-core@6.8.0(typescript@5.9.3)': dependencies: '@solana/errors': 6.8.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - '@solana/codecs-numbers@6.0.1(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 6.0.1(typescript@5.9.3) - '@solana/errors': 6.0.1(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - '@solana/codecs-numbers@6.8.0(typescript@5.9.3)': dependencies: '@solana/codecs-core': 6.8.0(typescript@5.9.3) @@ -446,15 +343,6 @@ snapshots: optionalDependencies: typescript: 5.9.3 - '@solana/codecs-strings@6.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 6.0.1(typescript@5.9.3) - '@solana/codecs-numbers': 6.0.1(typescript@5.9.3) - '@solana/errors': 6.0.1(typescript@5.9.3) - optionalDependencies: - fastestsmallesttextencoderdecoder: 1.0.22 - typescript: 5.9.3 - '@solana/codecs-strings@6.8.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: '@solana/codecs-core': 6.8.0(typescript@5.9.3) @@ -464,13 +352,6 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 - '@solana/errors@6.0.1(typescript@5.9.3)': - dependencies: - chalk: 5.6.2 - commander: 14.0.3 - optionalDependencies: - typescript: 5.9.3 - '@solana/errors@6.8.0(typescript@5.9.3)': dependencies: chalk: 5.6.2 @@ -478,9 +359,9 @@ snapshots: optionalDependencies: typescript: 5.9.3 - '@solana/prettier-config-solana@0.0.6(prettier@3.8.1)': + '@solana/prettier-config-solana@0.0.6(prettier@3.8.3)': dependencies: - prettier: 3.8.1 + prettier: 3.8.3 a-sync-waterfall@1.0.1: {} @@ -513,8 +394,6 @@ snapshots: '@codama/validators': 1.6.0 '@codama/visitors': 1.6.0 - commander@14.0.2: {} - commander@14.0.3: {} commander@5.1.0: {} @@ -600,15 +479,13 @@ snapshots: picocolors@1.1.1: {} - prettier@3.8.1: {} + prettier@3.8.3: {} prompts@2.4.2: dependencies: kleur: 3.0.3 sisteransi: 1.0.5 - semver@7.7.3: {} - semver@7.7.4: {} set-function-length@1.2.2: