Skip to content

Commit 324b272

Browse files
fix: update critical security dependencies
1 parent e24ff99 commit 324b272

File tree

5 files changed

+1433
-1961
lines changed

5 files changed

+1433
-1961
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ name: "CodeQL"
1515
on:
1616
push:
1717
branches: [ master,release-1.x ]
18+
paths-ignore:
19+
- '**/*_test.js'
1820
pull_request:
1921
# The branches below must be a subset of the branches above
2022
branches: [ master,release-1.x ]
23+
paths-ignore:
24+
- '**/*_test.js'
2125
schedule:
2226
- cron: '35 14 * * 3'
2327

@@ -36,11 +40,11 @@ jobs:
3640

3741
steps:
3842
- name: Checkout repository
39-
uses: actions/checkout@v2
43+
uses: actions/checkout@v3
4044

4145
# Initializes the CodeQL tools for scanning.
4246
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@v1
47+
uses: github/codeql-action/init@v2
4448
with:
4549
languages: ${{ matrix.language }}
4650
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -51,7 +55,7 @@ jobs:
5155
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5256
# If this step fails, then you should remove it and run the build manually (see below)
5357
- name: Autobuild
54-
uses: github/codeql-action/autobuild@v1
58+
uses: github/codeql-action/autobuild@v2
5559

5660
# ℹ️ Command-line programs to run using the OS shell.
5761
# 📚 https://git.io/JvXDl
@@ -65,4 +69,4 @@ jobs:
6569
# make release
6670

6771
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@v1
72+
uses: github/codeql-action/analyze@v2

.mocharc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
// Specify "require" for CommonJS
3+
"require": "ts-node/register",
4+
"extensions": ["ts"],
5+
"spec": [
6+
"src/**/*_test.ts"
7+
],
8+
"watch-files": [
9+
"src"
10+
]
11+
}

0 commit comments

Comments
 (0)