Skip to content

Commit 8c9b8ff

Browse files
JamesCollettCGIJamesCollettCGIhmcts-jenkins-a-to-c[bot]dinesh1patel
authored
CCD-6954: Investigate / fix CVE-2025-64718 (#516)
* Update yarn-audit-known-issues * Update js-yaml to 4.1.1 * Updated eslint to 9.39.1 , and generated 'eslint.config.mjs' using https://eslint.org/docs/latest/use/configure/migration-guide * Update redis from 20.13.4 to 24.0.8 * Bumping chart version/ fixing aliases * refreshed each as pr showed conflicts * Update yarn.lock * updated yarn.lock --------- Co-authored-by: JamesCollettCGI <james.collett@hmcts.net> Co-authored-by: hmcts-jenkins-a-to-c <62422075+hmcts-jenkins-a-to-c[bot]@users.noreply.github.com> Co-authored-by: Dinesh Patel <dinesh1.patel@btinternet.com> Co-authored-by: dinesh1patel <74076102+dinesh1patel@users.noreply.github.com>
1 parent 65ab55f commit 8c9b8ff

3 files changed

Lines changed: 542 additions & 618 deletions

File tree

eslint.config.mjs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { defineConfig } from "eslint/config";
2+
import globals from "globals";
3+
import path from "node:path";
4+
import { fileURLToPath } from "node:url";
5+
import js from "@eslint/js";
6+
import { FlatCompat } from "@eslint/eslintrc";
7+
8+
const __filename = fileURLToPath(import.meta.url);
9+
const __dirname = path.dirname(__filename);
10+
const compat = new FlatCompat({
11+
baseDirectory: __dirname,
12+
recommendedConfig: js.configs.recommended,
13+
allConfig: js.configs.all
14+
});
15+
16+
export default defineConfig([{
17+
extends: compat.extends("airbnb-base"),
18+
19+
languageOptions: {
20+
globals: {
21+
...globals.mocha,
22+
...globals.jasmine,
23+
},
24+
},
25+
}]);

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"chai": "^4.3.6",
6464
"chai-arrays": "^2.0.0",
6565
"chai-http": "^4.0.0",
66-
"eslint": "6",
66+
"eslint": "9.39.1",
6767
"eslint-config-airbnb-base": "^14.0.0",
6868
"eslint-plugin-import": "^2.14.0",
6969
"jasmine-node": "3",
@@ -97,7 +97,7 @@
9797
"moment": "^2.29.4",
9898
"ajv": "6.12.6",
9999
"json5": "^2.2.2",
100-
"js-yaml": "^3.13.1",
100+
"js-yaml": "^4.1.1",
101101
"minimatch": "^3.0.5",
102102
"cookiejar": "^2.1.4",
103103
"flat": "^5.0.1",

0 commit comments

Comments
 (0)