mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-19 14:07:19 +02:00
fix: bundle fonts
This commit is contained in:
1 parent
3b57ace646
commit
c9f2cf8a12
6 files changed
+24
-12
No files matched your search
@@ -40,6 +40,8 @@ const LEGACY_LICENSE_EXPRESSIONS = new Map([
|
||||
["MIT/Apache-2.0", "Apache-2.0 OR MIT"],
|
||||
["MIT OR Apache-2.0", "Apache-2.0 OR MIT"],
|
||||
["Unlicense/MIT", "MIT OR Unlicense"],
|
||||
// The bundled Geist fonts name their license in words.
|
||||
["SIL OPEN FONT LICENSE", "OFL-1.1"],
|
||||
]);
|
||||
|
||||
const HOST_ONLY_PNPM_NATIVE_PREFIXES = [
|
||||
|
||||
@@ -14,6 +14,7 @@ test("normalizes legacy dual-license metadata into SPDX expressions", () => {
|
||||
normalizeLicenseExpression("MIT/Apache-2.0"),
|
||||
"Apache-2.0 OR MIT",
|
||||
);
|
||||
assert.equal(normalizeLicenseExpression("SIL OPEN FONT LICENSE"), "OFL-1.1");
|
||||
assert.equal(
|
||||
normalizeLicenseExpression("Apache-2.0 OR MIT"),
|
||||
"Apache-2.0 OR MIT",
|
||||
|
||||
Reference in new issue
Block a user