Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-iojs

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-iojs - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

3

index.js

@@ -12,4 +12,3 @@ var version = process.version;

!~['v1.0.0','v1.0.1'].indexOf(version) && require('child_process').exec('node -h', function(err, help) {
if (err) ioIo = false;
isIo = /iojs/m.test(help);
if (!err) isIo = /iojs/m.test(help);
});

@@ -16,0 +15,0 @@

{
"name": "is-iojs",
"version": "0.1.0",
"version": "0.1.1",
"description": "Determines if runtime is iojs",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -16,5 +16,5 @@ Determines if runtime is `iojs` or not.

```js
var isIo = require('is-iojs').safe(); // safe determination, based on result of `node -h` help message
var isIo = require('is-iojs').safe();
if (isIojs()) { /* runtime is iojs */ } else { /* runtime is node */ }
```

Sorry, the diff of this file is not supported yet

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