🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

postcss-calc

Package Overview
Dependencies
Maintainers
7
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-calc - npm Package Compare versions

Comparing version

to
10.1.0

14

package.json
{
"name": "postcss-calc",
"version": "10.0.2",
"version": "10.1.0",
"description": "PostCSS plugin to reduce calc()",

@@ -30,12 +30,12 @@ "keywords": [

"devDependencies": {
"@types/node": "^22.4.0",
"eslint": "^9.9.0",
"@types/node": "^22.10.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"jison-gho": "0.6.1-216",
"postcss": "^8.4.41",
"prettier": "^3.3.3",
"typescript": "~5.5.4"
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"typescript": "~5.7.2"
},
"dependencies": {
"postcss-selector-parser": "^6.1.2",
"postcss-selector-parser": "^7.0.0",
"postcss-value-parser": "^4.2.0"

@@ -42,0 +42,0 @@ },

@@ -50,2 +50,4 @@ 'use strict';

case 'PercentageValue':
case 'LhValue':
case 'RlhValue':
case 'Number':

@@ -52,0 +54,0 @@ return true;

@@ -10,3 +10,3 @@ 'use strict';

const MATCH_CALC = /((?:-(moz|webkit)-)?calc)/i;
const MATCH_CALC = /((?:-(moz|webkit)-)?calc(?!-))/i;

@@ -13,0 +13,0 @@ /**

@@ -54,3 +54,5 @@ export interface MathExpression {

| 'CqminValue'
| 'CqmaxValue';
| 'CqmaxValue'
| 'LhValue'
| 'RlhValue';
value: number;

@@ -57,0 +59,0 @@ unit: string;

Sorry, the diff of this file is too big to display