Comparing version 2.0.9 to 2.0.10
@@ -88,2 +88,10 @@ // this entire module is depressing. i should have spent my time learning | ||
module.exports = function (cb) { | ||
// bail early if this is not node | ||
var isElectron = process.versions && process.versions.electron; | ||
if (isElectron) { | ||
return process.nextTick(function () { | ||
cb(null, []); | ||
}); | ||
} | ||
// attempt to open/read cache file | ||
@@ -90,0 +98,0 @@ openConfig(function (openErr, result) { |
{ | ||
"name": "v8flags", | ||
"description": "Get available v8 flags.", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"homepage": "https://github.com/tkellen/node-v8flags", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -26,2 +26,3 @@ # 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) | ||
* 2015-07-28 - v2.0.10 - don't throw for electron runtime, just call back with empty array | ||
* 2015-06-25 - v2.0.9 - call back with flags even if cache file can't be written | ||
@@ -28,0 +29,0 @@ * 2015-06-15 - v2.0.7 - revert to 2.0.5 behavior. |
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
8466
113
47