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

@codemirror/lang-javascript

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/lang-javascript - npm Package Compare versions

Comparing version 0.19.1 to 0.19.2

6

CHANGELOG.md

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

## 0.19.2 (2021-09-23)
### New features
Use more specific highlighting tags for JSX attribute names and values.
## 0.19.1 (2021-08-11)

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

8

dist/index.js

@@ -58,3 +58,3 @@ import { parser } from '@lezer/javascript';

IfStatement: /*@__PURE__*/continuedIndent({ except: /^\s*({|else\b)/ }),
TryStatement: /*@__PURE__*/continuedIndent({ except: /^\s*({|catch|finally)\b/ }),
TryStatement: /*@__PURE__*/continuedIndent({ except: /^\s*({|catch\b|finally\b)/ }),
LabeledStatement: flatIndent,

@@ -126,9 +126,9 @@ SwitchBody: context => {

"type enum interface implements namespace module declare": tags.definitionKeyword,
"abstract global privacy readonly": tags.modifier,
"abstract global privacy readonly override": tags.modifier,
"is keyof unique infer": tags.operatorKeyword,
JSXAttributeValue: tags.string,
JSXAttributeValue: tags.attributeValue,
JSXText: tags.content,
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag": tags.angleBracket,
"JSXIdentifier JSXNameSpacedName": tags.tagName,
"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": tags.propertyName
"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": tags.attributeName
})

@@ -135,0 +135,0 @@ ]

{
"name": "@codemirror/lang-javascript",
"version": "0.19.1",
"version": "0.19.2",
"description": "JavaScript language support for the CodeMirror code editor",

@@ -30,3 +30,3 @@ "scripts": {

"@codemirror/autocomplete": "^0.19.0",
"@codemirror/highlight": "^0.19.0",
"@codemirror/highlight": "^0.19.6",
"@codemirror/language": "^0.19.0",

@@ -33,0 +33,0 @@ "@codemirror/lint": "^0.19.0",

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