Skip to content

Commit 792c223

Browse files
authored
Merge pull request #3875 from github/dependabot/npm_and_yarn/npm-minor-c8e071f5f8
Bump the npm-minor group across 1 directory with 4 updates
2 parents b81d0d2 + 1848b73 commit 792c223

9 files changed

Lines changed: 115 additions & 113 deletions

package-lock.json

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@
5050
"@types/archiver": "^7.0.0",
5151
"@types/follow-redirects": "^1.14.4",
5252
"@types/js-yaml": "^4.0.9",
53-
"@types/node": "^20.19.9",
53+
"@types/node": "^20.19.39",
5454
"@types/node-forge": "^1.3.14",
5555
"@types/sarif": "^2.1.7",
5656
"@types/semver": "^7.7.1",
5757
"@types/sinon": "^21.0.1",
5858
"ava": "^7.0.0",
5959
"esbuild": "^0.28.0",
60-
"eslint": "^9.39.2",
60+
"eslint": "^9.39.4",
6161
"eslint-import-resolver-typescript": "^4.4.4",
6262
"eslint-plugin-github": "^6.0.0",
6363
"eslint-plugin-import-x": "^4.16.2",
@@ -67,8 +67,8 @@
6767
"globals": "^17.5.0",
6868
"nock": "^14.0.12",
6969
"sinon": "^21.1.2",
70-
"typescript": "^6.0.2",
71-
"typescript-eslint": "^8.58.2"
70+
"typescript": "^6.0.3",
71+
"typescript-eslint": "^8.59.1"
7272
},
7373
"overrides": {
7474
"@actions/tool-cache": {

pr-checks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"yaml": "^2.8.3"
1111
},
1212
"devDependencies": {
13-
"@types/node": "^20.19.9",
13+
"@types/node": "^20.19.39",
1414
"tsx": "^4.21.0"
1515
}
1616
}

src/config-utils.test.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ checkOverlayEnablementMacro.serial(
12071207
features: [Feature.OverlayAnalysis, Feature.OverlayAnalysisJavascript],
12081208
codeScanningConfig: {
12091209
packs: ["some-custom-pack@1.0.0"],
1210-
} as UserConfig,
1210+
},
12111211
isDefaultBranch: true,
12121212
},
12131213
{
@@ -1444,7 +1444,7 @@ checkOverlayEnablementMacro.serial(
14441444
],
14451445
codeScanningConfig: {
14461446
"disable-default-queries": true,
1447-
} as UserConfig,
1447+
},
14481448
isDefaultBranch: true,
14491449
},
14501450
{
@@ -1462,7 +1462,7 @@ checkOverlayEnablementMacro.serial(
14621462
],
14631463
codeScanningConfig: {
14641464
packs: ["some-custom-pack@1.0.0"],
1465-
} as UserConfig,
1465+
},
14661466
isDefaultBranch: true,
14671467
},
14681468
{
@@ -1480,7 +1480,7 @@ checkOverlayEnablementMacro.serial(
14801480
],
14811481
codeScanningConfig: {
14821482
queries: [{ uses: "some-query.ql" }],
1483-
} as UserConfig,
1483+
},
14841484
isDefaultBranch: true,
14851485
},
14861486
{
@@ -1498,7 +1498,7 @@ checkOverlayEnablementMacro.serial(
14981498
],
14991499
codeScanningConfig: {
15001500
"query-filters": [{ include: { "security-severity": "high" } }],
1501-
} as UserConfig,
1501+
},
15021502
isDefaultBranch: true,
15031503
},
15041504
{
@@ -1562,7 +1562,7 @@ checkOverlayEnablementMacro.serial(
15621562
features: [Feature.OverlayAnalysis, Feature.OverlayAnalysisJavascript],
15631563
codeScanningConfig: {
15641564
packs: ["some-custom-pack@1.0.0"],
1565-
} as UserConfig,
1565+
},
15661566
isPullRequest: true,
15671567
},
15681568
{
@@ -1705,7 +1705,7 @@ checkOverlayEnablementMacro.serial(
17051705
],
17061706
codeScanningConfig: {
17071707
"disable-default-queries": true,
1708-
} as UserConfig,
1708+
},
17091709
isPullRequest: true,
17101710
},
17111711
{
@@ -1723,7 +1723,7 @@ checkOverlayEnablementMacro.serial(
17231723
],
17241724
codeScanningConfig: {
17251725
packs: ["some-custom-pack@1.0.0"],
1726-
} as UserConfig,
1726+
},
17271727
isPullRequest: true,
17281728
},
17291729
{
@@ -1741,7 +1741,7 @@ checkOverlayEnablementMacro.serial(
17411741
],
17421742
codeScanningConfig: {
17431743
queries: [{ uses: "some-query.ql" }],
1744-
} as UserConfig,
1744+
},
17451745
isPullRequest: true,
17461746
},
17471747
{
@@ -1759,7 +1759,7 @@ checkOverlayEnablementMacro.serial(
17591759
],
17601760
codeScanningConfig: {
17611761
"query-filters": [{ include: { "security-severity": "high" } }],
1762-
} as UserConfig,
1762+
},
17631763
isPullRequest: true,
17641764
},
17651765
{

src/debug-artifacts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export function getArtifactSuffix(matrix: string | undefined): string {
263263
try {
264264
const matrixObject = JSON.parse(matrix);
265265
if (json.isObject(matrixObject)) {
266-
for (const matrixKey of Object.keys(matrixObject as object).sort())
266+
for (const matrixKey of Object.keys(matrixObject).sort())
267267
suffix += `-${matrixObject[matrixKey]}`;
268268
} else {
269269
core.warning("User-specified `matrix` input is not an object.");

src/feature-flags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ class OfflineFeatures implements FeatureEnablement {
386386
getFeatureConfig(feature: Feature): FeatureConfig {
387387
// Narrow the type to FeatureConfig to avoid type errors. To avoid unsafe use of `as`, we
388388
// check that the required properties exist using `satisfies`.
389-
return featureConfig[feature] satisfies FeatureConfig as FeatureConfig;
389+
return featureConfig[feature] satisfies FeatureConfig;
390390
}
391391

392392
/**

src/init-action-post-helper.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ async function testFailedSarifUpload(
602602
uploadFiles.resolves({
603603
sarifID: "42",
604604
statusReport: { raw_upload_size_bytes: 20, zipped_upload_size_bytes: 10 },
605-
} as uploadLib.UploadResult);
605+
});
606606
const waitForProcessing = sinon.stub(uploadLib, "waitForProcessing");
607607

608608
const features = [] as Feature[];

src/upload-sarif.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const postProcessAndUploadSarifMacro = makeMacro({
6767
const analysisConfig = getAnalysisConfig(analysisKind);
6868
uploadPostProcessedFiles
6969
.withArgs(logger, sinon.match.any, analysisConfig, sinon.match.any)
70-
.resolves(expectedResult[analysisKind as AnalysisKind]?.uploadResult);
70+
.resolves(expectedResult[analysisKind]?.uploadResult);
7171
}
7272

7373
const fullSarifPaths = sarifFiles.map(toFullPath);

src/workflow.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ async function testLanguageAliases(
422422
],
423423
},
424424
},
425-
} as Workflow,
425+
},
426426
codeql,
427427
);
428428

0 commit comments

Comments
 (0)