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 6.1.2 to 6.1.3

6

CHANGELOG.md

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

## 6.1.3 (2023-02-02)
### Bug fixes
Fix auto-closing of JSX fragments.
## 6.1.2 (2022-12-07)

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

2

dist/index.js

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

if (text == ">" && around.name == "JSXFragmentTag") {
return { range: EditorSelection.cursor(head + 1), changes: { from: head, insert: `><>` } };
return { range: EditorSelection.cursor(head + 1), changes: { from: head, insert: `></>` } };
}

@@ -375,0 +375,0 @@ else if (text == "/" && around.name == "JSXFragmentTag") {

{
"name": "@codemirror/lang-javascript",
"version": "6.1.2",
"version": "6.1.3",
"description": "JavaScript 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"

@@ -18,0 +18,0 @@ },

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