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.10 to 2.0.11

13

index.js

@@ -30,4 +30,13 @@ // this entire module is depressing. i should have spent my time learning

var userHome = require('user-home');
var configpath = path.join(userHome || os.tmpdir(), configfile);
var content;
if (!userHome) {
return tryOpenConfig(path.join(os.tmpdir(), configfile), cb);
}
tryOpenConfig(path.join(userHome, configfile), function (err, fd) {
if (err) return tryOpenConfig(path.join(os.tmpdir(), configfile), cb);
return cb(null, fd);
});
}
function tryOpenConfig (configpath, cb) {
try {

@@ -34,0 +43,0 @@ // if the config file is valid, it should be json and therefore

2

package.json
{
"name": "v8flags",
"description": "Get available v8 flags.",
"version": "2.0.10",
"version": "2.0.11",
"homepage": "https://github.com/tkellen/node-v8flags",

@@ -6,0 +6,0 @@ "author": {

@@ -1,2 +0,2 @@

# v8flags [![Build Status](https://secure.travis-ci.org/tkellen/js-v8flags.png)](http://travis-ci.org/tkellen/js-v8flags) [![Build status](https://ci.appveyor.com/api/projects/status/9psgmwayx9kpol1a?svg=true)](https://ci.appveyor.com/project/tkellen/js-v8flags)
# 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)
> Get available v8 flags.

@@ -26,2 +26,3 @@

* 2015-12-07 - v2.0.11 - cache to temp directory if home is present but unwritable
* 2015-07-28 - v2.0.10 - don't throw for electron runtime, just call back with empty array

@@ -28,0 +29,0 @@ * 2015-06-25 - v2.0.9 - call back with flags even if cache file can't be written

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