diff --git a/package.json b/package.json index 33c137b..4cbce34 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "devDependencies": { "@codama/renderers-js": "^2.3.1", - "@codama/renderers-rust": "^3.1.0", + "@codama/renderers-rust": "^3.1.3", "codama": "^1.10", "typescript": "^5.9.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 247b872..43f9d7c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^2.3.1 version: 2.3.1(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) + specifier: ^3.1.3 + version: 3.1.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) codama: specifier: ^1.10 version: 1.10.1 @@ -35,53 +35,36 @@ packages: resolution: {integrity: sha512-AOeZ7SuSuCHlhh2irN6nI/YSkEDh+v7+/1ihqstJpYM5mYx67MuKNw1X3COe9nF8e3lkU+eVtq51ILdAJa34jA==} hasBin: true - '@codama/errors@1.5.0': - resolution: {integrity: sha512-i4cS+S7JaZXhofQHFY3cwzt8rqxUVPNaeJND5VOyKUbtcOi933YXJXk52gDG4mc+CpGqHJijsJjfSpr1lJGxzg==} - hasBin: true - - '@codama/errors@1.8.0': - resolution: {integrity: sha512-A0FNhbfS1PBSK0nS+g65IR8+OKkifuIJCCnLCUBXb+I/OYMGlJMycMpU4pwAEEGS5GAnue7D/llXE+KpUaMi8w==} - hasBin: true - '@codama/fragments@0.1.3': resolution: {integrity: sha512-ITa3UYs74AWx7se/6EZN+YXqV1Vu89L3n2v0/irsQNbPcy8wP26p/GKns/1H4a8vGvAKuzWdIGO535dwcauInw==} + '@codama/fragments@0.1.4': + resolution: {integrity: sha512-hDykTocyNL0nFKbYZjGPJKtAlMKtKM3PZJbzA8FPOFF1H7U2Z8zd+71UrH9jbSEzdnobAeaRqV71LMPg1yUG8w==} + '@codama/node-types@1.10.0': resolution: {integrity: sha512-fMoJQ8TgB9A5Pl+GA8ffhDbGK63cV1nrbDrYTgIhPDKeVqBSdkSAoAuAtvWfRd7X2ML73H6RRi6jZRJmo2xfHQ==} '@codama/node-types@1.10.1': resolution: {integrity: sha512-PANkfJ0/1rWwgWPWPRQoCoVbozWOb5YPvYDkEEvqXbnofC1qIioglMwy8pT3N1nJybMwS4J1prk05hSPmhRvag==} - '@codama/node-types@1.5.0': - resolution: {integrity: sha512-Ebz2vOUukmNaFXWdkni1ZihXkAIUnPYtqIMXYxKXOxjMP+TGz2q0lGtRo7sqw1pc2ksFBIkfBp5pZsl5p6gwXA==} - - '@codama/node-types@1.8.0': - resolution: {integrity: sha512-KE9K9jjEdeFKtDKRrjjm5YwEkg7l+YwoWiH2w1UXJL/x6P5uul6+O5WnGsJn8IFtBVSLN4hbD7YSsZ0/lktJxQ==} - '@codama/nodes@1.10.0': resolution: {integrity: sha512-P3NXVw6kZq2VDb4wYU6zQ3xFksDqSuDYqp11P6Dpei9XIZZ11NtL2jBjBcqsIudGIx104bMgSo4SZ7Hlej056A==} '@codama/nodes@1.10.1': resolution: {integrity: sha512-hcfCCpubRf/BA0vOSEBu95Q8R42yhs0myrqWVCYgv4DQrEqeAiTJxav5NEgmRj8kdFm04Qn854IT4vVXVLP9mA==} - '@codama/nodes@1.5.0': - resolution: {integrity: sha512-yg+xmorWiMNjS3n19CGIt/FZ/ZCuDIu+HEY45bq6gHu1MN3RtJZY+Q3v0ErnBPA60D8mNWkvkKoeSZXfzcAvfw==} - - '@codama/nodes@1.8.0': - resolution: {integrity: sha512-rl+7BxYatAE6uq5h9b5fEilGLd3YeJaJxqgLDAvdKQ5pspq6ch5ww9NiigkwdvDYli1Yk56PRhMZdLsiZIVgAA==} - '@codama/renderers-core@1.3.11': resolution: {integrity: sha512-VSGrfmwPVv5cRAiHitgIq+rc9ktIN/Q9czbUORaqhZCmM+M3Ux5cd5r90PVTbeIt8vI0Zlw74OUFwdKqdEfSNw==} - '@codama/renderers-core@1.3.5': - resolution: {integrity: sha512-MuZLU+3LZPQb1HuZffwZl+v5JHQDe5LYHGhA1wTMNlwRedYIysSxBjogHNciNIHsKP3JjmqyYmLO5LCEp3hjaQ==} + '@codama/renderers-core@1.3.12': + resolution: {integrity: sha512-LyjFPg66hgfeEI9yV952LSKH4M1UOl1zoIRZgMT25hw5rGQmxxYxNqyKSleqEzJ4uKEO4kAj2WVhFVK4F4sAbA==} '@codama/renderers-js@2.3.1': resolution: {integrity: sha512-+7WtjpcqnlPkweG+tWWiER2XkJP7SF+RJgYpI0RHc91ZP60Umt0qc+0JPuqMyiPhVrLTN2U/lpsBDQw2MeEsvA==} engines: {node: '>=20.18.0'} - '@codama/renderers-rust@3.1.0': - resolution: {integrity: sha512-E/GSUCuiIpFj+ij3NbduH/h3sNDo39Bq14vj2atxdbbrPmu4clWvIEjXtbmP03qhudH73TxbYO8dWg/NwRi18A==} + '@codama/renderers-rust@3.1.3': + resolution: {integrity: sha512-z5hPKlqT/0umZOdVMZfRw03mfN/GkdZ0z646cIComcosDk4VKTO4AFr98sg1L/aO5MXfoBrTfNOqYzD1fyUotg==} engines: {node: '>=20.18.0'} '@codama/validators@1.10.1': @@ -93,29 +76,23 @@ packages: '@codama/visitors-core@1.10.1': resolution: {integrity: sha512-l5dEZ7Ra5KU64y0Nw79CUp4bAlKRQg9m1DlW1nfQtMEByWEzqteOYesKCgK1z3ypCOXqkN9qlrLAqaYSbOa9Vw==} - '@codama/visitors-core@1.5.0': - resolution: {integrity: sha512-3PIAlBX0a06hIxzyPtQMfQcqWGFBgfbwysSwcXBbvHUYbemwhD6xwlBKJuqTwm9DyFj3faStp5fpvcp03Rjxtw==} - - '@codama/visitors-core@1.8.0': - resolution: {integrity: sha512-CLO0icVvzAutjI7imuN1Rib0/GIBc7hhwQ5gcE3aVAVBHUNS4M27BzagqYTpL0cMC9I1tL9c6lhpCBV2kKs6Zg==} - '@codama/visitors@1.10.1': resolution: {integrity: sha512-odsT0HMGpByL4fynLEmVJVoWB1jU5+DNg6pSiJXHmWpJE68mHvgK3tXUTj7eU8zAW+lAjfQWui6pcFp8W4xhJA==} '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - '@solana/codecs-core@6.0.1': - resolution: {integrity: sha512-OnUQk94qfvfE0nVveZ638aNUL3tyRJoorUFiAG0ICTGUo3c6fkYb8vH23o/5O2qmuSmYND1sn+UCaldNMVkFpg==} + '@solana/codecs-core@7.0.0': + resolution: {integrity: sha512-6HtEisZEtFb6okARUgYqmKdDbn2aHRrSCDgB1/GEwr0s6fK5XNYpafaSjorbs2MEyZV3tCUFTj2j6fk/4nNcLg==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: ^5.0.0 + typescript: '>=5.4.0' peerDependenciesMeta: typescript: optional: true - '@solana/codecs-core@7.0.0': - resolution: {integrity: sha512-6HtEisZEtFb6okARUgYqmKdDbn2aHRrSCDgB1/GEwr0s6fK5XNYpafaSjorbs2MEyZV3tCUFTj2j6fk/4nNcLg==} + '@solana/codecs-core@7.1.0': + resolution: {integrity: sha512-pl1gCCvviKekrijEDieZ1ps3LjC6ova2pZ/ZBXEJJa46nF7M0hwdZe/KzbMxKQ8WtT/WqW8Uyh6JQt8IJcMgRw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -123,17 +100,17 @@ packages: typescript: optional: true - '@solana/codecs-numbers@6.0.1': - resolution: {integrity: sha512-ZrI1NjUsf4I+Klue/2rlQbZLcGRom/G2E4VB/8x4IEHGOeFLQhXcxmnib8kdgomQRYOzF1BjVDmCYxvZr+6AWA==} + '@solana/codecs-numbers@7.0.0': + resolution: {integrity: sha512-XL0jnmnXr3ceoX4tusT+XkBVR2iGKEJecTIXbIV7ILi9xObg3fNXafNbTmbIOvKc0ByTyjo8EWZ9jQKSRWgsgA==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: ^5.0.0 + typescript: '>=5.4.0' peerDependenciesMeta: typescript: optional: true - '@solana/codecs-numbers@7.0.0': - resolution: {integrity: sha512-XL0jnmnXr3ceoX4tusT+XkBVR2iGKEJecTIXbIV7ILi9xObg3fNXafNbTmbIOvKc0ByTyjo8EWZ9jQKSRWgsgA==} + '@solana/codecs-numbers@7.1.0': + resolution: {integrity: sha512-Hfw5OXx7tbSJ4iQ0r1ar6D+7XixkX8K36ni9cHDrunpiTo9SLIE0Lzj9/889aPNv4J4JggW1bpqzcrz3RI/o5g==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -141,20 +118,20 @@ packages: typescript: optional: true - '@solana/codecs-strings@6.0.1': - resolution: {integrity: sha512-OmMIfMFbbJVIxveBeATKCj9DsmZ8l4vJPnOLHUop0hLWRiYHTQ1qokMqfk/X8PCmUjXmbXnlp63BikGtdKN3/g==} + '@solana/codecs-strings@7.0.0': + resolution: {integrity: sha512-zXE1PE9HkVk6phZ6aqHTXvLZ0qIl5bJNIvG9eMB7LuFO1XBVQywJUtjKS8fE3/xmRCWSMilFSrEXGA+SpOyLrQ==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: ^5.0.0 + typescript: '>=5.4.0' peerDependenciesMeta: fastestsmallesttextencoderdecoder: optional: true typescript: optional: true - '@solana/codecs-strings@7.0.0': - resolution: {integrity: sha512-zXE1PE9HkVk6phZ6aqHTXvLZ0qIl5bJNIvG9eMB7LuFO1XBVQywJUtjKS8fE3/xmRCWSMilFSrEXGA+SpOyLrQ==} + '@solana/codecs-strings@7.1.0': + resolution: {integrity: sha512-YIv/XVDYTzkYiFRdbjK6tI1BUKNlV1ta5hl9oK6+CoCDZn7nECfAN96KPYs94jzbN5VgMgbEqi6tlQcdy5KuCg==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 @@ -165,18 +142,18 @@ packages: typescript: optional: true - '@solana/errors@6.0.1': - resolution: {integrity: sha512-sMe5GCsXto8F1KDeq9GbZR0+m841SqEYep3NAcYlC0lqF2RG4giaaPQHgrWI5DJR/L7yc8FzUIQfTxnaN7bwOQ==} + '@solana/errors@7.0.0': + resolution: {integrity: sha512-94r+LLSzZ0XVp+LOogwxWGXeo138uvwqtqRW9Tjl1DIXrFgh8euXnJSXZyydu1UXJs7ItOSm0QreJviSGw3TGQ==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: - typescript: ^5.0.0 + typescript: '>=5.4.0' peerDependenciesMeta: typescript: optional: true - '@solana/errors@7.0.0': - resolution: {integrity: sha512-94r+LLSzZ0XVp+LOogwxWGXeo138uvwqtqRW9Tjl1DIXrFgh8euXnJSXZyydu1UXJs7ItOSm0QreJviSGw3TGQ==} + '@solana/errors@7.1.0': + resolution: {integrity: sha512-sJ0mM6SHN7fa6auHARRAGjjDpkFzhx6jmgHZAjliC/xADMfI2IYrTnAwguRV9dVBOsEHicylIXszvsyRb6BmEw==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: @@ -316,11 +293,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.8.5: resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} engines: {node: '>=10'} @@ -361,30 +333,18 @@ snapshots: commander: 15.0.0 picocolors: 1.1.1 - '@codama/errors@1.5.0': - dependencies: - '@codama/node-types': 1.5.0 - commander: 14.0.3 - picocolors: 1.1.1 - - '@codama/errors@1.8.0': - dependencies: - '@codama/node-types': 1.8.0 - commander: 14.0.3 - picocolors: 1.1.1 - '@codama/fragments@0.1.3': dependencies: '@codama/errors': 1.10.0 + '@codama/fragments@0.1.4': + dependencies: + '@codama/errors': 1.10.1 + '@codama/node-types@1.10.0': {} '@codama/node-types@1.10.1': {} - '@codama/node-types@1.5.0': {} - - '@codama/node-types@1.8.0': {} - '@codama/nodes@1.10.0': dependencies: '@codama/errors': 1.10.0 @@ -395,16 +355,6 @@ snapshots: '@codama/errors': 1.10.1 '@codama/node-types': 1.10.1 - '@codama/nodes@1.5.0': - dependencies: - '@codama/errors': 1.5.0 - '@codama/node-types': 1.5.0 - - '@codama/nodes@1.8.0': - dependencies: - '@codama/errors': 1.8.0 - '@codama/node-types': 1.8.0 - '@codama/renderers-core@1.3.11': dependencies: '@codama/errors': 1.10.0 @@ -412,11 +362,12 @@ snapshots: '@codama/nodes': 1.10.0 '@codama/visitors-core': 1.10.0 - '@codama/renderers-core@1.3.5': + '@codama/renderers-core@1.3.12': dependencies: - '@codama/errors': 1.5.0 - '@codama/nodes': 1.5.0 - '@codama/visitors-core': 1.5.0 + '@codama/errors': 1.10.1 + '@codama/fragments': 0.1.4 + '@codama/nodes': 1.10.1 + '@codama/visitors-core': 1.10.1 '@codama/renderers-js@2.3.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: @@ -431,16 +382,16 @@ snapshots: - fastestsmallesttextencoderdecoder - typescript - '@codama/renderers-rust@3.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@codama/renderers-rust@3.1.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: - '@codama/errors': 1.8.0 - '@codama/nodes': 1.8.0 - '@codama/renderers-core': 1.3.5 - '@codama/visitors-core': 1.8.0 + '@codama/errors': 1.10.1 + '@codama/nodes': 1.10.1 + '@codama/renderers-core': 1.3.12 + '@codama/visitors-core': 1.10.1 '@iarna/toml': 2.2.5 - '@solana/codecs-strings': 6.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + '@solana/codecs-strings': 7.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) nunjucks: 3.2.4 - semver: 7.7.3 + semver: 7.8.5 transitivePeerDependencies: - chokidar - fastestsmallesttextencoderdecoder @@ -464,18 +415,6 @@ snapshots: '@codama/nodes': 1.10.1 json-stable-stringify: 1.3.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.8.0': - dependencies: - '@codama/errors': 1.8.0 - '@codama/nodes': 1.8.0 - json-stable-stringify: 1.3.0 - '@codama/visitors@1.10.1': dependencies: '@codama/errors': 1.10.1 @@ -484,22 +423,15 @@ 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@7.0.0(typescript@5.9.3)': dependencies: '@solana/errors': 7.0.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - '@solana/codecs-numbers@6.0.1(typescript@5.9.3)': + '@solana/codecs-core@7.1.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 6.0.1(typescript@5.9.3) - '@solana/errors': 6.0.1(typescript@5.9.3) + '@solana/errors': 7.1.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 @@ -510,13 +442,11 @@ snapshots: optionalDependencies: typescript: 5.9.3 - '@solana/codecs-strings@6.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@solana/codecs-numbers@7.1.0(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) + '@solana/codecs-core': 7.1.0(typescript@5.9.3) + '@solana/errors': 7.1.0(typescript@5.9.3) optionalDependencies: - fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 '@solana/codecs-strings@7.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': @@ -528,11 +458,13 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 - '@solana/errors@6.0.1(typescript@5.9.3)': + '@solana/codecs-strings@7.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: - chalk: 5.6.2 - commander: 14.0.3 + '@solana/codecs-core': 7.1.0(typescript@5.9.3) + '@solana/codecs-numbers': 7.1.0(typescript@5.9.3) + '@solana/errors': 7.1.0(typescript@5.9.3) optionalDependencies: + fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 '@solana/errors@7.0.0(typescript@5.9.3)': @@ -542,6 +474,13 @@ snapshots: optionalDependencies: typescript: 5.9.3 + '@solana/errors@7.1.0(typescript@5.9.3)': + dependencies: + chalk: 5.6.2 + commander: 15.0.0 + optionalDependencies: + typescript: 5.9.3 + a-sync-waterfall@1.0.1: {} asap@2.0.6: {} @@ -667,8 +606,6 @@ snapshots: kleur: 3.0.3 sisteransi: 1.0.5 - semver@7.7.3: {} - semver@7.8.5: {} set-function-length@1.2.2: