adminmate-express-mongoose 1.3.2 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminmate-express-mongoose",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Adminmate Express/Mongoose connector",
5
5
  "author": "Marc Delalonde",
6
6
  "homepage": "http://adminmate.io",
@@ -23,7 +23,7 @@
23
23
  "url": "https://github.com/Adminmate/adminmate-express-mongoose.git"
24
24
  },
25
25
  "dependencies": {
26
- "@hapi/joi": "^17.1.1",
26
+ "joi": "^17.6.0",
27
27
  "adminmate-express-core": "~1.2.0",
28
28
  "lodash": "^4.17.21",
29
29
  "moment": "^2.29.1",
@@ -1,4 +1,4 @@
1
- const Joi = require('@hapi/joi');
1
+ const Joi = require('joi');
2
2
 
3
3
  module.exports = async (currentModel, data) => {
4
4
  const paramsSchema = Joi.object({
@@ -1,4 +1,4 @@
1
- const Joi = require('@hapi/joi');
1
+ const Joi = require('joi');
2
2
  const fnHelper = require('../helpers/functions');
3
3
 
4
4
  module.exports = async (currentModel, data) => {
@@ -1,5 +1,5 @@
1
1
 
2
- const Joi = require('@hapi/joi');
2
+ const Joi = require('joi');
3
3
  const _ = require('lodash');
4
4
  const moment = require('moment');
5
5
  const fnHelper = require('../helpers/functions');
@@ -1,4 +1,4 @@
1
- const Joi = require('@hapi/joi');
1
+ const Joi = require('joi');
2
2
 
3
3
  module.exports = async (currentModel, data) => {
4
4
  const paramsSchema = Joi.object({