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

@csstools/postcss-text-decoration-shorthand

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csstools/postcss-text-decoration-shorthand - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

76

CHANGELOG.md
# Changes to PostCSS Text Decoration Shorthand
### 3.0.4
_December 15, 2023_
- Fix type definitions
- Updated [`@csstools/color-helpers`](https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers) to [`4.0.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers/CHANGELOG.md#400) (major)
### 3.0.3

@@ -15,69 +22,2 @@

### 3.0.1
_August 28, 2023_
- Updated [`@csstools/color-helpers`](https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers) to [`3.0.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers/CHANGELOG.md#301) (patch)
### 3.0.0
_July 3, 2023_
- Change license to `MIT-0` ([read more about this change in the blog post](https://preset-env.cssdb.org/blog/license-change/))
- Updated [`@csstools/color-helpers`](https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers) to [`3.0.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers/CHANGELOG.md#300) (major)
### 2.2.4
_May 19, 2023_
- Updated `@csstools/color-helpers` to `2.1.0` (minor)
### 2.2.3
_April 10, 2023_
- Updated: `@csstools/color-helpers` to `v2.0.0`
### 2.2.2
_March 25, 2023_
- Add `color-mix` as a known color function.
### 2.2.1
_February 13, 2023_
- Updated: `preserve` option defaults to `true`
### 2.2.0
_February 2, 2023_
- Add: `@csstools/color-helpers` dependency for the named colors list.
### 2.1.0
_January 28, 2023_
- Add: support for multiple line values (`text-decoration: overline underline;`)
### 2.0.1
_January 28, 2023_
- Improve `types` declaration in `package.json`
### 2.0.0
_January 24, 2023_
- Updated: Support for Node v14+ (major).
- Add: `-webkit-text-decoration` shorthand for single value `text-decoration: underline;`. [autoprefixer 1473](https://github.com/postcss/autoprefixer/issues/1473#issuecomment-1243370592)
### 1.0.0
_August 15, 2022_
- Initial version
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-text-decoration-shorthand/CHANGELOG.md)

10

dist/index.d.ts
import type { PluginCreator } from 'postcss';
declare const creator: PluginCreator<pluginOptions>;
export default creator;
/** postcss-text-decoration-shorthand plugin options */
export type pluginOptions = {
export declare type pluginOptions = {
/** Preserve the original notation. default: true */
preserve?: boolean;
};
declare const creator: PluginCreator<pluginOptions>;
export default creator;
export { }
{
"name": "@csstools/postcss-text-decoration-shorthand",
"description": "Use text-decoration in it's shorthand form in CSS",
"version": "3.0.3",
"version": "3.0.4",
"contributors": [

@@ -30,11 +30,14 @@ {

},
"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"
}
}

@@ -49,3 +52,3 @@ },

"dependencies": {
"@csstools/color-helpers": "^3.0.2",
"@csstools/color-helpers": "^4.0.0",
"postcss-value-parser": "^4.2.0"

@@ -56,14 +59,2 @@ },

},
"devDependencies": {
"@csstools/postcss-tape": "*",
"autoprefixer": "^10.4.15"
},
"scripts": {
"build": "rollup -c ../../rollup/default.mjs",
"docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs",
"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"
},
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-text-decoration-shorthand#readme",

@@ -82,12 +73,3 @@ "repository": {

"text-decoration-thickness"
],
"csstools": {
"cssdbId": "text-decoration-shorthand",
"exportName": "postcssTextDecorationShorthand",
"humanReadableName": "PostCSS Text Decoration Shorthand",
"specUrl": "https://drafts.csswg.org/css-text-decor-4/#text-decoration-property"
},
"volta": {
"extends": "../../package.json"
}
]
}
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