Update dependencies (#63156)

This commit is contained in:
Jake Bailey
2026-03-02 12:16:14 -08:00
committed by GitHub
parent 29b300deb5
commit e688ac8bc3
8 changed files with 1243 additions and 1630 deletions

View File

@@ -561,14 +561,11 @@ export const lint = task({
description: "Runs eslint on the compiler and scripts sources.",
run: async () => {
const folder = ".";
const formatter = cmdLineOptions.ci ? "stylish" : "autolinkable-stylish";
const args = [
"node_modules/eslint/bin/eslint",
"--cache",
"--cache-location",
`${folder}/.eslintcache`,
"--format",
formatter,
"--report-unused-disable-directives",
"--max-warnings",
"0",

View File

@@ -37,7 +37,7 @@ export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
...tseslint.configs.stylistic,
regexpPlugin.configs["flat/recommended"],
regexpPlugin.configs.recommended,
{
plugins: {
local: {
@@ -94,6 +94,9 @@ export default tseslint.config(
"no-cond-assign": "off",
"no-control-regex": "off",
"no-inner-declarations": "off",
"no-useless-assignment": "off",
"no-unassigned-vars": "off",
"preserve-caught-error": "off",
// @typescript-eslint/eslint-plugin
"@typescript-eslint/naming-convention": [

View File

@@ -28,7 +28,7 @@
"ignore": [
"scripts/failed-tests.d.cts"
],
"ignoreDependencies": ["c8", "eslint-formatter-autolinkable-stylish", "mocha-fivemat-progress-reporter", "monocart-coverage-reports"],
"ignoreDependencies": ["c8", "mocha-fivemat-progress-reporter", "monocart-coverage-reports"],
"ignoreExportsUsedInFile": {
"enum": true,
"interface": true,

2822
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -42,7 +42,7 @@
"@dprint/formatter": "^0.4.1",
"@dprint/typescript": "0.93.4",
"@esfx/canceltoken": "^1.0.0",
"@eslint/js": "^9.39.1",
"@eslint/js": "^10.0.1",
"@octokit/rest": "^22.0.1",
"@types/chai": "^4.3.20",
"@types/minimist": "^1.2.5",
@@ -51,36 +51,35 @@
"@types/node": "latest",
"@types/source-map-support": "^0.5.10",
"@types/which": "^3.0.4",
"@typescript-eslint/rule-tester": "^8.47.0",
"@typescript-eslint/type-utils": "^8.47.0",
"@typescript-eslint/utils": "^8.47.0",
"azure-devops-node-api": "^15.1.1",
"@typescript-eslint/rule-tester": "^8.56.1",
"@typescript-eslint/type-utils": "^8.56.1",
"@typescript-eslint/utils": "^8.56.1",
"azure-devops-node-api": "^15.1.3",
"c8": "^10.1.3",
"chai": "^4.5.0",
"chokidar": "^4.0.3",
"diff": "^8.0.2",
"diff": "^8.0.3",
"dprint": "^0.49.1",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"eslint-formatter-autolinkable-stylish": "^1.4.0",
"eslint-plugin-regexp": "^2.10.0",
"fast-xml-parser": "^5.3.2",
"esbuild": "^0.27.3",
"eslint": "^10.0.2",
"eslint-plugin-regexp": "^3.0.0",
"fast-xml-parser": "^5.4.1",
"glob": "^10.5.0",
"globals": "^16.5.0",
"hereby": "^1.11.1",
"globals": "^17.4.0",
"hereby": "^1.12.0",
"jsonc-parser": "^3.3.1",
"knip": "^5.70.0",
"knip": "^5.85.0",
"minimist": "^1.2.8",
"mocha": "^10.8.2",
"mocha-fivemat-progress-reporter": "^0.1.0",
"monocart-coverage-reports": "^2.12.9",
"ms": "^2.1.3",
"picocolors": "^1.1.1",
"playwright": "^1.56.1",
"playwright": "^1.58.2",
"source-map-support": "^0.5.21",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.47.0",
"typescript-eslint": "^8.56.1",
"which": "^3.0.1"
},
"overrides": {
@@ -112,7 +111,7 @@
},
"packageManager": "npm@8.19.4",
"volta": {
"node": "20.1.0",
"node": "22.22.0",
"npm": "8.19.4"
}
}

View File

@@ -227,7 +227,7 @@ const unset = Symbol();
* @returns {() => T}
*/
export function memoize(fn) {
/** @type {T | unset} */
/** @type {T | typeof unset} */
let value = unset;
return () => {
if (value === unset) {

View File

@@ -15,7 +15,7 @@ const unset = Symbol();
* @returns {() => T}
*/
function memoize(fn) {
/** @type {T | unset} */
/** @type {T | typeof unset} */
let value = unset;
return () => {
if (value === unset) {
@@ -43,7 +43,7 @@ module.exports = createRule({
defaultOptions: [],
create(context) {
const sourceCode = context.getSourceCode();
const sourceCode = context.sourceCode;
const sourceCodeText = sourceCode.getText();
/** @type {(name: string) => boolean} */

View File

@@ -24,7 +24,7 @@ module.exports = createRule({
defaultOptions: [],
create(context) {
const sourceCode = context.getSourceCode();
const sourceCode = context.sourceCode;
const atInternal = "@internal";
const jsdocStart = "/**";