Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions apps/site/components/Common/LinkWithArrow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import type {
import styles from './index.module.css';

type LinkWithArrowProps =
| ComponentProps<typeof Link>
| ButtonHTMLAttributes<HTMLButtonElement>;
ComponentProps<typeof Link> | ButtonHTMLAttributes<HTMLButtonElement>;

const LinkWithArrow: FC<PropsWithChildren<LinkWithArrowProps>> = ({
children,
Expand Down
8 changes: 4 additions & 4 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,20 @@
"@types/semver": "~7.7.1",
"babel-plugin-react-compiler": "^1.0.0",
"dedent": "^1.7.2",
"eslint-plugin-mdx": "~3.7.0",
"eslint-plugin-mdx": "~3.8.1",
"global-jsdom": "^29.0.0",
"handlebars": "4.7.9",
"jsdom": "^29.1.1",
"mdast-util-from-markdown": "^2.0.3",
"nock": "^14.0.15",
"remark-frontmatter": "^5.0.0",
"stylelint": "17.9.1",
"stylelint": "17.14.1",
"stylelint-config-standard": "40.0.0",
"stylelint-order": "8.1.1",
"stylelint-selector-bem-pattern": "4.0.1",
"stylelint-selector-bem-pattern": "5.0.0",
"tsx": "^4.22.3",
"typescript": "catalog:",
"typescript-eslint": "~8.59.1",
"typescript-eslint": "~8.65.0",
"user-agent-data-types": "0.4.2",
"wrangler": "^4.77.0"
},
Expand Down
1 change: 1 addition & 0 deletions apps/site/pages/en/blog/npm/npm-1-0-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ _Also_, there’s a third use case that I didn’t really appreciate until I sta
<!-- markdownlint-disable ol-prefix -->

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.

<!-- markdownlint-enable ol-prefix -->

Really, the second case above is a special-case of this third case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,55 +114,7 @@ function processNestedData(data) {
A user sending deeply nested JSON can crash your entire server:

```json
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
/* 50,000 levels deep */
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
[[[[[[[[[[[[[[[[[[[[[[[[/* 50,000 levels deep */]]]]]]]]]]]]]]]]]]]]]]]]
```

- **Without `async_hooks`**: `try-catch` catches the `RangeError`, returns 500, server continues
Expand Down
8 changes: 1 addition & 7 deletions apps/site/types/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@ import type { NodeRelease } from '#site/types/releases';
import type { OperatingSystem, Platform } from '#site/types/userAgent';

export type InstallationMethod =
| 'NVM'
| 'FNM'
| 'BREW'
| 'DOCKER'
| 'CHOCO'
| 'N'
| 'ASDF';
'NVM' | 'FNM' | 'BREW' | 'DOCKER' | 'CHOCO' | 'N' | 'ASDF';
export type PackageManager = 'NPM' | 'YARN' | 'PNPM';

// Items with a pipe/default value mean that they are auto inferred
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"husky": "9.1.7",
"lint-staged": "16.4.0",
"lint-staged": "17.1.1",
"turbo": "2.9.16"
},
"devDependencies": {
Expand All @@ -48,14 +48,14 @@
"@reporters/github": "^2.0.0",
"@testing-library/react": "~16.3.2",
"cross-env": "^10.1.0",
"eslint": "~10.2.1",
"eslint-import-resolver-typescript": "~4.4.4",
"eslint-plugin-import-x": "~4.16.2",
"eslint": "~10.7.0",
"eslint-import-resolver-typescript": "~4.4.5",
"eslint-plugin-import-x": "~4.17.1",
"globals": "^17.5.0",
"prettier": "3.8.3",
"prettier": "3.9.6",
"prettier-plugin-tailwindcss": "0.8.0",
"typescript": "catalog:",
"typescript-eslint": "~8.59.1"
"typescript-eslint": "~8.65.0"
},
"packageManager": "pnpm@11.9.0",
"devEngines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@
"postcss-loader": "8.2.1",
"storybook": "~10.4.1",
"style-loader": "4.0.0",
"stylelint": "17.9.1",
"stylelint": "17.14.1",
"stylelint-config-standard": "40.0.0",
"stylelint-order": "8.1.1",
"stylelint-selector-bem-pattern": "4.0.1",
"stylelint-selector-bem-pattern": "5.0.0",
"tailwindcss": "catalog:",
"tsx": "4.22.3",
"typescript": "catalog:"
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-components/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export type LogoVariant = 'default' | 'pride';
export type TailwindSVG = SVGProps<SVGSVGElement> & { tw?: string };
export type BlogPreviewType = 'announcements' | 'release' | 'vulnerability';
export type LinkLike =
| JSXElementConstructor<AnchorHTMLAttributes<HTMLAnchorElement>>
| 'a';
JSXElementConstructor<AnchorHTMLAttributes<HTMLAnchorElement>> | 'a';

export type FormattedMessage =
| string
Expand Down
Loading
Loading