@react-pdf/layout
Advanced tools
Comparing version 2.0.16 to 2.0.17
@@ -74,5 +74,5 @@ "use strict"; | ||
underlineStyle: textDecorationStyle, | ||
underline: textDecoration === 'underline', | ||
underline: textDecoration === 'underline' || textDecoration === 'underline line-through' || textDecoration === 'line-through underline', | ||
underlineColor: textDecorationColor || fill, | ||
strike: textDecoration === 'line-through', | ||
strike: textDecoration === 'line-through' || textDecoration === 'underline line-through' || textDecoration === 'line-through underline', | ||
strikeStyle: textDecorationStyle, | ||
@@ -79,0 +79,0 @@ strikeColor: textDecorationColor || fill |
@@ -86,4 +86,4 @@ "use strict"; | ||
underlineStyle: textDecorationStyle, | ||
underline: textDecoration === 'underline', | ||
strike: textDecoration === 'line-through', | ||
underline: textDecoration === 'underline' || textDecoration === 'underline line-through' || textDecoration === 'line-through underline', | ||
strike: textDecoration === 'line-through' || textDecoration === 'underline line-through' || textDecoration === 'line-through underline', | ||
strikeColor: textDecorationColor || color, | ||
@@ -90,0 +90,0 @@ underlineColor: textDecorationColor || color, |
{ | ||
"name": "@react-pdf/layout", | ||
"version": "2.0.16", | ||
"version": "2.0.17", | ||
"license": "MIT", | ||
@@ -19,5 +19,5 @@ "author": "Diego Muracciole <diegomuracciole@gmail.com>", | ||
"@react-pdf/primitives": "^2.0.0", | ||
"@react-pdf/stylesheet": "^2.0.8", | ||
"@react-pdf/stylesheet": "^2.0.9", | ||
"@react-pdf/textkit": "^2.0.5", | ||
"@react-pdf/types": "^2.0.3", | ||
"@react-pdf/types": "^2.0.4", | ||
"@react-pdf/yoga": "^2.0.2", | ||
@@ -35,3 +35,3 @@ "cross-fetch": "^3.0.4", | ||
], | ||
"gitHead": "a21154486d41597aadd8b44b0d3b6c882a1cfd15" | ||
"gitHead": "c436c93efd06c9c6dc815a2e951a411d085bf27f" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145184
Updated@react-pdf/stylesheet@^2.0.9
Updated@react-pdf/types@^2.0.4