subfont 6.5.0 → 6.6.0

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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,15 @@
1
- ### v6.4.2 (2022-06-13)
1
+ ### v6.5.0 (2022-07-09)
2
+
3
+ #### Pull requests
4
+
5
+ - [#162](https://github.com/Munter/subfont/pull/162) update changelog with proper version for 6.5.0 ([Jacob Lamont](mailto:cob@jacoblamont.com))
6
+
7
+ #### Commits to master
8
+
9
+ - [Fix extractReferencedCustomPropertyNames when there's a default value](https://github.com/Munter/subfont/commit/506375504384c1c292348427e98213482aadcae0) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))
10
+ - [Update font-tracer to ^3.2.0](https://github.com/Munter/subfont/commit/5028f72482be20a72a1301c4218820f89a950bdf) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))
11
+
12
+ ### v6.5.0 (2022-06-13)
2
13
 
3
14
  - [#161](https://github.com/Munter/subfont/pull/161) Add support for specifying additional characters to include in the subsets ([Andreas Lind](mailto:andreas.lind@workday.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com))
4
15
 
@@ -7,7 +7,7 @@ function extractReferencedCustomPropertyNames(cssValue) {
7
7
  if (
8
8
  node.type === 'function' &&
9
9
  node.value === 'var' &&
10
- node.nodes.length === 1 &&
10
+ node.nodes.length >= 1 &&
11
11
  node.nodes[0].type === 'word' &&
12
12
  /^--/.test(node.nodes[0].value)
13
13
  ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "subfont",
3
- "version": "6.5.0",
3
+ "version": "6.6.0",
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"
@@ -54,7 +54,7 @@
54
54
  "css-list-helpers": "^2.0.0",
55
55
  "font-family-papandreou": "^0.2.0-patch2",
56
56
  "font-snapper": "^1.2.0",
57
- "font-tracer": "^3.1.0",
57
+ "font-tracer": "^3.2.0",
58
58
  "fontkit": "^1.8.0",
59
59
  "fontverter": "^2.0.0",
60
60
  "gettemporaryfilepath": "^1.0.1",