Repository navigation
Update dependency monaco-editor to v0.57.0 - #1208
Conversation
Deploying mouseterm with
|
| Latest commit: |
44f2d0e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://30a668fa.mouseterm.pages.dev |
| Branch Preview URL: | https://renovate-monaco-editor-0-x.mouseterm.pages.dev |
dormouse-bot
left a comment
There was a problem hiding this comment.
This bump breaks the dor-tools-builtin build, which is the Build & Test failure. monaco-editor 0.56 reorganized its ESM entry points. Its new exports map ("./*.js": "./esm/vs/*.js") makes every monaco-editor/esm/vs/... specifier in dor-tools-builtin/viewer/editor.ts unresolvable, and the package no longer ships editor/editor.all.js or basic-languages/*/*.contribution.js at all. Locally tsc -p tsconfig.viewer.json fails with TS2307/TS2882 on all 18 imports. The fix moves them to the supported entry points: monaco-editor/editor, monaco-editor/features/register.all, and monaco-editor/languages/definitions/<lang>/register. The worker entry esm/vs/editor/editor.worker.js is still in place, so build-viewer.mjs stays as it is.
The bump also leaves website/src/data/dependencies-npm.json listing monaco-editor 0.55.1 and DOMPurify 3.2.7. Re-running node website/scripts/generate-deps.js changes it, and that trips S253 in docs/specs/security-supply-chain.md.
Renovate won't act on either finding, so I'm pushing both fixes to this branch.
monaco-editor 0.56 reorganized its ESM modules behind an exports map, so the deep esm/vs/... imports no longer resolve. Import the editor API from monaco-editor/editor, the features from features/register.all, and each language from languages/definitions/<lang>/register. Regenerate the npm dependency disclosure for the new monaco-editor and DOMPurify.
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
0.55.1→0.57.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
microsoft/monaco-editor (monaco-editor)
v0.57.0Compare Source
New Features and APIs
editor.wordWrapIndicatorto display an indicator at the wrapping column of soft-wrapped lines.editor.fullwidthCharacterWidth, withfontandtwoCellsmodes for rendering full-width characters.languages.scoreto score a language selector against a URI and language.editor.DiffEditorViewModetype.isForAnotherDocumentto the inline completionlanguages.LifetimeSummarytype.Updates
6a598d4a13031703d483d103c1d934a36ad27971, validated in0.57.0-rc.2.v0.56.0Compare Source
Breaking Changes
monaco-editorentry point continues to load all features and languages. Custom bundles can now importmonaco-editor/editorand opt into:monaco-editor/features/register.all, or individual features withmonaco-editor/features/<feature>/register;monaco-editor/languages/definitions/register.all, or individual definitions withmonaco-editor/languages/definitions/<language>/register;monaco-editor/languages/features/register.all, or their individualregisterentry points.IOverlayWidgetPosition.stackOridinalproperty tostackOrdinal.IMirrorModelandIWorkerContextworker API types.New Features and APIs
editor.doubleClickSelectsBlock.editor.find.closeOnResultandeditor.inlayHints.showLongLineWarning.offWhenInlineCompletionstoQuickSuggestionsValue.ICodeEditor.revealAllCursors,ICodeEditor.getWidthOfLine, andICodeEditor.renderAsync.advanced-externalandadvanced-wasmdiff algorithms.Fixes
0.56.0-dev-20260625.Configuration
📅 Schedule: (in timezone America/Los_Angeles)
* * * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.