@outliant/sunrise-utils 1.0.4 → 1.0.5

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,16 @@ 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.0.5](https://github.com/outliant/sunrise-utils/compare/1.0.4...1.0.5)
8
+
9
+ - chore: update custom sorting to be prepended on the list [`6d8c7e3`](https://github.com/outliant/sunrise-utils/commit/6d8c7e3f665fad6203b700fb4a104a8670572cb0)
10
+
7
11
  #### [1.0.4](https://github.com/outliant/sunrise-utils/compare/1.0.3...1.0.4)
8
12
 
13
+ > 28 February 2023
14
+
9
15
  - chore: project pipeline default columns #860pt9g1t [`194852e`](https://github.com/outliant/sunrise-utils/commit/194852e8250a92c82775187588c427ed5b7aaef8)
16
+ - chore(release): 1.0.4 [`b4e435b`](https://github.com/outliant/sunrise-utils/commit/b4e435ba367db2ba1400bc6f65f6362f66970e56)
10
17
 
11
18
  #### [1.0.3](https://github.com/outliant/sunrise-utils/compare/1.0.2...1.0.3)
12
19
 
@@ -92,7 +92,7 @@ class ProjectPipeline {
92
92
  }
93
93
 
94
94
  if (customSort.length > 0) {
95
- customSort.forEach((cSort) => projectPipelinesSort.push(cSort));
95
+ projectPipelinesSort = [...customSort, ...projectPipelinesSort];
96
96
  }
97
97
 
98
98
  if (!!query.search) {
@@ -127,7 +127,7 @@ class TaskPipeline {
127
127
  }
128
128
 
129
129
  if (customSort.length > 0) {
130
- customSort.forEach((cSort) => taskPipelinesSort.push(cSort));
130
+ taskPipelinesSort = [...customSort, ...taskPipelinesSort];
131
131
  }
132
132
 
133
133
  return taskPipelinesSort;
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.0.4",
4
+ "version": "1.0.5",
5
5
  "license": "ISC",
6
6
  "author": "Outliant",
7
7
  "main": "index.js",