postcss-color-hex-alpha
Advanced tools
Comparing version 8.0.0 to 8.0.1
# Changes to PostCSS Color Hex Alpha | ||
### 8.0.1 (December 16, 2021) | ||
- Changed: now uses `postcss-value-parser` for parsing. | ||
- Updated: documentation | ||
### 8.0.0 (September 22, 2021) | ||
@@ -4,0 +9,0 @@ |
@@ -16,3 +16,3 @@ # Installing PostCSS Color Hex Alpha | ||
Use [PostCSS Color Hex Alpha] to process your CSS: | ||
Use [PostCSS Color Hex Alpha] as a [PostCSS] plugin: | ||
@@ -169,4 +169,4 @@ ```js | ||
[PostCSS Loader]: https://github.com/postcss/postcss-loader | ||
[PostCSS Color Hex Alpha]: https://github.com/postcss/postcss-color-hex-alpha | ||
[PostCSS Color Hex Alpha]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-hex-alpha | ||
[React App Rewire PostCSS]: https://github.com/csstools/react-app-rewire-postcss | ||
[React App Rewired]: https://github.com/timarney/react-app-rewired |
{ | ||
"name": "postcss-color-hex-alpha", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Use 4 & 8 character hex color notation in CSS", | ||
@@ -10,57 +10,38 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
"license": "MIT", | ||
"repository": "postcss/postcss-color-hex-alpha", | ||
"homepage": "https://github.com/postcss/postcss-color-hex-alpha#readme", | ||
"bugs": "https://github.com/postcss/postcss-color-hex-alpha/issues", | ||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-hex-alpha#readme", | ||
"bugs": "https://github.com/csstools/postcss-plugins/issues", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs", | ||
"types": "./dist/index.d.ts" | ||
} | ||
"types": "index.d.ts", | ||
"files": [ | ||
"CHANGELOG.md", | ||
"INSTALL.md", | ||
"LICENSE.md", | ||
"README.md", | ||
"dist", | ||
"index.d.ts" | ||
], | ||
"bin": { | ||
"postcss-color-hex-alpha": "dist/cli.mjs" | ||
}, | ||
"scripts": { | ||
"build": "npx rollup -c .rollup.js", | ||
"build:watch": "npx rollup -c .rollup.js --watch", | ||
"lint": "npx eslint --cache src", | ||
"lint:fix": "npx eslint --cache --fix", | ||
"pretest": "npm install && npm run build", | ||
"test": "npm run lint && npm run tape", | ||
"tape": "npx postcss-tape", | ||
"prepublishOnly": "npm test" | ||
"build": "rollup -c ../../rollup/default.js", | ||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"", | ||
"lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern", | ||
"prepublishOnly": "npm run clean && npm run build && npm run test", | ||
"stryker": "stryker run --logLevel error", | ||
"test": "postcss-tape --ci" | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
"node": "^12 || ^14 || >=16" | ||
}, | ||
"dependencies": { | ||
"postcss-values-parser": "^6.0.0" | ||
"postcss-value-parser": "^4.2.0" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.3.7" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.15.5", | ||
"@babel/preset-env": "^7.15.6", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"eslint": "^7.32.0", | ||
"postcss": "^8.3.7", | ||
"postcss-tape": "^6.0.1", | ||
"pre-commit": "^1.2.2", | ||
"rollup": "^2.57.0", | ||
"rollup-plugin-copy": "^3.4.0" | ||
"postcss": "^8.3.6", | ||
"postcss-tape": "^6.0.1" | ||
}, | ||
"eslintConfig": { | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"sourceType": "module" | ||
}, | ||
"root": true | ||
"peerDependencies": { | ||
"postcss": "^8.3" | ||
}, | ||
@@ -82,3 +63,11 @@ "keywords": [ | ||
"spec" | ||
] | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/csstools/postcss-plugins.git", | ||
"directory": "plugins/postcss-color-hex-alpha" | ||
}, | ||
"volta": { | ||
"extends": "../../package.json" | ||
} | ||
} |
@@ -33,3 +33,3 @@ # PostCSS Color Hex Alpha [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS" width="90" height="90" align="right">][postcss] | ||
Use [PostCSS Color Hex Alpha] to process your CSS: | ||
Use [PostCSS Color Hex Alpha] as a [PostCSS] plugin: | ||
@@ -76,4 +76,4 @@ ```js | ||
[cli-img]: https://github.com/postcss/postcss-color-hex-alpha/workflows/test/badge.svg | ||
[cli-url]: https://github.com/postcss/postcss-color-hex-alpha/actions/workflows/test.yml?query=workflow/test | ||
[cli-img]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml/badge.svg | ||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test | ||
[css-img]: https://cssdb.org/badge/hexadecimal-alpha-notation.svg | ||
@@ -87,3 +87,3 @@ [css-url]: https://cssdb.org/#hexadecimal-alpha-notation | ||
[PostCSS]: https://github.com/postcss/postcss | ||
[PostCSS Color Hex Alpha]: https://github.com/postcss/postcss-color-hex-alpha | ||
[PostCSS Color Hex Alpha]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-hex-alpha | ||
[CSS Color Module]: https://www.w3.org/TR/css-color-4/#hex-notation |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
105812
2
11
347
1
12
3
+ Addedpostcss-value-parser@^4.2.0
+ Addedpostcss-value-parser@4.2.0(transitive)
- Removedpostcss-values-parser@^6.0.0
- Removedcolor-name@1.1.4(transitive)
- Removedis-url-superb@4.0.0(transitive)
- Removedpostcss-values-parser@6.0.2(transitive)
- Removedquote-unquote@1.0.0(transitive)