Skip to content

Commit 86585f1

Browse files
Update ast-cli to 2.3.55 and address vulnerability fixes (#1028)
* updating ast-cli version to 2.3.55 * vulnerability fixes * brace expansion cve fix * changing variable name * removing bot review actions
1 parent ed60eae commit 86585f1

12 files changed

Lines changed: 48 additions & 164 deletions

File tree

‎.github/workflows/ast-cli-team-review.yml‎

Lines changed: 0 additions & 76 deletions
This file was deleted.

‎.github/workflows/auto-merge-pr.yml‎

Lines changed: 0 additions & 23 deletions
This file was deleted.

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,16 @@ jobs:
3434
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3535
with:
3636
node-version: 22.11.0
37-
registry-url: https://npm.pkg.github.com/
37+
registry-url: https://npm.echohq.com/
38+
- name: Configure echohq auth (both hosts)
39+
env:
40+
ECHO_LIBRARIES_ACCESS_KEY: ${{ secrets.ECHO_LIBRARIES_ACCESS_KEY }}
41+
run: |
42+
npm config set //npm.echohq.com/:_authToken "${ECHO_LIBRARIES_ACCESS_KEY}"
43+
npm config set //packages.echohq.com/:_authToken "${ECHO_LIBRARIES_ACCESS_KEY}"
3844
- run: npm ci
45+
env:
46+
ECHO_LIBRARIES_ACCESS_KEY: ${{ secrets.ECHO_LIBRARIES_ACCESS_KEY }}
3947
- name: Code Linting
4048
run: npm run lint
4149
- run: npm run build --if-present

‎.github/workflows/pr-automation.yml‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎.github/workflows/release.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ jobs:
101101
node-version: 22.11.0
102102
registry-url: https://npm.echohq.com/
103103

104+
# CONFIGURE ECHOHQ AUTH
105+
- name: Configure echohq auth (both hosts)
106+
env:
107+
ECHO_LIBRARIES_ACCESS_KEY: ${{ secrets.ECHO_LIBRARIES_ACCESS_KEY }}
108+
run: |
109+
npm config set //npm.echohq.com/:_authToken "${ECHO_LIBRARIES_ACCESS_KEY}"
110+
npm config set //packages.echohq.com/:_authToken "${ECHO_LIBRARIES_ACCESS_KEY}"
111+
104112
# CONFIGURE GITHUB PACKAGES AUTH FOR PUBLISH
105113
- name: Configure GitHub Packages auth
106114
env:
@@ -145,6 +153,8 @@ jobs:
145153
146154
# RUN NPM INSTALL AND BUILD
147155
- name: NPM ci and build
156+
env:
157+
ECHO_LIBRARIES_ACCESS_KEY: ${{ secrets.ECHO_LIBRARIES_ACCESS_KEY }}
148158
run: |
149159
npm ci
150160
npm run build

‎.npmrc‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Default registry for most packages
22
registry=https://npm.echohq.com/
3-
3+
//npm.echohq.com/:_authToken=
4+
//packages.echohq.com/:_authToken=
5+
always-auth=true
46
ignore-scripts=true

‎checkmarx-ast-cli.version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.54
1+
2.3.55

‎package-lock.json‎

Lines changed: 17 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
"flatted": "^3.4.2",
4545
"picomatch": "2.3.2",
4646
"serialize-javascript": "6.0.2",
47-
"brace-expansion": "2.0.3",
47+
"brace-expansion": "5.0.7",
4848
"lodash": "4.18.0",
4949
"uuid": "14.0.0",
50-
"js-yaml": "4.2.0"
50+
"js-yaml": "4.3.0"
5151
},
5252
"publishConfig": {
5353
"registry": "https://npm.pkg.github.com"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:776d9864c0104e1d0023641ef931bd1c58478cf56768ce77f2bfbfd6e9e64493
3-
size 80568482
2+
oid sha256:d76d1d464af46b0dc5976f8c79560344d86e1641b6eb1959e7a8120f5eab7293
3+
size 83103906

0 commit comments

Comments
 (0)