Socket
Socket
Sign inDemoInstall

@csstools/media-query-list-parser

Package Overview
Dependencies
Maintainers
3
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.3 to 2.1.4

6

CHANGELOG.md
# Changes to Media Query List Parser
### 2.1.4
_August 5, 2023_
- Do not allow keywords as media feature values in range context queries.
### 2.1.3

@@ -4,0 +10,0 @@

1

dist/nodes/media-feature-range.d.ts

@@ -124,2 +124,1 @@ import { ComponentValue } from '@csstools/css-parser-algorithms';

export declare function parseMediaFeatureRange(componentValues: Array<ComponentValue>): MediaFeatureRange | false;
export declare const mediaDescriptors: Set<string>;

@@ -29,4 +29,4 @@ import { ComponentValue, ContainerNode } from '@csstools/css-parser-algorithms';

export type MediaFeatureValueWalkerParent = ContainerNode | MediaFeatureValue;
export declare function parseMediaFeatureValue(componentValues: Array<ComponentValue>): MediaFeatureValue | false;
export declare function parseMediaFeatureValue(componentValues: Array<ComponentValue>, inRangeContext?: boolean): MediaFeatureValue | false;
export declare function matchesRatioExactly(componentValues: Array<ComponentValue>): number[] | -1;
export declare function matchesRatio(componentValues: Array<ComponentValue>): number[] | -1;
{
"name": "@csstools/media-query-list-parser",
"description": "Parse CSS media query lists.",
"version": "2.1.3",
"version": "2.1.4",
"contributors": [

@@ -6,0 +6,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