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

@blitz/textmate

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blitz/textmate - npm Package Compare versions

Comparing version 0.4.6 to 0.4.7

grammars/angular/syntaxes/let-declaration.json

2

grammars/angular/syntaxes/expression.json

@@ -141,3 +141,3 @@ {

},
"end": "(?=$|\"|[;,:})\\]])",
"end": "(?=$|\"|'|[;,:})\\]])",
"patterns": [

@@ -144,0 +144,0 @@ {

@@ -90,6 +90,6 @@ {

},
"contentName": "source.css",
"contentName": "source.css.scss",
"patterns": [
{
"include": "source.css"
"include": "source.css.scss"
}

@@ -96,0 +96,0 @@ ]

@@ -65,3 +65,3 @@ {

},
"contentName": "text.html",
"contentName": "text.html.derivative",
"patterns": [

@@ -68,0 +68,0 @@ {

@@ -15,3 +15,3 @@ {

"block": {
"begin": "(@)((?:\\w+\\s*)+)(?=\\(|\\{)",
"begin": "(@)(if|else if|else|defer|placeholder|loading|error|switch|case|default|for|empty)(?:\\s*)",
"beginCaptures": {

@@ -37,3 +37,3 @@ "1": {

],
"contentName": "control.block.ng",
"name": "control.block.ng",
"end": "(?<=\\})"

@@ -40,0 +40,0 @@ },

@@ -6,18 +6,3 @@ {

{
"include": "template.blocks.ng"
},
{
"include": "#interpolation"
},
{
"include": "#propertyBinding"
},
{
"include": "#eventBinding"
},
{
"include": "#twoWayBinding"
},
{
"include": "#templateBinding"
}

@@ -45,156 +30,4 @@ ],

]
},
"propertyBinding": {
"begin": "(\\[\\s*@?[-_a-zA-Z0-9.$]*%?\\s*])(=)([\"'])",
"beginCaptures": {
"1": {
"name": "entity.other.attribute-name.html entity.other.ng-binding-name.property.html",
"patterns": [
{
"include": "#bindingKey"
}
]
},
"2": {
"name": "punctuation.separator.key-value.html"
},
"3": {
"name": "string.quoted.html punctuation.definition.string.begin.html"
}
},
"end": "\\3",
"endCaptures": {
"0": {
"name": "string.quoted.html punctuation.definition.string.end.html"
}
},
"name": "meta.ng-binding.property.html",
"contentName": "expression.ng",
"patterns": [
{
"include": "expression.ng"
}
]
},
"eventBinding": {
"begin": "(\\(\\s*@?[-_a-zA-Z0-9.$]*\\s*\\))(=)([\"'])",
"beginCaptures": {
"1": {
"name": "entity.other.attribute-name.html entity.other.ng-binding-name.event.html",
"patterns": [
{
"include": "#bindingKey"
}
]
},
"2": {
"name": "punctuation.separator.key-value.html"
},
"3": {
"name": "string.quoted.html punctuation.definition.string.begin.html"
}
},
"end": "\\3",
"endCaptures": {
"0": {
"name": "string.quoted.html punctuation.definition.string.end.html"
}
},
"name": "meta.ng-binding.event.html",
"contentName": "expression.ng",
"patterns": [
{
"include": "expression.ng"
}
]
},
"twoWayBinding": {
"begin": "(\\[\\s*\\(\\s*@?[-_a-zA-Z0-9.$]*\\s*\\)\\s*\\])(=)([\"'])",
"beginCaptures": {
"1": {
"name": "entity.other.attribute-name.html entity.other.ng-binding-name.two-way.html",
"patterns": [
{
"include": "#bindingKey"
}
]
},
"2": {
"name": "punctuation.separator.key-value.html"
},
"3": {
"name": "string.quoted.html punctuation.definition.string.begin.html"
}
},
"end": "\\3",
"endCaptures": {
"0": {
"name": "string.quoted.html punctuation.definition.string.end.html"
}
},
"name": "meta.ng-binding.two-way.html",
"contentName": "expression.ng",
"patterns": [
{
"include": "expression.ng"
}
]
},
"templateBinding": {
"begin": "(\\*[-_a-zA-Z0-9.$]*)(=)([\"'])",
"beginCaptures": {
"1": {
"name": "entity.other.attribute-name.html entity.other.ng-binding-name.template.html",
"patterns": [
{
"include": "#bindingKey"
}
]
},
"2": {
"name": "punctuation.separator.key-value.html"
},
"3": {
"name": "string.quoted.html punctuation.definition.string.begin.html"
}
},
"end": "\\3",
"endCaptures": {
"0": {
"name": "string.quoted.html punctuation.definition.string.end.html"
}
},
"name": "meta.ng-binding.template.html",
"contentName": "expression.ng",
"patterns": [
{
"include": "expression.ng"
}
]
},
"bindingKey": {
"patterns": [
{
"match": "([\\[\\(]{1,2}|\\*)(?:\\s*)(@?[-_a-zA-Z0-9.$]*%?)(?:\\s*)([\\]\\)]{1,2})?",
"captures": {
"1": {
"name": "punctuation.definition.ng-binding-name.begin.html"
},
"2": {
"name": "entity.other.ng-binding-name.$2.html",
"patterns": [
{
"match": "\\.",
"name": "punctuation.accessor.html"
}
]
},
"3": {
"name": "punctuation.definition.ng-binding-name.end.html"
}
}
}
]
}
}
}

@@ -635,3 +635,3 @@ {

"embeddedLanguages": {
"text.html": "html",
"text.html.derivative": "html",
"source.css": "css",

@@ -649,3 +649,3 @@ "source.js": "javascript"

"embeddedLanguages": {
"source.css": "css"
"source.css.scss": "scss"
}

@@ -659,3 +659,3 @@ },

},
"injectTo": ["text.html.derivative"]
"injectTo": ["text.html.derivative", "source.ts"]
},

@@ -668,5 +668,25 @@ {

},
"injectTo": ["text.html.derivative"]
"injectTo": ["text.html.derivative", "source.ts"],
"embeddedLanguages": {
"control.block.expression.ng": "javascript",
"control.block.body.ng": "html"
}
},
{
"scopeName": "template.let.ng",
"grammar": {
"base": "angular",
"file": "let-declaration.json"
},
"injectTo": ["text.html.derivative", "source.ts"]
},
{
"scopeName": "template.tag.ng",
"grammar": {
"base": "angular",
"file": "template-tag.json"
},
"injectTo": ["text.html.derivative", "source.ts"]
},
{
"scopeName": "expression.ng",

@@ -673,0 +693,0 @@ "grammar": {

{
"name": "@blitz/textmate",
"version": "0.4.6",
"version": "0.4.7",
"description": "TextMate Grammars for StackBlitz",

@@ -5,0 +5,0 @@ "license": "MIT",

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