Skip to content

Assume process version is set to 6.0.0 if missing#7

Open
pdparchitect wants to merge 4 commits intokkaefer:masterfrom
pdparchitect:master
Open

Assume process version is set to 6.0.0 if missing#7
pdparchitect wants to merge 4 commits intokkaefer:masterfrom
pdparchitect:master

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