Skip to content

Commit

Permalink
Update dependencies (balderdashy#7348)
Browse files Browse the repository at this point in the history
Upgraded dependencies:
- express: 4.19.2 » 4.21.0
- serve-static: 1.13.1 » 1.16.2
- skipper: 0.9.4 » 0.9.5
- [email protected] » @sailshq/[email protected]
  • Loading branch information
eashaw authored Sep 17, 2024
1 parent baa97c8 commit 2fe3a50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
var Readable = require('stream').Readable;
var QS = require('querystring');
var _ = require('@sailshq/lodash');
var router = require('router');
var router = require('@sailshq/router');
var flaverr = require('flaverr');
var sortRouteAddresses = require('sort-route-addresses');
var buildReq = require('./req');
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
},
"dependencies": {
"@sailshq/lodash": "^3.10.6",
"@sailshq/router": "^1.3.9",
"async": "2.6.4",
"captains-log": "^2.0.5",
"chalk": "2.3.0",
Expand All @@ -37,7 +38,7 @@
"cookie-signature": "1.1.0",
"csurf": "1.10.0",
"ejs": "3.1.10",
"express": "4.19.2",
"express": "4.21.0",
"express-session": "1.17.0",
"flaverr": "^1.10.0",
"glob": "7.1.2",
Expand All @@ -56,14 +57,13 @@
"pluralize": "1.2.1",
"prompt": "1.2.1",
"rc": "1.2.8",
"router": "1.3.2",
"rttc": "^10.0.0-0",
"sails-generate": "^2.0.11",
"sails-stringfile": "^0.3.3",
"semver": "7.5.2",
"serve-favicon": "2.4.5",
"serve-static": "1.13.1",
"skipper": "^0.9.4",
"serve-static": "1.16.2",
"skipper": "^0.9.5",
"sort-route-addresses": "^0.0.4",
"uid-safe": "2.1.5",
"vary": "1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/middleware.static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe('middleware :: ', function() {
},
function(err, response, body) {
assert.equal(test_file.toString('utf-8'), body);
assert.equal(response.headers['content-type'], 'application/font-woff');
assert.equal(response.headers['content-type'], 'font/woff');
return done();
}
);
Expand Down

0 comments on commit 2fe3a50

Please sign in to comment.