Skip to content

Commit 1f40d4f

Browse files
committed
Update package dependencies
1 parent 4158204 commit 1f40d4f

2 files changed

Lines changed: 46 additions & 25 deletions

File tree

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red",
3-
"version": "0.17.5",
3+
"version": "0.18.0",
44
"description": "A visual tool for wiring the Internet of Things",
55
"homepage": "http://nodered.org",
66
"license": "Apache-2.0",
@@ -33,51 +33,51 @@
3333
"flow"
3434
],
3535
"dependencies": {
36-
"basic-auth": "1.1.0",
36+
"basic-auth": "2.0.0",
3737
"bcryptjs": "2.4.3",
38-
"body-parser": "1.17.2",
38+
"body-parser": "1.18.2",
3939
"cheerio": "0.22.0",
4040
"clone": "2.1.1",
4141
"cookie": "0.3.1",
4242
"cookie-parser": "1.4.3",
43-
"cors": "2.8.3",
44-
"cron": "1.2.1",
45-
"express": "4.15.3",
46-
"express-session": "1.15.2",
47-
"follow-redirects": "1.2.4",
43+
"cors": "2.8.4",
44+
"cron": "1.3.0",
45+
"express": "4.16.2",
46+
"express-session": "1.15.6",
47+
"follow-redirects": "1.3.0",
4848
"fs-extra": "1.0.0",
4949
"fs.notify": "0.0.4",
5050
"hash-sum": "1.0.2",
5151
"i18next": "1.10.6",
5252
"is-utf8": "0.2.1",
53-
"js-yaml": "3.8.4",
53+
"js-yaml": "3.10.0",
5454
"json-stringify-safe": "5.0.1",
5555
"jsonata": "1.4.1",
5656
"media-typer": "0.3.0",
5757
"memorystore": "1.6.0",
58-
"mqtt": "2.9.0",
58+
"mqtt": "2.15.1",
5959
"multer": "1.3.0",
6060
"mustache": "2.3.0",
61-
"nopt": "3.0.6",
62-
"oauth2orize": "1.8.0",
61+
"nopt": "4.0.1",
62+
"oauth2orize": "1.11.0",
6363
"on-headers": "1.0.1",
64-
"passport": "0.3.2",
64+
"passport": "0.4.0",
6565
"passport-http-bearer": "1.0.1",
6666
"passport-oauth2-client-password": "0.1.2",
67-
"raw-body": "2.2.0",
68-
"semver": "5.3.0",
67+
"raw-body": "2.3.2",
68+
"semver": "5.4.1",
6969
"sentiment": "2.1.0",
70-
"uglify-js": "3.0.20",
70+
"uglify-js": "3.3.6",
7171
"when": "3.7.8",
72-
"ws": "1.1.1",
73-
"xml2js": "0.4.17",
72+
"ws": "1.1.5",
73+
"xml2js": "0.4.19",
7474
"node-red-node-feedparser": "0.1.*",
7575
"node-red-node-email": "0.1.*",
7676
"node-red-node-twitter": "0.1.*",
7777
"node-red-node-rbe": "0.1.*"
7878
},
7979
"optionalDependencies": {
80-
"bcrypt": "~1.0.1"
80+
"bcrypt": "~1.0.3"
8181
},
8282
"devDependencies": {
8383
"chromedriver": "^2.33.2",
@@ -90,12 +90,12 @@
9090
"grunt-contrib-concat": "~1.0.1",
9191
"grunt-contrib-copy": "~1.0.0",
9292
"grunt-contrib-jshint": "~1.1.0",
93-
"grunt-contrib-uglify": "~3.0.1",
93+
"grunt-contrib-uglify": "~3.3.0",
9494
"grunt-contrib-watch": "~1.0.0",
9595
"grunt-jsonlint": "~1.1.0",
9696
"grunt-mocha-istanbul": "5.0.2",
9797
"grunt-nodemon": "~0.4.2",
98-
"grunt-sass": "~1.2.1",
98+
"grunt-sass": "~2.0.0",
9999
"grunt-simple-mocha": "~0.4.1",
100100
"grunt-webdriver": "^2.0.3",
101101
"istanbul": "0.4.5",

test/nodes/core/io/22-websocket_spec.js

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ describe('websocket Node', function() {
101101
helper.load(websocketNode, flow, function() {
102102
createClient("n1").then(function(sock) {
103103
done();
104+
}).catch(function(err) {
105+
done(err);
104106
});
105107
});
106108
});
@@ -113,6 +115,8 @@ describe('websocket Node', function() {
113115
done();
114116
});
115117
helper.clearFlows();
118+
}).catch(function(err) {
119+
done(err);
116120
});
117121
});
118122
});
@@ -129,6 +133,8 @@ describe('websocket Node', function() {
129133
done();
130134
});
131135
sock.send("hello");
136+
}).catch(function(err) {
137+
done(err);
132138
});
133139
});
134140
});
@@ -145,6 +151,8 @@ describe('websocket Node', function() {
145151
msg.should.have.property("text", "hello");
146152
done();
147153
});
154+
}).catch(function(err) {
155+
done(err);
148156
});
149157
});
150158
});
@@ -161,6 +169,8 @@ describe('websocket Node', function() {
161169
msg.should.have.property("payload", "hello");
162170
done();
163171
});
172+
}).catch(function(err) {
173+
done(err);
164174
});
165175
});
166176
});
@@ -179,6 +189,8 @@ describe('websocket Node', function() {
179189
helper.getNode("n2").send({
180190
payload: "hello"
181191
});
192+
}).catch(function(err) {
193+
done(err);
182194
});
183195
});
184196
});
@@ -197,6 +209,8 @@ describe('websocket Node', function() {
197209
helper.getNode("n3").send({
198210
text: "hello"
199211
});
212+
}).catch(function(err) {
213+
done(err);
200214
});
201215
});
202216
});
@@ -216,6 +230,8 @@ describe('websocket Node', function() {
216230
done();
217231
},100);
218232
helper.getNode("n2").send({topic: "hello"});
233+
}).catch(function(err) {
234+
done(err);
219235
});
220236
});
221237
});
@@ -232,6 +248,8 @@ describe('websocket Node', function() {
232248
done();
233249
});
234250
sock.send("hello");
251+
}).catch(function(err) {
252+
done(err);
235253
});
236254
});
237255
});
@@ -248,6 +266,8 @@ describe('websocket Node', function() {
248266
done();
249267
});
250268
sock.send('{"text":"hello"}');
269+
}).catch(function(err) {
270+
done(err);
251271
});
252272
});
253273
});
@@ -272,10 +292,11 @@ describe('websocket Node', function() {
272292
helper.getNode("n3").send({
273293
payload: "hello"
274294
});
275-
});
276-
277-
when.all([def1.promise, def2.promise]).then(function() {
278-
done();
295+
return when.all([def1.promise, def2.promise]).then(function() {
296+
done();
297+
});
298+
}).catch(function(err) {
299+
done(err);
279300
});
280301
});
281302
});

0 commit comments

Comments
 (0)