fix(concatjs): update karma to 6.3.2 and fix #2093#2603
fix(concatjs): update karma to 6.3.2 and fix #2093#2603mattem merged 2 commits intobazel-contrib:stablefrom
Conversation
| */ | ||
| import * as crypto from 'crypto'; | ||
| import * as fs from 'fs'; | ||
| import * as File from 'karma/lib/file'; |
There was a problem hiding this comment.
This is somewhat hacky. We're probably not supposed to import from lib
|
Should we be bumping the peer dep here: https://github.com/bazelbuild/rules_nodejs/blob/stable/packages/concatjs/package.json#L25 ? Or this this API available in 4.0.0 too |
|
Nice catch. I forgot that there are separate We might not actually have to bump the peer dependency. The only key missing in the new File object that is present in the current implementation's object is We could still bump it to 5.1.0 just in case. What do you think? |
|
As the tests pass I think this shows it's backwards compatible - we could bump the version as part of the upcoming 4.0.0 milestone release if we wanted, then it's a clear breaking point. |
|
Sounds good to me. Thanks! |
PR Checklist
Please check if your PR fulfills the following requirements:
No new tests added, but one was fixed to work with the change.
Docs shouldn't need to be updated for this change.
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #2093
What is the new behavior?
Fixes #2093. Updates karma packages to latest versions.
Does this PR introduce a breaking change?
The old version of karma seems to still work with these changes (n = 2 tests), but I haven't extensively tested it.
Other information