groove-dev 0.15.1 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/FILE-EDITOR-PLAN.md +253 -0
- package/node_modules/@codemirror/autocomplete/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/autocomplete/CHANGELOG.md +639 -0
- package/node_modules/@codemirror/autocomplete/LICENSE +21 -0
- package/node_modules/@codemirror/autocomplete/README.md +43 -0
- package/node_modules/@codemirror/autocomplete/dist/index.cjs +2151 -0
- package/node_modules/@codemirror/autocomplete/dist/index.d.cts +648 -0
- package/node_modules/@codemirror/autocomplete/dist/index.d.ts +648 -0
- package/node_modules/@codemirror/autocomplete/dist/index.js +2120 -0
- package/node_modules/@codemirror/autocomplete/package.json +41 -0
- package/node_modules/@codemirror/commands/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/commands/CHANGELOG.md +386 -0
- package/node_modules/@codemirror/commands/LICENSE +21 -0
- package/node_modules/@codemirror/commands/README.md +35 -0
- package/node_modules/@codemirror/commands/dist/index.cjs +1909 -0
- package/node_modules/@codemirror/commands/dist/index.d.cts +650 -0
- package/node_modules/@codemirror/commands/dist/index.d.ts +650 -0
- package/node_modules/@codemirror/commands/dist/index.js +1795 -0
- package/node_modules/@codemirror/commands/package.json +42 -0
- package/node_modules/@codemirror/lang-css/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-css/CHANGELOG.md +106 -0
- package/node_modules/@codemirror/lang-css/LICENSE +21 -0
- package/node_modules/@codemirror/lang-css/README.md +50 -0
- package/node_modules/@codemirror/lang-css/dist/index.cjs +269 -0
- package/node_modules/@codemirror/lang-css/dist/index.d.cts +28 -0
- package/node_modules/@codemirror/lang-css/dist/index.d.ts +28 -0
- package/node_modules/@codemirror/lang-css/dist/index.js +264 -0
- package/node_modules/@codemirror/lang-css/package.json +42 -0
- package/node_modules/@codemirror/lang-html/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-html/CHANGELOG.md +210 -0
- package/node_modules/@codemirror/lang-html/LICENSE +21 -0
- package/node_modules/@codemirror/lang-html/README.md +147 -0
- package/node_modules/@codemirror/lang-html/dist/index.cjs +667 -0
- package/node_modules/@codemirror/lang-html/dist/index.d.cts +115 -0
- package/node_modules/@codemirror/lang-html/dist/index.d.ts +115 -0
- package/node_modules/@codemirror/lang-html/dist/index.js +661 -0
- package/node_modules/@codemirror/lang-html/package.json +46 -0
- package/node_modules/@codemirror/lang-javascript/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-javascript/CHANGELOG.md +206 -0
- package/node_modules/@codemirror/lang-javascript/LICENSE +21 -0
- package/node_modules/@codemirror/lang-javascript/README.md +125 -0
- package/node_modules/@codemirror/lang-javascript/dist/index.cjs +526 -0
- package/node_modules/@codemirror/lang-javascript/dist/index.d.cts +93 -0
- package/node_modules/@codemirror/lang-javascript/dist/index.d.ts +93 -0
- package/node_modules/@codemirror/lang-javascript/dist/index.js +513 -0
- package/node_modules/@codemirror/lang-javascript/package.json +45 -0
- package/node_modules/@codemirror/lang-json/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-json/CHANGELOG.md +59 -0
- package/node_modules/@codemirror/lang-json/LICENSE +21 -0
- package/node_modules/@codemirror/lang-json/README.md +56 -0
- package/node_modules/@codemirror/lang-json/dist/index.cjs +68 -0
- package/node_modules/@codemirror/lang-json/dist/index.d.cts +22 -0
- package/node_modules/@codemirror/lang-json/dist/index.d.ts +22 -0
- package/node_modules/@codemirror/lang-json/dist/index.js +64 -0
- package/node_modules/@codemirror/lang-json/package.json +39 -0
- package/node_modules/@codemirror/lang-markdown/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-markdown/CHANGELOG.md +246 -0
- package/node_modules/@codemirror/lang-markdown/LICENSE +21 -0
- package/node_modules/@codemirror/lang-markdown/README.md +162 -0
- package/node_modules/@codemirror/lang-markdown/dist/index.cjs +501 -0
- package/node_modules/@codemirror/lang-markdown/dist/index.d.cts +124 -0
- package/node_modules/@codemirror/lang-markdown/dist/index.d.ts +124 -0
- package/node_modules/@codemirror/lang-markdown/dist/index.js +492 -0
- package/node_modules/@codemirror/lang-markdown/package.json +44 -0
- package/node_modules/@codemirror/lang-python/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lang-python/CHANGELOG.md +174 -0
- package/node_modules/@codemirror/lang-python/LICENSE +21 -0
- package/node_modules/@codemirror/lang-python/README.md +61 -0
- package/node_modules/@codemirror/lang-python/dist/index.cjs +313 -0
- package/node_modules/@codemirror/lang-python/dist/index.d.cts +26 -0
- package/node_modules/@codemirror/lang-python/dist/index.d.ts +26 -0
- package/node_modules/@codemirror/lang-python/dist/index.js +308 -0
- package/node_modules/@codemirror/lang-python/package.json +42 -0
- package/node_modules/@codemirror/language/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/language/CHANGELOG.md +412 -0
- package/node_modules/@codemirror/language/LICENSE +21 -0
- package/node_modules/@codemirror/language/README.md +66 -0
- package/node_modules/@codemirror/language/dist/index.cjs +2742 -0
- package/node_modules/@codemirror/language/dist/index.d.cts +1220 -0
- package/node_modules/@codemirror/language/dist/index.d.ts +1220 -0
- package/node_modules/@codemirror/language/dist/index.js +2687 -0
- package/node_modules/@codemirror/language/package.json +44 -0
- package/node_modules/@codemirror/lint/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/lint/CHANGELOG.md +318 -0
- package/node_modules/@codemirror/lint/LICENSE +21 -0
- package/node_modules/@codemirror/lint/README.md +18 -0
- package/node_modules/@codemirror/lint/dist/index.cjs +958 -0
- package/node_modules/@codemirror/lint/dist/index.d.cts +195 -0
- package/node_modules/@codemirror/lint/dist/index.d.ts +195 -0
- package/node_modules/@codemirror/lint/dist/index.js +945 -0
- package/node_modules/@codemirror/lint/package.json +40 -0
- package/node_modules/@codemirror/search/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/search/CHANGELOG.md +324 -0
- package/node_modules/@codemirror/search/LICENSE +21 -0
- package/node_modules/@codemirror/search/README.md +18 -0
- package/node_modules/@codemirror/search/dist/index.cjs +1237 -0
- package/node_modules/@codemirror/search/dist/index.d.cts +385 -0
- package/node_modules/@codemirror/search/dist/index.d.ts +385 -0
- package/node_modules/@codemirror/search/dist/index.js +1217 -0
- package/node_modules/@codemirror/search/package.json +40 -0
- package/node_modules/@codemirror/state/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/state/CHANGELOG.md +308 -0
- package/node_modules/@codemirror/state/LICENSE +21 -0
- package/node_modules/@codemirror/state/README.md +18 -0
- package/node_modules/@codemirror/state/dist/index.cjs +3922 -0
- package/node_modules/@codemirror/state/dist/index.d.cts +1713 -0
- package/node_modules/@codemirror/state/dist/index.d.ts +1713 -0
- package/node_modules/@codemirror/state/dist/index.js +3892 -0
- package/node_modules/@codemirror/state/package.json +38 -0
- package/node_modules/@codemirror/theme-one-dark/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/theme-one-dark/CHANGELOG.md +97 -0
- package/node_modules/@codemirror/theme-one-dark/LICENSE +21 -0
- package/node_modules/@codemirror/theme-one-dark/README.md +46 -0
- package/node_modules/@codemirror/theme-one-dark/dist/index.cjs +139 -0
- package/node_modules/@codemirror/theme-one-dark/dist/index.d.cts +39 -0
- package/node_modules/@codemirror/theme-one-dark/dist/index.d.ts +39 -0
- package/node_modules/@codemirror/theme-one-dark/dist/index.js +134 -0
- package/node_modules/@codemirror/theme-one-dark/package.json +41 -0
- package/node_modules/@codemirror/view/.github/workflows/dispatch.yml +16 -0
- package/node_modules/@codemirror/view/CHANGELOG.md +2284 -0
- package/node_modules/@codemirror/view/LICENSE +21 -0
- package/node_modules/@codemirror/view/README.md +37 -0
- package/node_modules/@codemirror/view/dist/index.cjs +11796 -0
- package/node_modules/@codemirror/view/dist/index.d.cts +2389 -0
- package/node_modules/@codemirror/view/dist/index.d.ts +2389 -0
- package/node_modules/@codemirror/view/dist/index.js +11745 -0
- package/node_modules/@codemirror/view/package.json +41 -0
- package/node_modules/@groove-dev/daemon/src/api.js +268 -2
- package/node_modules/@groove-dev/daemon/src/filewatcher.js +59 -0
- package/node_modules/@groove-dev/daemon/src/index.js +28 -1
- package/node_modules/@groove-dev/daemon/src/mimetypes.js +43 -0
- package/node_modules/@groove-dev/gui/dist/assets/index-BQSznoq0.js +103 -0
- package/node_modules/@groove-dev/gui/dist/index.html +1 -1
- package/node_modules/@groove-dev/gui/package.json +15 -2
- package/node_modules/@groove-dev/gui/src/App.jsx +3 -0
- package/node_modules/@groove-dev/gui/src/components/CodeEditor.jsx +143 -0
- package/node_modules/@groove-dev/gui/src/components/EditorTabs.jsx +83 -0
- package/node_modules/@groove-dev/gui/src/components/FileTree.jsx +492 -0
- package/node_modules/@groove-dev/gui/src/components/MediaViewer.jsx +104 -0
- package/node_modules/@groove-dev/gui/src/stores/groove.js +287 -1
- package/node_modules/@groove-dev/gui/src/views/FileEditor.jsx +149 -0
- package/node_modules/@lezer/common/LICENSE +21 -0
- package/node_modules/@lezer/common/README.md +14 -0
- package/node_modules/@lezer/common/dist/index.cjs +2209 -0
- package/node_modules/@lezer/common/dist/index.d.cts +1174 -0
- package/node_modules/@lezer/common/dist/index.d.ts +1174 -0
- package/node_modules/@lezer/common/dist/index.js +2196 -0
- package/node_modules/@lezer/common/package.json +32 -0
- package/node_modules/@lezer/css/CHANGELOG.md +307 -0
- package/node_modules/@lezer/css/LICENSE +21 -0
- package/node_modules/@lezer/css/README.md +6 -0
- package/node_modules/@lezer/css/dist/index.cjs +151 -0
- package/node_modules/@lezer/css/dist/index.d.cts +3 -0
- package/node_modules/@lezer/css/dist/index.d.ts +3 -0
- package/node_modules/@lezer/css/dist/index.js +147 -0
- package/node_modules/@lezer/css/package.json +36 -0
- package/node_modules/@lezer/css/rollup.config.js +16 -0
- package/node_modules/@lezer/css/src/css.grammar +290 -0
- package/node_modules/@lezer/css/src/highlight.js +36 -0
- package/node_modules/@lezer/css/src/parser.js +31 -0
- package/node_modules/@lezer/css/src/parser.terms.js +63 -0
- package/node_modules/@lezer/css/src/tokens.js +75 -0
- package/node_modules/@lezer/css/test/declarations.txt +241 -0
- package/node_modules/@lezer/css/test/selector.txt +178 -0
- package/node_modules/@lezer/css/test/statements.txt +227 -0
- package/node_modules/@lezer/css/test/test-css.js +16 -0
- package/node_modules/@lezer/highlight/LICENSE +21 -0
- package/node_modules/@lezer/highlight/README.md +14 -0
- package/node_modules/@lezer/highlight/dist/index.cjs +936 -0
- package/node_modules/@lezer/highlight/dist/index.d.cts +623 -0
- package/node_modules/@lezer/highlight/dist/index.d.ts +623 -0
- package/node_modules/@lezer/highlight/dist/index.js +927 -0
- package/node_modules/@lezer/highlight/package.json +31 -0
- package/node_modules/@lezer/html/CHANGELOG.md +303 -0
- package/node_modules/@lezer/html/LICENSE +21 -0
- package/node_modules/@lezer/html/README.md +37 -0
- package/node_modules/@lezer/html/dist/index.cjs +354 -0
- package/node_modules/@lezer/html/dist/index.d.cts +14 -0
- package/node_modules/@lezer/html/dist/index.d.ts +14 -0
- package/node_modules/@lezer/html/dist/index.js +349 -0
- package/node_modules/@lezer/html/package.json +37 -0
- package/node_modules/@lezer/html/rollup.config.js +16 -0
- package/node_modules/@lezer/html/src/.tern-port +1 -0
- package/node_modules/@lezer/html/src/content.js +87 -0
- package/node_modules/@lezer/html/src/highlight.js +15 -0
- package/node_modules/@lezer/html/src/html.grammar +181 -0
- package/node_modules/@lezer/html/src/index.js +2 -0
- package/node_modules/@lezer/html/src/parser.js +27 -0
- package/node_modules/@lezer/html/src/parser.terms.js +53 -0
- package/node_modules/@lezer/html/src/tokens.js +199 -0
- package/node_modules/@lezer/html/test/mixed.txt +69 -0
- package/node_modules/@lezer/html/test/tags.txt +370 -0
- package/node_modules/@lezer/html/test/test-html.js +29 -0
- package/node_modules/@lezer/html/test/test-incremental.js +97 -0
- package/node_modules/@lezer/html/test/vue.txt +56 -0
- package/node_modules/@lezer/javascript/CHANGELOG.md +485 -0
- package/node_modules/@lezer/javascript/LICENSE +21 -0
- package/node_modules/@lezer/javascript/README.md +14 -0
- package/node_modules/@lezer/javascript/dist/index.cjs +196 -0
- package/node_modules/@lezer/javascript/dist/index.d.cts +3 -0
- package/node_modules/@lezer/javascript/dist/index.d.ts +3 -0
- package/node_modules/@lezer/javascript/dist/index.js +192 -0
- package/node_modules/@lezer/javascript/package.json +36 -0
- package/node_modules/@lezer/javascript/rollup.config.js +16 -0
- package/node_modules/@lezer/javascript/src/highlight.js +62 -0
- package/node_modules/@lezer/javascript/src/javascript.grammar +735 -0
- package/node_modules/@lezer/javascript/src/parser.js +33 -0
- package/node_modules/@lezer/javascript/src/parser.terms.js +177 -0
- package/node_modules/@lezer/javascript/src/tokens.js +87 -0
- package/node_modules/@lezer/javascript/test/decorator.txt +64 -0
- package/node_modules/@lezer/javascript/test/expression.txt +686 -0
- package/node_modules/@lezer/javascript/test/jsx.txt +79 -0
- package/node_modules/@lezer/javascript/test/semicolon.txt +77 -0
- package/node_modules/@lezer/javascript/test/statement.txt +404 -0
- package/node_modules/@lezer/javascript/test/test-javascript.js +17 -0
- package/node_modules/@lezer/javascript/test/typescript.txt +401 -0
- package/node_modules/@lezer/json/CHANGELOG.md +79 -0
- package/node_modules/@lezer/json/LICENSE +21 -0
- package/node_modules/@lezer/json/README.md +7 -0
- package/node_modules/@lezer/json/dist/index.cjs +41 -0
- package/node_modules/@lezer/json/dist/index.d.cts +3 -0
- package/node_modules/@lezer/json/dist/index.d.ts +3 -0
- package/node_modules/@lezer/json/dist/index.js +37 -0
- package/node_modules/@lezer/json/package.json +36 -0
- package/node_modules/@lezer/json/rollup.config.js +15 -0
- package/node_modules/@lezer/json/src/highlight.js +12 -0
- package/node_modules/@lezer/json/src/json.grammar +38 -0
- package/node_modules/@lezer/json/src/parser.js +23 -0
- package/node_modules/@lezer/json/src/parser.terms.js +12 -0
- package/node_modules/@lezer/json/test/arrays.txt +34 -0
- package/node_modules/@lezer/json/test/literals.txt +23 -0
- package/node_modules/@lezer/json/test/numbers.txt +87 -0
- package/node_modules/@lezer/json/test/objects.txt +34 -0
- package/node_modules/@lezer/json/test/strings.txt +50 -0
- package/node_modules/@lezer/json/test/test-json.js +17 -0
- package/node_modules/@lezer/lr/LICENSE +21 -0
- package/node_modules/@lezer/lr/README.md +25 -0
- package/node_modules/@lezer/lr/dist/constants.d.ts +45 -0
- package/node_modules/@lezer/lr/dist/constants.js +5 -0
- package/node_modules/@lezer/lr/dist/index.cjs +1891 -0
- package/node_modules/@lezer/lr/dist/index.d.cts +303 -0
- package/node_modules/@lezer/lr/dist/index.d.ts +303 -0
- package/node_modules/@lezer/lr/dist/index.js +1884 -0
- package/node_modules/@lezer/lr/package.json +32 -0
- package/node_modules/@lezer/markdown/CHANGELOG.md +279 -0
- package/node_modules/@lezer/markdown/LICENSE +21 -0
- package/node_modules/@lezer/markdown/README.md +725 -0
- package/node_modules/@lezer/markdown/bin/build-readme.cjs +39 -0
- package/node_modules/@lezer/markdown/build.js +16 -0
- package/node_modules/@lezer/markdown/dist/index.cjs +2352 -0
- package/node_modules/@lezer/markdown/dist/index.d.cts +600 -0
- package/node_modules/@lezer/markdown/dist/index.d.ts +600 -0
- package/node_modules/@lezer/markdown/dist/index.js +2335 -0
- package/node_modules/@lezer/markdown/package.json +37 -0
- package/node_modules/@lezer/markdown/src/README.md +83 -0
- package/node_modules/@lezer/markdown/src/extension.ts +301 -0
- package/node_modules/@lezer/markdown/src/index.ts +5 -0
- package/node_modules/@lezer/markdown/src/markdown.ts +1961 -0
- package/node_modules/@lezer/markdown/src/nest.ts +46 -0
- package/node_modules/@lezer/markdown/test/compare-tree.ts +14 -0
- package/node_modules/@lezer/markdown/test/spec.ts +79 -0
- package/node_modules/@lezer/markdown/test/test-extension.ts +269 -0
- package/node_modules/@lezer/markdown/test/test-incremental.ts +265 -0
- package/node_modules/@lezer/markdown/test/test-markdown.ts +3574 -0
- package/node_modules/@lezer/markdown/test/test-nesting.ts +86 -0
- package/node_modules/@lezer/markdown/test/tsconfig.json +12 -0
- package/node_modules/@lezer/markdown/tsconfig.json +14 -0
- package/node_modules/@lezer/python/CHANGELOG.md +243 -0
- package/node_modules/@lezer/python/LICENSE +21 -0
- package/node_modules/@lezer/python/README.md +6 -0
- package/node_modules/@lezer/python/dist/index.cjs +330 -0
- package/node_modules/@lezer/python/dist/index.d.cts +3 -0
- package/node_modules/@lezer/python/dist/index.d.ts +3 -0
- package/node_modules/@lezer/python/dist/index.js +326 -0
- package/node_modules/@lezer/python/package.json +36 -0
- package/node_modules/@lezer/python/rollup.config.js +16 -0
- package/node_modules/@lezer/python/src/highlight.js +35 -0
- package/node_modules/@lezer/python/src/python.grammar +381 -0
- package/node_modules/@lezer/python/src/tokens.js +224 -0
- package/node_modules/@lezer/python/test/expression.txt +231 -0
- package/node_modules/@lezer/python/test/statement.txt +442 -0
- package/node_modules/@lezer/python/test/test-incremental.js +33 -0
- package/node_modules/@lezer/python/test/test-python.js +17 -0
- package/node_modules/@marijn/find-cluster-break/LICENSE +21 -0
- package/node_modules/@marijn/find-cluster-break/README.md +28 -0
- package/node_modules/@marijn/find-cluster-break/dist/index.cjs +85 -0
- package/node_modules/@marijn/find-cluster-break/dist/index.d.cts +15 -0
- package/node_modules/@marijn/find-cluster-break/package.json +35 -0
- package/node_modules/@marijn/find-cluster-break/rollup.config.js +7 -0
- package/node_modules/@marijn/find-cluster-break/src/index.d.ts +15 -0
- package/node_modules/@marijn/find-cluster-break/src/index.js +87 -0
- package/node_modules/@marijn/find-cluster-break/test/test-cluster.js +30 -0
- package/node_modules/crelt/LICENSE +19 -0
- package/node_modules/crelt/README.md +23 -0
- package/node_modules/crelt/dist/index.cjs +31 -0
- package/node_modules/crelt/dist/index.d.cts +4 -0
- package/node_modules/crelt/index.d.ts +4 -0
- package/node_modules/crelt/index.js +28 -0
- package/node_modules/crelt/package.json +35 -0
- package/node_modules/crelt/rollup.config.js +13 -0
- package/node_modules/style-mod/LICENSE +19 -0
- package/node_modules/style-mod/README.md +98 -0
- package/node_modules/style-mod/dist/style-mod.cjs +165 -0
- package/node_modules/style-mod/dist/style-mod.d.cts +16 -0
- package/node_modules/style-mod/package.json +39 -0
- package/node_modules/style-mod/src/README.md +34 -0
- package/node_modules/style-mod/src/style-mod.d.ts +16 -0
- package/node_modules/style-mod/src/style-mod.js +172 -0
- package/node_modules/style-mod/test/test-style-mod.js +104 -0
- package/node_modules/w3c-keyname/.tern-port +1 -0
- package/node_modules/w3c-keyname/LICENSE +19 -0
- package/node_modules/w3c-keyname/README.md +18 -0
- package/node_modules/w3c-keyname/index.cjs +127 -0
- package/node_modules/w3c-keyname/index.d.cts +5 -0
- package/node_modules/w3c-keyname/index.d.ts +5 -0
- package/node_modules/w3c-keyname/index.js +119 -0
- package/node_modules/w3c-keyname/package.json +37 -0
- package/package.json +1 -1
- package/packages/daemon/src/api.js +268 -2
- package/packages/daemon/src/filewatcher.js +59 -0
- package/packages/daemon/src/index.js +28 -1
- package/packages/daemon/src/mimetypes.js +43 -0
- package/packages/gui/dist/assets/index-BQSznoq0.js +103 -0
- package/packages/gui/dist/index.html +1 -1
- package/packages/gui/package.json +15 -2
- package/packages/gui/src/App.jsx +3 -0
- package/packages/gui/src/components/CodeEditor.jsx +143 -0
- package/packages/gui/src/components/EditorTabs.jsx +83 -0
- package/packages/gui/src/components/FileTree.jsx +492 -0
- package/packages/gui/src/components/MediaViewer.jsx +104 -0
- package/packages/gui/src/stores/groove.js +287 -1
- package/packages/gui/src/views/FileEditor.jsx +149 -0
- package/node_modules/@groove-dev/gui/dist/assets/index-8Kqi_LVo.js +0 -74
- package/packages/gui/dist/assets/index-8Kqi_LVo.js +0 -74
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
## 6.0.2 (2025-06-19)
|
|
2
|
+
|
|
3
|
+
### Bug fixes
|
|
4
|
+
|
|
5
|
+
Add a .d.cts file to make TypeScript happy.
|
|
6
|
+
## 6.0.1 (2022-10-24)
|
|
7
|
+
|
|
8
|
+
### Bug fixes
|
|
9
|
+
|
|
10
|
+
Make sure the language object has a name.
|
|
11
|
+
|
|
12
|
+
## 6.0.0 (2022-06-08)
|
|
13
|
+
|
|
14
|
+
### Breaking changes
|
|
15
|
+
|
|
16
|
+
Update dependencies to 6.0.0
|
|
17
|
+
|
|
18
|
+
## 0.20.0 (2022-04-20)
|
|
19
|
+
|
|
20
|
+
### Breaking changes
|
|
21
|
+
|
|
22
|
+
Update dependencies to 0.20.0
|
|
23
|
+
|
|
24
|
+
## 0.19.2 (2022-02-15)
|
|
25
|
+
|
|
26
|
+
### Bug fixes
|
|
27
|
+
|
|
28
|
+
Fix highlighting of `null` tokens.
|
|
29
|
+
|
|
30
|
+
## 0.19.1 (2021-08-11)
|
|
31
|
+
|
|
32
|
+
### Bug fixes
|
|
33
|
+
|
|
34
|
+
Fix incorrect versions for @lezer dependencies.
|
|
35
|
+
|
|
36
|
+
## 0.19.0 (2021-08-11)
|
|
37
|
+
|
|
38
|
+
### Breaking changes
|
|
39
|
+
|
|
40
|
+
Update dependencies to 0.19.0
|
|
41
|
+
|
|
42
|
+
## 0.18.0 (2021-03-03)
|
|
43
|
+
|
|
44
|
+
### Breaking changes
|
|
45
|
+
|
|
46
|
+
Update dependencies to 0.18.
|
|
47
|
+
|
|
48
|
+
## 0.17.1 (2021-01-06)
|
|
49
|
+
|
|
50
|
+
### New features
|
|
51
|
+
|
|
52
|
+
The package now also exports a CommonJS module.
|
|
53
|
+
|
|
54
|
+
## 0.17.0 (2020-12-29)
|
|
55
|
+
|
|
56
|
+
### Breaking changes
|
|
57
|
+
|
|
58
|
+
First numbered release.
|
|
59
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<!-- NOTE: README.md is generated from src/README.md -->
|
|
2
|
+
|
|
3
|
+
# @codemirror/lang-json [](https://www.npmjs.org/package/@codemirror/lang-json)
|
|
4
|
+
|
|
5
|
+
[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-json/blob/main/CHANGELOG.md) ]
|
|
6
|
+
|
|
7
|
+
This package implements JSON language support for the
|
|
8
|
+
[CodeMirror](https://codemirror.net/) code editor.
|
|
9
|
+
|
|
10
|
+
The [project page](https://codemirror.net/) has more information, a
|
|
11
|
+
number of [examples](https://codemirror.net/examples/) and the
|
|
12
|
+
[documentation](https://codemirror.net/docs/).
|
|
13
|
+
|
|
14
|
+
This code is released under an
|
|
15
|
+
[MIT license](https://github.com/codemirror/lang-json/tree/main/LICENSE).
|
|
16
|
+
|
|
17
|
+
We aim to be an inclusive, welcoming community. To make that explicit,
|
|
18
|
+
we have a [code of
|
|
19
|
+
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
|
|
20
|
+
to communication around the project.
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
```javascript
|
|
25
|
+
import {EditorView, basicSetup} from "codemirror"
|
|
26
|
+
import {json} from "@codemirror/lang-json"
|
|
27
|
+
|
|
28
|
+
const view = new EditorView({
|
|
29
|
+
parent: document.body,
|
|
30
|
+
doc: `{"version": "9.99.99", "data": [1, 2, 3]}`,
|
|
31
|
+
extensions: [basicSetup, json()]
|
|
32
|
+
})
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## API Reference
|
|
36
|
+
|
|
37
|
+
<dl>
|
|
38
|
+
<dt id="user-content-json">
|
|
39
|
+
<code><strong><a href="#user-content-json">json</a></strong>() → <a href="https://codemirror.net/docs/ref#language.LanguageSupport">LanguageSupport</a></code></dt>
|
|
40
|
+
|
|
41
|
+
<dd><p>JSON language support.</p>
|
|
42
|
+
</dd>
|
|
43
|
+
<dt id="user-content-jsonlanguage">
|
|
44
|
+
<code><strong><a href="#user-content-jsonlanguage">jsonLanguage</a></strong>: <a href="https://codemirror.net/docs/ref#language.LRLanguage">LRLanguage</a></code></dt>
|
|
45
|
+
|
|
46
|
+
<dd><p>A language provider that provides JSON parsing.</p>
|
|
47
|
+
</dd>
|
|
48
|
+
<dt id="user-content-jsonparselinter">
|
|
49
|
+
<code><strong><a href="#user-content-jsonparselinter">jsonParseLinter</a></strong>() → fn(<a id="user-content-jsonparselinter^returns^view" href="#user-content-jsonparselinter^returns^view">view</a>: <a href="https://codemirror.net/docs/ref#view.EditorView">EditorView</a>) → <a href="https://codemirror.net/docs/ref#lint.Diagnostic">Diagnostic</a>[]</code></dt>
|
|
50
|
+
|
|
51
|
+
<dd><p>Calls
|
|
52
|
+
<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse"><code>JSON.parse</code></a>
|
|
53
|
+
on the document and, if that throws an error, reports it as a
|
|
54
|
+
single diagnostic.</p>
|
|
55
|
+
</dd>
|
|
56
|
+
</dl>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var json$1 = require('@lezer/json');
|
|
4
|
+
var language = require('@codemirror/language');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
Calls
|
|
8
|
+
[`JSON.parse`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse)
|
|
9
|
+
on the document and, if that throws an error, reports it as a
|
|
10
|
+
single diagnostic.
|
|
11
|
+
*/
|
|
12
|
+
const jsonParseLinter = () => (view) => {
|
|
13
|
+
try {
|
|
14
|
+
JSON.parse(view.state.doc.toString());
|
|
15
|
+
}
|
|
16
|
+
catch (e) {
|
|
17
|
+
if (!(e instanceof SyntaxError))
|
|
18
|
+
throw e;
|
|
19
|
+
const pos = getErrorPosition(e, view.state.doc);
|
|
20
|
+
return [{
|
|
21
|
+
from: pos,
|
|
22
|
+
message: e.message,
|
|
23
|
+
severity: 'error',
|
|
24
|
+
to: pos
|
|
25
|
+
}];
|
|
26
|
+
}
|
|
27
|
+
return [];
|
|
28
|
+
};
|
|
29
|
+
function getErrorPosition(error, doc) {
|
|
30
|
+
let m;
|
|
31
|
+
if (m = error.message.match(/at position (\d+)/))
|
|
32
|
+
return Math.min(+m[1], doc.length);
|
|
33
|
+
if (m = error.message.match(/at line (\d+) column (\d+)/))
|
|
34
|
+
return Math.min(doc.line(+m[1]).from + (+m[2]) - 1, doc.length);
|
|
35
|
+
return 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
A language provider that provides JSON parsing.
|
|
40
|
+
*/
|
|
41
|
+
const jsonLanguage = language.LRLanguage.define({
|
|
42
|
+
name: "json",
|
|
43
|
+
parser: json$1.parser.configure({
|
|
44
|
+
props: [
|
|
45
|
+
language.indentNodeProp.add({
|
|
46
|
+
Object: language.continuedIndent({ except: /^\s*\}/ }),
|
|
47
|
+
Array: language.continuedIndent({ except: /^\s*\]/ })
|
|
48
|
+
}),
|
|
49
|
+
language.foldNodeProp.add({
|
|
50
|
+
"Object Array": language.foldInside
|
|
51
|
+
})
|
|
52
|
+
]
|
|
53
|
+
}),
|
|
54
|
+
languageData: {
|
|
55
|
+
closeBrackets: { brackets: ["[", "{", '"'] },
|
|
56
|
+
indentOnInput: /^\s*[\}\]]$/
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
/**
|
|
60
|
+
JSON language support.
|
|
61
|
+
*/
|
|
62
|
+
function json() {
|
|
63
|
+
return new language.LanguageSupport(jsonLanguage);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
exports.json = json;
|
|
67
|
+
exports.jsonLanguage = jsonLanguage;
|
|
68
|
+
exports.jsonParseLinter = jsonParseLinter;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LRLanguage, LanguageSupport } from '@codemirror/language';
|
|
2
|
+
import { Diagnostic } from '@codemirror/lint';
|
|
3
|
+
import { EditorView } from '@codemirror/view';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
Calls
|
|
7
|
+
[`JSON.parse`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse)
|
|
8
|
+
on the document and, if that throws an error, reports it as a
|
|
9
|
+
single diagnostic.
|
|
10
|
+
*/
|
|
11
|
+
declare const jsonParseLinter: () => (view: EditorView) => Diagnostic[];
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
A language provider that provides JSON parsing.
|
|
15
|
+
*/
|
|
16
|
+
declare const jsonLanguage: LRLanguage;
|
|
17
|
+
/**
|
|
18
|
+
JSON language support.
|
|
19
|
+
*/
|
|
20
|
+
declare function json(): LanguageSupport;
|
|
21
|
+
|
|
22
|
+
export { json, jsonLanguage, jsonParseLinter };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LRLanguage, LanguageSupport } from '@codemirror/language';
|
|
2
|
+
import { Diagnostic } from '@codemirror/lint';
|
|
3
|
+
import { EditorView } from '@codemirror/view';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
Calls
|
|
7
|
+
[`JSON.parse`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse)
|
|
8
|
+
on the document and, if that throws an error, reports it as a
|
|
9
|
+
single diagnostic.
|
|
10
|
+
*/
|
|
11
|
+
declare const jsonParseLinter: () => (view: EditorView) => Diagnostic[];
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
A language provider that provides JSON parsing.
|
|
15
|
+
*/
|
|
16
|
+
declare const jsonLanguage: LRLanguage;
|
|
17
|
+
/**
|
|
18
|
+
JSON language support.
|
|
19
|
+
*/
|
|
20
|
+
declare function json(): LanguageSupport;
|
|
21
|
+
|
|
22
|
+
export { json, jsonLanguage, jsonParseLinter };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { parser } from '@lezer/json';
|
|
2
|
+
import { LRLanguage, indentNodeProp, continuedIndent, foldNodeProp, foldInside, LanguageSupport } from '@codemirror/language';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
Calls
|
|
6
|
+
[`JSON.parse`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse)
|
|
7
|
+
on the document and, if that throws an error, reports it as a
|
|
8
|
+
single diagnostic.
|
|
9
|
+
*/
|
|
10
|
+
const jsonParseLinter = () => (view) => {
|
|
11
|
+
try {
|
|
12
|
+
JSON.parse(view.state.doc.toString());
|
|
13
|
+
}
|
|
14
|
+
catch (e) {
|
|
15
|
+
if (!(e instanceof SyntaxError))
|
|
16
|
+
throw e;
|
|
17
|
+
const pos = getErrorPosition(e, view.state.doc);
|
|
18
|
+
return [{
|
|
19
|
+
from: pos,
|
|
20
|
+
message: e.message,
|
|
21
|
+
severity: 'error',
|
|
22
|
+
to: pos
|
|
23
|
+
}];
|
|
24
|
+
}
|
|
25
|
+
return [];
|
|
26
|
+
};
|
|
27
|
+
function getErrorPosition(error, doc) {
|
|
28
|
+
let m;
|
|
29
|
+
if (m = error.message.match(/at position (\d+)/))
|
|
30
|
+
return Math.min(+m[1], doc.length);
|
|
31
|
+
if (m = error.message.match(/at line (\d+) column (\d+)/))
|
|
32
|
+
return Math.min(doc.line(+m[1]).from + (+m[2]) - 1, doc.length);
|
|
33
|
+
return 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
A language provider that provides JSON parsing.
|
|
38
|
+
*/
|
|
39
|
+
const jsonLanguage = /*@__PURE__*/LRLanguage.define({
|
|
40
|
+
name: "json",
|
|
41
|
+
parser: /*@__PURE__*/parser.configure({
|
|
42
|
+
props: [
|
|
43
|
+
/*@__PURE__*/indentNodeProp.add({
|
|
44
|
+
Object: /*@__PURE__*/continuedIndent({ except: /^\s*\}/ }),
|
|
45
|
+
Array: /*@__PURE__*/continuedIndent({ except: /^\s*\]/ })
|
|
46
|
+
}),
|
|
47
|
+
/*@__PURE__*/foldNodeProp.add({
|
|
48
|
+
"Object Array": foldInside
|
|
49
|
+
})
|
|
50
|
+
]
|
|
51
|
+
}),
|
|
52
|
+
languageData: {
|
|
53
|
+
closeBrackets: { brackets: ["[", "{", '"'] },
|
|
54
|
+
indentOnInput: /^\s*[\}\]]$/
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
/**
|
|
58
|
+
JSON language support.
|
|
59
|
+
*/
|
|
60
|
+
function json() {
|
|
61
|
+
return new LanguageSupport(jsonLanguage);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { json, jsonLanguage, jsonParseLinter };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@codemirror/lang-json",
|
|
3
|
+
"version": "6.0.2",
|
|
4
|
+
"description": "JSON language support for the CodeMirror code editor",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"test": "cm-runtests",
|
|
7
|
+
"prepare": "cm-buildhelper src/json.ts"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"editor",
|
|
11
|
+
"code"
|
|
12
|
+
],
|
|
13
|
+
"author": {
|
|
14
|
+
"name": "Marijn Haverbeke",
|
|
15
|
+
"email": "marijn@haverbeke.berlin",
|
|
16
|
+
"url": "http://marijnhaverbeke.nl"
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
19
|
+
"main": "dist/index.cjs",
|
|
20
|
+
"exports": {
|
|
21
|
+
"import": "./dist/index.js",
|
|
22
|
+
"require": "./dist/index.cjs"
|
|
23
|
+
},
|
|
24
|
+
"types": "dist/index.d.ts",
|
|
25
|
+
"module": "dist/index.js",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@codemirror/language": "^6.0.0",
|
|
30
|
+
"@lezer/json": "^1.0.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@codemirror/buildhelper": "^1.0.0"
|
|
34
|
+
},
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "https://github.com/codemirror/lang-json.git"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: Trigger CI
|
|
2
|
+
on: push
|
|
3
|
+
|
|
4
|
+
jobs:
|
|
5
|
+
build:
|
|
6
|
+
name: Dispatch to main repo
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- name: Emit repository_dispatch
|
|
10
|
+
uses: mvasigh/dispatch-action@main
|
|
11
|
+
with:
|
|
12
|
+
# You should create a personal access token and store it in your repository
|
|
13
|
+
token: ${{ secrets.DISPATCH_AUTH }}
|
|
14
|
+
repo: dev
|
|
15
|
+
owner: codemirror
|
|
16
|
+
event_type: push
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
## 6.5.0 (2025-10-23)
|
|
2
|
+
|
|
3
|
+
### New features
|
|
4
|
+
|
|
5
|
+
Add a variant of `insertNewlineContinueMarkup` that supports configuration options.
|
|
6
|
+
|
|
7
|
+
## 6.4.0 (2025-10-02)
|
|
8
|
+
|
|
9
|
+
### New features
|
|
10
|
+
|
|
11
|
+
The new `pasteURLAsLink` extension allows you to paste URLs over a selection to quickly create a link.
|
|
12
|
+
|
|
13
|
+
## 6.3.4 (2025-08-01)
|
|
14
|
+
|
|
15
|
+
### Bug fixes
|
|
16
|
+
|
|
17
|
+
Make sure header-based indentation is available even when Markdown isn't the editor's top-level language.
|
|
18
|
+
|
|
19
|
+
## 6.3.3 (2025-06-13)
|
|
20
|
+
|
|
21
|
+
### Bug fixes
|
|
22
|
+
|
|
23
|
+
Make `insertNewlineContinueMarkup` take effect even when at the end of a nested range of Markdown content.
|
|
24
|
+
|
|
25
|
+
## 6.3.2 (2025-01-09)
|
|
26
|
+
|
|
27
|
+
### Bug fixes
|
|
28
|
+
|
|
29
|
+
Make Markdown-specific commands return false inside fenced code.
|
|
30
|
+
|
|
31
|
+
Fix an infinite loop caused by `insertNewlineContinueMarkup`.
|
|
32
|
+
|
|
33
|
+
## 6.3.1 (2024-11-06)
|
|
34
|
+
|
|
35
|
+
### Bug fixes
|
|
36
|
+
|
|
37
|
+
Fix an issue where `insertNewlineContinueMarkup` didn't work with the cursor directly after an HTML tag.
|
|
38
|
+
|
|
39
|
+
## 6.3.0 (2024-09-28)
|
|
40
|
+
|
|
41
|
+
### New features
|
|
42
|
+
|
|
43
|
+
The new `htmlTagLanguage` option allows client code to configure which language is used to parse HTML tags in the document.
|
|
44
|
+
|
|
45
|
+
## 6.2.5 (2024-04-12)
|
|
46
|
+
|
|
47
|
+
### Bug fixes
|
|
48
|
+
|
|
49
|
+
Disable folding for list nodes (since it will shadow the folding on the first list item).
|
|
50
|
+
|
|
51
|
+
## 6.2.4 (2024-01-16)
|
|
52
|
+
|
|
53
|
+
### Bug fixes
|
|
54
|
+
|
|
55
|
+
Starting at the third list item, `insertNewlineContinueMarkup` will now keep the tightness of the list, and only require two presses to clear an empty list item.
|
|
56
|
+
|
|
57
|
+
## 6.2.3 (2023-11-27)
|
|
58
|
+
|
|
59
|
+
### Bug fixes
|
|
60
|
+
|
|
61
|
+
Support code folding for GFM tables.
|
|
62
|
+
|
|
63
|
+
## 6.2.2 (2023-10-06)
|
|
64
|
+
|
|
65
|
+
### Bug fixes
|
|
66
|
+
|
|
67
|
+
Fix a bug in `insertNewlineContinueMarkup` that caused it to put the cursor in the wrong place when the editor's line break was more than one character long.
|
|
68
|
+
|
|
69
|
+
## 6.2.1 (2023-09-14)
|
|
70
|
+
|
|
71
|
+
### Bug fixes
|
|
72
|
+
|
|
73
|
+
Make `insertNewlineContinueMarkup` and `deleteMarkupBackward` use tabs for indentation when appropriate.
|
|
74
|
+
|
|
75
|
+
## 6.2.0 (2023-06-23)
|
|
76
|
+
|
|
77
|
+
### New features
|
|
78
|
+
|
|
79
|
+
The markdown package now installs a completion source that completes HTML tags when in Markdown context.
|
|
80
|
+
|
|
81
|
+
## 6.1.1 (2023-04-13)
|
|
82
|
+
|
|
83
|
+
### Bug fixes
|
|
84
|
+
|
|
85
|
+
Fix the declaration of `comentTokens` language data for Markdown.
|
|
86
|
+
|
|
87
|
+
Fix a bug in `deleteMarkupBackward` that would cause it to delete pieces of continued paragraphs below list item markers.
|
|
88
|
+
|
|
89
|
+
## 6.1.0 (2023-02-17)
|
|
90
|
+
|
|
91
|
+
### New features
|
|
92
|
+
|
|
93
|
+
Add support for folding entire sections from the header.
|
|
94
|
+
|
|
95
|
+
## 6.0.5 (2022-11-10)
|
|
96
|
+
|
|
97
|
+
### Bug fixes
|
|
98
|
+
|
|
99
|
+
Make sure task lists are indented correctly even when deeply nested.
|
|
100
|
+
|
|
101
|
+
## 6.0.4 (2022-11-02)
|
|
102
|
+
|
|
103
|
+
### Bug fixes
|
|
104
|
+
|
|
105
|
+
Fix an issue where nested task lists were indented too deeply.
|
|
106
|
+
|
|
107
|
+
## 6.0.3 (2022-10-24)
|
|
108
|
+
|
|
109
|
+
### Bug fixes
|
|
110
|
+
|
|
111
|
+
Add a `name` value to the Markdown language object.
|
|
112
|
+
|
|
113
|
+
## 6.0.2 (2022-10-10)
|
|
114
|
+
|
|
115
|
+
### Bug fixes
|
|
116
|
+
|
|
117
|
+
Improve `insertNewlineContinueMarkup`'s behavior in a fenced code block.
|
|
118
|
+
|
|
119
|
+
## 6.0.1 (2022-07-25)
|
|
120
|
+
|
|
121
|
+
### Bug fixes
|
|
122
|
+
|
|
123
|
+
Ignore text after whitespace in code block metadata, when determining which language the block is.
|
|
124
|
+
|
|
125
|
+
## 6.0.0 (2022-06-08)
|
|
126
|
+
|
|
127
|
+
### Breaking changes
|
|
128
|
+
|
|
129
|
+
Update dependencies to 6.0.0
|
|
130
|
+
|
|
131
|
+
## 0.20.1 (2022-05-20)
|
|
132
|
+
|
|
133
|
+
### New features
|
|
134
|
+
|
|
135
|
+
The `codeLanguages` option to `markdown` may now be a function from an info string to a language.
|
|
136
|
+
|
|
137
|
+
## 0.20.0 (2022-04-20)
|
|
138
|
+
|
|
139
|
+
### New features
|
|
140
|
+
|
|
141
|
+
`insertNewlineContinueMarkup` can now continue task lists. Move highlighting information into @lezer/markdown
|
|
142
|
+
|
|
143
|
+
## 0.19.6 (2022-02-04)
|
|
144
|
+
|
|
145
|
+
### Bug fixes
|
|
146
|
+
|
|
147
|
+
Fix an issue where `deleteMarkupBackward` could get confused when there was only whitespace between the cursor and the start of the line.
|
|
148
|
+
|
|
149
|
+
## 0.19.5 (2022-01-28)
|
|
150
|
+
|
|
151
|
+
### Bug fixes
|
|
152
|
+
|
|
153
|
+
Make `insertNewlineContinueMarkup` exit blockquotes after two blank lines.
|
|
154
|
+
|
|
155
|
+
## 0.19.4 (2022-01-03)
|
|
156
|
+
|
|
157
|
+
### Bug fixes
|
|
158
|
+
|
|
159
|
+
Fix a bug where list items after a removed item were incorrectly renumbered.
|
|
160
|
+
|
|
161
|
+
## 0.19.3 (2021-12-10)
|
|
162
|
+
|
|
163
|
+
### Bug fixes
|
|
164
|
+
|
|
165
|
+
`insertNewlineContinueMarkup` will no longer exit lists when there is content after the cursor.
|
|
166
|
+
|
|
167
|
+
Fix an issue in `deleteMarkupBackward` where it only deleted a single space when after a number marker.
|
|
168
|
+
|
|
169
|
+
## 0.19.2 (2021-10-20)
|
|
170
|
+
|
|
171
|
+
### Bug fixes
|
|
172
|
+
|
|
173
|
+
Fix a bug where the monospace highlighting tag wasn't correctly applied to code block content.
|
|
174
|
+
|
|
175
|
+
## 0.19.1 (2021-08-11)
|
|
176
|
+
|
|
177
|
+
### Bug fixes
|
|
178
|
+
|
|
179
|
+
Fix incorrect versions for @lezer dependencies.
|
|
180
|
+
|
|
181
|
+
## 0.19.0 (2021-08-11)
|
|
182
|
+
|
|
183
|
+
### Breaking changes
|
|
184
|
+
|
|
185
|
+
Update dependencies to 0.19.0
|
|
186
|
+
|
|
187
|
+
## 0.18.4 (2021-06-16)
|
|
188
|
+
|
|
189
|
+
### Bug fixes
|
|
190
|
+
|
|
191
|
+
Fix a case where `deleteMarkupBackward` would return true without actually having an effect.
|
|
192
|
+
|
|
193
|
+
## 0.18.3 (2021-05-19)
|
|
194
|
+
|
|
195
|
+
### Bug fixes
|
|
196
|
+
|
|
197
|
+
`insertNewlineContinueMarkup` will not continue moving list markers down when they are after an empty line anymore.
|
|
198
|
+
|
|
199
|
+
## 0.18.2 (2021-05-07)
|
|
200
|
+
|
|
201
|
+
### Bug fixes
|
|
202
|
+
|
|
203
|
+
Fix a bug where `insertNewlineContinueMarkup` could duplicate bits of content when in dededented continued list items.
|
|
204
|
+
|
|
205
|
+
## 0.18.1 (2021-04-01)
|
|
206
|
+
|
|
207
|
+
### Bug fixes
|
|
208
|
+
|
|
209
|
+
Add `monospace` style tag to all children of inline code nodes.
|
|
210
|
+
|
|
211
|
+
## 0.18.0 (2021-03-03)
|
|
212
|
+
|
|
213
|
+
### Breaking changes
|
|
214
|
+
|
|
215
|
+
Update dependencies to 0.18.
|
|
216
|
+
|
|
217
|
+
## 0.17.3 (2021-02-22)
|
|
218
|
+
|
|
219
|
+
### New features
|
|
220
|
+
|
|
221
|
+
Include heading depth in style tags.
|
|
222
|
+
|
|
223
|
+
## 0.17.2 (2021-02-10)
|
|
224
|
+
|
|
225
|
+
### Bug fixes
|
|
226
|
+
|
|
227
|
+
Fix a bug where `insertNewlineContinueMarkup` would sometimes duplicate bits of content.
|
|
228
|
+
|
|
229
|
+
### New features
|
|
230
|
+
|
|
231
|
+
The package now exports both a `commonmarkLanguage`, with just plain CommonMark, and a `markdownLanguage`, with GFM and some other extensions enabled.
|
|
232
|
+
|
|
233
|
+
It is now possible to pass lezer-markdown extensions to the `markdown` function to configure the parser.
|
|
234
|
+
|
|
235
|
+
## 0.17.1 (2021-01-06)
|
|
236
|
+
|
|
237
|
+
### New features
|
|
238
|
+
|
|
239
|
+
The package now also exports a CommonJS module.
|
|
240
|
+
|
|
241
|
+
## 0.17.0 (2020-12-29)
|
|
242
|
+
|
|
243
|
+
### Breaking changes
|
|
244
|
+
|
|
245
|
+
First numbered release.
|
|
246
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|