Skip to content

Conversation

fregante
Copy link
Contributor

@fregante fregante commented Aug 26, 2024

It looks like this initially used semver-diff, but then loaded the whole of semver, making the former redundant.

This PR drops semver-diff and avoids the index file import from semver.

@@ -47,7 +47,6 @@
"latest-version": "^9.0.0",
"pupa": "^3.1.0",
"semver": "^7.6.3",
"semver-diff": "^4.0.0",
Copy link
Contributor Author

@fregante fregante Aug 26, 2024

Choose a reason for hiding this comment

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

semver-diff imports the whole of semver anyway: https://github.com/sindresorhus/semver-diff/blob/main/index.js

@sindresorhus sindresorhus merged commit 0b962bc into sindresorhus:main Aug 27, 2024
2 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.

2 participants