Skip to content

task(#343): update dependencies in package.json #365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/bluebird-plus.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
'use strict';
var bluebirdPlus = require('bluebird/js/main/promise')();
var bluebirdPlus = require('bluebird/js/release/promise')();

// when the last callback in a chain throws an error in the callback code,
// do not wait indefinitely for an error callback to be provided
Expand Down
5 changes: 2 additions & 3 deletions lib/documents.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ function probeDocumentsImpl(contentOnly, args) {
throw new Error('must supply uri for document check()');
}

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

var uri = null;
var txid = null;
Expand Down Expand Up @@ -336,7 +335,7 @@ Documents.prototype.protect = function protectDocument() {

if (archivePath !== null) {
try {
fs.accessSync(pathModule.dirname(archivePath))
fs.accessSync(pathModule.dirname(archivePath));
} catch (e) {
throw new Error('archive directory does not exist: ' + archivePath);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/query-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1897,7 +1897,7 @@ function minDistance() {
/** @ignore */
function MinDistanceDef(distance) {
if (!(this instanceof MinDistanceDef)) {
return new MinDistanceDef(number);
return new MinDistanceDef(distance);
}

if (typeof distance === 'number' || distance instanceof Number) {
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"xpath"
],
"dependencies": {
"bluebird": "^2.9.6",
"concat-stream": "^1.4.7",
"deepcopy": "^0.4.0",
"bluebird": "^3.4.7",
"concat-stream": "^1.6.0",
"deepcopy": "^0.6.3",
"dicer": "^0.2.5",
"multipart-stream": "^1.0.0",
"qs": "^2.3.3",
"through2": "^0.6.3",
"multipart-stream": "^2.0.1",
"qs": "^6.3.0",
"through2": "^2.0.3",
"www-authenticate": "^0.6.2",
"yakaa": "^1.0.1"
},
Expand All @@ -42,16 +42,16 @@
"core-util-is": "^1.0.1",
"gulp": "^3.8.10",
"gulp-jsdoc": "^0.1.4",
"gulp-jshint": "^1.9.2",
"gulp-mocha": "^2.0.0",
"gulp-jshint": "^2.0.4",
"gulp-mocha": "^3.0.1",
"jsdoc": "^3.3.0-beta1",
"jshint": "^2.6.0",
"mocha": "^2.1.0",
"mocha": "^3.2.0",
"read": "^1.0.5",
"should": "^4.6.5",
"winston": "^0.9.0"
"should": "^11.2.0",
"winston": "^2.3.1"
},
"optionalDependencies": {
"kerberos": "^0.0.21"
"kerberos": "^0.0.22"
}
}