Comparing version 2.0.12 to 2.1.0
@@ -8,8 +8,10 @@ // this entire module is depressing. i should have spent my time learning | ||
const path = require('path'); | ||
const crypto = require('crypto'); | ||
const execFile = require('child_process').execFile; | ||
const env = process.env; | ||
const user = env.LOGNAME || env.USER || env.LNAME || env.USERNAME; | ||
const configfile = '.v8flags.'+process.versions.v8+'.'+user+'.json'; | ||
const exclusions = ['--help']; | ||
const configfile = '.v8flags.'+process.versions.v8+'.'+crypto.createHash('md5').update(user).digest('hex')+'.json'; | ||
const failureMessage = [ | ||
@@ -16,0 +18,0 @@ 'Unable to cache a config file for v8flags to a your home directory', |
{ | ||
"name": "v8flags", | ||
"description": "Get available v8 flags.", | ||
"version": "2.0.12", | ||
"version": "2.1.0", | ||
"homepage": "https://github.com/tkellen/node-v8flags", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -26,2 +26,3 @@ # v8flags [![Build Status](https://secure.travis-ci.org/js-cli/js-v8flags.png)](http://travis-ci.org/js-cli/js-v8flags) [![Build status](https://ci.appveyor.com/api/projects/status/9psgmwayx9kpol1a?svg=true)](https://ci.appveyor.com/project/js-cli/js-v8flags) | ||
* 2017-04-18 - v2.1.0 - hash username to support invalid path characters | ||
* 2017-03-31 - v2.0.12 - don't pollute global namespace | ||
@@ -28,0 +29,0 @@ * 2015-12-07 - v2.0.11 - cache to temp directory if home is present but unwritable |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
8989
121
50
2