@bluedot-innovation/models 5.1.3-alpha.1 → 5.1.3-alpha.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/models/Zone.js +1 -1
  2. package/package.json +2 -2
package/models/Zone.js CHANGED
@@ -108,7 +108,7 @@ zoneSchema.pre('validate', function(next) {
108
108
  return next(result)
109
109
  }
110
110
  next()
111
- });
111
+ }).catch((error) => console.log('Validation error ', error));
112
112
  })
113
113
 
114
114
  // optional mongoose
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "5.1.3-alpha.1",
3
+ "version": "5.1.3-alpha.3",
4
4
  "main": "Models.js",
5
5
  "scripts": {
6
6
  "lint": "./node_modules/.bin/eslint -c .eslintrc.js ./models/*.js ./__tests__/**/*.js ./__tests__/**/**/*.js ./schemas/*.js",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@bluedot-innovation/enums": "2.1.4",
32
- "@bluedot-innovation/mongoose-json-patch": "0.0.4",
32
+ "@bluedot-innovation/mongoose-json-patch": "0.0.6",
33
33
  "deep-equal": "^1.0.1",
34
34
  "fast-deep-equal": "^2.0.1",
35
35
  "lodash.clonedeep": "4.5.0",