@outliant/sunrise-utils 1.4.8 → 2.0.2

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,8 +4,23 @@ 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
+ #### [2.0.2](https://github.com/outliant/sunrise-utils/compare/2.0.1...2.0.2)
8
+
9
+ - chore: add common utils [`4d5ebec`](https://github.com/outliant/sunrise-utils/commit/4d5ebec0e4db2eaa7a8abef960e5c3ef68157fab)
10
+
11
+ ### [2.0.1](https://github.com/outliant/sunrise-utils/compare/1.4.8...2.0.1)
12
+
13
+ > 11 November 2025
14
+
15
+ - chore: project/task pipeline project field filter updates [`7ec12ff`](https://github.com/outliant/sunrise-utils/commit/7ec12ffc786912f20df034c2d71becfebbd313fc)
16
+ - updated readme [`ec2d6ac`](https://github.com/outliant/sunrise-utils/commit/ec2d6acaf51d2d0ad63a276cedb633b4c1fd785c)
17
+ - chore(release): 2.0.1 [`3f98d22`](https://github.com/outliant/sunrise-utils/commit/3f98d22963432535a4d208f9d14c641fb731ea61)
18
+
7
19
  #### [1.4.8](https://github.com/outliant/sunrise-utils/compare/1.4.7...1.4.8)
8
20
 
21
+ > 28 October 2025
22
+
23
+ - chore(release): 1.4.8 [`e24e8e3`](https://github.com/outliant/sunrise-utils/commit/e24e8e3661bada11e6221bd6f3116031b1550843)
9
24
  - chore: added 30% FTC banner [`79c1c4b`](https://github.com/outliant/sunrise-utils/commit/79c1c4be72f5d80c93904a26b41d9dbb4b29934a)
10
25
 
11
26
  #### [1.4.7](https://github.com/outliant/sunrise-utils/compare/1.4.6...1.4.7)
package/README.md CHANGED
@@ -34,3 +34,23 @@ You have the following utils available:
34
34
  ```bash
35
35
  npm i @outliant/sunrise-utils
36
36
  ```
37
+
38
+ or
39
+
40
+ ```bash
41
+ npm i @outliant/sunrise-utils@v1.*.*
42
+ ```
43
+
44
+ ## Deployment
45
+
46
+ `v1 branch`
47
+
48
+ ```bash
49
+ NPM_TOKEN=xxxx npm run release -- patch --npm.tag v1
50
+ ```
51
+
52
+ `latest` `v2`
53
+
54
+ ```bash
55
+ NPM_TOKEN=xxxx npm run release
56
+ ```
@@ -1,5 +1,3 @@
1
- const _ = require('lodash');
2
-
3
1
  const criticalPathAgeFilterScript = `
4
2
  try {
5
3
  if (doc.containsKey('critical_path.date_added') && !doc['critical_path.date_added'].empty) {
@@ -33,8 +31,10 @@ const criticalPathAgeFilterScript = `
33
31
  `;
34
32
 
35
33
  module.exports = (filter) => {
36
- filter.value = _.parseInt(filter.value);
37
- filter.second_value = _.parseInt(filter.second_value);
34
+ filter.value = filter.value ? parseInt(filter.value) : undefined;
35
+ filter.second_value = filter.second_value
36
+ ? parseInt(filter.second_value)
37
+ : undefined;
38
38
 
39
39
  switch (filter.condition) {
40
40
  case 'is_equal':