Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Jan 30, 2024

replace the necessity to load semver by using a regex instead. Actually just doing

const [major, minor, patch] = pkg.version.split('.')

would have been enough. But I think the regex is better.

Copy link
Contributor

@ShogunPanda ShogunPanda left a comment

Choose a reason for hiding this comment

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

Given I don't think we're going to ever have exotic package version, I think this is already enough. Let's go!

@ShogunPanda ShogunPanda merged commit 9d58799 into nodejs:main Jan 30, 2024
@Uzlopak Uzlopak deleted the remove-semver branch January 30, 2024 08:17
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