Skip to content

Commit fa56ee8

Browse files
authored
Merge pull request #365 from wooldridge/issues/dependencies-343
task(#343): update dependencies in package.json
2 parents 070bb22 + c4080ac commit fa56ee8

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

lib/bluebird-plus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616
'use strict';
17-
var bluebirdPlus = require('bluebird/js/main/promise')();
17+
var bluebirdPlus = require('bluebird/js/release/promise')();
1818

1919
// when the last callback in a chain throws an error in the callback code,
2020
// do not wait indefinitely for an error callback to be provided

lib/documents.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,7 @@ function probeDocumentsImpl(contentOnly, args) {
202202
throw new Error('must supply uri for document check()');
203203
}
204204

205-
var params = (args.length === 1 && typeof args[0] !== 'string'
206-
&& !(args[0] instanceof String)) ? args[0] : null;
205+
var params = (args.length === 1 && typeof args[0] !== 'string' && !(args[0] instanceof String)) ? args[0] : null;
207206

208207
var uri = null;
209208
var txid = null;
@@ -336,7 +335,7 @@ Documents.prototype.protect = function protectDocument() {
336335

337336
if (archivePath !== null) {
338337
try {
339-
fs.accessSync(pathModule.dirname(archivePath))
338+
fs.accessSync(pathModule.dirname(archivePath));
340339
} catch (e) {
341340
throw new Error('archive directory does not exist: ' + archivePath);
342341
}

lib/query-builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ function minDistance() {
18971897
/** @ignore */
18981898
function MinDistanceDef(distance) {
18991899
if (!(this instanceof MinDistanceDef)) {
1900-
return new MinDistanceDef(number);
1900+
return new MinDistanceDef(distance);
19011901
}
19021902

19031903
if (typeof distance === 'number' || distance instanceof Number) {

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"xpath"
2121
],
2222
"dependencies": {
23-
"bluebird": "^2.9.6",
24-
"concat-stream": "^1.4.7",
25-
"deepcopy": "^0.4.0",
23+
"bluebird": "^3.4.7",
24+
"concat-stream": "^1.6.0",
25+
"deepcopy": "^0.6.3",
2626
"dicer": "^0.2.5",
27-
"multipart-stream": "^1.0.0",
28-
"qs": "^2.3.3",
29-
"through2": "^0.6.3",
27+
"multipart-stream": "^2.0.1",
28+
"qs": "^6.3.0",
29+
"through2": "^2.0.3",
3030
"www-authenticate": "^0.6.2",
3131
"yakaa": "^1.0.1"
3232
},
@@ -42,16 +42,16 @@
4242
"core-util-is": "^1.0.1",
4343
"gulp": "^3.8.10",
4444
"gulp-jsdoc": "^0.1.4",
45-
"gulp-jshint": "^1.9.2",
46-
"gulp-mocha": "^2.0.0",
45+
"gulp-jshint": "^2.0.4",
46+
"gulp-mocha": "^3.0.1",
4747
"jsdoc": "^3.3.0-beta1",
4848
"jshint": "^2.6.0",
49-
"mocha": "^2.1.0",
49+
"mocha": "^3.2.0",
5050
"read": "^1.0.5",
51-
"should": "^4.6.5",
52-
"winston": "^0.9.0"
51+
"should": "^11.2.0",
52+
"winston": "^2.3.1"
5353
},
5454
"optionalDependencies": {
55-
"kerberos": "^0.0.21"
55+
"kerberos": "^0.0.22"
5656
}
5757
}

0 commit comments

Comments
 (0)