| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0e61c14 commit 72dcc25
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,14 +1,14 @@ | |||
| 1 | 1 | { | |
| 2 | 2 | "name": "eio", | |
| 3 | 3 | "description": "Control libeio from JavaScript", | |
| 4 | - "version": "0.2.0", | ||
| 4 | + "version": "0.2.1", | ||
| 5 | 5 | "author": { | |
| 6 | 6 | "name": "Development Seed", | |
| 7 | 7 | "url": "http://developmentseed.org/", | |
| 8 | 8 | "email": "info@developmentseed.org" | |
| 9 | 9 | }, | |
| 10 | 10 | "engines": { | |
| 11 | - "node": ">=0.8.x" | ||
| 11 | + "node": ">= 0.6.13 && < 0.11.0" | ||
| 12 | 12 | }, | |
| 13 | 13 | "licenses": [{ "type": "BSD" }], | |
| 14 | 14 | "main": "./lib/eio", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,12 +11,7 @@ using namespace node; | |||
| 11 | 11 | #if NODE_VERSION_AT_LEAST(0, 9, 4) | |
| 12 | 12 | // do nothing | |
| 13 | 13 | #else | |
| 14 | - #if NODE_VERSION_AT_LEAST(0, 8, 0) | ||
| 15 | - #define LIBUV_HAS_EV | ||
| 16 | - #else | ||
| 17 | - #define LIBUV_HAS_EV | ||
| 18 | - #include <eio.h> | ||
| 19 | - #endif | ||
| 14 | + #define LIBUV_HAS_EV | ||
| 20 | 15 | #endif | |
| 21 | 16 | ||
| 22 | 17 | Handle<Value> SetMinParallel(const Arguments& args) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,7 @@ describe('threads', function() { | |||
| 18 | 18 | ||
| 19 | 19 | it('should allow access to usage', function() { | |
| 20 | 20 | var ver = process.versions.node; | |
| 21 | - if (!parseInt(ver.split('.')[1],10) >= 9) { | ||
| 21 | + if (parseInt(ver.split('.')[1],10) < 9) { | ||
| 22 | 22 | assert.ok(eio.usage().requests !== undefined); | |
| 23 | 23 | assert.ok(eio.usage().active !== undefined); | |
| 24 | 24 | assert.ok(eio.usage().pending !== undefined); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments