@csstools/postcss-hwb-function
Advanced tools
Comparing version 2.1.1 to 2.2.0
# Changes to PostCSS HWB Function | ||
### 2.2.0 (March 25, 2023) | ||
- Add `@csstools/css-color-parser` dependency for all color value transformations. | ||
- Add support for `calc` expressions in color components. | ||
### 2.1.1 (February 8, 2023) | ||
@@ -4,0 +9,0 @@ |
import type { Node } from 'postcss'; | ||
export declare const atSupportsHwbParams = "(color: hwb(0 0% 0%))"; | ||
export declare function hasSupportsAtRuleAncestor(node: Node): boolean; |
{ | ||
"name": "@csstools/postcss-hwb-function", | ||
"description": "Use hwb() color functions in CSS", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
@@ -33,4 +33,5 @@ "license": "CC0-1.0", | ||
"dependencies": { | ||
"@csstools/color-helpers": "^1.0.0", | ||
"postcss-value-parser": "^4.2.0" | ||
"@csstools/css-color-parser": "^1.0.0", | ||
"@csstools/css-parser-algorithms": "^2.0.1", | ||
"@csstools/css-tokenizer": "^2.1.0" | ||
}, | ||
@@ -40,13 +41,11 @@ "peerDependencies": { | ||
}, | ||
"devDependencies": { | ||
"@csstools/postcss-tape": "*" | ||
}, | ||
"scripts": { | ||
"prebuild": "npm run clean", | ||
"build": "rollup -c ../../rollup/default.mjs", | ||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"", | ||
"docs": "node ../../.github/bin/generate-docs/install.mjs", | ||
"lint": "npm run lint:eslint && npm run lint:package-json", | ||
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern", | ||
"lint:package-json": "node ../../.github/bin/format-package-json.mjs", | ||
"prepublishOnly": "npm run clean && npm run build && npm run test", | ||
"test": "node .tape.mjs && npm run test:exports", | ||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs", | ||
"lint": "node ../../.github/bin/format-package-json.mjs", | ||
"prepublishOnly": "npm run build && npm run test", | ||
"test": "node .tape.mjs && node ./test/_import.mjs && node ./test/_require.cjs", | ||
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs" | ||
@@ -53,0 +52,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
20365
4
1
10
28
+ Added@csstools/color-helpers@4.2.1(transitive)
+ Added@csstools/css-calc@1.2.4(transitive)
+ Added@csstools/css-color-parser@1.6.3(transitive)
+ Added@csstools/css-parser-algorithms@2.7.1(transitive)
+ Added@csstools/css-tokenizer@2.4.1(transitive)
- Removed@csstools/color-helpers@^1.0.0
- Removedpostcss-value-parser@^4.2.0
- Removed@csstools/color-helpers@1.0.0(transitive)
- Removedpostcss-value-parser@4.2.0(transitive)