Comparing version 1.0.5 to 1.0.6
@@ -5,3 +5,2 @@ const fs = require('fs'); | ||
const exec = require('child_process').exec; | ||
const nodePath = process.execPath; | ||
const version = process.versions.v8; | ||
@@ -11,3 +10,3 @@ const tmpfile = path.join(__dirname, version+'.flags.json'); | ||
if (!fs.existsSync(tmpfile)) { | ||
exec('"'+nodePath+'" --v8-options', function (execErr, result) { | ||
exec('node --v8-options', function (execErr, result) { | ||
var flags; | ||
@@ -14,0 +13,0 @@ if (execErr) { |
{ | ||
"name": "v8flags", | ||
"description": "Get available v8 flags.", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"homepage": "https://github.com/tkellen/node-v8flags", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -32,1 +32,2 @@ # v8flags [![Build Status](https://secure.travis-ci.org/tkellen/node-v8flags.png)](http://travis-ci.org/tkellen/node-v8flags) [![Build status](https://ci.appveyor.com/api/projects/status/5jpe6yawxdllrok4?svg=true)](https://ci.appveyor.com/project/tkellen/node-v8flags) | ||
* 2014-11-26 - v1.0.5 - get node executable from `process.execPath` | ||
* 2014-12-09 - v1.0.6 - revert to 1.0.0 behavior |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5240
33
43