diff --git a/packages/homestar/package.json b/packages/homestar/package.json index c23a6ce..99e8f63 100644 --- a/packages/homestar/package.json +++ b/packages/homestar/package.json @@ -68,7 +68,7 @@ "@ipld/dag-cbor": "^9.2.0", "@ipld/dag-json": "^10.2.0", "@multiformats/sha3": "^3.0.2", - "@ts-ast-parser/core": "^0.7.0", + "@ts-ast-parser/core": "^0.8.0", "del": "^7.1.0", "emittery": "^1.0.3", "esbuild": "^0.20.1", diff --git a/packages/homestar/src/wasmify/wit.js b/packages/homestar/src/wasmify/wit.js index 2088d80..afa153a 100644 --- a/packages/homestar/src/wasmify/wit.js +++ b/packages/homestar/src/wasmify/wit.js @@ -70,7 +70,7 @@ function witType(type, msg = '') { return `tuple<${type.elements.map((t) => witType(t, msg)).join(', ')}>` } - if (type.kind === 'ObjectLiteral' && type.properties) { + if (type.kind === 'TypeLiteral' && type.properties) { return `record object-literal {${type.properties .map((p) => `${witId(p.name)}: ${witType(p.type, msg)}`) .join(', ')}}` diff --git a/packages/ucan/package.json b/packages/ucan/package.json index e7a38b3..8b363c1 100644 --- a/packages/ucan/package.json +++ b/packages/ucan/package.json @@ -58,7 +58,6 @@ "test:browser": "playwright-test 'test/**/!(*.node).test.js'" }, "dependencies": { - "@ipld/dag-cbor": "^9.2.0", "@noble/ed25519": "^2.0.0", "@scure/bip39": "^1.2.2", "iso-base": "^4.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 16d0803..c978b32 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.1' +lockfileVersion: '6.0' settings: autoInstallPeers: true @@ -306,8 +306,8 @@ importers: specifier: ^3.0.2 version: 3.0.2 '@ts-ast-parser/core': - specifier: ^0.7.0 - version: 0.7.0(typescript@5.3.3) + specifier: ^0.8.0 + version: 0.8.0(typescript@5.3.3) del: specifier: ^7.1.0 version: 7.1.0 @@ -393,9 +393,6 @@ importers: packages/ucan: dependencies: - '@ipld/dag-cbor': - specifier: ^9.2.0 - version: 9.2.0 '@noble/ed25519': specifier: ^2.0.0 version: 2.0.0 @@ -2139,22 +2136,21 @@ packages: - supports-color dev: true - /@ts-ast-parser/comment@0.1.0: - resolution: {integrity: sha512-SLN5vUMcu0FwhsW7ngVFhwCI9p5r5MGIRT1nGyVKlrXSXMHGcKnU9oulH5Gz9s6epRQooA2TJmU/4hW9z8zy9A==} - engines: {node: ^16.0.0 || ^18.0.0 || ^20.0.0} + /@ts-ast-parser/comment@0.2.0: + resolution: {integrity: sha512-W/nxZGgoK0HS90Zuy5tg4I2TF6izsW3U8jIHk+M9dEvpBjvVMLOZCmZbaewsOsu8xA11vAiLAD4IMBjLMuUwcQ==} + engines: {node: 18.x || 20.x || 21.x} dependencies: tslib: 2.6.2 dev: false - /@ts-ast-parser/core@0.7.0(typescript@5.3.3): - resolution: {integrity: sha512-9pB/ATFBsLw3ZZWuVTh7dlDPehbpdSb0s35AGfgPS8BCkMVCxZSi1t37ZK1EReA5L+Mctp4aUFQmAj+0OjqJFA==} - engines: {node: ^18.0.0 || ^20.0.0} + /@ts-ast-parser/core@0.8.0(typescript@5.3.3): + resolution: {integrity: sha512-UN78bQwfayfefhJ5f3Z7GnSTh7/oKC1G/Fp5BIR6NxP8EebEC8DRmtSDIBwO6nnLVJjI69W0R57Fa3/EzgtcvA==} + engines: {node: 18.x || 20.x || 21.x} peerDependencies: - typescript: ^4.6.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x + typescript: ^4.6.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x dependencies: - '@ts-ast-parser/comment': 0.1.0 + '@ts-ast-parser/comment': 0.2.0 globby: 14.0.1 - package-json-type: 1.0.3 tslib: 2.6.2 typescript: 5.3.3 dev: false @@ -6736,10 +6732,6 @@ packages: engines: {node: '>=6'} dev: false - /package-json-type@1.0.3: - resolution: {integrity: sha512-Bey4gdRuOwDbS8Fj1qA3/pTq5r8pqiI5E3tjSqCdhaLSsyGG364VFzXLTIexN5AaNGe/vgdBzLfoKdr7EVg2KQ==} - dev: false - /parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'}