@codemirror/language-data
Advanced tools
Comparing version 6.2.1 to 6.3.0
@@ -0,1 +1,7 @@ | ||
## 6.3.0 (2023-04-20) | ||
### New features | ||
Use the @codemirror/lang-sass package for .sass and .scss files. | ||
## 6.2.1 (2023-04-16) | ||
@@ -2,0 +8,0 @@ |
@@ -131,2 +131,16 @@ import { LanguageDescription, LanguageSupport, StreamLanguage } from '@codemirror/language'; | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "Sass", | ||
extensions: ["sass"], | ||
load() { | ||
return import('@codemirror/lang-sass').then(m => m.sass({ indented: true })); | ||
} | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "SCSS", | ||
extensions: ["scss"], | ||
load() { | ||
return import('@codemirror/lang-sass').then(m => m.sass()); | ||
} | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "SQL", | ||
@@ -714,9 +728,2 @@ extensions: ["sql"], | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "Sass", | ||
extensions: ["sass"], | ||
load() { | ||
return import('@codemirror/legacy-modes/mode/sass').then(m => legacy(m.sass)); | ||
} | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "Scala", | ||
@@ -736,9 +743,2 @@ extensions: ["scala"], | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "SCSS", | ||
extensions: ["scss"], | ||
load() { | ||
return import('@codemirror/legacy-modes/mode/css').then(m => legacy(m.sCSS)); | ||
} | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "Shell", | ||
@@ -745,0 +745,0 @@ alias: ["bash", "sh", "zsh"], |
{ | ||
"name": "@codemirror/language-data", | ||
"version": "6.2.1", | ||
"version": "6.3.0", | ||
"description": "Language metadata and dynamic loading for the CodeMirror code editor", | ||
@@ -41,2 +41,3 @@ "scripts": { | ||
"@codemirror/lang-rust": "^6.0.0", | ||
"@codemirror/lang-sass": "^6.0.0", | ||
"@codemirror/lang-sql": "^6.0.0", | ||
@@ -43,0 +44,0 @@ "@codemirror/lang-vue": "^0.1.1", |
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
81152
18
+ Added@codemirror/lang-sass@^6.0.0
+ Added@codemirror/lang-sass@6.0.2(transitive)
+ Added@lezer/sass@1.0.7(transitive)