Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/language-data

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/language-data - npm Package Compare versions

Comparing version 6.3.1 to 6.4.0

dist/index.d.cts

12

CHANGELOG.md

@@ -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 @@

25

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc