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.0 to 0.1.1

dist/index.d.cts

6

CHANGELOG.md

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

14

dist/index.js

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

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