Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuxt/fonts

Package Overview
Dependencies
Maintainers
6
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/fonts - npm Package Versions

12

0.0.2

Diff

Changelog

Source

v0.0.2

compare changes

🚀 Enhancements

  • Minify injected css when building (e906ada)
  • deps: Update fontaine to use new capsize metrics (1800995)

🔥 Performance

  • Store font data in node_modules/.cache (ed3e9e5)
  • Update to use .cache/nuxt/fonts prefix for all caches (7b91b0d)

🩹 Fixes

  • google: Sort resolved variants when fetching font css (#33)
  • Don't add font storage to runtime 🙈 (c06dd6d)

📖 Documentation

  • Remove nightly instructions (760558b)

🏡 Chore

🤖 CI

  • Enable nightly release with provenance (fcc1e87)
  • Remove contents: read permission as repo is now public (ed4a2a9)
  • Add changelogensets (792de60)

❤️ Contributors

danielroe
published 0.0.1 •

Changelog

Source

v0.0.1

🚀 Enhancements

  • Add local and google providers (ade031f)
  • local: Support looking up pascal-case fonts (ad3ee31)
  • Support configure injecting fonts globally (26fa0b3)
  • Support passing options to font providers (306d2df)
  • Add extractFontFaceData utility (0409ed1)
  • Download (prod) or proxy (dev) provider font urls (3774f06)
  • Add bunny provider (3773a9d)
  • Add automatic font metric optimisation (ac0888b)
  • Add fontshare provider (#4)
  • Expose defineFontProvider helper from ./utils subpath (cf31dbb)

🔥 Performance

  • Cache google/bunny font metadata (ca2ddb1)
  • Cache proxied fonts between requests (89caf13)

🩹 Fixes

  • Improve handling of overrides for font families (36123e1)
  • transform: Skip injecting declarations based on @font-face (0cb114b)
  • transform: Skip adding existing @font-face declarations (79f9c58)
  • Use jiti to load custom font providers (a840e4d)
  • Log when we are downloading fonts (b1049ee)
  • transform: Only add @font-face for first font in list (0493d36)
  • Prepend local font sources (70fc384)
  • Skip processing some known libraries (827409b)
  • Handle network errors fetching font metadata (7be6d40)
  • Add prefix in data: (0a9bf59)
  • Display more info about fonts download (72f1393)
  • fontshare: Return empty array when there's an error (96accaa)
  • transform: Run additional transform step when rendering bundle (d899315)
  • parse: Handle unquoted multi-word font families (5b72725)
  • parse: Use buffer strategy for parsing downloaded css (362e2d4)
  • transform: Inject fallback in correct location with multi word fonts (3e67278)
  • Respect custom defaults via families (d2c9ac1)
  • google: Handle variable font weights (4a9bc4d)
  • Provide metrics for fallback (4ada63d)
  • Add system-ui fallbacks (b707f62)
  • Use fallback font, not rendered name (0c32d01)

💅 Refactors

📖 Documentation

  • Update roadmap (19e7a3d)
  • Update todo (59e1189)
  • Update roadmap (856fad8)
  • Add initial project documentation (bf0c2e2)
  • Mention tailwind/uno support and deep scan of directories (a27900d)

🏡 Chore

✅ Tests

  • Update test cases (ce1f4ae)
  • Add more granular tests in suite (a195a91)
  • Add test for none (ddcc31a)
  • Add directories to clean up tests (18947c4)
  • Add test/example for custom providers (3dc5f54)
  • Update test case (9f19d53)

🤖 CI

  • Release package to nightly channel (cb826b5)
  • Grant read permissions to release script (0c4eefb)
  • Disable provenance for now (db81bc2)
  • Disable differently (38a44b1)

❤️ Contributors

danielroe
published 0.0.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc