@codemirror/lang-angular
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -0,1 +1,7 @@ | ||
## 0.1.3 (2023-12-28) | ||
### Bug fixes | ||
Tag interpolations as isolating for the purpose of bidirectional text. | ||
## 0.1.2 (2023-06-23) | ||
@@ -2,0 +8,0 @@ |
@@ -18,7 +18,7 @@ import { LRLanguage, LanguageSupport } from '@codemirror/language'; | ||
for (;;) { | ||
if (input.next == 10 /* Newline */) { | ||
if (input.next == 10 /* Ch.Newline */) { | ||
input.advance(); | ||
break; | ||
} | ||
else if (input.next == 123 /* BraceL */ && input.peek(1) == 123 /* BraceL */ || input.next < 0) { | ||
else if (input.next == 123 /* Ch.BraceL */ && input.peek(1) == 123 /* Ch.BraceL */ || input.next < 0) { | ||
break; | ||
@@ -35,3 +35,3 @@ } | ||
while (input.next != quote && input.next >= 0 && | ||
(script || input.next != 38 /* Ampersand */ && (input.next != 123 /* BraceL */ || input.peek(1) != 123 /* BraceL */))) | ||
(script || input.next != 38 /* Ch.Ampersand */ && (input.next != 123 /* Ch.BraceL */ || input.peek(1) != 123 /* Ch.BraceL */))) | ||
input.advance(); | ||
@@ -42,6 +42,6 @@ if (input.pos > start) | ||
} | ||
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); | ||
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); | ||
@@ -58,3 +58,4 @@ // This file was generated by lezer-generator. You probably shouldn't edit it. | ||
["openedBy", 3,"{{",15,"("], | ||
["closedBy", 4,"}}",14,")"] | ||
["closedBy", 4,"}}",14,")"], | ||
["isolate", -4,5,19,25,27,""] | ||
], | ||
@@ -61,0 +62,0 @@ skippedNodes: [0], |
{ | ||
"name": "@codemirror/lang-angular", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Angular Template language support for the CodeMirror code editor", | ||
@@ -32,3 +32,3 @@ "scripts": { | ||
"@codemirror/lang-javascript": "^6.1.2", | ||
"@lezer/common": "^1.0.0", | ||
"@lezer/common": "^1.2.0", | ||
"@lezer/highlight": "^1.0.0", | ||
@@ -35,0 +35,0 @@ "@lezer/lr": "^1.3.3" |
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
21901
299
Updated@lezer/common@^1.2.0