Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@csstools/postcss-hwb-function

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csstools/postcss-hwb-function - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

5

CHANGELOG.md
# 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 @@

1

dist/has-supports-at-rule-ancestor.d.ts
import type { Node } from 'postcss';
export declare const atSupportsHwbParams = "(color: hwb(0 0% 0%))";
export declare function hasSupportsAtRuleAncestor(node: Node): boolean;

21

package.json
{
"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

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