diff --git a/package.json b/package.json index 0bc93b6..d224d69 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ }, "devDependencies": { "@codama/renderers-js": "^1.5", - "@codama/renderers-rust": "~1.1", + "@codama/renderers-rust": "~1.2", "@iarna/toml": "^2.2.5", "codama": "^1.4", "typescript": "^5.9.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 23c0ac8..e4cb2d4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^1.5 version: 1.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@codama/renderers-rust': - specifier: ~1.1 - version: 1.1.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + specifier: ~1.2 + version: 1.2.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@iarna/toml': specifier: ^2.2.5 version: 2.2.5 @@ -33,10 +33,6 @@ packages: resolution: {integrity: sha512-TZSN4MAUy93Y2h9w7vGwBwaGPkxdm0PWmDu5g1jMCJbJo02kx9NIu2cBk94wamYSSq75uoQDuaU+YW5DMteIQQ==} hasBin: true - '@codama/errors@1.3.1': - resolution: {integrity: sha512-tsQ83+8RRV7lXcRuSqRZJCjEM0gsVGo4PXAKL9dokUJzSTMMPQU4y87ExUps5KjeXQf6MkfOzYnGKqGf4FtU4g==} - hasBin: true - '@codama/errors@1.4.1': resolution: {integrity: sha512-6jUHrQwx0IjffzS3ZRwC7k0tbONVoiIdVf58fl460P3BlL0e19ZPSrsGRZ4QA6pq39vYjtSd2zzl4PHp6ZnQtQ==} hasBin: true @@ -45,43 +41,35 @@ packages: resolution: {integrity: sha512-T7oVaM80AYfHoP1NFjDMpIZhZ/oWPCyPP6g/UG2SCJLOmkNOjiY99uvQ4kkYQcvErsOO3ftcsqgAzK9LgZMHMA==} hasBin: true - '@codama/node-types@1.3.1': - resolution: {integrity: sha512-tpZwqOnCNXs1aLj95+ZjQW3K96LkiekqsYFTmuJxgspWoR3Ro+NDQEoxD3j5364hIYt0VfjcZlAcFD6y95GaQA==} - '@codama/node-types@1.4.1': resolution: {integrity: sha512-eqPKI1pZR+xaYHytMQUhW+DHmmhLhzVNTN9Cs+VpJV4NArJBrmx3Yht39tjT9Ul7eS9jGmBO1lodFxSCRKV4sQ==} '@codama/node-types@1.4.2': resolution: {integrity: sha512-Sj3BMQfwQ6Sn0jlQmBkXktOJzgsK4S7en2b6Ns+DLwYsqisSdU3au3rZcHs2ZJ2ntHv+6WTxFnvEk5zdWrT7YQ==} - '@codama/nodes@1.3.1': - resolution: {integrity: sha512-ipmZFoX8Q7+2tKLOrTwcZ4R9eurhDyPU/oZ8I+2jNAuFEEW5mUewdNdeCt8xcq+vduovAd2BuvC3eJp2WbohCQ==} - '@codama/nodes@1.4.1': resolution: {integrity: sha512-gqr87Neh3g0+0nubVC3j4JNT99xC4flv72Z8Yjplz5vxoU+IncE3Rsv3mr8V1AC0k8fv5/ND21OcSOK44Wbh2g==} '@codama/nodes@1.4.2': resolution: {integrity: sha512-A+6gx9C7h0Ksu2tRi2g9BTdpv2RZ29KFDUIJrEc9n0tua91pFKBUaW+1/bcnEqRYKOrfUXARwEgymSdjSfOAig==} - '@codama/renderers-core@1.0.17': - resolution: {integrity: sha512-pH0tyCrkhmmc84V5kAfXAiaTn+FPPW8nM530cZWneWr2q12frgmCtmIwrGcRKyqDPnS/dJ05P+y/TOZMit+Ldg==} - '@codama/renderers-core@1.3.0': resolution: {integrity: sha512-39ugOM7c6AT5h6azC8lix6YGA17u8wSsCzJbDrShTzRgz+QHWVF1Uci/v4CEcesEHgGQigP6f1jGAnEoTb/gcQ==} + '@codama/renderers-core@1.3.1': + resolution: {integrity: sha512-WS0FuGiR2FZOv4cRrrhw4DfMHJjeapxnyHCVwjKn6YBXHUv6eszkmEbZ1c9+xSrUH3ixCtise2YSfXFY6WkQ+w==} + '@codama/renderers-js@1.5.1': resolution: {integrity: sha512-kwuMwBZILSkCtjSrceF2vCmzbyqrBLNtHgQwvWFkpgHETScfo8F4FXkK7TholIkxXNPFNBUF0tEBHi6eiomrvQ==} engines: {node: '>=20.18.0'} - '@codama/renderers-rust@1.1.3': - resolution: {integrity: sha512-hUk9yFfyq376x41jU4sSUAx3CKemybGH6mjqmIvMmjPPcupPxdoRPkI+CpidbfNMlkSG6vlpJR5CHSR3j909eQ==} + '@codama/renderers-rust@1.2.8': + resolution: {integrity: sha512-ZxCIy8XKVK/oFfogawfzv2oC26mhGfSZ9tb8YW855bcj7BwatxNDG+l19MA1/tIEKUFhgz/oZiH2Ky1CWLCmXw==} + engines: {node: '>=20.18.0'} '@codama/validators@1.4.2': resolution: {integrity: sha512-fj5R9aNIABOkt4Qp4BTEE7LSyettYkmwvu8rgGT2CcHfbtjHFJuB3Jb4F3yBZK5eGPhvz5Gf6YDW5Z6UQa9KkQ==} - '@codama/visitors-core@1.3.1': - resolution: {integrity: sha512-dlwzywaJEKO22QC/E3LpfVqNbSkTBXzFVR6pSGhWan/MNn//UR5+jyp3bFIKr+KPFDq+czilgFvFvllq5XFAXw==} - '@codama/visitors-core@1.4.1': resolution: {integrity: sha512-1IzVQlr4gxv4QQcZE98NZqTS2QLH3FdXzPvIi3Y9o34zyS9cCgdif5/nGAd1Q35uVQJSTV5UcIJ/a0dWqLNaFg==} @@ -94,37 +82,18 @@ packages: '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - '@solana/codecs-core@2.3.0': - resolution: {integrity: sha512-oG+VZzN6YhBHIoSKgS5ESM9VIGzhWjEHEGNPSibiDTxFhsFWxNaz8LbMDPjBUE69r9wmdGLkrQ+wVPbnJcZPvw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.3.3' - '@solana/codecs-core@5.0.0': resolution: {integrity: sha512-rCG2d8OaamVF2/J//YyCgDqNJpUytVVltw9C8mJtEz5c6Se/LR6BFuG8g4xeJswq/ab4RFk5/HFdgbvNjKgQjA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/codecs-numbers@2.3.0': - resolution: {integrity: sha512-jFvvwKJKffvG7Iz9dmN51OGB7JBcy2CJ6Xf3NqD/VP90xak66m/Lg48T01u5IQ/hc15mChVHiBm+HHuOFDUrQg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.3.3' - '@solana/codecs-numbers@5.0.0': resolution: {integrity: sha512-a2+skRLuUK02f/XFe4L0e1+wHCyfK25PkyseFps1v1l4pvevukFwth/EhSyrs6w5CsTJRVoR7MuE3E00PM4egw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/codecs-strings@2.3.0': - resolution: {integrity: sha512-y5pSBYwzVziXu521hh+VxqUtp0hYGTl1eWGoc1W+8mdvBdC1kTqm/X7aYQw33J42hw03JjryvYOvmGgk3Qz/Ug==} - engines: {node: '>=20.18.0'} - peerDependencies: - fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: '>=5.3.3' - '@solana/codecs-strings@5.0.0': resolution: {integrity: sha512-ALkRwpV8bGR6qjAYw0YXZwp2YI4wzvKOJGmx04Ut8gMdbaUx7qOcJkhEQKI6ZVC3lAWSIS1N1wGccUZDwvfKxw==} engines: {node: '>=20.18.0'} @@ -132,13 +101,6 @@ packages: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5.3.3' - '@solana/errors@2.3.0': - resolution: {integrity: sha512-66RI9MAbwYV0UtP7kGcTBVLxJgUxoZGm8Fbc0ah+lGiAw17Gugco6+9GrJCV83VyF2mDWyYnYM9qdI3yjgpnaQ==} - engines: {node: '>=20.18.0'} - hasBin: true - peerDependencies: - typescript: '>=5.3.3' - '@solana/errors@5.0.0': resolution: {integrity: sha512-gTuhzO6E+ydfAAzqmqdPcvFyJwAzFKKIrqtnZPpgAuomcPYu+HSo0tuwSM/cTX0djmHt+GoOsf/julph+nvs2w==} engines: {node: '>=20.18.0'} @@ -164,10 +126,6 @@ packages: resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} engines: {node: '>= 0.4'} - chalk@5.6.0: - resolution: {integrity: sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==} - engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} - chalk@5.6.2: resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} @@ -309,12 +267,6 @@ snapshots: picocolors: 1.1.1 prompts: 2.4.2 - '@codama/errors@1.3.1': - dependencies: - '@codama/node-types': 1.3.1 - chalk: 5.6.0 - commander: 14.0.2 - '@codama/errors@1.4.1': dependencies: '@codama/node-types': 1.4.1 @@ -327,17 +279,10 @@ snapshots: commander: 14.0.2 picocolors: 1.1.1 - '@codama/node-types@1.3.1': {} - '@codama/node-types@1.4.1': {} '@codama/node-types@1.4.2': {} - '@codama/nodes@1.3.1': - dependencies: - '@codama/errors': 1.3.1 - '@codama/node-types': 1.3.1 - '@codama/nodes@1.4.1': dependencies: '@codama/errors': 1.4.1 @@ -348,18 +293,18 @@ snapshots: '@codama/errors': 1.4.2 '@codama/node-types': 1.4.2 - '@codama/renderers-core@1.0.17': - dependencies: - '@codama/errors': 1.3.1 - '@codama/nodes': 1.3.1 - '@codama/visitors-core': 1.3.1 - '@codama/renderers-core@1.3.0': dependencies: '@codama/errors': 1.4.1 '@codama/nodes': 1.4.1 '@codama/visitors-core': 1.4.1 + '@codama/renderers-core@1.3.1': + dependencies: + '@codama/errors': 1.4.2 + '@codama/nodes': 1.4.2 + '@codama/visitors-core': 1.4.2 + '@codama/renderers-js@1.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: '@codama/errors': 1.4.1 @@ -372,13 +317,13 @@ snapshots: - fastestsmallesttextencoderdecoder - typescript - '@codama/renderers-rust@1.1.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@codama/renderers-rust@1.2.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: - '@codama/errors': 1.3.1 - '@codama/nodes': 1.3.1 - '@codama/renderers-core': 1.0.17 - '@codama/visitors-core': 1.3.1 - '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + '@codama/errors': 1.4.2 + '@codama/nodes': 1.4.2 + '@codama/renderers-core': 1.3.1 + '@codama/visitors-core': 1.4.2 + '@solana/codecs-strings': 5.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) nunjucks: 3.2.4 transitivePeerDependencies: - chokidar @@ -391,12 +336,6 @@ snapshots: '@codama/nodes': 1.4.2 '@codama/visitors-core': 1.4.2 - '@codama/visitors-core@1.3.1': - dependencies: - '@codama/errors': 1.3.1 - '@codama/nodes': 1.3.1 - json-stable-stringify: 1.3.0 - '@codama/visitors-core@1.4.1': dependencies: '@codama/errors': 1.4.1 @@ -417,36 +356,17 @@ snapshots: '@iarna/toml@2.2.5': {} - '@solana/codecs-core@2.3.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 2.3.0(typescript@5.9.3) - typescript: 5.9.3 - '@solana/codecs-core@5.0.0(typescript@5.9.3)': dependencies: '@solana/errors': 5.0.0(typescript@5.9.3) typescript: 5.9.3 - '@solana/codecs-numbers@2.3.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 2.3.0(typescript@5.9.3) - '@solana/errors': 2.3.0(typescript@5.9.3) - typescript: 5.9.3 - '@solana/codecs-numbers@5.0.0(typescript@5.9.3)': dependencies: '@solana/codecs-core': 5.0.0(typescript@5.9.3) '@solana/errors': 5.0.0(typescript@5.9.3) typescript: 5.9.3 - '@solana/codecs-strings@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 2.3.0(typescript@5.9.3) - '@solana/codecs-numbers': 2.3.0(typescript@5.9.3) - '@solana/errors': 2.3.0(typescript@5.9.3) - fastestsmallesttextencoderdecoder: 1.0.22 - typescript: 5.9.3 - '@solana/codecs-strings@5.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: '@solana/codecs-core': 5.0.0(typescript@5.9.3) @@ -455,12 +375,6 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 - '@solana/errors@2.3.0(typescript@5.9.3)': - dependencies: - chalk: 5.6.0 - commander: 14.0.2 - typescript: 5.9.3 - '@solana/errors@5.0.0(typescript@5.9.3)': dependencies: chalk: 5.6.2 @@ -488,8 +402,6 @@ snapshots: call-bind-apply-helpers: 1.0.2 get-intrinsic: 1.3.0 - chalk@5.6.0: {} - chalk@5.6.2: {} codama@1.4.2: