@cocreate/utils 1.33.5 → 1.33.7

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.33.7](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.33.6...v1.33.7) (2024-04-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump cocreate dependencies ([496206b](https://github.com/CoCreate-app/CoCreate-utils/commit/496206be2b3df39e7debce7f04f4f72404cc36f8))
7
+
8
+ ## [1.33.6](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.33.5...v1.33.6) (2024-02-19)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * date comaprison ([f4b2994](https://github.com/CoCreate-app/CoCreate-utils/commit/f4b2994b96a15bcf8216b164b4cc13ce8eec897e))
14
+
1
15
  ## [1.33.5](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.33.4...v1.33.5) (2024-02-17)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/utils",
3
- "version": "1.33.5",
3
+ "version": "1.33.7",
4
4
  "description": "A simple utils component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "utils",
package/src/index.js CHANGED
@@ -618,6 +618,10 @@
618
618
  return queryMatch({ [property]: getValueFromObject(dataValue, property) }, { [property]: query[key][property] })
619
619
  } else {
620
620
  let queryValue = query[key][property]
621
+ if (isValidDate(queryValue) && isValidDate(dataValue)) {
622
+ queryValue = new Date(queryValue)
623
+ dataValue = new Date(dataValue)
624
+ }
621
625
  let queryStatus = false
622
626
  switch (property) {
623
627
  case '$eq':