New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(deps-dev): bump chai from 4.4.1 to 5.1.0 in /web #15877
Conversation
b6ec708
to
75b2e04
Compare
This PR will not be mergeable until all our tests are changed to use ESM. |
75b2e04
to
fc0c02c
Compare
Huh, interesting that |
Was it? When was that? It's still on version 2.1.0, when the latest version is 3.0.0 according to https://www.npmjs.com/package/chai-html?activeTab=versions: Line 19 in 13f7456
|
These 42 files need updates: https://github.com/search?q=repo%3Aruffle-rs%2Fruffle+chai+path%3A%2F%5Eweb%5C%2Fpackages%5C%2Fselfhosted%5C%2Ftest%5C%2F%2F&type=code That's every JS file in https://github.com/ruffle-rs/ruffle/tree/master/web/packages/selfhosted/test |
Okay it wasn't then. I just saw it listed in #15365, but not here, so I assumed it must have gotten done sometime... Sorry. |
Something like this? ☝️ |
|
ad598fd
to
0270916
Compare
I think the next issue is the webpack config needs to be an export similar to this: https://github.com/ruffle-rs/ruffle/blob/master/web/packages/extension/webpack.config.js#L71 |
0270916
to
3c75145
Compare
Yes, just what I was looking for, thank you! 🙏 |
See Compare to https://github.com/ruffle-rs/ruffle/blob/master/web/packages/extension/webpack.config.js#L90 For reference https://stackoverflow.com/questions/8817423/why-is-dirname-not-defined-in-node-repl |
3c75145
to
cf93537
Compare
Damn, current error seems to be because the tests are full of __dirname references. |
But how come it passes on Windows? 😱 |
Windows hasn't run tests for a while. |
Yeah, right... oh... |
Proof positive for progress though, 3 tests passed (the JS API tests don't use __dirname) |
Oh, will this work for us?
|
Worth a shot. We no longer test Node 18 on CI, but we don't call it unsupported. This would make it unsupported, but just for tests I guess, so I feel like that's fine personally if no one disagrees. |
Looks like you need to run |
57671c5
to
f470968
Compare
It's gween! |
3dca3e7
to
23b570e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving because all checks are green and I see nothing obviously wrong. I don't consider myself qualified to fully review changing all our tests to ESM (which as a note, is one thing done by this PR), so hoping for another review.
23b570e
to
3f15d1e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks totally fine to me. Thank you both!
Bumps [chai](https://github.com/chaijs/chai) from 4.4.1 to 5.1.0. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](chaijs/chai@v4.4.1...v5.1.0) --- updated-dependencies: - dependency-name: chai dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
3f15d1e
to
0d08c53
Compare
Bumps chai from 4.4.1 to 5.1.0.
Release notes
Sourced from chai's releases.
... (truncated)
Commits
2cf92f5
Fix publish script (#1602)1ba37b5
Set support in same members (#1583)f224339
Assert interface fix (#1601)d504573
Implementiterable
assertion (#1592)640d932
Convert comments in "legal comments" format to jsdoc (#1598)e7f768e
Cleanup jsdoc comments (#1596)3290eb4
Remove useless guards and add parentheses to constuctors (#1593)44b81df
5.0.31a4dca1
5.0.257fef84
Fix 1564 (#1566)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)