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(node.value);
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
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "subfont",
3
- "version": "6.12.3",
3
+ "version": "6.12.4",
4
4
  "description": "Speeds up your pages initial paint by automatically subsetting local or Google fonts and loading them optimally",
5
5
  "engines": {
6
6
  "node": ">=10.0.0"