Skip to content

Commit edd53a1

Browse files
chore(deps): bump the lint group across 1 directory with 9 updates (#9033)
1 parent ac04f4e commit edd53a1

10 files changed

Lines changed: 1090 additions & 969 deletions

File tree

‎apps/site/components/Common/LinkWithArrow/index.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import type {
1313
import styles from './index.module.css';
1414

1515
type LinkWithArrowProps =
16-
| ComponentProps<typeof Link>
17-
| ButtonHTMLAttributes<HTMLButtonElement>;
16+
ComponentProps<typeof Link> | ButtonHTMLAttributes<HTMLButtonElement>;
1817

1918
const LinkWithArrow: FC<PropsWithChildren<LinkWithArrowProps>> = ({
2019
children,

‎apps/site/eslint.config.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ export default baseConfig.concat([
4141
processor: mdx.createRemarkProcessor({ lintCodeBlocks: true }),
4242
rules: {
4343
...mdx.flat.rules,
44+
// Components used in MDX are never imported; they are injected by our
45+
// compiler from `mdx/components.mjs`, so they are never in lexical scope.
46+
'no-undef': 'off',
4447
'no-irregular-whitespace': 'off',
4548
'@next/next/no-img-element': 'off',
4649
'@next/next/no-html-link-for-pages': ['error', 'apps/site/pages/'],

‎apps/site/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,20 @@
7777
"@types/semver": "~7.7.1",
7878
"babel-plugin-react-compiler": "^1.0.0",
7979
"dedent": "^1.7.2",
80-
"eslint-plugin-mdx": "~3.7.0",
80+
"eslint-plugin-mdx": "~3.8.1",
8181
"global-jsdom": "^29.0.0",
8282
"handlebars": "4.7.9",
8383
"jsdom": "^29.1.1",
8484
"mdast-util-from-markdown": "^2.0.3",
8585
"nock": "^14.0.15",
8686
"remark-frontmatter": "^5.0.0",
87-
"stylelint": "17.9.1",
87+
"stylelint": "17.14.1",
8888
"stylelint-config-standard": "40.0.0",
8989
"stylelint-order": "8.1.1",
90-
"stylelint-selector-bem-pattern": "4.0.1",
90+
"stylelint-selector-bem-pattern": "5.0.0",
9191
"tsx": "^4.22.3",
9292
"typescript": "catalog:",
93-
"typescript-eslint": "~8.59.1",
93+
"typescript-eslint": "~8.65.0",
9494
"user-agent-data-types": "0.4.2"
9595
},
9696
"peerDependencies": {

‎apps/site/pages/en/blog/npm/npm-1-0-link.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ _Also_, there’s a third use case that I didn’t really appreciate until I sta
4242
<!-- markdownlint-disable ol-prefix -->
4343

4444
3. Globally install something, and use it in development in a bunch of projects, and then update them all at once so that they all use the latest version.
45+
4546
<!-- markdownlint-enable ol-prefix -->
4647

4748
Really, the second case above is a special-case of this third case.

‎apps/site/pages/en/blog/vulnerability/january-2026-dos-mitigation-async-hooks.md‎

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -114,55 +114,7 @@ function processNestedData(data) {
114114
A user sending deeply nested JSON can crash your entire server:
115115

116116
```json
117-
[
118-
[
119-
[
120-
[
121-
[
122-
[
123-
[
124-
[
125-
[
126-
[
127-
[
128-
[
129-
[
130-
[
131-
[
132-
[
133-
[
134-
[
135-
[
136-
[
137-
[
138-
[
139-
[
140-
[
141-
/* 50,000 levels deep */
142-
]
143-
]
144-
]
145-
]
146-
]
147-
]
148-
]
149-
]
150-
]
151-
]
152-
]
153-
]
154-
]
155-
]
156-
]
157-
]
158-
]
159-
]
160-
]
161-
]
162-
]
163-
]
164-
]
165-
]
117+
[[[[[[[[[[[[[[[[[[[[[[[[/* 50,000 levels deep */]]]]]]]]]]]]]]]]]]]]]]]]
166118
```
167119

168120
- **Without `async_hooks`**: `try-catch` catches the `RangeError`, returns 500, server continues

‎apps/site/types/release.ts‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@ import type { NodeRelease } from '#site/types/releases';
33
import type { OperatingSystem, Platform } from '#site/types/userAgent';
44

55
export type InstallationMethod =
6-
| 'NVM'
7-
| 'FNM'
8-
| 'BREW'
9-
| 'DOCKER'
10-
| 'CHOCO'
11-
| 'N'
12-
| 'ASDF';
6+
'NVM' | 'FNM' | 'BREW' | 'DOCKER' | 'CHOCO' | 'N' | 'ASDF';
137
export type PackageManager = 'NPM' | 'YARN' | 'PNPM';
148

159
// Items with a pipe/default value mean that they are auto inferred

‎package.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"dependencies": {
3838
"husky": "9.1.7",
39-
"lint-staged": "16.4.0",
39+
"lint-staged": "17.2.0",
4040
"turbo": "2.9.16"
4141
},
4242
"devDependencies": {
@@ -46,14 +46,14 @@
4646
"@reporters/github": "^2.0.0",
4747
"@testing-library/react": "~16.3.2",
4848
"cross-env": "^10.1.0",
49-
"eslint": "~10.2.1",
50-
"eslint-import-resolver-typescript": "~4.4.4",
51-
"eslint-plugin-import-x": "~4.16.2",
49+
"eslint": "~10.7.0",
50+
"eslint-import-resolver-typescript": "~4.4.5",
51+
"eslint-plugin-import-x": "~4.17.1",
5252
"globals": "^17.5.0",
53-
"prettier": "3.8.3",
53+
"prettier": "3.9.6",
5454
"prettier-plugin-tailwindcss": "0.8.0",
5555
"typescript": "catalog:",
56-
"typescript-eslint": "~8.59.1"
56+
"typescript-eslint": "~8.65.0"
5757
},
5858
"packageManager": "pnpm@11.9.0",
5959
"devEngines": {

‎packages/ui-components/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@
8787
"postcss-loader": "8.2.1",
8888
"storybook": "~10.4.1",
8989
"style-loader": "4.0.0",
90-
"stylelint": "17.9.1",
90+
"stylelint": "17.14.1",
9191
"stylelint-config-standard": "40.0.0",
9292
"stylelint-order": "8.1.1",
93-
"stylelint-selector-bem-pattern": "4.0.1",
93+
"stylelint-selector-bem-pattern": "5.0.0",
9494
"tailwindcss": "catalog:",
9595
"tsx": "4.22.3",
9696
"typescript": "catalog:"

‎packages/ui-components/src/types.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ export type LogoVariant = 'default' | 'pride';
1010
export type TailwindSVG = SVGProps<SVGSVGElement> & { tw?: string };
1111
export type BlogPreviewType = 'announcements' | 'release' | 'vulnerability';
1212
export type LinkLike =
13-
| JSXElementConstructor<AnchorHTMLAttributes<HTMLAnchorElement>>
14-
| 'a';
13+
JSXElementConstructor<AnchorHTMLAttributes<HTMLAnchorElement>> | 'a';
1514

1615
export type FormattedMessage =
1716
| string

0 commit comments

Comments
 (0)