initial commit
This commit is contained in:
10
node_modules/default-resolution/node-version.js
generated
vendored
Normal file
10
node_modules/default-resolution/node-version.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
var match = process.version.match(/v(\d+)\.(\d+)\.(\d+)/);
|
||||
var nodeVersion = {
|
||||
major: parseInt(match[1], 10),
|
||||
minor: parseInt(match[2], 10),
|
||||
patch: parseInt(match[3], 10),
|
||||
};
|
||||
|
||||
module.exports = nodeVersion;
|
||||
Reference in New Issue
Block a user