summaryrefslogtreecommitdiff
path: root/node_modules/postcss-color-hex-alpha
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
commitf06956efd2dc4bf77244a9fcce2b883a00b925af (patch)
tree0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/postcss-color-hex-alpha
parent8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff)
updated node modules
Diffstat (limited to 'node_modules/postcss-color-hex-alpha')
-rw-r--r--node_modules/postcss-color-hex-alpha/CHANGELOG.md97
-rw-r--r--node_modules/postcss-color-hex-alpha/README.md4
-rw-r--r--node_modules/postcss-color-hex-alpha/dist/has-fallback-decl.d.ts2
-rw-r--r--node_modules/postcss-color-hex-alpha/dist/index.d.ts10
-rw-r--r--node_modules/postcss-color-hex-alpha/package.json53
5 files changed, 41 insertions, 125 deletions
diff --git a/node_modules/postcss-color-hex-alpha/CHANGELOG.md b/node_modules/postcss-color-hex-alpha/CHANGELOG.md
index c59bd1e3..e86c9da3 100644
--- a/node_modules/postcss-color-hex-alpha/CHANGELOG.md
+++ b/node_modules/postcss-color-hex-alpha/CHANGELOG.md
@@ -1,98 +1,21 @@
# Changes to PostCSS Color Hex Alpha
-### 9.0.2 (February 6, 2023)
+### 9.0.3
-- Reduce the amount of duplicate fallback CSS.
-
-### 9.0.1 (January 28, 2023)
-
-- Improve `types` declaration in `package.json`
-
-### 9.0.0 (January 24, 2023)
-
-- Updated: Support for Node v14+ (major).
-
-### 8.0.4 (June 10, 2022)
-
-- Fixed: Issue with SVG hashes being interpreted as hex colors
-
-### 8.0.3 (February 5, 2022)
-
-- Improved `es module` and `commonjs` compatibility
-
-### 8.0.2 (January 2, 2022)
-
-- Removed Sourcemaps from package tarball.
-- Moved CLI to CLI Package. See [announcement](https://github.com/csstools/postcss-plugins/discussions/121).
-
-### 8.0.1 (December 16, 2021)
-
-- Changed: now uses `postcss-value-parser` for parsing.
-- Updated: documentation
-
-### 8.0.0 (September 22, 2021)
-
-- Updated: PostCSS Values Parser to v8 (major).
-- Added missing `dist` to bundle.
-- Added missing `exports` to `package.json`
-- Added missing `types` to `package.json`
-- Added bundling & testing as prepublish step.
-
-### 7.0.0 (January 12, 2021)
+_December 15, 2023_
-- Updated: Support for PostCSS v8+
+- Fix type definitions
-### 6.0.0 (April 25, 2020)
+### 9.0.2
-- Updated: `postcss` to 7.0.27 (patch).
-- Updated: `postcss-values-parser` to 3.2.0 (major).
-- Updated: Node support to 10.0.0 (major).
-- Updated: Feature to use new percentage syntax.
-- Removed: Support for the removed `gray()` function.
+_February 6, 2023_
-### 5.0.3 (March 30, 2019)
-
-- Fixed: Issue with SVG hashes being interpretted as hex colors
-- Updated: `postcss` to 7.0.14 (patch)
-- Updated: `postcss-values-parser` to 2.0.1 (patch)
-
-### 5.0.2 (September 18, 2018)
-
-- Updated: PostCSS Values Parser 2 (patch for this project)
-
-### 5.0.1 (September 18, 2018)
-
-- Fixed: Issue correclty calculating each channel
-
-### 5.0.0 (September 18, 2018)
-
-- Initial version
-
-### 4.0.0 (September 17, 2018)
-
-- Updated: Support for PostCSS v7+
-- Updated: Support for Node v6+
-- Updated: color v3+
-
-### 3.0.0 (May 15, 2017)
-
-- Added: compatibility with postcss v6.x
-- Updated dependencies
-
-### 2.0.0 (September 8, 2015)
-
-- Added: compatibility with postcss v5.x
-- Removed: compatiblity with postcss v4.x
-
-### 1.3.0 (August 13, 2015)
-
-- Added: compatibility with postcss v4.1.x
-([#3](https://github.com/postcss/postcss-color-hex-alpha/pull/3))
+- Reduce the amount of duplicate fallback CSS.
-### 1.1.0 (November 25, 2014)
+### 9.0.1
-- Enhanced exceptions
+_January 28, 2023_
-### 1.0.0 - (October 4, 2014)
+- Improve `types` declaration in `package.json`
-Initial release from [postcss-color](https://github.com/postcss/postcss-color)
+[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-hex-alpha/CHANGELOG.md)
diff --git a/node_modules/postcss-color-hex-alpha/README.md b/node_modules/postcss-color-hex-alpha/README.md
index 9c992a82..8011cb87 100644
--- a/node_modules/postcss-color-hex-alpha/README.md
+++ b/node_modules/postcss-color-hex-alpha/README.md
@@ -2,6 +2,10 @@
[<img alt="npm version" src="https://img.shields.io/npm/v/postcss-color-hex-alpha.svg" height="20">][npm-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/hexadecimal-alpha-notation.svg" height="20">][css-url] [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url] [<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]
+```bash
+npm install postcss-color-hex-alpha --save-dev
+```
+
[PostCSS Color Hex Alpha] lets you use 4 & 8 character hex color notation in
CSS, following the [CSS Color Module] specification.
diff --git a/node_modules/postcss-color-hex-alpha/dist/has-fallback-decl.d.ts b/node_modules/postcss-color-hex-alpha/dist/has-fallback-decl.d.ts
deleted file mode 100644
index d7ae8d89..00000000
--- a/node_modules/postcss-color-hex-alpha/dist/has-fallback-decl.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { Declaration } from 'postcss';
-export declare function hasFallback(node: Declaration): boolean;
diff --git a/node_modules/postcss-color-hex-alpha/dist/index.d.ts b/node_modules/postcss-color-hex-alpha/dist/index.d.ts
index 10220232..ce39d2bc 100644
--- a/node_modules/postcss-color-hex-alpha/dist/index.d.ts
+++ b/node_modules/postcss-color-hex-alpha/dist/index.d.ts
@@ -1,8 +1,12 @@
import type { PluginCreator } from 'postcss';
+
+declare const creator: PluginCreator<pluginOptions>;
+export default creator;
+
/** postcss-color-hex-alpha plugin options */
-export type pluginOptions = {
+export declare type pluginOptions = {
/** Preserve the original notation. default: false */
preserve?: boolean;
};
-declare const creator: PluginCreator<pluginOptions>;
-export default creator;
+
+export { }
diff --git a/node_modules/postcss-color-hex-alpha/package.json b/node_modules/postcss-color-hex-alpha/package.json
index 6832ce07..e55b97d4 100644
--- a/node_modules/postcss-color-hex-alpha/package.json
+++ b/node_modules/postcss-color-hex-alpha/package.json
@@ -1,7 +1,7 @@
{
"name": "postcss-color-hex-alpha",
"description": "Use 4 & 8 character hex color notation in CSS",
- "version": "9.0.2",
+ "version": "9.0.3",
"contributors": [
{
"name": "Antonio Laguna",
@@ -21,22 +21,31 @@
}
],
"license": "MIT",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/csstools"
- },
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
"engines": {
"node": "^14 || ^16 || >=18"
},
+ "type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
- "types": "dist/index.d.ts",
"exports": {
".": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.mjs",
- "require": "./dist/index.cjs",
- "default": "./dist/index.mjs"
+ "import": {
+ "types": "./dist/index.d.ts",
+ "default": "./dist/index.mjs"
+ },
+ "require": {
+ "default": "./dist/index.cjs"
+ }
}
},
"files": [
@@ -51,19 +60,6 @@
"peerDependencies": {
"postcss": "^8.4"
},
- "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 && node ../../.github/bin/generate-docs/readme.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",
- "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
- },
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-hex-alpha#readme",
"repository": {
"type": "git",
@@ -86,14 +82,5 @@
"transparency",
"transparent",
"w3c"
- ],
- "csstools": {
- "cssdbId": "hexadecimal-alpha-notation",
- "exportName": "postcssColorHexAlpha",
- "humanReadableName": "PostCSS Color Hex Alpha",
- "specUrl": "https://www.w3.org/TR/css-color-4/#hex-notation"
- },
- "volta": {
- "extends": "../../package.json"
- }
+ ]
}