Skip to content

Commit

Permalink
Some dep updates and a downgrade
Browse files Browse the repository at this point in the history
* Please read their CHANGELOGs
* Delete op retested
* *diff* not bumped on GH repo but on npmjs.com
* Downgrade *mongoose* to remove secondary index failure reported at OpenUserJS#1516 (comment)
  • Loading branch information
Martii committed Jan 24, 2020
1 parent a3728c9 commit 6b29b87
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ These also may use [shields.io][shieldsHomepage] where applicable for more expli
##### Dynamic
Repository | Reference | Recent Version
--- | --- | ---
[ace-builds][ace-buildsGHUrl] [¹][aceGHUrl] | [Documentation][ace-buildsDOCUrl] [¹][aceDOCUrl] | [1.4.7][ace-buildsGHHASHUrl] [RELEASES][ace-buildsGHRELEASESUrl]
[ace-builds][ace-buildsGHUrl] [¹][aceGHUrl] | [Documentation][ace-buildsDOCUrl] [¹][aceDOCUrl] | [1.4.8][ace-buildsGHHASHUrl] [RELEASES][ace-buildsGHRELEASESUrl]
[ansi-colors][ansi-colorsGHUrl] | [Documentation][ansi-colorsDOCUrl] | [![NPM version][ansi-colorsNPMVersionImage]][ansi-colorsNPMUrl]
[async][asyncGHUrl] | [Documentation][asyncDOCUrl] | [![NPM version][asyncNPMVersionImage]][asyncNPMUrl]
[aws-sdk][aws-sdkGHUrl] | [Documentation][aws-sdkDOCUrl] | [![NPM version][aws-sdkNPMVersionImage]][aws-sdkNPMUrl]
Expand Down Expand Up @@ -126,7 +126,7 @@ Outdated dependencies list can also be achieved with `$ npm outdated`
[shieldsHomepage]: http://shields.io/

[ace-buildsGHUrl]: https://github.com/ajaxorg/ace-builds/tree/master/src
[ace-buildsGHHASHUrl]: https://github.com/ajaxorg/ace-builds/tree/5ad04a4
[ace-buildsGHHASHUrl]: https://github.com/ajaxorg/ace-builds/tree/a279fe5
[ace-buildsGHRELEASESUrl]: https://github.com/ajaxorg/ace-builds/releases
[ace-buildsDOCUrl]: https://github.com/ajaxorg/ace-builds/blob/master/README.md
[aceGHUrl]: https://github.com/ajaxorg/ace "ace"
Expand Down
10 changes: 4 additions & 6 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,22 @@ var defaultPoolSize = 10;
if (isPro) {
dbOptions = {
poolSize: defaultPoolSize,
reconnectTries: 30,
reconnectInterval: 1000,
family: 4,

useNewUrlParser: true, // #1516
useFindAndModify: false, // #1516
useCreateIndex: true // #1516
useCreateIndex: true, // #1516
useUnifiedTopology: true // #1516
}
} else {
dbOptions = {
poolSize: defaultPoolSize,
reconnectTries: 30,
reconnectInterval: 1000,
family: 4,

useNewUrlParser: true, // #1516
useFindAndModify: false, // #1516
useCreateIndex: true // #1516
useCreateIndex: true, // #1516
useUnifiedTopology: true // #1516
}
}

Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"version": "0.5.0",
"main": "app",
"dependencies": {
"ace-builds": "git://github.com/ajaxorg/ace-builds.git#5ad04a4",
"ace-builds": "git://github.com/ajaxorg/ace-builds.git#a279fe5",
"ansi-colors": "4.1.1",
"async": "3.1.0",
"aws-sdk": "2.584.0",
"aws-sdk": "2.610.0",
"base62": "2.0.1",
"body-parser": "1.19.0",
"bootstrap": "3.4.1",
"bootstrap-markdown": "2.10.0",
"clipboard": "2.0.4",
"compression": "1.7.4",
"connect-mongo": "3.2.0",
"diff": "4.0.1",
"diff": "4.0.2",
"express": "4.17.1",
"express-minify": "1.0.0",
"express-rate-limit": "5.0.0",
Expand All @@ -24,25 +24,25 @@
"formidable": "1.2.1",
"git-rev": "0.2.1",
"github": "git://github.com/octokit/rest.js.git#29dedb3",
"highlight.js": "9.16.2",
"highlight.js": "9.18.0",
"image-size": "0.8.3",
"ip-range-check": "0.2.0",
"jquery": "3.4.1",
"js-beautify": "1.10.2",
"jsdom": "15.2.1",
"js-beautify": "1.10.3",
"jsdom": "16.0.1",
"less-middleware": "3.1.0",
"marked": "0.7.0",
"marked": "0.8.0",
"media-type": "0.3.1",
"method-override": "3.0.0",
"mime-db": "1.42.0",
"mime-db": "1.43.0",
"moment": "2.24.0",
"moment-duration-format": "2.3.2",
"mongodb": "3.3.5",
"mongoose": "5.7.13",
"mongodb": "3.5.2",
"mongoose": "5.7.11",
"morgan": "1.9.1",
"mu2": "0.5.21",
"octicons": "4.4.0",
"passport": "0.4.0",
"passport": "0.4.1",
"passport-facebook": "3.0.0",
"passport-github": "1.1.0",
"passport-gitlab2": "5.0.0",
Expand All @@ -59,15 +59,15 @@
"request": "2.88.0",
"rfc2047": "2.0.1",
"s3rver": "3.5.0",
"sanitize-html": "1.20.1",
"sanitize-html": "1.21.1",
"select2": "3.5.2-browserify",
"select2-bootstrap-css": "1.4.6",
"serve-favicon": "2.5.0",
"spdx-license-ids": "3.0.5",
"strip-markdown": "3.1.1",
"terser": "4.4.2",
"terser": "4.6.3",
"toobusy-js": "0.5.1",
"underscore": "1.9.1",
"underscore": "1.9.2",
"useragent": "2.3.0"
},
"optionalDependencies": {
Expand Down

0 comments on commit 6b29b87

Please sign in to comment.