Skip to content

Conversation

pdparchitect
Copy link

In some environments, such as browserify, process.version can be empty in which case the module will fail Invalid Version: exception. The proposed change ensures that process.version is interpreted as 6.0.0 if missing.

This is useful when used with browserify where process.version is set
to empty string.
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