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
2
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 2.2.0 to 2.2.1

4

CHANGELOG.md
# Changes to PostCSS Text Decoration Shorthand
### 2.2.1 (February 13, 2023)
- Updated: `preserve` option defaults to `true`
### 2.2.0 (February 2, 2023)

@@ -4,0 +8,0 @@

2

dist/index.d.ts
import type { PluginCreator } from 'postcss';
/** postcss-text-decoration-shorthand plugin options */
export type pluginOptions = {
/** Preserve the original notation. default: false */
/** Preserve the original notation. default: true */
preserve?: boolean;

@@ -6,0 +6,0 @@ };

{
"name": "@csstools/postcss-text-decoration-shorthand",
"description": "Use text-decoration in it's shorthand form in CSS",
"version": "2.2.0",
"version": "2.2.1",
"contributors": [

@@ -6,0 +6,0 @@ {

@@ -18,2 +18,3 @@ # PostCSS Text Decoration Shorthand [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]

text-decoration-thickness: calc(0.01em * 25);
text-decoration: wavy underline purple 25%;
}

@@ -57,6 +58,6 @@ ```

The `preserve` option determines whether the original notation
is preserved. By default, it is not preserved.
is preserved. By default, it is preserved.
```js
postcssTextDecorationShorthand({ preserve: true })
postcssTextDecorationShorthand({ preserve: false })
```

@@ -75,3 +76,2 @@

text-decoration-thickness: calc(0.01em * 25);
text-decoration: wavy underline purple 25%;
}

@@ -78,0 +78,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