ui: tweaks to Editor

This commit is contained in:
Matthew Penner 2021-09-19 12:30:22 -06:00
parent 0103a0c31e
commit 2dfc264bf8
No known key found for this signature in database
GPG Key ID: 030E4AB751DC756F
3 changed files with 97 additions and 101 deletions

View File

@ -11,34 +11,33 @@
}, },
"dependencies": { "dependencies": {
"@": "link:./resources/scripts", "@": "link:./resources/scripts",
"@codemirror/autocomplete": "^0.19.3", "@codemirror/autocomplete": "^0.19.0",
"@codemirror/closebrackets": "^0.19.0", "@codemirror/closebrackets": "^0.19.0",
"@codemirror/commands": "^0.19.2", "@codemirror/commands": "^0.19.0",
"@codemirror/comment": "^0.19.0", "@codemirror/comment": "^0.19.0",
"@codemirror/fold": "^0.19.0", "@codemirror/fold": "^0.19.0",
"@codemirror/gutter": "^0.19.1", "@codemirror/gutter": "^0.19.0",
"@codemirror/highlight": "^0.19.4", "@codemirror/highlight": "^0.19.0",
"@codemirror/history": "^0.19.0", "@codemirror/history": "^0.19.0",
"@codemirror/lang-cpp": "^0.19.1", "@codemirror/lang-cpp": "^0.19.0",
"@codemirror/lang-css": "^0.19.1", "@codemirror/lang-css": "^0.19.0",
"@codemirror/lang-html": "^0.19.1", "@codemirror/lang-html": "^0.19.0",
"@codemirror/lang-java": "^0.19.1", "@codemirror/lang-java": "^0.19.0",
"@codemirror/lang-javascript": "^0.19.1", "@codemirror/lang-javascript": "^0.19.0",
"@codemirror/lang-json": "^0.19.1", "@codemirror/lang-json": "^0.19.0",
"@codemirror/lang-markdown": "^0.19.1", "@codemirror/lang-markdown": "^0.19.0",
"@codemirror/lang-rust": "^0.19.1", "@codemirror/lang-rust": "^0.19.0",
"@codemirror/lang-sql": "^0.19.3", "@codemirror/lang-sql": "^0.19.0",
"@codemirror/lang-xml": "^0.19.1", "@codemirror/lang-xml": "^0.19.0",
"@codemirror/language": "^0.19.2", "@codemirror/language": "^0.19.0",
"@codemirror/legacy-modes": "^0.19.0", "@codemirror/legacy-modes": "^0.19.0",
"@codemirror/lint": "^0.19.0", "@codemirror/lint": "^0.19.0",
"@codemirror/matchbrackets": "^0.19.1", "@codemirror/matchbrackets": "^0.19.0",
"@codemirror/rectangular-selection": "^0.19.0", "@codemirror/rectangular-selection": "^0.19.0",
"@codemirror/search": "^0.19.0", "@codemirror/search": "^0.19.0",
"@codemirror/state": "^0.19.1", "@codemirror/state": "^0.19.0",
"@codemirror/stream-parser": "^0.19.1", "@codemirror/stream-parser": "^0.19.0",
"@codemirror/theme-one-dark": "^0.19.0", "@codemirror/view": "^0.19.0",
"@codemirror/view": "^0.19.4",
"@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4", "@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-regular-svg-icons": "^5.15.4", "@fortawesome/free-regular-svg-icons": "^5.15.4",

View File

@ -15,25 +15,25 @@ import { Compartment, Extension, EditorState } from '@codemirror/state';
import { StreamLanguage, StreamParser } from '@codemirror/stream-parser'; import { StreamLanguage, StreamParser } from '@codemirror/stream-parser';
import { keymap, highlightSpecialChars, drawSelection, highlightActiveLine, EditorView } from '@codemirror/view'; import { keymap, highlightSpecialChars, drawSelection, highlightActiveLine, EditorView } from '@codemirror/view';
import { clike } from '@codemirror/legacy-modes/mode/clike'; import { clike } from '@codemirror/legacy-modes/mode/clike';
import { cppLanguage } from '@codemirror/lang-cpp'; import { cpp } from '@codemirror/lang-cpp';
import { cssLanguage } from '@codemirror/lang-css'; import { css } from '@codemirror/lang-css';
import { Cassandra, MariaSQL, MSSQL, MySQL, PostgreSQL, sql, SQLite, StandardSQL } from '@codemirror/lang-sql'; import { Cassandra, MariaSQL, MSSQL, MySQL, PostgreSQL, sql, SQLite, StandardSQL } from '@codemirror/lang-sql';
import { diff } from '@codemirror/legacy-modes/mode/diff'; import { diff } from '@codemirror/legacy-modes/mode/diff';
import { dockerFile } from '@codemirror/legacy-modes/mode/dockerfile'; import { dockerFile } from '@codemirror/legacy-modes/mode/dockerfile';
import { markdown, markdownLanguage } from '@codemirror/lang-markdown'; import { markdown, markdownLanguage } from '@codemirror/lang-markdown';
import { go } from '@codemirror/legacy-modes/mode/go'; import { go } from '@codemirror/legacy-modes/mode/go';
import { htmlLanguage } from '@codemirror/lang-html'; import { html } from '@codemirror/lang-html';
import { http } from '@codemirror/legacy-modes/mode/http'; import { http } from '@codemirror/legacy-modes/mode/http';
import { javascriptLanguage, typescriptLanguage } from '@codemirror/lang-javascript'; import { javascript, typescriptLanguage } from '@codemirror/lang-javascript';
import { jsonLanguage } from '@codemirror/lang-json'; import { json } from '@codemirror/lang-json';
import { lua } from '@codemirror/legacy-modes/mode/lua'; import { lua } from '@codemirror/legacy-modes/mode/lua';
import { properties } from '@codemirror/legacy-modes/mode/properties'; import { properties } from '@codemirror/legacy-modes/mode/properties';
import { python } from '@codemirror/legacy-modes/mode/python'; import { python } from '@codemirror/legacy-modes/mode/python';
import { ruby } from '@codemirror/legacy-modes/mode/ruby'; import { ruby } from '@codemirror/legacy-modes/mode/ruby';
import { rustLanguage } from '@codemirror/lang-rust'; import { rust } from '@codemirror/lang-rust';
import { shell } from '@codemirror/legacy-modes/mode/shell'; import { shell } from '@codemirror/legacy-modes/mode/shell';
import { toml } from '@codemirror/legacy-modes/mode/toml'; import { toml } from '@codemirror/legacy-modes/mode/toml';
import { xmlLanguage } from '@codemirror/lang-xml'; import { xml } from '@codemirror/lang-xml';
import { yaml } from '@codemirror/legacy-modes/mode/yaml'; import { yaml } from '@codemirror/legacy-modes/mode/yaml';
import React, { useCallback, useEffect, useState } from 'react'; import React, { useCallback, useEffect, useState } from 'react';
import tw, { styled, TwStyle } from 'twin.macro'; import tw, { styled, TwStyle } from 'twin.macro';
@ -42,29 +42,29 @@ import { ayuMirage } from '@/components/elements/EditorTheme';
type EditorMode = LanguageSupport | LRLanguage | StreamParser<unknown>; type EditorMode = LanguageSupport | LRLanguage | StreamParser<unknown>;
export interface Mode { export interface Mode {
name: string, name: string;
mime: string, mime: string;
mimes?: string[], mimes?: string[];
mode?: EditorMode, mode?: EditorMode;
ext?: string[], ext?: string[];
alias?: string[], alias?: string[];
file?: RegExp, file?: RegExp;
} }
export const modes: Mode[] = [ export const modes: Mode[] = [
{ name: 'C', mime: 'text/x-csrc', mode: clike({}), ext: [ 'c', 'h', 'ino' ] }, { name: 'C', mime: 'text/x-csrc', mode: clike({}), ext: [ 'c', 'h', 'ino' ] },
{ name: 'C++', mime: 'text/x-c++src', mode: cppLanguage, ext: [ 'cpp', 'c++', 'cc', 'cxx', 'hpp', 'h++', 'hh', 'hxx' ], alias: [ 'cpp' ] }, { name: 'C++', mime: 'text/x-c++src', mode: cpp(), ext: [ 'cpp', 'c++', 'cc', 'cxx', 'hpp', 'h++', 'hh', 'hxx' ], alias: [ 'cpp' ] },
{ name: 'C#', mime: 'text/x-csharp', mode: clike({}), ext: [ 'cs' ], alias: [ 'csharp', 'cs' ] }, { name: 'C#', mime: 'text/x-csharp', mode: clike({}), ext: [ 'cs' ], alias: [ 'csharp', 'cs' ] },
{ name: 'CSS', mime: 'text/css', mode: cssLanguage, ext: [ 'css' ] }, { name: 'CSS', mime: 'text/css', mode: css(), ext: [ 'css' ] },
{ name: 'CQL', mime: 'text/x-cassandra', mode: sql({ dialect: Cassandra }), ext: [ 'cql' ] }, { name: 'CQL', mime: 'text/x-cassandra', mode: sql({ dialect: Cassandra }), ext: [ 'cql' ] },
{ name: 'Diff', mime: 'text/x-diff', mode: diff, ext: [ 'diff', 'patch' ] }, { name: 'Diff', mime: 'text/x-diff', mode: diff, ext: [ 'diff', 'patch' ] },
{ name: 'Dockerfile', mime: 'text/x-dockerfile', mode: dockerFile, file: /^Dockerfile$/ }, { name: 'Dockerfile', mime: 'text/x-dockerfile', mode: dockerFile, file: /^Dockerfile$/ },
{ name: 'Git Markdown', mime: 'text/x-gfm', mode: markdown({ defaultCodeLanguage: markdownLanguage }), file: /^(readme|contributing|history|license).md$/i }, { name: 'Git Markdown', mime: 'text/x-gfm', mode: markdown({ defaultCodeLanguage: markdownLanguage }), file: /^(readme|contributing|history|license).md$/i },
{ name: 'Golang', mime: 'text/x-go', mode: go, ext: [ 'go' ] }, { name: 'Golang', mime: 'text/x-go', mode: go, ext: [ 'go' ] },
{ name: 'HTML', mime: 'text/html', mode: htmlLanguage, ext: [ 'html', 'htm', 'handlebars', 'hbs' ], alias: [ 'xhtml' ] }, { name: 'HTML', mime: 'text/html', mode: html(), ext: [ 'html', 'htm', 'handlebars', 'hbs' ], alias: [ 'xhtml' ] },
{ name: 'HTTP', mime: 'message/http', mode: http }, { name: 'HTTP', mime: 'message/http', mode: http },
{ name: 'JavaScript', mime: 'text/javascript', mimes: [ 'text/javascript', 'text/ecmascript', 'application/javascript', 'application/x-javascript', 'application/ecmascript' ], mode: javascriptLanguage, ext: [ 'js' ], alias: [ 'ecmascript', 'js', 'node' ] }, { name: 'JavaScript', mime: 'text/javascript', mimes: [ 'text/javascript', 'text/ecmascript', 'application/javascript', 'application/x-javascript', 'application/ecmascript' ], mode: javascript(), ext: [ 'js' ], alias: [ 'ecmascript', 'js', 'node' ] },
{ name: 'JSON', mime: 'application/json', mimes: [ 'application/json', 'application/x-json' ], mode: jsonLanguage, ext: [ 'json', 'map' ], alias: [ 'json5' ] }, { name: 'JSON', mime: 'application/json', mimes: [ 'application/json', 'application/x-json' ], mode: json(), ext: [ 'json', 'json5', 'map' ], alias: [ 'json5' ] },
{ name: 'Lua', mime: 'text/x-lua', mode: lua, ext: [ 'lua' ] }, { name: 'Lua', mime: 'text/x-lua', mode: lua, ext: [ 'lua' ] },
{ name: 'Markdown', mime: 'text/x-markdown', mode: markdown({ defaultCodeLanguage: markdownLanguage }), ext: [ 'markdown', 'md', 'mkd' ] }, { name: 'Markdown', mime: 'text/x-markdown', mode: markdown({ defaultCodeLanguage: markdownLanguage }), ext: [ 'markdown', 'md', 'mkd' ] },
{ name: 'MariaDB', mime: 'text/x-mariadb', mode: sql({ dialect: MariaSQL }) }, { name: 'MariaDB', mime: 'text/x-mariadb', mode: sql({ dialect: MariaSQL }) },
@ -75,15 +75,15 @@ export const modes: Mode[] = [
{ name: 'Properties', mime: 'text/x-properties', mode: properties, ext: [ 'properties', 'ini', 'in' ], alias: [ 'ini', 'properties' ] }, { name: 'Properties', mime: 'text/x-properties', mode: properties, ext: [ 'properties', 'ini', 'in' ], alias: [ 'ini', 'properties' ] },
{ name: 'Python', mime: 'text/x-python', mode: python, ext: [ 'BUILD', 'bzl', 'py', 'pyw' ], file: /^(BUCK|BUILD)$/ }, { name: 'Python', mime: 'text/x-python', mode: python, ext: [ 'BUILD', 'bzl', 'py', 'pyw' ], file: /^(BUCK|BUILD)$/ },
{ name: 'Ruby', mime: 'text/x-ruby', mode: ruby, ext: [ 'rb' ], alias: [ 'jruby', 'macruby', 'rake', 'rb', 'rbx' ] }, { name: 'Ruby', mime: 'text/x-ruby', mode: ruby, ext: [ 'rb' ], alias: [ 'jruby', 'macruby', 'rake', 'rb', 'rbx' ] },
{ name: 'Rust', mime: 'text/x-rustsrc', mode: rustLanguage, ext: [ 'rs' ] }, { name: 'Rust', mime: 'text/x-rustsrc', mode: rust(), ext: [ 'rs' ] },
{ name: 'Sass', mime: 'text/x-sass', mode: cssLanguage, ext: [ 'sass' ] }, { name: 'Sass', mime: 'text/x-sass', mode: css(), ext: [ 'sass' ] },
{ name: 'SCSS', mime: 'text/x-scss', mode: cssLanguage, ext: [ 'scss' ] }, { name: 'SCSS', mime: 'text/x-scss', mode: css(), ext: [ 'scss' ] },
{ name: 'Shell', mime: 'text/x-sh', mimes: [ 'text/x-sh', 'application/x-sh' ], mode: shell, ext: [ 'sh', 'ksh', 'bash' ], alias: [ 'bash', 'sh', 'zsh' ], file: /^PKGBUILD$/ }, { name: 'Shell', mime: 'text/x-sh', mimes: [ 'text/x-sh', 'application/x-sh' ], mode: shell, ext: [ 'sh', 'ksh', 'bash' ], alias: [ 'bash', 'sh', 'zsh' ], file: /^PKGBUILD$/ },
{ name: 'SQL', mime: 'text/x-sql', mode: sql({ dialect: StandardSQL }), ext: [ 'sql' ] }, { name: 'SQL', mime: 'text/x-sql', mode: sql({ dialect: StandardSQL }), ext: [ 'sql' ] },
{ name: 'SQLite', mime: 'text/x-sqlite', mode: sql({ dialect: SQLite }) }, { name: 'SQLite', mime: 'text/x-sqlite', mode: sql({ dialect: SQLite }) },
{ name: 'TOML', mime: 'text/x-toml', mode: toml, ext: [ 'toml' ] }, { name: 'TOML', mime: 'text/x-toml', mode: toml, ext: [ 'toml' ] },
{ name: 'TypeScript', mime: 'application/typescript', mode: typescriptLanguage, ext: [ 'ts' ], alias: [ 'ts' ] }, { name: 'TypeScript', mime: 'application/typescript', mode: typescriptLanguage, ext: [ 'ts' ], alias: [ 'ts' ] },
{ name: 'XML', mime: 'application/xml', mimes: [ 'application/xml', 'text/xml' ], mode: xmlLanguage, ext: [ 'xml', 'xsl', 'xsd', 'svg' ], alias: [ 'rss', 'wsdl', 'xsd' ] }, { name: 'XML', mime: 'application/xml', mimes: [ 'application/xml', 'text/xml' ], mode: xml(), ext: [ 'xml', 'xsl', 'xsd', 'svg' ], alias: [ 'rss', 'wsdl', 'xsd' ] },
{ name: 'YAML', mime: 'text/x-yaml', mimes: [ 'text/x-yaml', 'text/yaml' ], mode: yaml, ext: [ 'yaml', 'yml' ], alias: [ 'yml' ] }, { name: 'YAML', mime: 'text/x-yaml', mimes: [ 'text/x-yaml', 'text/yaml' ], mode: yaml, ext: [ 'yaml', 'yml' ], alias: [ 'yml' ] },
]; ];

113
yarn.lock
View File

@ -1646,7 +1646,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/autocomplete@npm:^0.19.0, @codemirror/autocomplete@npm:^0.19.3": "@codemirror/autocomplete@npm:^0.19.0":
version: 0.19.3 version: 0.19.3
resolution: "@codemirror/autocomplete@npm:0.19.3" resolution: "@codemirror/autocomplete@npm:0.19.3"
dependencies: dependencies:
@ -1673,17 +1673,17 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/commands@npm:^0.19.2": "@codemirror/commands@npm:^0.19.0":
version: 0.19.2 version: 0.19.4
resolution: "@codemirror/commands@npm:0.19.2" resolution: "@codemirror/commands@npm:0.19.4"
dependencies: dependencies:
"@codemirror/language": ^0.19.0 "@codemirror/language": ^0.19.0
"@codemirror/matchbrackets": ^0.19.0 "@codemirror/matchbrackets": ^0.19.0
"@codemirror/state": ^0.19.0 "@codemirror/state": ^0.19.2
"@codemirror/text": ^0.19.0 "@codemirror/text": ^0.19.0
"@codemirror/view": ^0.19.0 "@codemirror/view": ^0.19.0
"@lezer/common": ^0.15.0 "@lezer/common": ^0.15.0
checksum: d47c9e7bc1eba7c18e0745cd7f303932a058ad99b07ffb32f0bf8cb037a0a9303d7319bf94475810f647692d37d7eb5d3adfbf0e6000d46906dd62a0644ee34c checksum: f223310d77ab824c18305cf6880debf358648e239fee0f97c2c7add100dc58da90fd75e98d4095c5854891daa3fa0ad8c87d6155f60b706abf2664051362da13
languageName: node languageName: node
linkType: hard linkType: hard
@ -1711,7 +1711,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/gutter@npm:^0.19.0, @codemirror/gutter@npm:^0.19.1": "@codemirror/gutter@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/gutter@npm:0.19.1" resolution: "@codemirror/gutter@npm:0.19.1"
dependencies: dependencies:
@ -1722,7 +1722,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/highlight@npm:^0.19.0, @codemirror/highlight@npm:^0.19.4": "@codemirror/highlight@npm:^0.19.0":
version: 0.19.4 version: 0.19.4
resolution: "@codemirror/highlight@npm:0.19.4" resolution: "@codemirror/highlight@npm:0.19.4"
dependencies: dependencies:
@ -1746,7 +1746,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-cpp@npm:^0.19.1": "@codemirror/lang-cpp@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/lang-cpp@npm:0.19.1" resolution: "@codemirror/lang-cpp@npm:0.19.1"
dependencies: dependencies:
@ -1757,7 +1757,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-css@npm:^0.19.0, @codemirror/lang-css@npm:^0.19.1": "@codemirror/lang-css@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/lang-css@npm:0.19.1" resolution: "@codemirror/lang-css@npm:0.19.1"
dependencies: dependencies:
@ -1770,7 +1770,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-html@npm:^0.19.0, @codemirror/lang-html@npm:^0.19.1": "@codemirror/lang-html@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/lang-html@npm:0.19.1" resolution: "@codemirror/lang-html@npm:0.19.1"
dependencies: dependencies:
@ -1786,7 +1786,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-java@npm:^0.19.1": "@codemirror/lang-java@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/lang-java@npm:0.19.1" resolution: "@codemirror/lang-java@npm:0.19.1"
dependencies: dependencies:
@ -1797,7 +1797,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-javascript@npm:^0.19.0, @codemirror/lang-javascript@npm:^0.19.1": "@codemirror/lang-javascript@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/lang-javascript@npm:0.19.1" resolution: "@codemirror/lang-javascript@npm:0.19.1"
dependencies: dependencies:
@ -1812,7 +1812,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-json@npm:^0.19.1": "@codemirror/lang-json@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/lang-json@npm:0.19.1" resolution: "@codemirror/lang-json@npm:0.19.1"
dependencies: dependencies:
@ -1823,7 +1823,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-markdown@npm:^0.19.1": "@codemirror/lang-markdown@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/lang-markdown@npm:0.19.1" resolution: "@codemirror/lang-markdown@npm:0.19.1"
dependencies: dependencies:
@ -1838,7 +1838,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-rust@npm:^0.19.1": "@codemirror/lang-rust@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/lang-rust@npm:0.19.1" resolution: "@codemirror/lang-rust@npm:0.19.1"
dependencies: dependencies:
@ -1849,7 +1849,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-sql@npm:^0.19.3": "@codemirror/lang-sql@npm:^0.19.0":
version: 0.19.3 version: 0.19.3
resolution: "@codemirror/lang-sql@npm:0.19.3" resolution: "@codemirror/lang-sql@npm:0.19.3"
dependencies: dependencies:
@ -1862,7 +1862,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/lang-xml@npm:^0.19.1": "@codemirror/lang-xml@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/lang-xml@npm:0.19.1" resolution: "@codemirror/lang-xml@npm:0.19.1"
dependencies: dependencies:
@ -1876,7 +1876,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/language@npm:^0.19.0, @codemirror/language@npm:^0.19.2": "@codemirror/language@npm:^0.19.0":
version: 0.19.2 version: 0.19.2
resolution: "@codemirror/language@npm:0.19.2" resolution: "@codemirror/language@npm:0.19.2"
dependencies: dependencies:
@ -1911,7 +1911,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/matchbrackets@npm:^0.19.0, @codemirror/matchbrackets@npm:^0.19.1": "@codemirror/matchbrackets@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/matchbrackets@npm:0.19.1" resolution: "@codemirror/matchbrackets@npm:0.19.1"
dependencies: dependencies:
@ -1954,20 +1954,20 @@ __metadata:
linkType: hard linkType: hard
"@codemirror/search@npm:^0.19.0": "@codemirror/search@npm:^0.19.0":
version: 0.19.0 version: 0.19.2
resolution: "@codemirror/search@npm:0.19.0" resolution: "@codemirror/search@npm:0.19.2"
dependencies: dependencies:
"@codemirror/panel": ^0.19.0 "@codemirror/panel": ^0.19.0
"@codemirror/rangeset": ^0.19.0 "@codemirror/rangeset": ^0.19.0
"@codemirror/state": ^0.19.0 "@codemirror/state": ^0.19.2
"@codemirror/text": ^0.19.0 "@codemirror/text": ^0.19.0
"@codemirror/view": ^0.19.0 "@codemirror/view": ^0.19.0
crelt: ^1.0.5 crelt: ^1.0.5
checksum: 88751f17bcb0ccffed8ae6d78df4a48438bf2a6dc6254a90a53b2971c7af5073be7bdc5243e4621d42938ac97b060aceb68c28aa22f78f42f1266c0ede605f12 checksum: 67555a427fb7a9cb35266ff629f9cec0e3b5654f6813957b452e09504349ea2e021d8bb88bf6adef6908c95c7a3e850148fe0130f044486fb1ed527793592865
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/state@npm:^0.19.0, @codemirror/state@npm:^0.19.1": "@codemirror/state@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/state@npm:0.19.1" resolution: "@codemirror/state@npm:0.19.1"
dependencies: dependencies:
@ -1976,7 +1976,16 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/stream-parser@npm:^0.19.0, @codemirror/stream-parser@npm:^0.19.1": "@codemirror/state@npm:^0.19.2":
version: 0.19.2
resolution: "@codemirror/state@npm:0.19.2"
dependencies:
"@codemirror/text": ^0.19.0
checksum: 6460ff45d8ce20812a9abcb035a3e5f2a4adcb837c0efd00151b07c8e0bf617f6fdcf7668982b76c8e7bb447b0a83e7b8308817dac754c190c9495b49289bcaf
languageName: node
linkType: hard
"@codemirror/stream-parser@npm:^0.19.0":
version: 0.19.1 version: 0.19.1
resolution: "@codemirror/stream-parser@npm:0.19.1" resolution: "@codemirror/stream-parser@npm:0.19.1"
dependencies: dependencies:
@ -1997,17 +2006,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/theme-one-dark@npm:^0.19.0":
version: 0.19.0
resolution: "@codemirror/theme-one-dark@npm:0.19.0"
dependencies:
"@codemirror/highlight": ^0.19.0
"@codemirror/state": ^0.19.0
"@codemirror/view": ^0.19.0
checksum: 7116d5c66bc3a12f7f05d0cd7734c62b5efb261943538ceb0220acb3444efee05737422ae1ee34a3dfdccd02b2956add2cc23cdf0d9b1db17fd66f15b2e69517
languageName: node
linkType: hard
"@codemirror/tooltip@npm:^0.19.0": "@codemirror/tooltip@npm:^0.19.0":
version: 0.19.2 version: 0.19.2
resolution: "@codemirror/tooltip@npm:0.19.2" resolution: "@codemirror/tooltip@npm:0.19.2"
@ -2018,7 +2016,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@codemirror/view@npm:^0.19.0, @codemirror/view@npm:^0.19.4": "@codemirror/view@npm:^0.19.0":
version: 0.19.4 version: 0.19.4
resolution: "@codemirror/view@npm:0.19.4" resolution: "@codemirror/view@npm:0.19.4"
dependencies: dependencies:
@ -9912,34 +9910,33 @@ fsevents@^1.2.7:
"@babel/preset-react": ^7.14.5 "@babel/preset-react": ^7.14.5
"@babel/preset-typescript": ^7.14.5 "@babel/preset-typescript": ^7.14.5
"@babel/runtime": ^7.14.5 "@babel/runtime": ^7.14.5
"@codemirror/autocomplete": ^0.19.3 "@codemirror/autocomplete": ^0.19.0
"@codemirror/closebrackets": ^0.19.0 "@codemirror/closebrackets": ^0.19.0
"@codemirror/commands": ^0.19.2 "@codemirror/commands": ^0.19.0
"@codemirror/comment": ^0.19.0 "@codemirror/comment": ^0.19.0
"@codemirror/fold": ^0.19.0 "@codemirror/fold": ^0.19.0
"@codemirror/gutter": ^0.19.1 "@codemirror/gutter": ^0.19.0
"@codemirror/highlight": ^0.19.4 "@codemirror/highlight": ^0.19.0
"@codemirror/history": ^0.19.0 "@codemirror/history": ^0.19.0
"@codemirror/lang-cpp": ^0.19.1 "@codemirror/lang-cpp": ^0.19.0
"@codemirror/lang-css": ^0.19.1 "@codemirror/lang-css": ^0.19.0
"@codemirror/lang-html": ^0.19.1 "@codemirror/lang-html": ^0.19.0
"@codemirror/lang-java": ^0.19.1 "@codemirror/lang-java": ^0.19.0
"@codemirror/lang-javascript": ^0.19.1 "@codemirror/lang-javascript": ^0.19.0
"@codemirror/lang-json": ^0.19.1 "@codemirror/lang-json": ^0.19.0
"@codemirror/lang-markdown": ^0.19.1 "@codemirror/lang-markdown": ^0.19.0
"@codemirror/lang-rust": ^0.19.1 "@codemirror/lang-rust": ^0.19.0
"@codemirror/lang-sql": ^0.19.3 "@codemirror/lang-sql": ^0.19.0
"@codemirror/lang-xml": ^0.19.1 "@codemirror/lang-xml": ^0.19.0
"@codemirror/language": ^0.19.2 "@codemirror/language": ^0.19.0
"@codemirror/legacy-modes": ^0.19.0 "@codemirror/legacy-modes": ^0.19.0
"@codemirror/lint": ^0.19.0 "@codemirror/lint": ^0.19.0
"@codemirror/matchbrackets": ^0.19.1 "@codemirror/matchbrackets": ^0.19.0
"@codemirror/rectangular-selection": ^0.19.0 "@codemirror/rectangular-selection": ^0.19.0
"@codemirror/search": ^0.19.0 "@codemirror/search": ^0.19.0
"@codemirror/state": ^0.19.1 "@codemirror/state": ^0.19.0
"@codemirror/stream-parser": ^0.19.1 "@codemirror/stream-parser": ^0.19.0
"@codemirror/theme-one-dark": ^0.19.0 "@codemirror/view": ^0.19.0
"@codemirror/view": ^0.19.4
"@fortawesome/fontawesome-svg-core": ^1.2.36 "@fortawesome/fontawesome-svg-core": ^1.2.36
"@fortawesome/free-brands-svg-icons": ^5.15.4 "@fortawesome/free-brands-svg-icons": ^5.15.4
"@fortawesome/free-regular-svg-icons": ^5.15.4 "@fortawesome/free-regular-svg-icons": ^5.15.4