Skip to content

Commit 11d300e

Browse files
authored
Update packages to resolve CWE-774/GHSA-r5w7-f542-q2j4 (#514)
Update packages and made appropriate code changes to address and fix security issue CWE-774/GHSA-r5w7-f542-q2j4: Potential DoS when using ContextLines integration #59
1 parent 924117d commit 11d300e

File tree

8 files changed

+2628
-2353
lines changed

8 files changed

+2628
-2353
lines changed

.github/workflows/code-qa.yml

+27-3
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,51 @@ name: Code Quality Assurance
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- 'public/**'
8+
- 'src/**'
9+
- '**/*.json'
10+
- '**/*.js'
11+
- '**/*.ts'
12+
- '**/*.tsx'
13+
- '**/*.jsx'
14+
- '**/*.css'
15+
- '**/*.scss'
16+
- '**/*.html'
17+
- '.github/workflows/code-qa.yml'
618
pull_request:
719
branches: [main]
20+
paths:
21+
- 'public/**'
22+
- 'src/**'
23+
- '**/*.json'
24+
- '**/*.js'
25+
- '**/*.ts'
26+
- '**/*.tsx'
27+
- '**/*.jsx'
28+
- '**/*.css'
29+
- '**/*.scss'
30+
- '**/*.html'
31+
- '.github/workflows/code-qa.yml'
832

933
jobs:
1034
build:
1135
runs-on: ubuntu-latest
1236

1337
strategy:
1438
matrix:
15-
node-version: [20.x]
39+
node-version: [22.x]
1640
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1741

1842
steps:
1943
- name: Checkout repository
2044
uses: actions/checkout@v4
2145
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v3
46+
uses: actions/setup-node@v4
2347
with:
2448
node-version: ${{ matrix.node-version }}
2549
- name: Cache Node.js modules
26-
uses: actions/cache@v3
50+
uses: actions/cache@v4
2751
with:
2852
path: ~/.npm
2953
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/markdown-lint.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ on:
55
branches: [main]
66
paths:
77
- '**/*.md'
8+
- '.markdownlint.json'
9+
- '.markdownlintignore'
810
- '.github/workflows/markdown-lint.yml'
911
pull_request:
1012
branches: [main]
1113
paths:
1214
- '**/*.md'
15+
- '.markdownlint.json'
16+
- '.markdownlintignore'
1317
- '.github/workflows/markdown-lint.yml'
1418

1519
jobs:
@@ -20,11 +24,11 @@ jobs:
2024
- name: Checkout repository
2125
uses: actions/checkout@v4
2226
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2428
with:
2529
node-version: ${{ matrix.node-version }}
2630
- name: Cache Node.js modules
27-
uses: actions/cache@v3
31+
uses: actions/cache@v4
2832
with:
2933
path: ~/.npm
3034
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

next-env.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
5+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

0 commit comments

Comments
 (0)