@akemona-org/strapi-connector-mongoose 3.8.2 → 3.9.1

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.
Files changed (2) hide show
  1. package/lib/index.js +0 -3
  2. package/package.json +8 -8
package/lib/index.js CHANGED
@@ -90,9 +90,7 @@ module.exports = function (strapi) {
90
90
  }
91
91
 
92
92
  connectOptions.ssl = ssl === true || ssl === 'true';
93
- connectOptions.useNewUrlParser = true;
94
93
  connectOptions.dbName = database;
95
- connectOptions.useCreateIndex = true;
96
94
  connectOptions.useUnifiedTopology = useUnifiedTopology || true;
97
95
 
98
96
  try {
@@ -131,7 +129,6 @@ module.exports = function (strapi) {
131
129
  }
132
130
 
133
131
  instance.set('debug', debug === true || debug === 'true');
134
- instance.set('useFindAndModify', false);
135
132
 
136
133
  const ctx = {
137
134
  instance,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.8.2",
6
+ "version": "3.9.1",
7
7
  "description": "Mongoose hook for the Strapi framework",
8
8
  "homepage": "https://strapi.akemona.com",
9
9
  "keywords": [
@@ -18,14 +18,14 @@
18
18
  },
19
19
  "main": "./lib",
20
20
  "dependencies": {
21
- "@akemona-org/strapi-utils": "3.8.2",
21
+ "@akemona-org/strapi-utils": "3.9.1",
22
22
  "lodash": "4.17.21",
23
- "mongoose": "5.10.8",
24
- "mongoose-float": "^1.0.4",
25
- "mongoose-long": "^0.3.2",
23
+ "mongoose": "6.8.3",
24
+ "mongoose-float": "1.0.4",
25
+ "mongoose-long": "0.6.0",
26
26
  "p-map": "4.0.0",
27
- "pluralize": "^8.0.0",
28
- "semver": "^7.3.5"
27
+ "pluralize": "8.0.0",
28
+ "semver": "~7.3.8"
29
29
  },
30
30
  "author": {
31
31
  "email": "strapi@akemona.com",
@@ -54,5 +54,5 @@
54
54
  "scripts": {
55
55
  "test": "echo \"no tests yet\""
56
56
  },
57
- "gitHead": "5a43a32df993d5c7da278e02db5e1b9d06fa4189"
57
+ "gitHead": "6e907ae834791ac22a9742b7bb869e967ada3987"
58
58
  }