Update Monaco (#10609)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
renovate[bot] 2024-03-26 11:41:21 +00:00 committed by GitHub
parent b49b861b2d
commit f0662eea48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 13 deletions

View file

@ -11,7 +11,7 @@
"@monaco-editor/react": "^4.4.6", "@monaco-editor/react": "^4.4.6",
"classnames": "^2.3.2", "classnames": "^2.3.2",
"lz-string": "^1.5.0", "lz-string": "^1.5.0",
"monaco-editor": "^0.40.0", "monaco-editor": "^0.47.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-resizable-panels": "^0.0.54" "react-resizable-panels": "^0.0.54"
@ -553,9 +553,9 @@
"dev": true "dev": true
}, },
"node_modules/@monaco-editor/loader": { "node_modules/@monaco-editor/loader": {
"version": "1.3.3", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.3.3.tgz", "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.4.0.tgz",
"integrity": "sha512-6KKF4CTzcJiS8BJwtxtfyYt9shBiEv32ateQ9T4UVogwn4HM/uPo9iJd2Dmbkpz8CM6Y0PDUpjnZzCwC+eYo2Q==", "integrity": "sha512-00ioBig0x642hytVspPl7DbQyaSWRaolYie/UFNjoTdvoKPzo6xrXLhTk9ixgIKcLH5b5vDOjVNiGyY+uDCUlg==",
"dependencies": { "dependencies": {
"state-local": "^1.0.6" "state-local": "^1.0.6"
}, },
@ -564,11 +564,11 @@
} }
}, },
"node_modules/@monaco-editor/react": { "node_modules/@monaco-editor/react": {
"version": "4.5.1", "version": "4.6.0",
"resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.5.1.tgz", "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.6.0.tgz",
"integrity": "sha512-NNDFdP+2HojtNhCkRfE6/D6ro6pBNihaOzMbGK84lNWzRu+CfBjwzGt4jmnqimLuqp5yE5viHS2vi+QOAnD5FQ==", "integrity": "sha512-RFkU9/i7cN2bsq/iTkurMWOEErmYcY6JiQI3Jn+WeR/FGISH8JbHERjpS9oRuSOPvDMJI0Z8nJeKkbOs9sBYQw==",
"dependencies": { "dependencies": {
"@monaco-editor/loader": "^1.3.3" "@monaco-editor/loader": "^1.4.0"
}, },
"peerDependencies": { "peerDependencies": {
"monaco-editor": ">= 0.25.0 < 1", "monaco-editor": ">= 0.25.0 < 1",
@ -3333,9 +3333,9 @@
} }
}, },
"node_modules/monaco-editor": { "node_modules/monaco-editor": {
"version": "0.40.0", "version": "0.47.0",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.40.0.tgz", "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.47.0.tgz",
"integrity": "sha512-1wymccLEuFSMBvCk/jT1YDW/GuxMLYwnFwF9CDyYCxoTw2Pt379J3FUhwy9c43j51JdcxVPjwk0jm0EVDsBS2g==" "integrity": "sha512-VabVvHvQ9QmMwXu4du008ZDuyLnHs9j7ThVFsiJoXSOQk18+LF89N4ADzPbFenm0W4V2bGHnFBztIRQTgBfxzw=="
}, },
"node_modules/ms": { "node_modules/ms": {
"version": "2.1.2", "version": "2.1.2",

View file

@ -18,7 +18,7 @@
"@monaco-editor/react": "^4.4.6", "@monaco-editor/react": "^4.4.6",
"classnames": "^2.3.2", "classnames": "^2.3.2",
"lz-string": "^1.5.0", "lz-string": "^1.5.0",
"monaco-editor": "^0.40.0", "monaco-editor": "^0.47.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-resizable-panels": "^0.0.54" "react-resizable-panels": "^0.0.54"

View file

@ -1,5 +1,6 @@
module.exports = { module.exports = {
plugins: { plugins: {
"tailwindcss/nesting": {},
tailwindcss: {}, tailwindcss: {},
autoprefixer: {}, autoprefixer: {},
}, },

View file

@ -745,7 +745,7 @@ function defineFirLanguage(monaco: Monaco) {
// Whitespace // Whitespace
[/[ \t\r\n]+/, "white"], [/[ \t\r\n]+/, "white"],
[/[{}()[\]<>]/, "@brackets"], [/[()[\]<>]/, "@brackets"],
// Strings // Strings
[/"/, { token: "string.quote", bracket: "@open", next: "@string" }], [/"/, { token: "string.quote", bracket: "@open", next: "@string" }],