diff --git a/package.json b/package.json index d44f2c4378c3..1be347032af0 100644 --- a/package.json +++ b/package.json @@ -180,7 +180,7 @@ "terser": "^5.18.2", "testdouble": "^3.18.0", "typed-query-selector": "^2.11.2", - "typescript": "5.5.3", + "typescript": "5.8.2", "wait-for-expect": "^3.0.2", "webtreemap-cdt": "^3.2.1" }, diff --git a/types/internal/node.d.ts b/types/internal/node.d.ts index 71bd04f7b393..7925668b6a72 100644 --- a/types/internal/node.d.ts +++ b/types/internal/node.d.ts @@ -30,22 +30,6 @@ declare global { /** Injected into the page when the `--debug` flag is used. */ continueLighthouseRun(): void; } - - // `fetchPriority` not defined in tsc as of 4.9.4. - interface HTMLImageElement { - /** - * Sets the priority for fetches initiated by the element. - * @see https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-fetchpriority - */ - fetchPriority: string; - } - interface HTMLLinkElement { - /** - * Sets the priority for fetches initiated by the element. - * @see https://html.spec.whatwg.org/multipage/semantics.html#dom-link-fetchpriority - */ - fetchPriority: string; - } } export {}; diff --git a/yarn.lock b/yarn.lock index 38cd664ef023..4a9127285523 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1479,11 +1479,11 @@ integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== "@types/node@*", "@types/node@>=12.12.47", "@types/node@>=13.7.0": - version "18.19.39" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.39.tgz#c316340a5b4adca3aee9dcbf05de385978590593" - integrity sha512-nPwTRDKUctxw3di5b4TfT3I0sWDiWoPQCZjXhvdkINntwr8lcoVCKsTgnXeRubKIlfnV+eN/HYk6Jb40tbcEAQ== + version "22.13.14" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.13.14.tgz#70d84ec91013dcd2ba2de35532a5a14c2b4cc912" + integrity sha512-Zs/Ollc1SJ8nKUAgc7ivOEdIBM8JAKgrqqUYi2J997JuKO7/tpQC+WCetQ1sypiKCQWHdvdg9wBNpUPEWZae7w== dependencies: - undici-types "~5.26.4" + undici-types "~6.20.0" "@types/node@^11.10.4": version "11.15.54" @@ -7244,10 +7244,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@5.5.3: - version "5.5.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.3.tgz#e1b0a3c394190838a0b168e771b0ad56a0af0faa" - integrity sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ== +typescript@5.8.2: + version "5.8.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.2.tgz#8170b3702f74b79db2e5a96207c15e65807999e4" + integrity sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ== uglify-js@^3.1.4: version "3.14.4" @@ -7264,10 +7264,10 @@ unbox-primitive@^1.0.1: has-symbols "^1.0.2" which-boxed-primitive "^1.0.2" -undici-types@~5.26.4: - version "5.26.5" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" - integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== +undici-types@~6.20.0: + version "6.20.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433" + integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg== union-value@^1.0.0: version "1.0.1"