@bluedot-innovation/models 6.0.9-alpha.2 → 6.0.9

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.js +3 -2
  2. package/package.json +2 -2
package/Models.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Created by andrewstirling on 22/12/16.
3
3
  */
4
- const Mongoose = require('mongoose')
4
+ const mongoose = require('mongoose')
5
5
 
6
6
  let Models = {}
7
7
 
@@ -82,4 +82,5 @@ Schemas.TravelPath = require('./models/conditions/TravelPath').Schema
82
82
  Schemas.TravelDirection = require('./models/conditions/TravelDirection').Schema
83
83
 
84
84
  Models.Schemas = Schemas
85
- module.exports = {Models, Mongoose}
85
+ Models.mongoose = mongoose
86
+ module.exports = Models
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "6.0.9-alpha.2",
3
+ "version": "6.0.9",
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",
@@ -36,7 +36,7 @@
36
36
  "deep-equal": "^1.0.1",
37
37
  "fast-deep-equal": "^2.0.1",
38
38
  "lodash.clonedeep": "4.5.0",
39
- "mongoose": "5.9.7",
39
+ "mongoose": "^5.7.13",
40
40
  "uuid": "^3.1.0"
41
41
  }
42
42
  }