@heroku/ember-hk-components 1.21.3 → 1.21.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/.github/workflows/push_dependabot_metadata.yml +18 -0
- package/.tool-versions +2 -2
- package/CHANGELOG.md +41 -0
- package/README.md +9 -0
- package/addon/components/async-button.js +10 -3
- package/package.json +6 -3
- package/pnpm-workspace.yaml +4 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: Send data to Security Alerts
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
schedule:
|
|
6
|
+
- cron: '0 10 * * *'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
send-alerts:
|
|
10
|
+
runs-on: sfdc-hk-ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- name: Send data to Security Alerts
|
|
13
|
+
uses: heroku/security-alerts-action@stable
|
|
14
|
+
with:
|
|
15
|
+
gh-app-id: ${{ secrets.SECURITY_ALERTS_GH_APP_ID }}
|
|
16
|
+
gh-app-privkey: ${{ secrets.SECURITY_ALERTS_GH_APP_PRIVKEY }}
|
|
17
|
+
webhook-url: ${{ secrets.SECURITY_ALERTS_WEBHOOK_URL }}
|
|
18
|
+
sa-token: ${{ secrets.SECURITY_ALERTS_TOKEN }}
|
package/.tool-versions
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
nodejs
|
|
2
|
-
|
|
1
|
+
nodejs 18.20.8
|
|
2
|
+
pnpm 9.15.7
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,44 @@
|
|
|
1
|
+
## 1.21.5 (2026-01-26)
|
|
2
|
+
|
|
3
|
+
#### :house: Internal
|
|
4
|
+
* [#281](https://github.com/heroku/ember-hk-components/pull/281) Resolve markdown-it, qs, systeminformation, and weback vulnerabilities ([@kenyaplenty](https://github.com/kenyaplenty))
|
|
5
|
+
* [#279](https://github.com/heroku/ember-hk-components/pull/279) Chore: Update local development setup ([@kenyaplenty](https://github.com/kenyaplenty))
|
|
6
|
+
|
|
7
|
+
#### Committers: 2
|
|
8
|
+
- Kenya ([@kenyaplenty](https://github.com/kenyaplenty))
|
|
9
|
+
- Milad Imen ([@mimen](https://github.com/mimen))
|
|
10
|
+
|
|
11
|
+
## 1.21.3 (2025-11-18)
|
|
12
|
+
|
|
13
|
+
#### :house: Internal
|
|
14
|
+
* [#266](https://github.com/heroku/ember-hk-components/pull/266) Security: Migrate to PNPM and resolve critical vulnerabilities including babel-traverse ([@barretts](https://github.com/barretts))
|
|
15
|
+
* [#262](https://github.com/heroku/ember-hk-components/pull/262) Update to heroku-24 stack
|
|
16
|
+
* [#252](https://github.com/heroku/ember-hk-components/pull/252) Repository maintenance updates
|
|
17
|
+
* [#251](https://github.com/heroku/ember-hk-components/pull/251) Component inventory migration ([@component-inventory-migration-opex](https://github.com/component-inventory-migration-opex))
|
|
18
|
+
|
|
19
|
+
#### :memo: Documentation
|
|
20
|
+
* Updated security documentation with comprehensive vulnerability resolution guide
|
|
21
|
+
* Added `BABEL_TRAVERSE_VULNERABILITY_GUIDE.md` for detailed security mitigation strategies
|
|
22
|
+
|
|
23
|
+
#### :boom: Breaking Change
|
|
24
|
+
* Migrated from Yarn to PNPM for package management
|
|
25
|
+
* Updated `ember-changeset-validations` from `^2.x` to `^4.0.0`
|
|
26
|
+
* Updated `ember-cli-babel` from `^6.x` to `^7.26.11`
|
|
27
|
+
|
|
28
|
+
**Security Improvements:**
|
|
29
|
+
- Resolved critical babel-traverse vulnerability (CVE-2023-45133)
|
|
30
|
+
- Fixed high-severity vulnerabilities in rollup, json5, ansi-html, braces
|
|
31
|
+
- Implemented strategic package resolutions for transitive dependencies
|
|
32
|
+
- Enhanced dependency security through PNPM's stricter resolution
|
|
33
|
+
|
|
34
|
+
**Migration Note:** This version eliminates the babel-traverse vulnerability. Consuming applications should update to this version and run `pnpm install` to benefit from the security fixes.
|
|
35
|
+
|
|
36
|
+
#### Committers: 4
|
|
37
|
+
- Barrett ([@barretts](https://github.com/barretts))
|
|
38
|
+
- Kenya Plenty
|
|
39
|
+
- Jennette Heikes
|
|
40
|
+
- Component Inventory Team
|
|
41
|
+
|
|
1
42
|
## 0.21.2 (2023-02-22)
|
|
2
43
|
|
|
3
44
|
#### :bug: Bug Fix
|
package/README.md
CHANGED
|
@@ -54,6 +54,15 @@ See [ember-hk-components.herokuapp.com](https://ember-hk-components.herokuapp.co
|
|
|
54
54
|
|
|
55
55
|
* `git clone https://github.com/heroku/ember-hk-components`
|
|
56
56
|
* `cd ember-hk-components`
|
|
57
|
+
* Install the required asdf plugins (if not already installed):
|
|
58
|
+
```bash
|
|
59
|
+
asdf plugin add nodejs
|
|
60
|
+
asdf plugin add pnpm
|
|
61
|
+
```
|
|
62
|
+
* Install the correct tool versions:
|
|
63
|
+
```bash
|
|
64
|
+
asdf install
|
|
65
|
+
```
|
|
57
66
|
* `pnpm install`
|
|
58
67
|
|
|
59
68
|
### Running
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { observer, computed, set, get } from '@ember/object';
|
|
2
2
|
import Component from '@ember/component';
|
|
3
3
|
|
|
4
4
|
let positionalParamsMixin = {
|
|
@@ -23,7 +23,10 @@ const ButtonComponent = Component.extend(positionalParamsMixin, {
|
|
|
23
23
|
}),
|
|
24
24
|
|
|
25
25
|
click() {
|
|
26
|
-
let params =
|
|
26
|
+
let params = get(this, 'params');
|
|
27
|
+
if (params === undefined) {
|
|
28
|
+
params = [];
|
|
29
|
+
}
|
|
27
30
|
let callbackHandler = promise => {
|
|
28
31
|
set(this, 'promise', promise);
|
|
29
32
|
};
|
|
@@ -45,7 +48,11 @@ const ButtonComponent = Component.extend(positionalParamsMixin, {
|
|
|
45
48
|
'fulfilled',
|
|
46
49
|
'rejected',
|
|
47
50
|
function() {
|
|
48
|
-
|
|
51
|
+
let value = get(this, this.textState);
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
value = get(this, 'default');
|
|
54
|
+
}
|
|
55
|
+
return value;
|
|
49
56
|
}
|
|
50
57
|
),
|
|
51
58
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heroku/ember-hk-components",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.5",
|
|
4
4
|
"description": "Ember HK Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"qunit": "^2.19.3",
|
|
63
63
|
"qunit-dom": "^2.0.0",
|
|
64
64
|
"sass": "1.57.1",
|
|
65
|
-
"webpack": "5.
|
|
65
|
+
"webpack": "^5.94.0"
|
|
66
66
|
},
|
|
67
67
|
"changelog": {
|
|
68
68
|
"repo": "heroku/ember-hk-components",
|
|
@@ -87,7 +87,10 @@
|
|
|
87
87
|
"json5": "^2.2.3",
|
|
88
88
|
"lodash.template": "npm:lodash@^4.17.21",
|
|
89
89
|
"rollup": "^4.50.1",
|
|
90
|
-
"validated-changeset": "1.4.1"
|
|
90
|
+
"validated-changeset": "1.4.1",
|
|
91
|
+
"systeminformation": ">=5.27.14",
|
|
92
|
+
"qs": "^6.14.1",
|
|
93
|
+
"markdown-it-terminal": "0.3.0"
|
|
91
94
|
},
|
|
92
95
|
"scripts": {
|
|
93
96
|
"build": "ember build",
|