monastery 1.40.2 → 1.40.4
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 +4 -0
- package/lib/index.js +4 -1
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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.40.4](https://github.com/boycce/monastery/compare/1.40.3...1.40.4) (2022-12-21)
|
|
6
|
+
|
|
7
|
+
### [1.40.3](https://github.com/boycce/monastery/compare/1.40.2...1.40.3) (2022-12-21)
|
|
8
|
+
|
|
5
9
|
### [1.40.2](https://github.com/boycce/monastery/compare/1.40.1...1.40.2) (2022-12-15)
|
|
6
10
|
|
|
7
11
|
### [1.40.1](https://github.com/boycce/monastery/compare/1.40.0...1.40.1) (2022-12-14)
|
package/lib/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
let fs = require('fs')
|
|
2
2
|
let debug = require('debug')
|
|
3
3
|
let monk = require('monk')
|
|
4
|
-
let util = require('./util')
|
|
5
4
|
let path = require('path')
|
|
5
|
+
let rules = require('./rules')
|
|
6
|
+
let util = require('./util')
|
|
6
7
|
|
|
7
8
|
// Apply monk monkey patches
|
|
8
9
|
monk.manager.prototype.open = require('./monk-monkey-patches').open
|
|
@@ -72,6 +73,8 @@ module.exports = function(uri, opts, fn) {
|
|
|
72
73
|
return manager
|
|
73
74
|
}
|
|
74
75
|
|
|
76
|
+
module.exports.rules = rules
|
|
77
|
+
|
|
75
78
|
let arrayWithSchema = function(array, schema) {
|
|
76
79
|
array.schema = schema
|
|
77
80
|
return array
|
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.40.
|
|
5
|
+
"version": "1.40.4",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "github:boycce/monastery",
|
|
8
8
|
"homepage": "https://boycce.github.io/monastery/",
|