@outliant/sunrise-utils 1.4.0 → 1.4.1

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
@@ -4,9 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [1.4.1](https://github.com/outliant/sunrise-utils/compare/1.4.0...1.4.1)
8
+
9
+ - chore: minor fix [`b006891`](https://github.com/outliant/sunrise-utils/commit/b0068914ca0c23a99a1badde04131ba296898e52)
10
+ - chore: minor fix [`9d6a965`](https://github.com/outliant/sunrise-utils/commit/9d6a9657094b92873c948c1071edb9aa85a33b81)
11
+
7
12
  #### [1.4.0](https://github.com/outliant/sunrise-utils/compare/1.3.10...1.4.0)
8
13
 
14
+ > 8 April 2025
15
+
9
16
  - chore: refactor task/project pipeline common filters #86b4dg28t [`54a12a9`](https://github.com/outliant/sunrise-utils/commit/54a12a9e80ea402825bd64589efdf91b65c207a1)
17
+ - chore(release): 1.4.0 [`9ce7737`](https://github.com/outliant/sunrise-utils/commit/9ce7737cbb222b68ab84dcf6ed0fe8841732ad38)
10
18
 
11
19
  #### [1.3.10](https://github.com/outliant/sunrise-utils/compare/1.3.9...1.3.10)
12
20
 
@@ -17,8 +17,6 @@ module.exports = (filter) => {
17
17
  return module.exports.isAnyOf(filter);
18
18
  case 'is_empty':
19
19
  return module.exports.isEmpty(filter);
20
- case 'is_any_of':
21
- return module.exports.isAnyOf(filter);
22
20
  case 'is_not_empty':
23
21
  return module.exports.isNotEmpty(filter);
24
22
  case 'is_equal':
@@ -20,7 +20,7 @@ module.exports = (filter) => {
20
20
  module.exports.isEqual = (filter) => {
21
21
  return {
22
22
  match: {
23
- _id: filter.value
23
+ _id: (filter.value || '').toUpperCase()
24
24
  }
25
25
  };
26
26
  };
@@ -30,7 +30,7 @@ module.exports.isNotEqual = (filter) => {
30
30
  bool: {
31
31
  must_not: {
32
32
  match: {
33
- _id: filter.value
33
+ _id: (filter.value || '').toUpperCase()
34
34
  }
35
35
  }
36
36
  }
@@ -20,7 +20,7 @@ module.exports = (filter) => {
20
20
  module.exports.isEqual = (filter) => {
21
21
  return {
22
22
  match: {
23
- project_id: filter.value
23
+ project_id: (filter.value || '').toUpperCase()
24
24
  }
25
25
  };
26
26
  };
@@ -30,7 +30,7 @@ module.exports.isNotEqual = (filter) => {
30
30
  bool: {
31
31
  must_not: {
32
32
  match: {
33
- project_id: filter.value
33
+ project_id: (filter.value || '').toUpperCase()
34
34
  }
35
35
  }
36
36
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@outliant/sunrise-utils",
3
3
  "description": "Helper functions for project Sunrise",
4
- "version": "1.4.0",
4
+ "version": "1.4.1",
5
5
  "license": "ISC",
6
6
  "author": "Outliant",
7
7
  "main": "index.js",