From 19b5e3c5cc4831da153e24dee96c983d03799e2f Mon Sep 17 00:00:00 2001 From: Adeel Date: Sun, 22 Feb 2015 20:55:14 +0200 Subject: [PATCH] Build: Uses v8 version instead of runtime name. The new binary path format is: `--/binding.node` Issue URL: #694. PR URL: #695. --- lib/extensions.js | 8 ++------ package.json | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/extensions.js b/lib/extensions.js index 568c34561..a902e7dba 100644 --- a/lib/extensions.js +++ b/lib/extensions.js @@ -1,6 +1,4 @@ -var semver = require('semver'), - runtimeVersion = semver.parse(process.version), - fs = require('fs'); +var fs = require('fs'); /** * Get Runtime Info @@ -32,9 +30,7 @@ function getRuntimeInfo() { function getBinaryIdentifiableName() { return [process.platform, '-', process.arch, '-', - process.runtime.name, '-', - runtimeVersion.major, '.', - runtimeVersion.minor].join(''); + process.versions.v8].join(''); } process.runtime = getRuntimeInfo(); diff --git a/package.json b/package.json index 52ae60fac..11979af02 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,6 @@ "replace-ext": "0.0.1", "request": "^2.53.0", "sass-graph": "^1.0.3", - "semver": "^4.2.2", "shelljs": "^0.3.0" }, "devDependencies": {