Skip to content

Commit b32dffa

Browse files
fix(fonts): upstream unifont unicode range (#13715)
1 parent 24c26d0 commit b32dffa

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

.changeset/tender-pugs-chew.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Updates `unifont` to fix a case where a `unicodeRange` related error would be thrown when using the experimental fonts API

packages/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
"tinyglobby": "^0.2.12",
161161
"tsconfck": "^3.1.5",
162162
"ultrahtml": "^1.6.0",
163-
"unifont": "~0.4.0",
163+
"unifont": "~0.4.1",
164164
"unist-util-visit": "^5.0.0",
165165
"unstorage": "^1.15.0",
166166
"vfile": "^6.0.3",

packages/astro/test/fonts.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import assert from 'node:assert/strict';
21
// @ts-check
2+
import assert from 'node:assert/strict';
33
import { after, before, describe, it } from 'node:test';
44
import { fontProviders } from 'astro/config';
55
import * as cheerio from 'cheerio';

pnpm-lock.yaml

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)