Socket
Socket
Sign inDemoInstall

@csstools/css-calc

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csstools/css-calc - npm Package Compare versions

Comparing version 1.1.7 to 1.2.0

18

CHANGELOG.md
# Changes to CSS Calc
### 1.2.0
_March 13, 2024_
- Correctly serialize negative zero `-0` values
- Add support for `round()` with only a single number argument
- Add support for `none` in `clamp()`
- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.2.4`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#224) (patch)
- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.6.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#261) (patch)
### 1.1.7

@@ -16,10 +26,2 @@

### 1.1.5
_December 15, 2023_
- Fix type definitions
- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.2.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#222) (patch)
- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.4.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#240) (minor)
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md)

@@ -8,3 +8,3 @@ import { ComponentValue } from '@csstools/css-parser-algorithms';

export declare function calcFromComponentValues(componentValuesList: Array<Array<ComponentValue>>, options?: conversionOptions): ComponentValue[][];
export declare function calcFromComponentValues(componentValuesList: Array<Array<ComponentValue>>, options?: conversionOptions): Array<Array<ComponentValue>>;

@@ -11,0 +11,0 @@ export declare type conversionOptions = {

{
"name": "@csstools/css-calc",
"description": "Solve CSS math expressions",
"version": "1.1.7",
"version": "1.2.0",
"contributors": [

@@ -51,4 +51,4 @@ {

"peerDependencies": {
"@csstools/css-parser-algorithms": "^2.6.0",
"@csstools/css-tokenizer": "^2.2.3"
"@csstools/css-parser-algorithms": "^2.6.1",
"@csstools/css-tokenizer": "^2.2.4"
},

@@ -58,3 +58,3 @@ "homepage": "https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc#readme",

"type": "git",
"url": "https://github.com/csstools/postcss-plugins.git",
"url": "git+https://github.com/csstools/postcss-plugins.git",
"directory": "packages/css-calc"

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