Socket
Socket
Sign inDemoInstall

@lezer/javascript

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lezer/javascript - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

src/.tern-port

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 1.0.2 (2022-07-21)
### Bug fixes
Properly assign a highlighting tag to the `super` keyword.
## 1.0.1 (2022-06-27)

@@ -2,0 +8,0 @@

5

dist/index.es.js

@@ -109,3 +109,3 @@ import { ContextTracker, ExternalTokenizer, LRParser } from '@lezer/lr';

TemplateString: tags.special(tags.string),
Super: tags.atom,
super: tags.atom,
BooleanLiteral: tags.bool,

@@ -137,3 +137,4 @@ this: tags.self,

Equals: tags.definitionOperator,
"Arrow : Spread": tags.punctuation,
Arrow: tags.function(tags.punctuation),
": Spread": tags.punctuation,
"( )": tags.paren,

@@ -140,0 +141,0 @@ "[ ]": tags.squareBracket,

2

package.json
{
"name": "@lezer/javascript",
"version": "1.0.1",
"version": "1.0.2",
"description": "lezer-based JavaScript grammar",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs",

@@ -11,3 +11,3 @@ import {styleTags, tags as t} from "@lezer/highlight"

TemplateString: t.special(t.string),
Super: t.atom,
super: t.atom,
BooleanLiteral: t.bool,

@@ -39,3 +39,4 @@ this: t.self,

Equals: t.definitionOperator,
"Arrow : Spread": t.punctuation,
Arrow: t.function(t.punctuation),
": Spread": t.punctuation,
"( )": t.paren,

@@ -42,0 +43,0 @@ "[ ]": t.squareBracket,

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