Bump @lexical/utils from 0.35.0 to 0.44.0 - #67
Conversation
✅ Deploy Preview for intodev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe ChangesLexical Utils Dependency Upgrade
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/mdx-editor/package.json`:
- Line 43: The package.json currently pins "`@lexical/utils`" to "^0.44.0" which
conflicts with the other Lexical deps ("`@lexical/selection`", "lexical", and
other "`@lexical/`*" entries) at "^0.35.0"; either change "`@lexical/utils`" back to
"^0.35.0" to match the existing ecosystem or, if you intend to upgrade, update
all Lexical packages (e.g., "lexical", "`@lexical/selection`", "`@lexical/utils`"
and any other "`@lexical/`*" entries) to the same version "^0.44.0" so they stay
consistent in package.json and avoid an unresolvable dependency graph. Ensure
the selected approach updates every referenced symbol ("`@lexical/utils`",
"`@lexical/selection`", "lexical", etc.) consistently in package.json and then
regenerate the lockfile.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: b6672588-b2ed-4164-a577-7982d6c72208
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
packages/mdx-editor/package.json
| "@lexical/rich-text": "^0.35.0", | ||
| "@lexical/selection": "^0.35.0", | ||
| "@lexical/utils": "^0.35.0", | ||
| "@lexical/utils": "^0.44.0", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Description: Check peer dependencies of `@lexical/utils`@0.44.0 and verify version compatibility
echo "=== Checking `@lexical/utils`@0.44.0 peer dependencies ==="
npm view `@lexical/utils`@0.44.0 peerDependencies
echo -e "\n=== Checking if other `@lexical` packages have v0.44.0 available ==="
npm view `@lexical/clipboard`@0.44.0 version 2>/dev/null && echo "`@lexical/clipboard`@0.44.0 exists" || echo "`@lexical/clipboard`@0.44.0 NOT FOUND"
npm view `@lexical/link`@0.44.0 version 2>/dev/null && echo "`@lexical/link`@0.44.0 exists" || echo "`@lexical/link`@0.44.0 NOT FOUND"
npm view `@lexical/list`@0.44.0 version 2>/dev/null && echo "`@lexical/list`@0.44.0 exists" || echo "`@lexical/list`@0.44.0 NOT FOUND"
npm view lexical@0.44.0 version 2>/dev/null && echo "lexical@0.44.0 exists" || echo "lexical@0.44.0 NOT FOUND"
echo -e "\n=== Checking current `@lexical/utils`@0.35.0 peer dependencies ==="
npm view `@lexical/utils`@0.35.0 peerDependenciesRepository: 012e/thesis
Length of output: 385
🏁 Script executed:
#!/bin/bash
# Get full package info for `@lexical/utils`@0.44.0
echo "=== Full package info for `@lexical/utils`@0.44.0 ==="
npm view `@lexical/utils`@0.44.0 --json | jq '.peerDependencies // "No peerDependencies field"'
echo -e "\n=== Full package info for `@lexical/utils`@0.35.0 ==="
npm view `@lexical/utils`@0.35.0 --json | jq '.peerDependencies // "No peerDependencies field"'
echo -e "\n=== Check `@lexical/clipboard`@0.35.0 info ==="
npm view `@lexical/clipboard`@0.35.0 --json | jq '.version, .peerDependencies // "No peerDependencies"'
echo -e "\n=== Check lexical@0.44.0 and lexical@0.35.0 versions ==="
npm view lexical@0.44.0 version
npm view lexical@0.35.0 versionRepository: 012e/thesis
Length of output: 365
🏁 Script executed:
#!/bin/bash
# Find files that import `@lexical/utils`
echo "=== Files importing `@lexical/utils` ==="
rg "`@lexical/utils`" --type ts --type tsx --type js --type jsx -l
echo -e "\n=== Specific imports of `@lexical/utils` ==="
rg "from\s+['\"]`@lexical/utils`['\"]|import\s+.*from\s+['\"]`@lexical/utils`" --type ts --type tsx --type js --type jsx -A 2 -B 2Repository: 012e/thesis
Length of output: 212
🏁 Script executed:
#!/bin/bash
# Search for `@lexical/utils` usage more broadly
echo "=== Searching for `@lexical/utils` imports ==="
rg "`@lexical/utils`" --max-count 20
echo -e "\n=== List files in packages/mdx-editor ==="
ls -la packages/mdx-editor/ | head -20
echo -e "\n=== Check if there's a src directory ==="
find packages/mdx-editor -type d -name "src" -o -name "lib" -o -name "dist"Repository: 012e/thesis
Length of output: 2557
🏁 Script executed:
#!/bin/bash
echo "=== Check package.json `@lexical/`* versions ==="
grep -A 25 '"`@lexical/`' packages/mdx-editor/package.json | grep "`@lexical`"
echo -e "\n=== Check pnpm-lock.yaml for `@lexical/utils` versions ==="
grep -B 2 -A 5 "`@lexical/utils`@0.44.0" pnpm-lock.yaml | head -30
echo -e "\n=== Check who requires `@lexical/utils` in pnpm-lock.yaml ==="
grep -B 10 "`@lexical/utils`@0.35.0" pnpm-lock.yaml | grep -E "packages/mdx-editor|dependencies" | head -20Repository: 012e/thesis
Length of output: 1190
🏁 Script executed:
#!/bin/bash
echo "=== Complete dependencies of `@lexical/utils`@0.44.0 ==="
rg -A 10 "'`@lexical/utils`@0.44.0':" pnpm-lock.yaml | grep -E "dependencies:|`@lexical`|lexical"
echo -e "\n=== Check `@lexical/selection`@0.44.0 dependencies ==="
rg -A 10 "'`@lexical/selection`@0.44.0':" pnpm-lock.yaml | grep -E "dependencies:|lexical" | head -10
echo -e "\n=== Verify lexical@0.44.0 exists in lock file ==="
grep "'lexical@0.44.0'" pnpm-lock.yamlRepository: 012e/thesis
Length of output: 776
🏁 Script executed:
#!/bin/bash
echo "=== Check if lexical 0.44.0 or 0.35.0 entries exist in lock file ==="
grep -c "^ 'lexical@" pnpm-lock.yaml
echo -e "\n=== Show all lexical version entries ==="
rg "^ 'lexical@" pnpm-lock.yaml
echo -e "\n=== Show pnpm-lock.yaml format at key location ==="
rg -A 3 "packages/mdx-editor" pnpm-lock.yaml | head -20Repository: 012e/thesis
Length of output: 481
@lexical/utils@0.44.0 requires newer versions of other Lexical packages that conflict with your current specifications.
Updating only @lexical/utils to ^0.44.0 creates an unresolvable dependency conflict. The npm registry shows that @lexical/utils@0.44.0 has direct dependencies on:
@lexical/selection@0.44.0lexical@0.44.0
However, your package.json specifies @lexical/selection@^0.35.0 and lexical@^0.35.0 (along with other @lexical/* packages at ^0.35.0), which conflicts with the requirements of @lexical/utils@0.44.0. This will cause package resolution to fail or result in an inconsistent lock file.
To resolve this, either:
- Update all
@lexical/*packages andlexicalto^0.44.0together, or - Keep
@lexical/utilsat^0.35.0to maintain consistency with the rest of the Lexical ecosystem
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@packages/mdx-editor/package.json` at line 43, The package.json currently pins
"`@lexical/utils`" to "^0.44.0" which conflicts with the other Lexical deps
("`@lexical/selection`", "lexical", and other "`@lexical/`*" entries) at "^0.35.0";
either change "`@lexical/utils`" back to "^0.35.0" to match the existing ecosystem
or, if you intend to upgrade, update all Lexical packages (e.g., "lexical",
"`@lexical/selection`", "`@lexical/utils`" and any other "`@lexical/`*" entries) to
the same version "^0.44.0" so they stay consistent in package.json and avoid an
unresolvable dependency graph. Ensure the selected approach updates every
referenced symbol ("`@lexical/utils`", "`@lexical/selection`", "lexical", etc.)
consistently in package.json and then regenerate the lockfile.
5fbc5aa to
423bd5f
Compare
Bumps [@lexical/utils](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils) from 0.35.0 to 0.44.0. - [Release notes](https://github.com/facebook/lexical/releases) - [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/lexical/commits/v0.44.0/packages/lexical-utils) --- updated-dependencies: - dependency-name: "@lexical/utils" dependency-version: 0.44.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
423bd5f to
5b1fd27
Compare
|
Superseded by #96. |
Bumps @lexical/utils from 0.35.0 to 0.44.0.
Release notes
Sourced from @lexical/utils's releases.
... (truncated)
Changelog
Sourced from @lexical/utils's changelog.
... (truncated)
Commits
2e0f8fav0.44.000fabd2[lexical-website] Set prettier arrowParens to avoid (#8397)5d1bc33[lexical-list] Bug Fix: Merge nested list into parent <li> during HTML export...ca2aa31[lexical][lexical-utils][lexical-list] Bug Fix: Clean up and test $insertNode...1ca42f1[lexical][lexical-code-core][lexical-list][lexical-table][lexical-yjs] Refact...9531ce3[lexical][lexical-html] Feature: Extensible DOM create/update/export (#8353)4e3085bv0.43.0 (#8319)7ea3e02[*] Fix: Replace legacy Flow syntax with modern equivalents in .flow … (#8315)3ddfc75[lexical] Chore: Upgrade ESLint 8 to ESLint 10 with flat configuration (#8287)35ce72a[lexical-utils][lexical-extension][*] Bug Fix: Fix $insertNodeIntoLeaf edge c...