Socket
Socket
Sign inDemoInstall

v8flags

Package Overview
Dependencies
Maintainers
1
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 1.0.2 to 1.0.3

5

fetch.js

@@ -5,3 +5,4 @@ const fs = require('fs');

const exec = require('child_process').exec;
const nodepath = process.env._;
// this is from the env of npm, not node
const nodePath = process.env.NODE;
const version = process.versions.v8;

@@ -11,3 +12,3 @@ const tmpfile = path.join(__dirname, version+'.flags.json');

if (!fs.existsSync(tmpfile)) {
exec(nodepath+' --v8-options', function (execErr, result) {
exec(nodePath+' --v8-options', function (execErr, result) {
var flags;

@@ -14,0 +15,0 @@ if (execErr) {

2

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

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

@@ -29,1 +29,2 @@ # v8flags [![Build Status](https://secure.travis-ci.org/tkellen/node-v8flags.png)](http://travis-ci.org/tkellen/node-v8flags)

* 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`
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