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

Assume process version is set to 6.0.0 if missing #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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