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

BREAKING CHANGE: Bump version of normalize-url to 8, dependency bumps #87

Merged
merged 1 commit into from
Jul 15, 2023

Conversation

jonluca
Copy link
Contributor

@jonluca jonluca commented Jul 14, 2023

Bumps dependency versions, fixes lint errors

There's a breaking change in normalize-url v7.0.3 around url query strings - sindresorhus/normalize-url#158 which I figured should be a major version bump

@@ -33,13 +33,17 @@
"string"
],
"dependencies": {
"normalize-url": "^7.0.2",
"re2": "^1.17.2",
Copy link
Owner

Choose a reason for hiding this comment

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

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

re2 isn't used anywhere in the project

Copy link
Owner

Choose a reason for hiding this comment

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

It's required by url-regex-safe. Usually, git blame is a good way to find out why something exists.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense, will add it back. Requiring a build step for this library feels a bit too much - I might open up an issue for discussion on using an alternate implementation

Copy link
Owner

Choose a reason for hiding this comment

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

Yeah, we can switch to https://github.com/sindresorhus/super-regex instead. Feel free to do that here.

.gitignore Outdated
@@ -1,2 +1,3 @@
node_modules
yarn.lock
.idea
Copy link
Owner

Choose a reason for hiding this comment

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

Don't make unrelated changes.

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 my IDEs config files, happy to remove

Copy link
Owner

Choose a reason for hiding this comment

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

Yes. It's your config. It has nothing to do in a repo. It should be in your own global gitignore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok

@jonluca
Copy link
Contributor Author

jonluca commented Jul 14, 2023

@sindresorhus xo uses nullish coaelscing. What're your thoughts on this breaking change requiring node 14?

@sindresorhus
Copy link
Owner

I will require Node.js 16 after merging this.

@jonluca
Copy link
Contributor Author

jonluca commented Jul 15, 2023

Sounds good! I think PR is ready now

@sindresorhus sindresorhus merged commit ea1379b into sindresorhus:main Jul 15, 2023
2 of 3 checks passed
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.

None yet

2 participants