mongoose 7.0.0 → 7.0.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.
- package/.eslintrc.json +3 -2
- package/README.md +1 -1
- package/dist/browser.umd.js +1 -1
- package/lib/aggregate.js +1 -1
- package/lib/cast.js +1 -8
- package/lib/model.js +2 -3
- package/lib/schema/uuid.js +4 -1
- package/lib/schematype.js +1 -1
- package/package.json +13 -12
- package/scripts/generateSearch.js +1 -3
- package/types/index.d.ts +8 -6
- package/types/models.d.ts +17 -2
- package/types/query.d.ts +0 -3
package/.eslintrc.json
CHANGED
|
@@ -46,10 +46,11 @@
|
|
|
46
46
|
"@typescript-eslint/no-unused-vars": "off",
|
|
47
47
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
48
48
|
"@typescript-eslint/indent": [
|
|
49
|
-
"
|
|
49
|
+
"warn",
|
|
50
50
|
2,
|
|
51
51
|
{
|
|
52
|
-
"SwitchCase": 1
|
|
52
|
+
"SwitchCase": 1,
|
|
53
|
+
"ignoredNodes": ["TSTypeParameterInstantiation"]
|
|
53
54
|
}
|
|
54
55
|
],
|
|
55
56
|
"@typescript-eslint/prefer-optional-chain": "error",
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Mongoose is a [MongoDB](https://www.mongodb.org/) object modeling tool designed
|
|
|
13
13
|
|
|
14
14
|
The official documentation website is [mongoosejs.com](http://mongoosejs.com/).
|
|
15
15
|
|
|
16
|
-
Mongoose
|
|
16
|
+
Mongoose 7.0.0 was released on February 27, 2023. You can find more details on [backwards breaking changes in 7.0.0 on our docs site](https://mongoosejs.com/docs/migrating_to_7.html).
|
|
17
17
|
|
|
18
18
|
## Support
|
|
19
19
|
|