Upgrade dependencies of CodeMirror 6

This commit is contained in:
Tobi Schäfer 2025-06-01 20:23:13 +02:00
parent daee9c4f03
commit 429628be7c
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8
4 changed files with 332 additions and 464 deletions

View file

@ -22,7 +22,7 @@
EditorState,
MergeView,
html
} from '<% root.static ../../js/code-mirror-U32JWJ6D.js %>';
} from '<% root.static ../../js/code-mirror-DIBXQ677.js %>';
const language = new Compartment();
@ -97,7 +97,7 @@
</button>
<a href='<% layout.skins.href all %>' class='uk-button uk-button-link'><% gettext Cancel %></a>
</div>
<% image /smallchaos.gif | link <% site.href %> %>
<% image /smallchaos.gif | link <% site.href %> class="logo" %>
</div>
<% response.message prefix='<div class="message uk-alert" data-uk-alert>' suffix=</div> %>
<hr/>

View file

@ -55,7 +55,11 @@
margin-block-end: 0;
}
.header > *:not(:last-child) {
margin-inline-end: auto;
margin-inline-end: 3rem;
}
.header > .logo {
flex-grow: 1;
text-align: right;
}
.controls {
flex-shrink: 0;

770
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -32,8 +32,8 @@
"license": "Apache-2.0",
"dependencies": {
"@codemirror/lang-html": "6.4.9",
"@codemirror/merge": "6.6.3",
"@codemirror/state": "6.4.1",
"@codemirror/merge": "6.10.1",
"@codemirror/state": "6.5.2",
"alpinejs": "3.14.9",
"codemirror": "5.65.19",
"codemirror6": "npm:codemirror@6.0.1",
@ -43,13 +43,13 @@
"uikit": "2.27.4"
},
"devDependencies": {
"@babel/cli": "7.24.7",
"@babel/core": "7.24.7",
"@babel/plugin-transform-block-scoping": "7.24.7",
"@babel/preset-env": "7.24.7",
"@babel/cli": "7.27.2",
"@babel/core": "7.27.4",
"@babel/plugin-transform-block-scoping": "7.27.3",
"@babel/preset-env": "7.27.2",
"browserify": "17.0.1",
"core-js": "3.37.1",
"esbuild": "0.21.5",
"core-js": "3.42.0",
"esbuild": "0.25.5",
"esbuild-plugin-babel": "0.2.3",
"generate-license-file": "4.0.0",
"jsdoc": "4.0.4",