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

@codemirror/lang-angular

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/lang-angular - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

6

CHANGELOG.md

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

17

dist/index.js

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

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