diff --git a/package.json b/package.json index 4b818f2..96bb5d2 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ }, "devDependencies": { "@codama/nodes-from-anchor": "^1.3.6", - "@codama/renderers-js": "^1.4", + "@codama/renderers-js": "^1.5", "@codama/renderers-rust": "~1.0", "@iarna/toml": "^2.2.5", "codama": "^1.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3d99adc..75bd575 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^1.3.6 version: 1.3.6(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@codama/renderers-js': - specifier: ^1.4 - version: 1.4.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + specifier: ^1.5 + version: 1.5.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@codama/renderers-rust': specifier: ~1.0 version: 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) @@ -43,10 +43,6 @@ packages: resolution: {integrity: sha512-TVPf7oJpbHtxdu52ruftJX+DlTNWi7D65tasysqs7mfRKoiZKzmkatr5hqidBz/M9WzCddUeFAHL9ZiW6g9Ccg==} hasBin: true - '@codama/errors@1.3.7': - resolution: {integrity: sha512-96BF8agDVc2vAgL4qw1lZZfuJ7XBefdzTBk2VOUnOhdMQiLb0QhJCC4BH88OcL+rZXQdet4pk7Qwarj1I1GFKg==} - hasBin: true - '@codama/errors@1.4.4': resolution: {integrity: sha512-XC86H5X+zGTi0cSRKLc+wFkeXNsvnh+ttOgVnVHIljmXOJWbUt9wXhKding3UftipLWwlHPuoswERJ0vS0mO2A==} hasBin: true @@ -54,9 +50,6 @@ packages: '@codama/node-types@1.2.8': resolution: {integrity: sha512-PEvPLMN3QGJvkwsQ7R9DmAtdazQXN0RD9WYlmHyeiR4nathV0qy9nZGFDoRh5nbNfPkbeLTgL5o3zAoeeRP6GQ==} - '@codama/node-types@1.3.7': - resolution: {integrity: sha512-L9UTFfoeki5t+BYJAa4OMsqBPpbMbx8YJQar+55mYcjwGlJsKJW7mRfLYvwEFkCUYyLdNva40OVmTf88jccZCA==} - '@codama/node-types@1.4.4': resolution: {integrity: sha512-uUeIz34Id/TTAMi4k5OVl9FByM/PawnlNIIVqgpooH9AS0UlniICZ+KJ/mdHZidJs/AGo6bSRoOPS1BLtMajyw==} @@ -66,20 +59,17 @@ packages: '@codama/nodes@1.2.8': resolution: {integrity: sha512-tCi7KErG2ChQr5n3Nj3dwciFmUo3O8RQ+S4Qv23w1zvYLaGwhEvdg3KRtgCGEI0wr9uvm2QtTBM670kdLntZiQ==} - '@codama/nodes@1.3.7': - resolution: {integrity: sha512-3OV6SIBcqsIDARyzZVGdfnffNlnKSYcb0aGp/9Liz5/EID0oBTIyuh/Cmj5Ww6RX4WPb+GNAxABAGW94zbcfQg==} - '@codama/nodes@1.4.4': resolution: {integrity: sha512-JzlY5qLk3rhsnu0nerC/Vkc9/2HjdsLtEpBtST0dxC1j9kpfHvIc2uyIj+5hlB1YIBRJIDNo+UOHGla8hidkaA==} '@codama/renderers-core@1.0.10': resolution: {integrity: sha512-7NwoyP2j1cZKgHCrd1RRn891gtxpZeiXNSP3aCFdVsRPW8dDNUL1sJ1SNOF9ILHfNP77clCBtL3eoZIFdeNQAg==} - '@codama/renderers-core@1.2.2': - resolution: {integrity: sha512-dPyHgn5L45G+tWP17ITvOlpX3+s2FcJHMjAhFZlmUHAJpH/wl+UsUwuWg698iSb56Er2jUwqX7srw5iZf7XHjQ==} + '@codama/renderers-core@1.3.3': + resolution: {integrity: sha512-L2gvsgB9ZGwA0q2F9u8AgNJf2aqAWzyRjokhLNoS9IPEQaV6ALQ4Z9FQ7/snNzEg3OvFbCg21jUynMN0brfjcw==} - '@codama/renderers-js@1.4.3': - resolution: {integrity: sha512-FC/wba6IZayKeWk710XP0OJN50kf9B6cVQGo6uXb8M8hMw9qjSJLDPwpou57Y0V7tja3kjTFPBb3I9zHheeDtQ==} + '@codama/renderers-js@1.5.4': + resolution: {integrity: sha512-mR9j00VlTlpGDe5qKmsO8tbuycPJVHGyBYd6BbsKkfPthv0gyivRgd2fwQQzEDSU+jLa44N8avPXpTKAfg13kw==} engines: {node: '>=20.18.0'} '@codama/renderers-rust@1.0.16': @@ -91,9 +81,6 @@ packages: '@codama/visitors-core@1.2.8': resolution: {integrity: sha512-sYmZT2Z6Goacgr/HrAhjLSGtu2Udcal10tEfYN8ZJBXs34PGPu0oWOC8kFx7CxvmAvt/6mw8NhKIPtg/UaIKHw==} - '@codama/visitors-core@1.3.7': - resolution: {integrity: sha512-B1JnzhRDJiLxewha/F3YzeEp8Zrtd7eKiGNJFJHSPufAnIVm2lQUDaKS+OrAOHnSRmRKIAVdzfpFpdz6EM0N6Q==} - '@codama/visitors-core@1.4.4': resolution: {integrity: sha512-vk/4tczViAUHa7c8PF7FxN+JWbuTcDB0pIdrDbbO6eBPKDPQGZCUCEp6rXIYBVxfO129jWrNf2+CuyYre/c/vA==} @@ -269,12 +256,6 @@ packages: peerDependencies: typescript: '>=5' - '@solana/codecs-core@4.0.0': - resolution: {integrity: sha512-28kNUsyIlhU3MO3/7ZLDqeJf2YAm32B4tnTjl5A9HrbBqsTZ+upT/RzxZGP1MMm7jnPuIKCMwmTpsyqyR6IUpw==} - 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'} @@ -293,12 +274,6 @@ packages: peerDependencies: typescript: '>=5' - '@solana/codecs-numbers@4.0.0': - resolution: {integrity: sha512-z9zpjtcwzqT9rbkKVZpkWB5/0V7+6YRKs6BccHkGJlaDx8Pe/+XOvPi2rEdXPqrPd9QWb5Xp1iBfcgaDMyiOiA==} - 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'} @@ -312,13 +287,6 @@ packages: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5' - '@solana/codecs-strings@4.0.0': - resolution: {integrity: sha512-XvyD+sQ1zyA0amfxbpoFZsucLoe+yASQtDiLUGMDg5TZ82IHE3B7n82jE8d8cTAqi0HgqQiwU13snPhvg1O0Ow==} - 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'} @@ -339,13 +307,6 @@ packages: peerDependencies: typescript: '>=5' - '@solana/errors@4.0.0': - resolution: {integrity: sha512-3YEtvcMvtcnTl4HahqLt0VnaGVf7vVWOnt6/uPky5e0qV6BlxDSbGkbBzttNjxLXHognV0AQi3pjvrtfUnZmbg==} - 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'} @@ -522,8 +483,8 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - prettier@3.6.2: - resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==} + prettier@3.7.4: + resolution: {integrity: sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==} engines: {node: '>=14'} hasBin: true @@ -534,6 +495,11 @@ packages: resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + semver@7.7.3: + resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} + engines: {node: '>=10'} + hasBin: true + set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} @@ -573,12 +539,6 @@ snapshots: chalk: 5.4.1 commander: 13.1.0 - '@codama/errors@1.3.7': - dependencies: - '@codama/node-types': 1.3.7 - commander: 14.0.1 - picocolors: 1.1.1 - '@codama/errors@1.4.4': dependencies: '@codama/node-types': 1.4.4 @@ -587,8 +547,6 @@ snapshots: '@codama/node-types@1.2.8': {} - '@codama/node-types@1.3.7': {} - '@codama/node-types@1.4.4': {} '@codama/nodes-from-anchor@1.3.6(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': @@ -607,11 +565,6 @@ snapshots: '@codama/errors': 1.2.8 '@codama/node-types': 1.2.8 - '@codama/nodes@1.3.7': - dependencies: - '@codama/errors': 1.3.7 - '@codama/node-types': 1.3.7 - '@codama/nodes@1.4.4': dependencies: '@codama/errors': 1.4.4 @@ -623,20 +576,21 @@ snapshots: '@codama/nodes': 1.2.8 '@codama/visitors-core': 1.2.8 - '@codama/renderers-core@1.2.2': + '@codama/renderers-core@1.3.3': dependencies: - '@codama/errors': 1.3.7 - '@codama/nodes': 1.3.7 - '@codama/visitors-core': 1.3.7 + '@codama/errors': 1.4.4 + '@codama/nodes': 1.4.4 + '@codama/visitors-core': 1.4.4 - '@codama/renderers-js@1.4.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@codama/renderers-js@1.5.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: - '@codama/errors': 1.3.7 - '@codama/nodes': 1.3.7 - '@codama/renderers-core': 1.2.2 - '@codama/visitors-core': 1.3.7 - '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) - prettier: 3.6.2 + '@codama/errors': 1.4.4 + '@codama/nodes': 1.4.4 + '@codama/renderers-core': 1.3.3 + '@codama/visitors-core': 1.4.4 + '@solana/codecs-strings': 5.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + prettier: 3.7.4 + semver: 7.7.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - typescript @@ -666,12 +620,6 @@ snapshots: '@codama/nodes': 1.2.8 json-stable-stringify: 1.2.1 - '@codama/visitors-core@1.3.7': - dependencies: - '@codama/errors': 1.3.7 - '@codama/nodes': 1.3.7 - json-stable-stringify: 1.3.0 - '@codama/visitors-core@1.4.4': dependencies: '@codama/errors': 1.4.4 @@ -771,11 +719,6 @@ snapshots: '@solana/errors': 2.0.0-rc.4(typescript@5.9.3) typescript: 5.9.3 - '@solana/codecs-core@4.0.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 4.0.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) @@ -794,12 +737,6 @@ snapshots: '@solana/errors': 2.0.0-rc.4(typescript@5.9.3) typescript: 5.9.3 - '@solana/codecs-numbers@4.0.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 4.0.0(typescript@5.9.3) - '@solana/errors': 4.0.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) @@ -814,14 +751,6 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 - '@solana/codecs-strings@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 4.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 4.0.0(typescript@5.9.3) - '@solana/errors': 4.0.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) @@ -847,12 +776,6 @@ snapshots: commander: 12.1.0 typescript: 5.9.3 - '@solana/errors@4.0.0(typescript@5.9.3)': - dependencies: - chalk: 5.6.2 - commander: 14.0.1 - typescript: 5.9.3 - '@solana/errors@5.0.0(typescript@5.9.3)': dependencies: chalk: 5.6.2 @@ -886,9 +809,9 @@ snapshots: call-bind@1.0.8: dependencies: - call-bind-apply-helpers: 1.0.1 + call-bind-apply-helpers: 1.0.2 es-define-property: 1.0.1 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 set-function-length: 1.2.2 call-bound@1.0.3: @@ -931,7 +854,7 @@ snapshots: dunder-proto@1.0.1: dependencies: - call-bind-apply-helpers: 1.0.1 + call-bind-apply-helpers: 1.0.2 es-errors: 1.3.0 gopd: 1.2.0 @@ -1060,7 +983,7 @@ snapshots: picocolors@1.1.1: {} - prettier@3.6.2: {} + prettier@3.7.4: {} prompts@2.4.2: dependencies: @@ -1069,12 +992,14 @@ snapshots: resolve-pkg-maps@1.0.0: {} + semver@7.7.3: {} + set-function-length@1.2.2: dependencies: define-data-property: 1.1.4 es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 gopd: 1.2.0 has-property-descriptors: 1.0.2