fontmin-rs 0.1.0-rc.2 → 0.1.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/bin/fontmin-rs.mjs
CHANGED
|
@@ -53,7 +53,7 @@ const DEFAULT_CONFIG_FILES = [
|
|
|
53
53
|
const MODULE_CONFIG_EXTENSIONS = new Set(['.ts', '.mts', '.mjs', '.cjs'])
|
|
54
54
|
const INIT_CONFIG_FILE = 'fontmin.config.jsonc'
|
|
55
55
|
const CACHE_SCHEMA_VERSION = 'v1'
|
|
56
|
-
const FONTMIN_VERSION = '0.1.0
|
|
56
|
+
const FONTMIN_VERSION = '0.1.0'
|
|
57
57
|
const DEFAULT_CACHE_DIR = 'node_modules/.cache/fontmin-rs'
|
|
58
58
|
let emitWarnings = true
|
|
59
59
|
let temporaryFileCounter = 0
|
|
@@ -512,7 +512,7 @@ function assertWasmOptionSupported(operation, name, value) {
|
|
|
512
512
|
//#endregion
|
|
513
513
|
//#region src/optimize.ts
|
|
514
514
|
const CACHE_SCHEMA_VERSION = "v1";
|
|
515
|
-
const FONTMIN_VERSION = "0.1.0
|
|
515
|
+
const FONTMIN_VERSION = "0.1.0";
|
|
516
516
|
const DEFAULT_CACHE_DIR = "node_modules/.cache/fontmin-rs";
|
|
517
517
|
const DEFAULT_SVG_ICON_START_UNICODE = 57345;
|
|
518
518
|
const CSS_GLYPHS_META_KEY = "cssGlyphs";
|
package/dist/compat.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as woff2ToTtf, a as generateFontFaceCss, b as defineConfig, c as subsetTtf, d as ttfToEot, f as ttfToSvg, g as validateWoff2, h as ttfToWoff2Async, i as eotToTtf, l as svgFontToTtf, m as ttfToWoff2, n as optimize, o as inspect, p as ttfToWoff, r as analyzeCoverage, s as otfToTtf, t as FontminCompat, u as svgsToTtf, v as woffToTtf, x as loadConfig, y as FontminDiagnosticError } from "./compat-
|
|
1
|
+
import { _ as woff2ToTtf, a as generateFontFaceCss, b as defineConfig, c as subsetTtf, d as ttfToEot, f as ttfToSvg, g as validateWoff2, h as ttfToWoff2Async, i as eotToTtf, l as svgFontToTtf, m as ttfToWoff2, n as optimize, o as inspect, p as ttfToWoff, r as analyzeCoverage, s as otfToTtf, t as FontminCompat, u as svgsToTtf, v as woffToTtf, x as loadConfig, y as FontminDiagnosticError } from "./compat-BxDug9v3.mjs";
|
|
2
2
|
import { css, definePlugin, deliverySlices, glyph, modernWeb, otf2ttf, svg2ttf, svgs2ttf, ttf2eot, ttf2svg, ttf2woff, ttf2woff2 } from "./plugins.mjs";
|
|
3
3
|
import { fontminCompatPreset } from "./presets.mjs";
|
|
4
4
|
export { FontminDiagnosticError, analyzeCoverage, css, FontminCompat as default, defineConfig, definePlugin, deliverySlices, eotToTtf, fontminCompatPreset, generateFontFaceCss, glyph, inspect, loadConfig, modernWeb, optimize, otf2ttf, otfToTtf, subsetTtf, svg2ttf, svgFontToTtf, svgs2ttf, svgsToTtf, ttf2eot, ttf2svg, ttf2woff, ttf2woff2, ttfToEot, ttfToSvg, ttfToWoff, ttfToWoff2, ttfToWoff2Async, validateWoff2, woff2ToTtf, woffToTtf };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fontmin-rs",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Fast font subsetter and converter written in Rust with Node.js bindings.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"font",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"jsonc-parser": "^3.3.1",
|
|
60
60
|
"tinyglobby": "^0.2.17",
|
|
61
|
-
"@fontmin-rs/wasm": "0.1.0
|
|
61
|
+
"@fontmin-rs/wasm": "0.1.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@ntnyq/tsconfig": "^3.1.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"vitest": "^4.1.10"
|
|
71
71
|
},
|
|
72
72
|
"optionalDependencies": {
|
|
73
|
-
"@fontmin-rs/binding": "0.1.0
|
|
73
|
+
"@fontmin-rs/binding": "0.1.0"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": ">=22.0.0"
|