@csstools/media-query-list-parser
Advanced tools
Comparing version 2.1.3 to 2.1.4
# 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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
125362
1126