@codemirror/lang-angular
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -0,1 +1,7 @@ | ||
## 0.1.1 (2023-06-05) | ||
### Bug fixes | ||
Explicitly list @lezer/lr as a dependency. | ||
## 0.1.0 (2022-12-22) | ||
@@ -2,0 +8,0 @@ |
@@ -18,7 +18,7 @@ import { LRLanguage, LanguageSupport } from '@codemirror/language'; | ||
for (;;) { | ||
if (input.next == 10 /* Ch.Newline */) { | ||
if (input.next == 10 /* Newline */) { | ||
input.advance(); | ||
break; | ||
} | ||
else if (input.next == 123 /* Ch.BraceL */ && input.peek(1) == 123 /* Ch.BraceL */ || input.next < 0) { | ||
else if (input.next == 123 /* BraceL */ && input.peek(1) == 123 /* BraceL */ || input.next < 0) { | ||
break; | ||
@@ -35,3 +35,3 @@ } | ||
while (input.next != quote && input.next >= 0 && | ||
(script || input.next != 38 /* Ch.Ampersand */ && (input.next != 123 /* Ch.BraceL */ || input.peek(1) != 123 /* Ch.BraceL */))) | ||
(script || input.next != 38 /* Ampersand */ && (input.next != 123 /* BraceL */ || input.peek(1) != 123 /* BraceL */))) | ||
input.advance(); | ||
@@ -42,6 +42,6 @@ if (input.pos > start) | ||
} | ||
const attrSingle = /*@__PURE__*/attrContent(39 /* Ch.SingleQuote */, attributeContentSingle, false); | ||
const attrDouble = /*@__PURE__*/attrContent(34 /* Ch.DoubleQuote */, attributeContentDouble, false); | ||
const scriptAttrSingle = /*@__PURE__*/attrContent(39 /* Ch.SingleQuote */, scriptAttributeContentSingle, true); | ||
const scriptAttrDouble = /*@__PURE__*/attrContent(34 /* Ch.DoubleQuote */, scriptAttributeContentDouble, true); | ||
const attrSingle = /*@__PURE__*/attrContent(39 /* SingleQuote */, attributeContentSingle, false); | ||
const attrDouble = /*@__PURE__*/attrContent(34 /* DoubleQuote */, attributeContentDouble, false); | ||
const scriptAttrSingle = /*@__PURE__*/attrContent(39 /* SingleQuote */, scriptAttributeContentSingle, true); | ||
const scriptAttrDouble = /*@__PURE__*/attrContent(34 /* DoubleQuote */, scriptAttributeContentDouble, true); | ||
@@ -48,0 +48,0 @@ // This file was generated by lezer-generator. You probably shouldn't edit it. |
{ | ||
"name": "@codemirror/lang-angular", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Angular Template language support for the CodeMirror code editor", | ||
@@ -15,3 +15,3 @@ "scripts": { | ||
"name": "Marijn Haverbeke", | ||
"email": "marijnh@gmail.com", | ||
"email": "marijn@haverbeke.berlin", | ||
"url": "http://marijnhaverbeke.nl" | ||
@@ -34,6 +34,7 @@ }, | ||
"@lezer/common": "^1.0.0", | ||
"@lezer/highlight": "^1.0.0" | ||
"@lezer/highlight": "^1.0.0", | ||
"@lezer/lr": "^1.3.3" | ||
}, | ||
"devDependencies": { | ||
"@codemirror/buildhelper": "^0.1.0" | ||
"@codemirror/buildhelper": "^1.0.0" | ||
}, | ||
@@ -40,0 +41,0 @@ "repository": { |
@@ -5,10 +5,10 @@ <!-- NOTE: README.md is generated from src/README.md --> | ||
[ [**WEBSITE**](https://codemirror.net/6/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-angular/blob/main/CHANGELOG.md) ] | ||
[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-angular/blob/main/CHANGELOG.md) ] | ||
This package implements Angular Template language support for the | ||
[CodeMirror](https://codemirror.net/6/) code editor. | ||
[CodeMirror](https://codemirror.net/) code editor. | ||
The [project page](https://codemirror.net/6/) has more information, a | ||
number of [examples](https://codemirror.net/6/examples/) and the | ||
[documentation](https://codemirror.net/6/docs/). | ||
The [project page](https://codemirror.net/) has more information, a | ||
number of [examples](https://codemirror.net/examples/) and the | ||
[documentation](https://codemirror.net/docs/). | ||
@@ -15,0 +15,0 @@ This code is released under an |
Sorry, the diff of this file is not supported yet
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
19470
8
6
+ Added@lezer/lr@^1.3.3
+ Added@codemirror/language@6.10.4(transitive)
- Removed@codemirror/language@6.10.3(transitive)