@cosmotech/core 1.19.1 → 2.0.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/.github/workflows/eslint.yml +3 -3
- package/.github/workflows/track_dependencies.yml +30 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +27 -0
- package/dist/index.cjs.js +17722 -16451
- package/dist/index.esm.js +17722 -16451
- package/package.json +26 -26
|
@@ -13,13 +13,13 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
15
|
- name: Checkout git repository
|
|
16
|
-
uses: actions/checkout@
|
|
16
|
+
uses: actions/checkout@v5
|
|
17
17
|
- name: Enable Corepack
|
|
18
18
|
run: corepack enable
|
|
19
19
|
- name: Setup Node
|
|
20
|
-
uses: actions/setup-node@
|
|
20
|
+
uses: actions/setup-node@v5
|
|
21
21
|
with:
|
|
22
|
-
node-version: '
|
|
22
|
+
node-version: '24'
|
|
23
23
|
cache: 'yarn'
|
|
24
24
|
- name: Run eslint
|
|
25
25
|
run: yarn install && yarn eslint .
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Track Dependencies
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
dependency_track:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout
|
|
14
|
+
uses: actions/checkout@v5
|
|
15
|
+
- name: Enable Corepack
|
|
16
|
+
run: corepack enable
|
|
17
|
+
- name: Setup Node
|
|
18
|
+
uses: actions/setup-node@v5
|
|
19
|
+
with:
|
|
20
|
+
node-version: '24'
|
|
21
|
+
cache: 'yarn'
|
|
22
|
+
- name: Generate SBOM
|
|
23
|
+
run: yarn dlx -q @cyclonedx/yarn-plugin-cyclonedx -o sbom.json
|
|
24
|
+
- name: Upload CycloneDx bom to dependency track
|
|
25
|
+
uses: DependencyTrack/gh-upload-sbom@v3
|
|
26
|
+
with:
|
|
27
|
+
serverhostname: ${{ secrets.DEPENDENCY_TRACK_SERVER_HOSTNAME }}
|
|
28
|
+
apikey: ${{ secrets.DEPENDENCY_TRACK_API_KEY }}
|
|
29
|
+
project: 'c9e26ece-6f0c-4834-94c3-a20efd1d7fb7'
|
|
30
|
+
bomfilename: 'sbom.json'
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## **2.0.1** <sub><sup>2025-09-19 (7021d37...40b3c7f)</sup></sub>
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- fix possible bug when multiple local MSAL accounts exist ([8510a1b](https://github.com/Cosmo-Tech/webapp-component-core/commit/8510a1b581234485c7dd1687339f2727a25901b0))
|
|
6
|
+
|
|
7
|
+
### Dependencies
|
|
8
|
+
|
|
9
|
+
- upgrade to node 24
|
|
10
|
+
- update dependencies
|
|
11
|
+
|
|
12
|
+
## **2.0.0** <sub><sup>2025-01-23 (ba70eef...4d0f1df)</sup></sub>
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- add min & max validation in ValidationUtils and AgGridUtils file uploads ([c7f0b3d](https://github.com/Cosmo-Tech/webapp-component-core/commit/c7f0b3d))
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
- fix user email retrieved from keycloak accounts ([ba70eef](https://github.com/Cosmo-Tech/webapp-component-core/commit/ba70eef))
|
|
21
|
+
- remove forbidden characters constraint in scenario names ([9b67422](https://github.com/Cosmo-Tech/webapp-component-core/commit/9b67422))
|
|
22
|
+
- modify isValid function to return error structures on validation fail ([ce4ba32](https://github.com/Cosmo-Tech/webapp-component-core/commit/ce4ba32))
|
|
23
|
+
|
|
24
|
+
### BREAKING CHANGES
|
|
25
|
+
|
|
26
|
+
- the function isValid now returns an Error object when the validation failed, or true if it succeeded. The Error object contains three fields: summary, context and location (the last one is set to null by the isValid function).
|
|
27
|
+
|
|
1
28
|
## **1.19.1** <sub><sup>2024-11-07 (6023cdc...6023cdc)</sup></sub>
|
|
2
29
|
|
|
3
30
|
- update dependencies
|