Port to Node 4.
This commit is contained in:
1 parent
10e269d298
commit
eba8a33e66
4 files changed
+284
-305
No files matched your search
@@ -17,9 +17,6 @@
|
||||
],
|
||||
|
||||
"main": "src/node-capnp/capnp.js",
|
||||
"peerDependencies": {
|
||||
"es6-promise": "1.x"
|
||||
},
|
||||
"scripts": {
|
||||
"install": "node ./build.js",
|
||||
"test": "node src/node-capnp/capnp-test.js"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
var fs = require("fs");
|
||||
var capnp = require("./capnp");
|
||||
var assert = require("assert");
|
||||
var Promise = require("es6-promise").Promise;
|
||||
var spawn = require("child_process").spawn;
|
||||
|
||||
var goldenBinary;
|
||||
|
||||
+284
-300
File diff suppressed because it is too large.
Load diff
@@ -45,7 +45,6 @@ try {
|
||||
}
|
||||
|
||||
var v8capnp = require(modPath);
|
||||
var Promise = require("es6-promise").Promise;
|
||||
|
||||
var importPath = [];
|
||||
for (var i in module.paths) {
|
||||
|
||||
Reference in new issue
Block a user