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 +0 -2
- package/bin/server.js +1 -4
- package/bin/setup.js +0 -2
- package/package.json +6 -6
package/bin/init_db.js
CHANGED
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
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.
|
|
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.
|
|
32
|
+
"axios": "^1.6.2",
|
|
33
33
|
"bcryptjs": "^2.4.3",
|
|
34
|
-
"commander": "^
|
|
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.
|
|
43
|
-
"mkdirp": "^
|
|
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.
|
|
61
|
+
"ws": "^8.15.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"chai": "^4.3.7",
|