Socket
Socket
Sign inDemoInstall

v8flags

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v8flags - npm Package Compare versions

Comparing version 2.0.12 to 2.1.0

4

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc