New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/lang-css

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/lang-css - npm Package Compare versions

Comparing version 6.2.1 to 6.3.0

6

CHANGELOG.md

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

## 6.3.0 (2024-09-07)
### New features
CSS autocompletion now completes `@`-keywords.
## 6.2.1 (2023-08-04)

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

@@ -131,2 +131,7 @@ import { parser } from '@lezer/css';

].map(name => ({ type: "type", label: name }));
const atRules = /*@__PURE__*/[
"@charset", "@color-profile", "@container", "@counter-style", "@font-face", "@font-feature-values",
"@font-palette-values", "@import", "@keyframes", "@layer", "@media", "@namespace", "@page",
"@position-try", "@property", "@scope", "@starting-style", "@supports", "@view-transition"
].map(label => ({ type: "keyword", label }));
const identifier = /^(\w[\w-]*|-\w[\w-]*|)$/, variable = /^-(-[\w-]*)?$/;

@@ -212,2 +217,4 @@ function isVarArg(node, doc) {

}
if (node.name == "AtKeyword")
return { from: node.from, options: atRules, validFor: identifier };
if (!context.explicit)

@@ -214,0 +221,0 @@ return null;

4

package.json
{
"name": "@codemirror/lang-css",
"version": "6.2.1",
"version": "6.3.0",
"description": "CSS language support for the CodeMirror code editor",

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

"@lezer/common": "^1.0.2",
"@lezer/css": "^1.0.0"
"@lezer/css": "^1.1.7"
},

@@ -36,0 +36,0 @@ "devDependencies": {

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