Skip to content
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

Dependency maintenance #76

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Dependency maintenance #76

merged 1 commit into from
Jan 9, 2024

Conversation

AaronMoat
Copy link
Contributor

- Upgrade everything
- Swap del for rimraf, as del is ESM only and old versions have vulnerabilities (e.g. via https://security.snyk.io/vuln/SNYK-JS-INFLIGHT-6095116).
- Fix bug with unions resulting in infinite recursion except for depthLimit. I came across this while manually testing the changes here
in one of my repos - I think it was an unintended consequence of #44, and the test introduced in that PR
still passes, so I think my small change here is likely ok?

function main ({
function main({
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All formatting changes were done by eslint upgrades and running lint --fix.

@@ -108,19 +108,25 @@ function main ({
) {
return '';
}
if (!fromUnion) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the bug fix I mentioned.

@AaronMoat
Copy link
Contributor Author

Hey @timqian, just giving a ping as I don't have permission to 'request reviewer' on this fork :)

@timqian
Copy link
Owner

timqian commented Jan 9, 2024

@AaronMoat Thank you for the contribution!

@timqian timqian merged commit 997fcd8 into timqian:master Jan 9, 2024
2 checks passed
@AaronMoat AaronMoat deleted the deps branch January 10, 2024 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants