unplugin-fonts
Advanced tools
Comparing version 1.0.0 to 1.0.2
@@ -54,3 +54,3 @@ "use strict"; | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.14/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
var comma = ",".charCodeAt(0); | ||
@@ -1693,3 +1693,1 @@ var semicolon = ";".charCodeAt(0); | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
@@ -54,3 +54,3 @@ "use strict"; | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.14/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
var comma = ",".charCodeAt(0); | ||
@@ -1679,3 +1679,1 @@ var semicolon = ";".charCodeAt(0); | ||
var esbuild_default = src_default.esbuild; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
@@ -54,3 +54,3 @@ "use strict"; | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.14/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
var comma = ",".charCodeAt(0); | ||
@@ -1676,3 +1676,1 @@ var semicolon = ";".charCodeAt(0); | ||
}); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
@@ -548,3 +548,3 @@ "use strict"; | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.14/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
var comma = ",".charCodeAt(0); | ||
@@ -1698,3 +1698,1 @@ var semicolon = ";".charCodeAt(0); | ||
}); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
@@ -54,3 +54,3 @@ "use strict"; | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.14/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
var comma = ",".charCodeAt(0); | ||
@@ -1679,3 +1679,1 @@ var semicolon = ";".charCodeAt(0); | ||
var rollup_default = src_default.rollup; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
@@ -101,9 +101,14 @@ interface Options { | ||
} | ||
interface FontsourceFontFamily { | ||
interface BaseFontsourceFontFamily { | ||
name: string; | ||
variables?: ('variable' | 'variable-italic' | 'variable-full' | 'variable-full-italic')[]; | ||
weights: (100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900)[]; | ||
styles?: ('italic' | 'normal')[]; | ||
subset?: string; | ||
} | ||
interface WeightsFontsourceFontFamily extends BaseFontsourceFontFamily { | ||
weights: (100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900)[]; | ||
} | ||
interface VariableFontsourceFontFamily extends BaseFontsourceFontFamily { | ||
variables: ('variable' | 'variable-italic' | 'variable-full' | 'variable-full-italic')[]; | ||
} | ||
type FontsourceFontFamily = WeightsFontsourceFontFamily | VariableFontsourceFontFamily; | ||
interface FontsourceFonts { | ||
@@ -110,0 +115,0 @@ families: (string | FontsourceFontFamily)[]; |
@@ -54,3 +54,3 @@ "use strict"; | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.14/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
var comma = ",".charCodeAt(0); | ||
@@ -1679,3 +1679,1 @@ var semicolon = ";".charCodeAt(0); | ||
var vite_default = src_default.vite; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
@@ -54,3 +54,3 @@ "use strict"; | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.14/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs | ||
var comma = ",".charCodeAt(0); | ||
@@ -1679,3 +1679,1 @@ var semicolon = ";".charCodeAt(0); | ||
var webpack_default = src_default.webpack; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
{ | ||
"name": "unplugin-fonts", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"description": "Universal Webfont loader", | ||
@@ -113,9 +113,9 @@ "author": { | ||
"devDependencies": { | ||
"@antfu/eslint-config-ts": "^0.36.0", | ||
"@nuxt/kit": "^3.3.1", | ||
"@types/node": "^18.15.3", | ||
"@typescript-eslint/eslint-plugin": "^5.55.0", | ||
"@antfu/eslint-config-ts": "^0.38.4", | ||
"@nuxt/kit": "^3.4.1", | ||
"@types/node": "^18.15.11", | ||
"@typescript-eslint/eslint-plugin": "^5.58.0", | ||
"chalk": "^5.2.0", | ||
"defu": "^6.1.2", | ||
"eslint": "^8.36.0", | ||
"eslint": "^8.38.0", | ||
"eslint-plugin-eslint-comments": "^3.2.0", | ||
@@ -125,10 +125,10 @@ "esno": "^0.16.3", | ||
"pathe": "^1.1.0", | ||
"rollup": "^3.19.1", | ||
"rollup": "^3.20.2", | ||
"standard-version": "^9.5.0", | ||
"tsup": "^6.6.3", | ||
"typescript": "^5.0.2", | ||
"vite": "^4.2.0", | ||
"vitest": "^0.29.3", | ||
"webpack": "^5.76.2" | ||
"tsup": "^6.7.0", | ||
"typescript": "^5.0.4", | ||
"vite": "^4.2.1", | ||
"vitest": "^0.30.1", | ||
"webpack": "^5.79.0" | ||
} | ||
} |
@@ -116,3 +116,3 @@ # unplugin-fonts | ||
<details> | ||
<summary>SveltKit</summary><br> | ||
<summary>SvelteKit</summary><br> | ||
@@ -466,3 +466,3 @@ ```ts | ||
## Ressources | ||
## Resources | ||
@@ -469,0 +469,0 @@ - https://web.dev/optimize-webfont-loading/ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
422079
13596