You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@codemirror/lang-javascript

Package Overview
Dependencies
Maintainers
2
Versions
32
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

to
6.2.4

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## 6.2.4 (2025-05-14)
### Bug fixes
Fix a crash in the `esLint` helper when a rule's `meta.docs` isn't defined.
Properly dedent lines starting with an opening curly brace below composite statements like `for`/`while`.
## 6.2.3 (2025-02-12)

@@ -2,0 +10,0 @@

5

dist/index.js

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

"TemplateString BlockComment": () => null,
"Statement Property": /*@__PURE__*/continuedIndent({ except: /^{/ }),
"Statement Property": /*@__PURE__*/continuedIndent({ except: /^\s*{/ }),
JSXElement(context) {

@@ -460,3 +460,4 @@ let closed = /^\s*<\//.test(context.textAfter);

eslint.getRules().forEach((desc, name) => {
if (desc.meta.docs.recommended)
var _a;
if ((_a = desc.meta.docs) === null || _a === void 0 ? void 0 : _a.recommended)
config.rules[name] = 2;

@@ -463,0 +464,0 @@ });

2

package.json
{
"name": "@codemirror/lang-javascript",
"version": "6.2.3",
"version": "6.2.4",
"description": "JavaScript language support for the CodeMirror code editor",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.