'Unable to resolve module [web-streams-polyfill/dist/types] from [/Volumes/git/conjure-typescript-runtime/packages/conjure-client/src/fetchBridge/blobReadableStreamAdapter.js
This seemed pretty strange to me, and after playing around with it for a while without being able to resolve it, I just tried bumping karma-typescript, which fixed the issue. That caused some deprecation warnings, so I bumped karma to resolve those. Then I figured I might as well upgrade all of the karma-related deps to latest (I checked the changelogs, doesn't look like there are any major breaks that would affect us).
Before this PR
Necessary to unblock https://github.com/palantir/conjure-typescript-runtime/pull/151
When trying to run karma integration tests after switching to using
web-streams-polyfill/ponyfill
, I was getting an obscure error:After googling it, I found this comment, https://github.com/karma-runner/karma/issues/3764#issuecomment-1043010803. I set a breakpoint at the place the comment mentioned, and saw this error:
This seemed pretty strange to me, and after playing around with it for a while without being able to resolve it, I just tried bumping
karma-typescript
, which fixed the issue. That caused some deprecation warnings, so I bumpedkarma
to resolve those. Then I figured I might as well upgrade all of the karma-related deps to latest (I checked the changelogs, doesn't look like there are any major breaks that would affect us).I didn't dig too much more into what caused the problem, but I'm guessing it's the bug that this PR resolved: https://github.com/monounity/karma-typescript/pull/437
After this PR
==COMMIT_MSG== Upgrade karma dependencies ==COMMIT_MSG==
Possible downsides?