Comparing version 1.0.6 to 1.0.7
@@ -5,7 +5,8 @@ const fs = require('fs'); | ||
const exec = require('child_process').exec; | ||
const nodePath = process.execPath; | ||
const version = process.versions.v8; | ||
const tmpfile = path.join(__dirname, version+'.flags.json'); | ||
const tmpfile = path.join(__dirname, 'cache', version+'.flags.json'); | ||
if (!fs.existsSync(tmpfile)) { | ||
exec('node --v8-options', function (execErr, result) { | ||
exec('"'+nodePath+'" --v8-options', function (execErr, result) { | ||
var flags; | ||
@@ -12,0 +13,0 @@ if (execErr) { |
{ | ||
"name": "v8flags", | ||
"description": "Get available v8 flags.", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"homepage": "https://github.com/tkellen/node-v8flags", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -24,10 +24,11 @@ # 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-12-20 - v1.0.7 - pre-cache flags for every version of node from 0.8 to 0.11 | ||
* 2014-12-09 - v1.0.6 - revert to 1.0.0 behavior | ||
* 2014-11-26 - v1.0.5 - get node executable from `process.execPath` | ||
* 2014-11-18 - v1.0.4 - wrap node executable path in quotes | ||
* 2014-11-17 - v1.0.3 - get node executable during npm install via `process.env.NODE` | ||
* 2014-11-17 - v1.0.2 - get node executable from `process.env._` | ||
* 2014-09-03 - v1.0.0 - first major version release | ||
* 2014-09-02 - v0.3.0 - keep -- in flag names | ||
* 2014-09-02 - v0.2.0 - cache flags | ||
* 2014-05-09 - v0.1.0 - initial release | ||
* 2014-09-02 - v0.2.0 - cache flags | ||
* 2014-09-02 - v0.3.0 - keep -- in flag names | ||
* 2014-09-03 - v1.0.0 - first major version release | ||
* 2014-11-17 - v1.0.2 - get node executable from `process.env._` | ||
* 2014-11-17 - v1.0.3 - get node executable during npm install via `process.env.NODE` | ||
* 2014-11-18 - v1.0.4 - wrap node executable path in quotes | ||
* 2014-11-26 - v1.0.5 - get node executable from `process.execPath` | ||
* 2014-12-09 - v1.0.6 - revert to 1.0.0 behavior |
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
136713
33
34
1
29