TritonDataCenter / manatee

Automated fault monitoring and leader-election system for strongly-consistent, highly-available writes to PostgreSQL (Joyent SDC, Manta).
Mozilla Public License 2.0
229 stars 29 forks source link

need to bump some deps for recent versions of Node? #17

Open bixu opened 8 years ago

bixu commented 8 years ago

I'm looking into Manatee for Postgres HA at $job, and I've found I need to do this to build for Node 5 and above:

blake.irvin$ git diff
diff --git a/.gitignore b/.gitignore
index 5597b62..23c143d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ smf/manifests/*.xml
 test/etc/zookeeperMgr.test.cfg
 abandoned
 devconfs
+.vagrant/
diff --git a/package.json b/package.json
index c49f7d2..8068e6a 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
     "dependencies": {
         "assert-plus": "0.1.5",
         "backoff": "1.2.0",
-        "bignum": "0.6.2",
+        "bignum": "0.11.0",
         "bunyan": "0.22.1",
         "cmdln": "3.2.0",
         "extsprintf": "1.3.0",
@@ -33,7 +33,7 @@
         "node-zookeeper-client": "0.2.1",
         "once": "1.3.0",
         "pg": "3.0.3",
-        "posix": "1.0.3",
+        "posix": "4.0.0",
         "posix-getopt": "1.0.0",
         "progbar": "0.1.0",
         "prompt": "0.2.13",

I've not yet tested these changes, but they do allow a successful npm install...

davepacheco commented 8 years ago

Thanks for that. It would be good to know that it works, and also to check for the breaking changes to "posix" that they won't affect us. Looks like the only posix interface we're using is getpwnam().