Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,3 @@ const fs = require('fs'); | ||
const exec = require('child_process').exec; | ||
const nodepath = process.env._; | ||
const version = process.versions.v8; | ||
@@ -10,3 +11,3 @@ const tmpfile = path.join(__dirname, version+'.flags.json'); | ||
if (!fs.existsSync(tmpfile)) { | ||
exec('node --v8-options', function (execErr, result) { | ||
exec(nodepath+' --v8-options', function (execErr, result) { | ||
var flags; | ||
@@ -13,0 +14,0 @@ if (execErr) { |
{ | ||
"name": "v8flags", | ||
"description": "Get available v8 flags.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://github.com/tkellen/node-v8flags", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -28,1 +28,2 @@ # v8flags [![Build Status](https://secure.travis-ci.org/tkellen/node-v8flags.png)](http://travis-ci.org/tkellen/node-v8flags) | ||
* 2014-09-03 - v1.0.0 - first major version release | ||
* 2014-11-17 - v1.0.2 - get node executable from `process.env._` |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
4376
44
29
4