monastery 1.38.2 → 1.38.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.
package/changelog.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.38.3](https://github.com/boycce/monastery/compare/1.38.2...1.38.3) (2022-08-17)
6
+
5
7
  ### [1.38.2](https://github.com/boycce/monastery/compare/1.38.1...1.38.2) (2022-07-31)
6
8
 
7
9
 
package/docs/readme.md CHANGED
@@ -99,6 +99,7 @@ Coming soon...
99
99
  - before hooks can receive a data array, remove this
100
100
  - docs: Make the implicit ID query conversion more apparent
101
101
  - Split away from Monk (unless updated)
102
+ - Add a warning if an invalid model is referenced in jthe schema
102
103
 
103
104
  ## Versions
104
105
 
package/lib/rules.js CHANGED
@@ -69,7 +69,7 @@ module.exports = {
69
69
  },
70
70
  fn: function(x) {
71
71
  let isObject = x !== null && typeof x === 'object' && !(x instanceof Array)
72
- if (isObject && x.bucket && x.date && x.filename && x.filesize && x.path && x.uid) return true
72
+ if (isObject && x.bucket && x.date && x.filename && typeof x.filesize != 'undefined' && x.path && x.uid) return true
73
73
  }
74
74
  },
75
75
  isInteger: {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "monastery",
3
3
  "description": "⛪ A straight forward MongoDB ODM built around Monk",
4
4
  "author": "Ricky Boyce",
5
- "version": "1.38.2",
5
+ "version": "1.38.3",
6
6
  "license": "MIT",
7
7
  "repository": "github:boycce/monastery",
8
8
  "homepage": "https://boycce.github.io/monastery/",