@codemirror/language-data
Advanced tools
Comparing version 6.3.1 to 6.4.0
@@ -0,1 +1,13 @@ | ||
## 6.4.0 (2024-01-22) | ||
### Bug fixes | ||
Include .kts as an extension for Kotlin. | ||
Use @codemirror/lang-yaml instead of the legacy mode for YAML content. | ||
### New features | ||
Add an entry for Liquid templates. | ||
## 6.3.1 (2023-05-01) | ||
@@ -2,0 +14,0 @@ |
@@ -88,2 +88,9 @@ import { LanguageDescription, LanguageSupport, StreamLanguage } from '@codemirror/language'; | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "Liquid", | ||
extensions: ["liquid"], | ||
load() { | ||
return import('@codemirror/lang-liquid').then(m => m.liquid()); | ||
} | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "MariaDB SQL", | ||
@@ -191,2 +198,10 @@ load() { return sql("MariaSQL"); } | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "YAML", | ||
alias: ["yml"], | ||
extensions: ["yaml", "yml"], | ||
load() { | ||
return import('@codemirror/lang-yaml').then(m => m.yaml()); | ||
} | ||
}), | ||
// Legacy modes ported from CodeMirror 5 | ||
@@ -521,3 +536,3 @@ /*@__PURE__*/LanguageDescription.of({ | ||
name: "Kotlin", | ||
extensions: ["kt"], | ||
extensions: ["kt", "kts"], | ||
load() { | ||
@@ -954,10 +969,2 @@ return import('@codemirror/legacy-modes/mode/clike').then(m => legacy(m.kotlin)); | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "YAML", | ||
alias: ["yml"], | ||
extensions: ["yaml", "yml"], | ||
load() { | ||
return import('@codemirror/legacy-modes/mode/yaml').then(m => legacy(m.yaml)); | ||
} | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "Z80", | ||
@@ -964,0 +971,0 @@ extensions: ["z80"], |
{ | ||
"name": "@codemirror/language-data", | ||
"version": "6.3.1", | ||
"version": "6.4.0", | ||
"description": "Language metadata and dynamic loading for the CodeMirror code editor", | ||
@@ -37,2 +37,3 @@ "scripts": { | ||
"@codemirror/lang-json": "^6.0.0", | ||
"@codemirror/lang-liquid": "^6.0.0", | ||
"@codemirror/lang-less": "^6.0.0", | ||
@@ -48,6 +49,7 @@ "@codemirror/lang-markdown": "^6.0.0", | ||
"@codemirror/lang-xml": "^6.0.0", | ||
"@codemirror/lang-yaml": "^6.0.0", | ||
"@codemirror/legacy-modes": "^6.1.0" | ||
}, | ||
"devDependencies": { | ||
"@codemirror/buildhelper": "^0.1.0" | ||
"@codemirror/buildhelper": "^1.0.0" | ||
}, | ||
@@ -54,0 +56,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9
70681
21
2019
+ Added@codemirror/lang-yaml@^6.0.0
+ Added@codemirror/lang-liquid@6.2.2(transitive)
+ Added@codemirror/lang-yaml@6.1.1(transitive)
+ Added@lezer/yaml@1.0.3(transitive)