Update package dependencies

This commit is contained in:
Nick O'Leary 2018-01-13 22:00:43 +00:00
parent 41582045d0
commit 1f40d4f941
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 46 additions and 25 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red", "name": "node-red",
"version": "0.17.5", "version": "0.18.0",
"description": "A visual tool for wiring the Internet of Things", "description": "A visual tool for wiring the Internet of Things",
"homepage": "http://nodered.org", "homepage": "http://nodered.org",
"license": "Apache-2.0", "license": "Apache-2.0",
@ -33,51 +33,51 @@
"flow" "flow"
], ],
"dependencies": { "dependencies": {
"basic-auth": "1.1.0", "basic-auth": "2.0.0",
"bcryptjs": "2.4.3", "bcryptjs": "2.4.3",
"body-parser": "1.17.2", "body-parser": "1.18.2",
"cheerio": "0.22.0", "cheerio": "0.22.0",
"clone": "2.1.1", "clone": "2.1.1",
"cookie": "0.3.1", "cookie": "0.3.1",
"cookie-parser": "1.4.3", "cookie-parser": "1.4.3",
"cors": "2.8.3", "cors": "2.8.4",
"cron": "1.2.1", "cron": "1.3.0",
"express": "4.15.3", "express": "4.16.2",
"express-session": "1.15.2", "express-session": "1.15.6",
"follow-redirects": "1.2.4", "follow-redirects": "1.3.0",
"fs-extra": "1.0.0", "fs-extra": "1.0.0",
"fs.notify": "0.0.4", "fs.notify": "0.0.4",
"hash-sum": "1.0.2", "hash-sum": "1.0.2",
"i18next": "1.10.6", "i18next": "1.10.6",
"is-utf8": "0.2.1", "is-utf8": "0.2.1",
"js-yaml": "3.8.4", "js-yaml": "3.10.0",
"json-stringify-safe": "5.0.1", "json-stringify-safe": "5.0.1",
"jsonata": "1.4.1", "jsonata": "1.4.1",
"media-typer": "0.3.0", "media-typer": "0.3.0",
"memorystore": "1.6.0", "memorystore": "1.6.0",
"mqtt": "2.9.0", "mqtt": "2.15.1",
"multer": "1.3.0", "multer": "1.3.0",
"mustache": "2.3.0", "mustache": "2.3.0",
"nopt": "3.0.6", "nopt": "4.0.1",
"oauth2orize": "1.8.0", "oauth2orize": "1.11.0",
"on-headers": "1.0.1", "on-headers": "1.0.1",
"passport": "0.3.2", "passport": "0.4.0",
"passport-http-bearer": "1.0.1", "passport-http-bearer": "1.0.1",
"passport-oauth2-client-password": "0.1.2", "passport-oauth2-client-password": "0.1.2",
"raw-body": "2.2.0", "raw-body": "2.3.2",
"semver": "5.3.0", "semver": "5.4.1",
"sentiment": "2.1.0", "sentiment": "2.1.0",
"uglify-js": "3.0.20", "uglify-js": "3.3.6",
"when": "3.7.8", "when": "3.7.8",
"ws": "1.1.1", "ws": "1.1.5",
"xml2js": "0.4.17", "xml2js": "0.4.19",
"node-red-node-feedparser": "0.1.*", "node-red-node-feedparser": "0.1.*",
"node-red-node-email": "0.1.*", "node-red-node-email": "0.1.*",
"node-red-node-twitter": "0.1.*", "node-red-node-twitter": "0.1.*",
"node-red-node-rbe": "0.1.*" "node-red-node-rbe": "0.1.*"
}, },
"optionalDependencies": { "optionalDependencies": {
"bcrypt": "~1.0.1" "bcrypt": "~1.0.3"
}, },
"devDependencies": { "devDependencies": {
"chromedriver": "^2.33.2", "chromedriver": "^2.33.2",
@ -90,12 +90,12 @@
"grunt-contrib-concat": "~1.0.1", "grunt-contrib-concat": "~1.0.1",
"grunt-contrib-copy": "~1.0.0", "grunt-contrib-copy": "~1.0.0",
"grunt-contrib-jshint": "~1.1.0", "grunt-contrib-jshint": "~1.1.0",
"grunt-contrib-uglify": "~3.0.1", "grunt-contrib-uglify": "~3.3.0",
"grunt-contrib-watch": "~1.0.0", "grunt-contrib-watch": "~1.0.0",
"grunt-jsonlint": "~1.1.0", "grunt-jsonlint": "~1.1.0",
"grunt-mocha-istanbul": "5.0.2", "grunt-mocha-istanbul": "5.0.2",
"grunt-nodemon": "~0.4.2", "grunt-nodemon": "~0.4.2",
"grunt-sass": "~1.2.1", "grunt-sass": "~2.0.0",
"grunt-simple-mocha": "~0.4.1", "grunt-simple-mocha": "~0.4.1",
"grunt-webdriver": "^2.0.3", "grunt-webdriver": "^2.0.3",
"istanbul": "0.4.5", "istanbul": "0.4.5",

View File

@ -101,6 +101,8 @@ describe('websocket Node', function() {
helper.load(websocketNode, flow, function() { helper.load(websocketNode, flow, function() {
createClient("n1").then(function(sock) { createClient("n1").then(function(sock) {
done(); done();
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -113,6 +115,8 @@ describe('websocket Node', function() {
done(); done();
}); });
helper.clearFlows(); helper.clearFlows();
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -129,6 +133,8 @@ describe('websocket Node', function() {
done(); done();
}); });
sock.send("hello"); sock.send("hello");
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -145,6 +151,8 @@ describe('websocket Node', function() {
msg.should.have.property("text", "hello"); msg.should.have.property("text", "hello");
done(); done();
}); });
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -161,6 +169,8 @@ describe('websocket Node', function() {
msg.should.have.property("payload", "hello"); msg.should.have.property("payload", "hello");
done(); done();
}); });
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -179,6 +189,8 @@ describe('websocket Node', function() {
helper.getNode("n2").send({ helper.getNode("n2").send({
payload: "hello" payload: "hello"
}); });
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -197,6 +209,8 @@ describe('websocket Node', function() {
helper.getNode("n3").send({ helper.getNode("n3").send({
text: "hello" text: "hello"
}); });
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -216,6 +230,8 @@ describe('websocket Node', function() {
done(); done();
},100); },100);
helper.getNode("n2").send({topic: "hello"}); helper.getNode("n2").send({topic: "hello"});
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -232,6 +248,8 @@ describe('websocket Node', function() {
done(); done();
}); });
sock.send("hello"); sock.send("hello");
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -248,6 +266,8 @@ describe('websocket Node', function() {
done(); done();
}); });
sock.send('{"text":"hello"}'); sock.send('{"text":"hello"}');
}).catch(function(err) {
done(err);
}); });
}); });
}); });
@ -272,10 +292,11 @@ describe('websocket Node', function() {
helper.getNode("n3").send({ helper.getNode("n3").send({
payload: "hello" payload: "hello"
}); });
}); return when.all([def1.promise, def2.promise]).then(function() {
done();
when.all([def1.promise, def2.promise]).then(function() { });
done(); }).catch(function(err) {
done(err);
}); });
}); });
}); });