Skip to content

Commit e688ac8

Browse files
authored
Update dependencies (#63156)
1 parent 29b300d commit e688ac8

File tree

8 files changed

+1253
-1640
lines changed

8 files changed

+1253
-1640
lines changed

Herebyfile.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,14 +561,11 @@ export const lint = task({
561561
description: "Runs eslint on the compiler and scripts sources.",
562562
run: async () => {
563563
const folder = ".";
564-
const formatter = cmdLineOptions.ci ? "stylish" : "autolinkable-stylish";
565564
const args = [
566565
"node_modules/eslint/bin/eslint",
567566
"--cache",
568567
"--cache-location",
569568
`${folder}/.eslintcache`,
570-
"--format",
571-
formatter,
572569
"--report-unused-disable-directives",
573570
"--max-warnings",
574571
"0",

eslint.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default tseslint.config(
3737
eslint.configs.recommended,
3838
...tseslint.configs.recommended,
3939
...tseslint.configs.stylistic,
40-
regexpPlugin.configs["flat/recommended"],
40+
regexpPlugin.configs.recommended,
4141
{
4242
plugins: {
4343
local: {
@@ -94,6 +94,9 @@ export default tseslint.config(
9494
"no-cond-assign": "off",
9595
"no-control-regex": "off",
9696
"no-inner-declarations": "off",
97+
"no-useless-assignment": "off",
98+
"no-unassigned-vars": "off",
99+
"preserve-caught-error": "off",
97100

98101
// @typescript-eslint/eslint-plugin
99102
"@typescript-eslint/naming-convention": [

knip.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"ignore": [
2929
"scripts/failed-tests.d.cts"
3030
],
31-
"ignoreDependencies": ["c8", "eslint-formatter-autolinkable-stylish", "mocha-fivemat-progress-reporter", "monocart-coverage-reports"],
31+
"ignoreDependencies": ["c8", "mocha-fivemat-progress-reporter", "monocart-coverage-reports"],
3232
"ignoreExportsUsedInFile": {
3333
"enum": true,
3434
"interface": true,

package-lock.json

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

package.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@dprint/formatter": "^0.4.1",
4343
"@dprint/typescript": "0.93.4",
4444
"@esfx/canceltoken": "^1.0.0",
45-
"@eslint/js": "^9.39.1",
45+
"@eslint/js": "^10.0.1",
4646
"@octokit/rest": "^22.0.1",
4747
"@types/chai": "^4.3.20",
4848
"@types/minimist": "^1.2.5",
@@ -51,36 +51,35 @@
5151
"@types/node": "latest",
5252
"@types/source-map-support": "^0.5.10",
5353
"@types/which": "^3.0.4",
54-
"@typescript-eslint/rule-tester": "^8.47.0",
55-
"@typescript-eslint/type-utils": "^8.47.0",
56-
"@typescript-eslint/utils": "^8.47.0",
57-
"azure-devops-node-api": "^15.1.1",
54+
"@typescript-eslint/rule-tester": "^8.56.1",
55+
"@typescript-eslint/type-utils": "^8.56.1",
56+
"@typescript-eslint/utils": "^8.56.1",
57+
"azure-devops-node-api": "^15.1.3",
5858
"c8": "^10.1.3",
5959
"chai": "^4.5.0",
6060
"chokidar": "^4.0.3",
61-
"diff": "^8.0.2",
61+
"diff": "^8.0.3",
6262
"dprint": "^0.49.1",
63-
"esbuild": "^0.27.0",
64-
"eslint": "^9.39.1",
65-
"eslint-formatter-autolinkable-stylish": "^1.4.0",
66-
"eslint-plugin-regexp": "^2.10.0",
67-
"fast-xml-parser": "^5.3.2",
63+
"esbuild": "^0.27.3",
64+
"eslint": "^10.0.2",
65+
"eslint-plugin-regexp": "^3.0.0",
66+
"fast-xml-parser": "^5.4.1",
6867
"glob": "^10.5.0",
69-
"globals": "^16.5.0",
70-
"hereby": "^1.11.1",
68+
"globals": "^17.4.0",
69+
"hereby": "^1.12.0",
7170
"jsonc-parser": "^3.3.1",
72-
"knip": "^5.70.0",
71+
"knip": "^5.85.0",
7372
"minimist": "^1.2.8",
7473
"mocha": "^10.8.2",
7574
"mocha-fivemat-progress-reporter": "^0.1.0",
7675
"monocart-coverage-reports": "^2.12.9",
7776
"ms": "^2.1.3",
7877
"picocolors": "^1.1.1",
79-
"playwright": "^1.56.1",
78+
"playwright": "^1.58.2",
8079
"source-map-support": "^0.5.21",
8180
"tslib": "^2.8.1",
8281
"typescript": "^5.9.3",
83-
"typescript-eslint": "^8.47.0",
82+
"typescript-eslint": "^8.56.1",
8483
"which": "^3.0.1"
8584
},
8685
"overrides": {
@@ -112,7 +111,7 @@
112111
},
113112
"packageManager": "[email protected]",
114113
"volta": {
115-
"node": "20.1.0",
114+
"node": "22.22.0",
116115
"npm": "8.19.4"
117116
}
118117
}

scripts/build/utils.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ const unset = Symbol();
227227
* @returns {() => T}
228228
*/
229229
export function memoize(fn) {
230-
/** @type {T | unset} */
230+
/** @type {T | typeof unset} */
231231
let value = unset;
232232
return () => {
233233
if (value === unset) {

scripts/eslint/rules/argument-trivia.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const unset = Symbol();
1515
* @returns {() => T}
1616
*/
1717
function memoize(fn) {
18-
/** @type {T | unset} */
18+
/** @type {T | typeof unset} */
1919
let value = unset;
2020
return () => {
2121
if (value === unset) {
@@ -43,7 +43,7 @@ module.exports = createRule({
4343
defaultOptions: [],
4444

4545
create(context) {
46-
const sourceCode = context.getSourceCode();
46+
const sourceCode = context.sourceCode;
4747
const sourceCodeText = sourceCode.getText();
4848

4949
/** @type {(name: string) => boolean} */

scripts/eslint/rules/jsdoc-format.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = createRule({
2424
defaultOptions: [],
2525

2626
create(context) {
27-
const sourceCode = context.getSourceCode();
27+
const sourceCode = context.sourceCode;
2828
const atInternal = "@internal";
2929
const jsdocStart = "/**";
3030

0 commit comments

Comments
 (0)