@codemirror/language-data
Advanced tools
Comparing version 0.19.0 to 0.19.1
@@ -0,1 +1,7 @@ | ||
## 0.19.1 (2021-10-19) | ||
### New features | ||
Support Lezer-based PHP and WAST modes. | ||
## 0.19.0 (2021-08-11) | ||
@@ -2,0 +8,0 @@ |
@@ -100,2 +100,9 @@ import { LanguageDescription, LanguageSupport } from '@codemirror/language'; | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "PHP", | ||
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"], | ||
load() { | ||
return import('@codemirror/lang-php').then(m => m.php()); | ||
} | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "PLSQL", | ||
@@ -149,2 +156,9 @@ extensions: ["pls"], | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "WebAssembly", | ||
extensions: ["wat", "wast"], | ||
load() { | ||
return import('@codemirror/lang-wast').then(m => m.wast()); | ||
} | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "XML", | ||
@@ -977,9 +991,2 @@ alias: ["rss", "wsdl", "xsd"], | ||
} | ||
}), | ||
/*@__PURE__*/LanguageDescription.of({ | ||
name: "WebAssembly", | ||
extensions: ["wat", "wast"], | ||
load() { | ||
return import('@codemirror/legacy-modes/mode/wast').then(m => legacy(m.wast)); | ||
} | ||
}) | ||
@@ -986,0 +993,0 @@ ]; |
{ | ||
"name": "@codemirror/language-data", | ||
"version": "0.19.0", | ||
"version": "0.19.1", | ||
"description": "Language metadata and dynamic loading for the CodeMirror code editor", | ||
@@ -38,5 +38,7 @@ "scripts": { | ||
"@codemirror/lang-markdown": "^0.19.0", | ||
"@codemirror/lang-php": "^0.19.0", | ||
"@codemirror/lang-python": "^0.19.0", | ||
"@codemirror/lang-rust": "^0.19.0", | ||
"@codemirror/lang-sql": "^0.19.0", | ||
"@codemirror/lang-wast": "^0.19.0", | ||
"@codemirror/lang-xml": "^0.19.0", | ||
@@ -43,0 +45,0 @@ "@codemirror/legacy-modes": "^0.19.0" |
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
80197
2007
16
+ Added@codemirror/lang-php@^0.19.0
+ Added@codemirror/lang-php@0.19.1(transitive)
+ Added@codemirror/lang-wast@0.19.0(transitive)
+ Added@lezer/php@0.15.0(transitive)