Skip to content

Commit

Permalink
chore: update @ts-ast-parser/core to support node 21 (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
avivash committed Mar 18, 2024
1 parent 5a17a02 commit 65e8e6c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 22 deletions.
2 changes: 1 addition & 1 deletion packages/homestar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/homestar/src/wasmify/wit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(', ')}}`
Expand Down
1 change: 0 additions & 1 deletion packages/ucan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
30 changes: 11 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 65e8e6c

Please sign in to comment.