Skip to content

[Snyk] Upgrade @lexical/react from 0.17.1 to 0.23.1 #4899

[Snyk] Upgrade @lexical/react from 0.17.1 to 0.23.1

[Snyk] Upgrade @lexical/react from 0.17.1 to 0.23.1 #4899

Triggered via pull request February 4, 2025 05:05
Status Failure
Total duration 4m 7s
Artifacts

unit-testing.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/InteractiveMessage/InteractiveMessage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "it renders empty interactive form". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/InteractiveMessage/InteractiveMessage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "it validates url". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/InteractiveMessage/InteractiveMessage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "It creates a interactive message with dynamic content". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/Chat/ChatMessages/ChatMessages.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "Contact: if not cache". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/InteractiveMessage/InteractiveMessage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "it renders quick reply in edit mode and changes language". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/InteractiveMessage/InteractiveMessage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "it renders interactive list in edit mode". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/InteractiveMessage/InteractiveMessage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "it renders interactive quick reply with media in edit mode". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/InteractiveMessage/InteractiveMessage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "it renders empty location request message". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/InteractiveMessage/InteractiveMessage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "it shows error if clicked on translation without filling details". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs#L52
Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update(), editor.read(), or editorState.read(). Detected on the page: 0 compatible editor(s) with version 0.23.1+dev.esm ❯ getActiveEditorState node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:8084:13 ❯ $getRoot node_modules/@lexical/text/node_modules/lexical/Lexical.dev.mjs:905:26 ❯ $rootTextContent node_modules/@lexical/text/LexicalText.dev.mjs:24:16 ❯ $isRootTextContentEmpty node_modules/@lexical/text/LexicalText.dev.mjs:46:14 ❯ $canShowPlaceholder node_modules/@lexical/text/LexicalText.dev.mjs:78:8 ❯ node_modules/@lexical/text/LexicalText.dev.mjs:118:16 ❯ readEditorState node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:8328:12 ❯ EditorState.read node_modules/@lexical/react/node_modules/lexical/Lexical.dev.mjs:9754:12 ❯ canShowPlaceholderFromCurrentEditorState node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:52:61 ❯ node_modules/@lexical/react/LexicalPlainTextPlugin.dev.mjs:56:70 This error originated in "src/containers/InteractiveMessage/InteractiveMessage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "it translates a new template". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.