c2-mongoose 2.1.318 → 2.1.319

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.
@@ -240,7 +240,6 @@ var SearcherFlow = /** @class */ (function () {
240
240
  var fieldName = key.replace('Range', '');
241
241
  var values = value;
242
242
  if ((0, Utils_1.isNotEmpty)(values[0])) {
243
- var momentValue = (0, moment_1.default)(values[0]);
244
243
  condition[fieldName] = __assign(__assign({}, condition[fieldName]), { $gte: values[0] });
245
244
  }
246
245
  if ((0, Utils_1.isNotEmpty)(values[1])) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-mongoose",
3
- "version": "2.1.318",
3
+ "version": "2.1.319",
4
4
  "description": "Lib to make any search in database mongoose and use as basic crud",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -217,7 +217,6 @@ class SearcherFlow<D> {
217
217
  var fieldName = key.replace('Range', '')
218
218
  var values = value as any
219
219
  if (isNotEmpty(values[0])) {
220
- var momentValue = moment(values[0])
221
220
  condition[fieldName] = {
222
221
  ...condition[fieldName],
223
222
  $gte: values[0]