@geekbears/gb-mongoose-query-parser 1.3.35 → 1.3.37

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.
@@ -267,6 +267,8 @@ class QueryParser {
267
267
  // console.log('obj :>> ', obj);
268
268
  if (!(0, lodash_1.isNil)(value) &&
269
269
  typeof value === 'string' &&
270
+ key !== '$regex' &&
271
+ key !== '$options' &&
270
272
  this.isValidDateStr(value) &&
271
273
  moment(value).isValid()) {
272
274
  obj[key] = moment(value).toDate();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekbears/gb-mongoose-query-parser",
3
- "version": "1.3.35",
3
+ "version": "1.3.37",
4
4
  "description": "Convert url query string to MongooseJs friendly query object including advanced filtering, sorting, population, deep population, string template, type casting and many more...",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -33,24 +33,24 @@
33
33
  "devDependencies": {
34
34
  "@testdeck/mocha": "^0.3.3",
35
35
  "@types/chai": "^5.2.3",
36
- "@types/lodash": "^4.17.21",
36
+ "@types/lodash": "^4.17.23",
37
37
  "@types/mocha": "^10.0.10",
38
- "@types/node": "^25.0.3",
38
+ "@types/node": "^25.1.0",
39
39
  "@types/qs": "^6.14.0",
40
- "@typescript-eslint/eslint-plugin": "^8.51.0",
41
- "@typescript-eslint/parser": "^8.51.0",
40
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
41
+ "@typescript-eslint/parser": "^8.54.0",
42
42
  "chai": "^6.2.2",
43
43
  "eslint": "^9.39.2",
44
44
  "eslint-config-prettier": "^10.1.8",
45
- "eslint-plugin-prettier": "^5.5.4",
45
+ "eslint-plugin-prettier": "^5.5.5",
46
46
  "mocha": "^11.7.5",
47
- "prettier": "^3.7.4",
47
+ "prettier": "^3.8.1",
48
48
  "rimraf": "^6.1.2",
49
49
  "ts-node": "^10.9.2",
50
50
  "typescript": "^5.9.3"
51
51
  },
52
52
  "dependencies": {
53
- "lodash": "^4.17.21",
53
+ "lodash": "^4.17.23",
54
54
  "moment": "^2.30.1"
55
55
  },
56
56
  "peerDependencies": {