Socket
Socket
Sign inDemoInstall

@unocss/preset-web-fonts

Package Overview
Dependencies
Maintainers
1
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/preset-web-fonts - npm Package Compare versions

Comparing version 0.21.2 to 0.22.0

9

dist/index.d.ts

@@ -35,6 +35,13 @@ import { Preset } from '@unocss/core';

themeKey?: string;
/**
* Inline CSS @import()
*
* @default true
*/
inlineImports?: boolean;
}
interface Provider {
name: WebFontsProviders;
getPreflight(fonts: WebFontMeta[]): string;
getPreflight?(fonts: WebFontMeta[]): string;
getImportUrl?(fonts: WebFontMeta[]): string | undefined;
getFontName(font: WebFontMeta): string;

@@ -41,0 +48,0 @@ }

5

package.json
{
"name": "@unocss/preset-web-fonts",
"version": "0.21.2",
"version": "0.22.0",
"description": "Web Fonts support for Uno CSS",

@@ -45,3 +45,4 @@ "keywords": [

"dependencies": {
"@unocss/core": "0.21.2"
"axios": "^0.24.0",
"@unocss/core": "0.22.0"
},

@@ -48,0 +49,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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