Skip to content

Commit

Permalink
chore: downgrade typescript for rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Sep 8, 2021
1 parent e1a3a1b commit 04aeedf
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -110,7 +110,7 @@
"tslib": "^2.3.1",
"typedoc": "^0.21.9",
"typedoc-plugin-markdown": "^3.10.4",
"typescript": "^4.4.2",
"typescript": "4.3.5",
"uWebSockets.js": "uNetworking/uWebSockets.js#v19.3.0",
"ws": "^8.2.1"
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Expand Up @@ -26,7 +26,7 @@ export function isAsyncGenerator<T = unknown>(
): val is AsyncGenerator<T> {
return (
isObject(val) &&
typeof val[Symbol.asyncIterator] === 'function' &&
typeof Object(val)[Symbol.asyncIterator] === 'function' &&
typeof val.return === 'function'
// for lazy ones, we only need the return anyway
// typeof val.throw === 'function' &&
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Expand Up @@ -10,8 +10,7 @@
"baseUrl": "./src",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"useUnknownInCatchVariables": false
"forceConsistentCasingInFileNames": true
},
"exclude": ["lib"]
}
42 changes: 21 additions & 21 deletions yarn.lock
Expand Up @@ -2192,9 +2192,9 @@ __metadata:
linkType: hard

"@types/node@npm:*":
version: 16.7.13
resolution: "@types/node@npm:16.7.13"
checksum: 15dc28aa44674d3f49dcca4a6523b6ab1ef9bbea5c659057bec13153e1873718d6b62ab0ea57a3d57ee37f0f1136ae30e3ea503df43b0afa3ae437c8750be7f5
version: 16.9.0
resolution: "@types/node@npm:16.9.0"
checksum: cb210bcfe201d6506f1ace9e940cf45307c1fc845ad1e67bb4a2dc39a2e3441382973e96b78568844c6f324cd0d2dddcb07639313d75cdb1ac5776c9255349fb
languageName: node
linkType: hard

Expand Down Expand Up @@ -4699,7 +4699,7 @@ __metadata:
tslib: ^2.3.1
typedoc: ^0.21.9
typedoc-plugin-markdown: ^3.10.4
typescript: ^4.4.2
typescript: 4.3.5
uWebSockets.js: "uNetworking/uWebSockets.js#v19.3.0"
ws: ^8.2.1
peerDependencies:
Expand Down Expand Up @@ -6471,11 +6471,11 @@ __metadata:
linkType: hard

"marked@npm:^3.0.2":
version: 3.0.2
resolution: "marked@npm:3.0.2"
version: 3.0.3
resolution: "marked@npm:3.0.3"
bin:
marked: bin/marked
checksum: 6f88083a7e50494f97af9f92f1b03a299ecde78055f7378dd0837f12aa2e192db84b7ed528d3e7008fd8d26d39f23a2a07af2a349899917171531574798563b5
checksum: 82651af57ae9d16199ba86f4d48474b6680521cbc0a8d1c142924b3977098a2d750f4eab3ca297ba8a083e4ef072721066e8f03b9a0a9a75948ee0be9506fc2f
languageName: node
linkType: hard

Expand Down Expand Up @@ -9115,23 +9115,23 @@ __metadata:
languageName: node
linkType: hard

typescript@^4.4.2:
version: 4.4.2
resolution: "typescript@npm:4.4.2"
typescript@4.3.5:
version: 4.3.5
resolution: "typescript@npm:4.3.5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 194e08e9d1971d667d6fd1a0554616b7022312a2319d70e81a64e502a265992061ee7817ed9a69b52bbabe7a9b85e7938cb8c11c433e40a516b277f8c4dacd51
checksum: bab033b5e2b0790dd35b77fd005df976ef80b8d84fd2c6e63cc31808151875beae9216e5a315fe7068e8499905c3c354248fe83272cdfc13b7705635f0c66c97
languageName: node
linkType: hard

"typescript@patch:typescript@^4.4.2#~builtin<compat/typescript>":
version: 4.4.2
resolution: "typescript@patch:typescript@npm%3A4.4.2#~builtin<compat/typescript>::version=4.4.2&hash=d8b4e7"
"typescript@patch:typescript@4.3.5#~builtin<compat/typescript>":
version: 4.3.5
resolution: "typescript@patch:typescript@npm%3A4.3.5#~builtin<compat/typescript>::version=4.3.5&hash=d8b4e7"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 11d6ab6e868117908c388401e2ac06d503c5c8709115ab80ee69a1a6352c1f98471d1e595636bfe6a2d6b20b03a44df6bb2d3d198cea97c0c328968cd18d2b70
checksum: bc2c4fdf0f1557fdafe4ef74848c72ebd9c8c60829568248f869121aea2bb20e16649a252431d0acb185ec118143be22bed73d08f64379557810d82756afedde
languageName: node
linkType: hard

Expand Down Expand Up @@ -9466,8 +9466,8 @@ typescript@^4.4.2:
linkType: hard

"ws@npm:^7.4.6":
version: 7.5.4
resolution: "ws@npm:7.5.4"
version: 7.5.5
resolution: "ws@npm:7.5.5"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
Expand All @@ -9476,13 +9476,13 @@ typescript@^4.4.2:
optional: true
utf-8-validate:
optional: true
checksum: 48582e4feb1fc6b6b977a0ee6136e5cd1c6a14bc5cb6ce5acf596652b34be757cdf0c225235b3263d56d057bc5d6e528dbe27fc88a3d09828aa803c6696f4b2c
checksum: bd2b437256012af526c69c03d6670a132e7ab0fe5853f3b7092826acea4203fad4ee2a8d0d9bd44834b2b968e747bf34f753ab535f4a3edf40d262da4b1d0805
languageName: node
linkType: hard

"ws@npm:^8.0.0, ws@npm:^8.2.1":
version: 8.2.1
resolution: "ws@npm:8.2.1"
version: 8.2.2
resolution: "ws@npm:8.2.2"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
Expand All @@ -9491,7 +9491,7 @@ typescript@^4.4.2:
optional: true
utf-8-validate:
optional: true
checksum: 22906903c7952790a911627f99e3419d8f251a6a540d9ba4f334a7e0865d7ea7026d8ad23829c3c0f2843a9f15bdb91c646e7f8853a5a5ba25a57dea2cf7d416
checksum: 25e764c631141bdca45badc86e69437b8791e57e461f9a16c0f7cd779baf70c3fbba07ecdd9e0d34fea1155ddcf62ef165cd7f81b68ed545bc7d455c15a85fb0
languageName: node
linkType: hard

Expand Down

0 comments on commit 04aeedf

Please sign in to comment.