jxp 2.14.3 → 2.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/init_db.js CHANGED
@@ -34,8 +34,6 @@ function main() {
34
34
  db: {
35
35
  safe:true
36
36
  },
37
- useCreateIndex: true,
38
- useNewUrlParser: true,
39
37
  }); // connect to our database
40
38
  var user = new User();
41
39
  user.email = email;
package/bin/server.js CHANGED
@@ -56,10 +56,7 @@ config.pre_hooks = {
56
56
  mongoose.Promise = Promise;
57
57
  if (!config.mongo) config.mongo = {};
58
58
  if (!config.mongo.options) config.mongo.options = {};
59
- const mongo_options = Object.assign(config.mongo.options, {
60
- useNewUrlParser: true,
61
- useUnifiedTopology: true
62
- });
59
+ const mongo_options = Object.assign(config.mongo.options, {});
63
60
 
64
61
  const connection_string = require("../libs/connection_string");
65
62
  console.log(`Connecting to ${connection_string}`);
package/bin/setup.js CHANGED
@@ -108,8 +108,6 @@ async function main() {
108
108
  db: {
109
109
  safe: true
110
110
  },
111
- useCreateIndex: true,
112
- useNewUrlParser: true,
113
111
  });
114
112
  } catch(err) {
115
113
  console.log("WARNING: We had a problem talking to the database")
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jxp",
3
3
  "description:": "An opinionated RESTful API library based on Mongoose and Restify. Make an API by just writing Mongoose models.",
4
- "version": "2.14.3",
4
+ "version": "2.14.5",
5
5
  "private": false,
6
6
  "main": "libs/jxp.js",
7
7
  "scripts": {
@@ -29,9 +29,9 @@
29
29
  "url": "https://github.com/WorkSpaceMan/jxp/issues"
30
30
  },
31
31
  "dependencies": {
32
- "axios": "^1.4.0",
32
+ "axios": "^1.6.2",
33
33
  "bcryptjs": "^2.4.3",
34
- "commander": "^10.0.0",
34
+ "commander": "^11.1.0",
35
35
  "config": "^3.3.9",
36
36
  "dotenv": "^16.3.1",
37
37
  "glob": "8.1.0",
@@ -39,8 +39,8 @@
39
39
  "json2csv": "^5.0.7",
40
40
  "jsonwebtoken": "^9.0.1",
41
41
  "jstransformer-markdown-it": "^3.0.0",
42
- "jxp-helper": "^1.4.2",
43
- "mkdirp": "^2.1.3",
42
+ "jxp-helper": "^1.4.3",
43
+ "mkdirp": "^3.0.1",
44
44
  "moment": "^2.29.4",
45
45
  "mongoose": "6.8.4",
46
46
  "mongoose-friendly": "^0.1.4",
@@ -58,7 +58,7 @@
58
58
  "restify-errors": "^8.0.2",
59
59
  "traverse": "^0.6.7",
60
60
  "underscore": "^1.13.6",
61
- "ws": "^8.13.0"
61
+ "ws": "^8.15.1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "chai": "^4.3.7",