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

lightningcss

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightningcss - npm Package Compare versions

Comparing version 1.24.0 to 1.24.1

20

package.json
{
"name": "lightningcss",
"version": "1.24.0",
"version": "1.24.1",
"license": "MPL-2.0",

@@ -97,12 +97,12 @@ "description": "A CSS parser, transformer, and minifier written in Rust",

"optionalDependencies": {
"lightningcss-darwin-x64": "1.24.0",
"lightningcss-linux-x64-gnu": "1.24.0",
"lightningcss-win32-x64-msvc": "1.24.0",
"lightningcss-darwin-arm64": "1.24.0",
"lightningcss-linux-arm64-gnu": "1.24.0",
"lightningcss-linux-arm-gnueabihf": "1.24.0",
"lightningcss-linux-arm64-musl": "1.24.0",
"lightningcss-linux-x64-musl": "1.24.0",
"lightningcss-freebsd-x64": "1.24.0"
"lightningcss-darwin-x64": "1.24.1",
"lightningcss-linux-x64-gnu": "1.24.1",
"lightningcss-win32-x64-msvc": "1.24.1",
"lightningcss-darwin-arm64": "1.24.1",
"lightningcss-linux-arm64-gnu": "1.24.1",
"lightningcss-linux-arm-gnueabihf": "1.24.1",
"lightningcss-linux-arm64-musl": "1.24.1",
"lightningcss-linux-x64-musl": "1.24.1",
"lightningcss-freebsd-x64": "1.24.1"
}
}

@@ -12,3 +12,3 @@ # ⚡️ Lightning CSS

- **Typed property values** – many other CSS parsers treat property values as an untyped series of tokens. This means that each transformer that wants to do something with these values must interpret them itself, leading to duplicate work and inconsistencies. Lightning CSS parses all values using the grammar from the CSS specification, and exposes a specific value type for each property.
- **Browser-grade parser** – Lightning CSS is built on the [cssparser](https://github.com/servo/rust-cssparser) and [selectors](https://github.com/servo/servo/tree/master/components/selectors) crates created by Mozilla and used by Firefox and Servo. These provide a solid general purpose CSS-parsing foundation on top of which Lightning CSS implements support for all specific CSS rules and properties.
- **Browser-grade parser** – Lightning CSS is built on the [cssparser](https://github.com/servo/rust-cssparser) and [selectors](https://github.com/servo/stylo/tree/main/selectors) crates created by Mozilla and used by Firefox and Servo. These provide a solid general purpose CSS-parsing foundation on top of which Lightning CSS implements support for all specific CSS rules and properties.
- **Minification** – One of the main purposes of Lightning CSS is to minify CSS to make it smaller. This includes many optimizations including:

@@ -15,0 +15,0 @@ - Combining longhand properties into shorthands where possible.

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