From 3cea4e8513fb6894da4d4e8ae4147421d0f9e303 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Thu, 17 Mar 2016 12:48:35 -0700 Subject: [PATCH] incomplete node 5.x support work --- lib/client.js | 2 ++ lib/jobshare.js | 2 +- package.json | 10 +++++----- test/client.test.js | 1 + 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/client.js b/lib/client.js index 92f80e6..8bfeb26 100644 --- a/lib/client.js +++ b/lib/client.js @@ -701,6 +701,8 @@ MantaClient.prototype.chattr = function chattr(p, opts, cb) { options.path += '?metadata=true'; + log.level('trace'); // XXX + log.debug(options, 'chattr: entered'); self.signRequest({ headers: options.headers diff --git a/lib/jobshare.js b/lib/jobshare.js index 840bb11..56b7278 100644 --- a/lib/jobshare.js +++ b/lib/jobshare.js @@ -258,7 +258,7 @@ function jStageRender(j, cb) params['manta_url'] = process.env['MANTA_URL']; - converter = new showdown.converter(); + converter = new showdown.Converter(); if (j.j_data.hasOwnProperty('readme')) params['readme'] = converter.makeHtml(j.j_data['readme']['contents']); diff --git a/package.json b/package.json index 1f1d54e..cf28742 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "dependencies": { "assert-plus": "0.1.5", "backoff": "2.3.0", - "bunyan": "0.22.1", + "bunyan": "1.6.0", "clone": "0.1.11", "cmdln": "1.3.1", "dashdash": "1.3.2", @@ -31,13 +31,13 @@ "path-platform": "0.0.1", "progbar": "1.0.0", "readable-stream": "1.1.9", - "restify": "2.8.1", - "showdown": "0.3.1", + "restify": "4.0.4", + "showdown": "1.3.0", "smartdc-auth": "2.4.1", - "tar": "0.1.18", + "tar": "2.2.1", "vasync": "1.4.0", "verror": "1.3.6", - "watershed": "0.3.0" + "watershed": "0.3.1" }, "devDependencies": { "nodeunit": "0.9.0" diff --git a/test/client.test.js b/test/client.test.js index 5946171..ef14a52 100644 --- a/test/client.test.js +++ b/test/client.test.js @@ -231,6 +231,7 @@ test('chattr', function (t) { } self.client.chattr(CHILD1, opts, function onChattr(err1) { + console.log('XXX err1', err1); t.ifError(err1); self.client.info(CHILD1, function onInfo(err2, info2) {