@csstools/css-calc 1.2.4 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,24 +1,11 @@
1
1
  # Changes to CSS Calc
2
2
 
3
- ### 1.2.4
3
+ ### 2.0.0
4
4
 
5
- _July 6, 2024_
5
+ _August 3, 2024_
6
6
 
7
- - Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.4.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#241) (patch)
8
- - Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.7.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#271) (patch)
9
-
10
- ### 1.2.3
11
-
12
- _June 29, 2024_
13
-
14
- - Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.3.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#232) (patch)
15
- - Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.7.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#270) (minor)
16
-
17
- ### 1.2.2
18
-
19
- _May 4, 2024_
20
-
21
- - Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.3.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#231) (patch)
22
- - Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.6.3`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#263) (patch)
7
+ - Updated: Support for Node v18+ (major).
8
+ - Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`3.0.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#300) (major)
9
+ - Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`3.0.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#300) (major)
23
10
 
24
11
  [Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md)
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ComponentValue } from '@csstools/css-parser-algorithms';
1
+ import type { ComponentValue } from '@csstools/css-parser-algorithms';
2
2
  import type { TokenDimension } from '@csstools/css-tokenizer';
3
3
  import type { TokenNumber } from '@csstools/css-tokenizer';
4
4
  import type { TokenPercentage } from '@csstools/css-tokenizer';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@csstools/css-calc",
3
3
  "description": "Solve CSS math expressions",
4
- "version": "1.2.4",
4
+ "version": "2.0.0",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Antonio Laguna",
@@ -25,7 +25,7 @@
25
25
  }
26
26
  ],
27
27
  "engines": {
28
- "node": "^14 || ^16 || >=18"
28
+ "node": ">=18"
29
29
  },
30
30
  "type": "module",
31
31
  "main": "dist/index.cjs",
@@ -48,8 +48,8 @@
48
48
  "dist"
49
49
  ],
50
50
  "peerDependencies": {
51
- "@csstools/css-parser-algorithms": "^2.7.1",
52
- "@csstools/css-tokenizer": "^2.4.1"
51
+ "@csstools/css-parser-algorithms": "^3.0.0",
52
+ "@csstools/css-tokenizer": "^3.0.0"
53
53
  },
54
54
  "scripts": {},
55
55
  "homepage": "https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc#readme",