@akemona-org/strapi-connector-mongoose 3.9.2 → 3.9.3

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 +1 -1
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -102,7 +102,7 @@ module.exports = function (strapi) {
102
102
  });
103
103
 
104
104
  const connectionString = uri || connectionURL.toString();
105
-
105
+ instance.set('strictQuery', true);
106
106
  await instance.connect(connectionString, connectOptions);
107
107
  } catch (error) {
108
108
  const err = new Error(`Error connecting to the Mongo database. ${error.message}`);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.9.2",
6
+ "version": "3.9.3",
7
7
  "description": "Mongoose hook for the Strapi framework",
8
8
  "homepage": "https://strapi.akemona.com",
9
9
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "main": "./lib",
20
20
  "dependencies": {
21
- "@akemona-org/strapi-utils": "3.9.2",
21
+ "@akemona-org/strapi-utils": "3.9.3",
22
22
  "lodash": "4.17.21",
23
23
  "mongoose": "6.8.3",
24
24
  "mongoose-float": "1.0.4",
@@ -54,5 +54,5 @@
54
54
  "scripts": {
55
55
  "test": "echo \"no tests yet\""
56
56
  },
57
- "gitHead": "16bbd007e63e2e06c3e984279ad1115e0da89871"
57
+ "gitHead": "afdf855b757e253439d18fe71d44de31b4cc80ea"
58
58
  }