dependabot npm(deps): bump mongoose from 6.4.0 to 6.4.1
Bumps mongoose from 6.4.0 to 6.4.1.
Release notes
Sourced from mongoose's releases.
6.4.1 / 2022-06-27
- fix(schema): allow 0 for numbers if required and ref both set #11912
- fix(query): skip applying default projections over slice projections #11940
- fix(types): handle arrays in ApplyBasicQueryCasting correctly #11964
- fix(types): fix $match typings #11969 andreialecu
- fix(types): avoid adding non-existent properties from model constructor for typegoose #11960
- fix(types): make Mongoose UpdateQuery compatible with MongoDB
UpdateFilter
#11911- fix(types): simplify MergeType constraints #11978
- fix(types): correct references to Buffer for
@types/node
>= 16.0.0 < 16.6.0 #11963- fix(types): re-add the possibility to pass undefined for projection in Model.find #11965 ghost91-
- fix(types): fix typo for indexes #11953 AbdelrahmanHafez
- fix(document+types): document merge option #11913
- docs: update schematypes.md #11981 korzio
- docs: update validation.md #11982 korzio
Changelog
Sourced from mongoose's changelog.
6.4.1 / 2022-06-27
- fix(schema): allow 0 for numbers if required and ref both set #11912
- fix(query): skip applying default projections over slice projections #11940
- fix(types): handle arrays in ApplyBasicQueryCasting correctly #11964
- fix(types): fix $match typings #11969 andreialecu
- fix(types): avoid adding non-existent properties from model constructor for typegoose #11960
- fix(types): make Mongoose UpdateQuery compatible with MongoDB
UpdateFilter
#11911- fix(types): simplify MergeType constraints #11978
- fix(types): correct references to Buffer for
@types/node
>= 16.0.0 < 16.6.0 #11963- fix(types): re-add the possibility to pass undefined for projection in Model.find #11965 ghost91-
- fix(types): fix typo for indexes #11953 AbdelrahmanHafez
- fix(document+types): document merge option #11913
- docs: update schematypes.md #11981 korzio
- docs: update validation.md #11982 korzio
Commits
-
2353c14
chore: release 6.4.1 -
3a4ba27
fix(types): correct references to Buffer for@types/node
>= 16.0.0 < 16.6.0 -
4f89f23
Merge pull request #11986 from Automattic/vkarpov15/gh-11960 -
b66cdc6
fix(types): handle arrays in ApplyBasicQueryCasting correctly -
5753bce
test: add test case for #11960 -
5409717
fix(types): avoid adding non-existent properties from model constructor for t... -
e991892
Merge pull request #11978 from sandersn/simplify-MergeType-constraints -
89ec33c
Merge pull request #11969 from andreialecu/fix-expressiontypes2 -
f4ca704
Merge pull request #11981 from korzio/patch-1 -
e6cc1d7
Merge pull request #11982 from korzio/patch-2 - Additional commits viewable in compare view