Skip to content

Commit fd5e9bf

Browse files
build(deps-dev): bump the dev-dependencies group across 1 directory with 42 updates (facebook#8347)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bob Ippolito <bob@redivi.com>
1 parent 8760c76 commit fd5e9bf

58 files changed

Lines changed: 3175 additions & 4140 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/call-core-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- run: pnpm run build
2929
- run: pnpm run build-www
3030
- run: pnpm run --filter @lexical/website build
31-
- run: pnpm run --filter @lexical/playground build-vercel
31+
- run: pnpm run --filter lexical-playground build-vercel
3232

3333
unit:
3434
runs-on: ubuntu-latest

eslint.config.mjs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,11 @@ export default [
282282
plugins: {
283283
'react-hooks': reactHooksPlugin,
284284
},
285-
rules: reactHooksPlugin.configs.recommended.rules,
285+
rules: {
286+
...reactHooksPlugin.configs.recommended.rules,
287+
// react-hooks/refs has too many false positives (in ^7.0.1)
288+
'react-hooks/refs': OFF,
289+
},
286290
},
287291

288292
// Override: Package source files (module sourceType)
@@ -414,6 +418,17 @@ export default [
414418
},
415419
},
416420

421+
// Override: Tests - disable react-hooks rules that flag patterns we
422+
// intentionally use in tests (reassigning module-scoped variables and
423+
// mutating captured objects from inside test components/hooks).
424+
{
425+
files: ['packages/**/__tests__/**', 'scripts/__tests__/**'],
426+
rules: {
427+
'react-hooks/globals': OFF,
428+
'react-hooks/immutability': OFF,
429+
},
430+
},
431+
417432
// Override: Index exports - restrict default exports
418433
{
419434
files: [

examples/agent-example/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,10 @@
4141
"@rollup/rollup-darwin-arm64": "4.52.0",
4242
"@rollup/rollup-win32-x64-msvc": "4.52.0",
4343
"@rollup/wasm-node": "4.52.0"
44+
},
45+
"pnpm": {
46+
"neverBuiltDependencies": [
47+
"onnxruntime-node"
48+
]
4449
}
4550
}

examples/extension-vanilla-react-plugin-host/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"tailwindcss": "^4.2.1",
2929
"typescript": "5.4.5",
3030
"vite": "^7.3.2",
31-
"vite-plugin-static-copy": "^3.2.0",
32-
"vite-tsconfig-paths": "^5.1.4"
31+
"vite-plugin-static-copy": "^3.2.0"
3332
},
3433
"optionalDependencies": {
3534
"@rollup/rollup-darwin-arm64": "4.52.0",

examples/extension-vanilla-tailwind/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"tailwindcss": "^4.2.1",
2828
"typescript": "5.4.5",
2929
"vite": "^7.3.2",
30-
"vite-plugin-static-copy": "^3.2.0",
31-
"vite-tsconfig-paths": "^5.1.4"
30+
"vite-plugin-static-copy": "^3.2.0"
3231
},
3332
"optionalDependencies": {
3433
"@rollup/rollup-darwin-arm64": "4.52.0",

examples/node-state-style/src/plugins/StyleViewPlugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ function isNotVendorProperty(item: string): boolean {
622622
}
623623

624624
function useSuggestedStylesCombobox(props: CSSPropertyComboBoxProps) {
625-
const initialItems = useMemo(getSuggestedStyleKeys, []);
625+
const [initialItems] = useState(getSuggestedStyleKeys);
626626
const [items, setItems] = useState(() =>
627627
initialItems.filter(isNotVendorProperty).join('\n'),
628628
);

examples/node-state-style/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2020",
3+
"target": "ES2022",
44
"useDefineForClassFields": true,
5-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
5+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
66
"module": "ESNext",
77
"skipLibCheck": true,
88

examples/website-notion/src/plugins/DragPlugin.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export function DragPlugin({anchorElem}: DragPluginProps) {
119119
if (!isPickerOpen) {
120120
return;
121121
}
122+
// eslint-disable-next-line react-hooks/set-state-in-effect
122123
setHighlightedIndex((i) => Math.min(i, Math.max(options.length - 1, 0)));
123124
}, [isPickerOpen, options.length]);
124125

examples/website-rich-input/src/Editor.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export default function Editor() {
6262
!navigator.userAgent.includes('iPhone') &&
6363
!navigator.userAgent.includes('iPad')
6464
) {
65+
// eslint-disable-next-line react-hooks/set-state-in-effect
6566
setModKey('Ctrl + ');
6667
}
6768
}, []);
@@ -73,7 +74,7 @@ export default function Editor() {
7374
<div className="relative rounded-[10px] border border-solid border-zinc-200 bg-white transition-[border-color] duration-150 dark:border-white/[0.12] dark:bg-[#1f1f21]">
7475
<div className="relative">
7576
<ContentEditable
76-
className="max-h-[160px] min-h-[80px] overflow-y-auto px-3.5 py-3 text-[0.9375rem] leading-[1.55] break-words outline-none"
77+
className="max-h-40 min-h-20 overflow-y-auto px-3.5 py-3 text-[0.9375rem] leading-[1.55] break-words outline-none"
7778
aria-label="Rich text input"
7879
aria-placeholder="How are you feeling? Use #hashtags too."
7980
placeholder={

package.json

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,16 @@
107107
"release": "pnpm run prepare-release && node ./scripts/npm/release.js"
108108
},
109109
"devDependencies": {
110-
"@babel/core": "^7.24.5",
111-
"@babel/helper-module-imports": "^7.24.1",
112-
"@babel/plugin-transform-optional-catch-binding": "^7.24.1",
113-
"@babel/preset-env": "^7.28.6",
114-
"@babel/preset-flow": "^7.24.1",
115-
"@babel/preset-react": "^7.24.1",
116-
"@babel/preset-typescript": "^7.24.1",
110+
"@babel/core": "^7.29.0",
111+
"@babel/helper-module-imports": "^7.28.6",
112+
"@babel/plugin-transform-optional-catch-binding": "^7.28.6",
113+
"@babel/preset-env": "^7.29.2",
114+
"@babel/preset-flow": "^7.27.1",
115+
"@babel/preset-react": "^7.28.5",
116+
"@babel/preset-typescript": "^7.28.5",
117117
"@lexical/eslint-plugin": "file:./packages/lexical-eslint-plugin",
118118
"@lexical/eslint-plugin-internal": "file:./packages/lexical-eslint-plugin-internal",
119-
"@playwright/test": "^1.56.1",
119+
"@playwright/test": "^1.59.1",
120120
"@prettier/sync": "^0.6.1",
121121
"@rollup/plugin-alias": "^6.0.0",
122122
"@rollup/plugin-babel": "^7.0.0",
@@ -125,24 +125,23 @@
125125
"@rollup/plugin-node-resolve": "^16.0.3",
126126
"@rollup/plugin-replace": "^6.0.3",
127127
"@rollup/plugin-terser": "^1.0.0",
128-
"@types/fs-extra": "^8.1.5",
128+
"@types/fs-extra": "^11.0.4",
129129
"@types/jsdom": "^21.1.6",
130130
"@types/katex": "^0.16.7",
131-
"@types/node": "^17.0.31",
131+
"@types/node": "^25.6.0",
132132
"@types/prismjs": "^1.26.6",
133133
"@types/proper-lockfile": "^4.1.4",
134134
"@types/react": "^19.2.14",
135-
"@types/react-dom": "^19.1.9",
136-
"@types/trusted-types": "^2.0.7",
137-
"@eslint/compat": "^2.0.0",
135+
"@types/react-dom": "^19.2.3",
136+
"@eslint/compat": "^2.0.5",
138137
"@eslint/js": "^10.0.0",
139-
"@vitejs/plugin-react": "^5.0.3",
138+
"@vitejs/plugin-react": "^6.0.1",
140139
"@y/websocket-server": "^0.1.5",
141-
"baseline-browser-mapping": "^2.9.9",
142-
"chokidar": "^3.5.2",
143-
"concurrently": "^8.2.2",
140+
"baseline-browser-mapping": "^2.10.18",
141+
"chokidar": "^5.0.0",
142+
"concurrently": "^9.2.1",
144143
"confusing-browser-globals": "^1.0.10",
145-
"cross-env": "^7.0.3",
144+
"cross-env": "^10.1.0",
146145
"eslint": "^10.0.0",
147146
"eslint-config-prettier": "^10.0.0",
148147
"eslint-plugin-header": "^3.1.1",
@@ -151,48 +150,50 @@
151150
"eslint-plugin-no-function-declare-after-return": "^1.1.0",
152151
"eslint-plugin-no-only-tests": "^3.3.0",
153152
"eslint-plugin-react": "^7.37.5",
154-
"eslint-plugin-react-hooks": "^5.2.0",
153+
"eslint-plugin-react-hooks": "^7.0.1",
155154
"eslint-plugin-simple-import-sort": "^13.0.0",
156155
"eslint-plugin-sort-keys-fix": "^1.1.2",
157156
"flow-bin": "^0.309.0",
158157
"flow-typed": "^4.1.1",
159158
"fs-extra": "^11.3.4",
160-
"glob": "^10.4.1",
159+
"glob": "^13.0.6",
161160
"globals": "^17.0.0",
162-
"gzip-size": "^6.0.0",
163-
"hermes-estree": "^0.34.0",
164-
"hermes-parser": "^0.34.0",
165-
"hermes-transform": "^0.34.0",
161+
"gzip-size": "^7.0.0",
162+
"hermes-estree": "^0.35.0",
163+
"hermes-parser": "^0.35.0",
164+
"hermes-transform": "^0.35.0",
166165
"husky": "^9.1.7",
167-
"jsdom": "^24.0.0",
166+
"jsdom": "^29.0.2",
168167
"lint-staged": "^16.0.0",
169168
"minimist": "^1.2.5",
170169
"npm-run-all": "^4.1.5",
171170
"prettier": "^3.8.1",
172171
"prettier-plugin-hermes-parser": "^0.34.1",
173-
"prettier-plugin-organize-attributes": "^0.0.5",
172+
"prettier-plugin-organize-attributes": "^1.0.0",
174173
"prettier-plugin-tailwindcss": "^0.7.2",
175174
"proper-lockfile": "^4.1.2",
176175
"react": "^19.2.5",
177176
"react-dom": "^19.2.5",
178-
"react-test-renderer": "^19.1.1",
179-
"rollup": "^4.59.0",
177+
"react-test-renderer": "^19.2.5",
178+
"rollup": "^4.60.1",
180179
"tmp": "^0.2.1",
181-
"ts-morph": "^25.0.1",
182-
"ts-node": "^10.9.1",
180+
"ts-morph": "^27.0.2",
181+
"ts-node": "^10.9.2",
183182
"typedoc": "^0.28.18",
184-
"typescript": "^5.9.2",
185-
"typescript-eslint": "^8.58.0",
186-
"vite": "^7.3.2",
187-
"vite-tsconfig-paths": "^5.1.4",
188-
"vitest": "^3.2.4",
183+
"typescript": "^6.0.2",
184+
"typescript-eslint": "^8.58.1",
185+
"vite": "^8.0.8",
186+
"vitest": "^4.1.4",
189187
"y-websocket": "^3.0.0"
190188
},
191189
"dependencies": {
192190
"semver": "^7.7.4",
193191
"yjs": "^13.6.27"
194192
},
195193
"pnpm": {
194+
"neverBuiltDependencies": [
195+
"onnxruntime-node"
196+
],
196197
"peerDependencyRules": {
197198
"allowedVersions": {
198199
"eslint": "10"
@@ -201,7 +202,7 @@
201202
"overrides": {
202203
"react": "19.2.5",
203204
"react-dom": "19.2.5",
204-
"@types/node": "20.19.17",
205+
"@types/node": "25.6.0",
205206
"qs": ">=6.14.2",
206207
"form-data": ">=4.0.4",
207208
"@isaacs/brace-expansion": ">=5.0.1",

0 commit comments

Comments
 (0)