subfont 6.12.3 → 6.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -147,7 +147,9 @@ function getCssRulesByProperty(properties, cssSource, existingPredicates) {
|
|
|
147
147
|
}
|
|
148
148
|
} else if (propName === 'animation') {
|
|
149
149
|
// Shorthand
|
|
150
|
-
const parsedAnimation = parseAnimationShorthand.parseSingle(
|
|
150
|
+
const parsedAnimation = parseAnimationShorthand.parseSingle(
|
|
151
|
+
node.value
|
|
152
|
+
).value;
|
|
151
153
|
|
|
152
154
|
if (properties.includes('animation-name')) {
|
|
153
155
|
// Split up combined selectors as they might have different specificity
|
package/lib/subsetFonts.js
CHANGED
|
@@ -94,7 +94,7 @@ function isOutOfBoundsAnimationTimingFunction(animationTimingFunctionStr) {
|
|
|
94
94
|
}
|
|
95
95
|
const { timingFunction } = parseAnimationShorthand.parseSingle(
|
|
96
96
|
`${animationTimingFunctionStr} ignored-name`
|
|
97
|
-
);
|
|
97
|
+
).value;
|
|
98
98
|
|
|
99
99
|
if (timingFunction.type === 'cubic-bezier') {
|
|
100
100
|
const [, y1, , y2] = timingFunction.value;
|