Socket
Socket
Sign inDemoInstall

@csstools/media-query-list-parser

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csstools/media-query-list-parser - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

38

CHANGELOG.md
# Changes to Media Query List Parser
### 2.1.1 (June 21, 2023)
### 2.1.2
_July 3, 2023_
- Updated [`@csstools/css-parser-algorithms`](/packages/css-parser-algorithms) to [`2.3.0`](/packages/css-parser-algorithms/CHANGELOG.md#230) (minor)
### 2.1.1
_June 21, 2023_
- Fix parsing of `(width == 100px)`. This was erroneously parsed as a range query and will now instead be a general enclosed node.
### 2.1.0 (June 1, 2023)
### 2.1.0
_June 1, 2023_
- Fix `walk` for `MediaFeatureValue` with complex component values.

@@ -15,22 +25,32 @@ - Add `state` to `walk` methods.

### 2.0.4 (April 10, 2023)
### 2.0.4
_April 10, 2023_
- Updated `@csstools/css-tokenizer` to `2.1.1` (patch)
- Updated `@csstools/css-parser-algorithms` to `2.1.1` (patch)
### 2.0.3 (April 10, 2023)
### 2.0.3
_April 10, 2023_
- Add support for `env()` functions as values in media queries.
- Improve the detection of math function as values in media queries.
### 2.0.2 (March 25, 2023)
### 2.0.2
_March 25, 2023_
- Improve case insensitive string matching.
### 2.0.1 (January 28, 2023)
### 2.0.1
_January 28, 2023_
- Improve `types` declaration in `package.json`
### 2.0.0 (January 19, 2023)
### 2.0.0
_January 19, 2023_
- Refactor `MediaFeatureBoolean` so that it follows the same structure as `MediaFeaturePlain` (breaking)

@@ -41,4 +61,6 @@ - Change the `ParseError` interface, this is now a subclass of `Error` (breaking)

### 1.0.0 (November 14, 2022)
### 1.0.0
_November 14, 2022_
- Initial version
{
"name": "@csstools/media-query-list-parser",
"description": "Parse CSS media query lists.",
"version": "2.1.1",
"version": "2.1.2",
"contributors": [

@@ -48,3 +48,3 @@ {

"peerDependencies": {
"@csstools/css-parser-algorithms": "^2.2.0",
"@csstools/css-parser-algorithms": "^2.3.0",
"@csstools/css-tokenizer": "^2.1.1"

@@ -51,0 +51,0 @@ },

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