@next/font
Advanced tools
Comparing version 12.3.2-canary.3 to 12.3.2-canary.5
@@ -1,13 +0,3 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
declare type FontLoaderOptions = { | ||
functionName: string; | ||
data: any[]; | ||
config: any; | ||
emitFontFile: (content: Buffer, ext: string, preload: boolean) => string; | ||
}; | ||
export default function downloadGoogleFonts({ functionName, data, config, emitFontFile, }: FontLoaderOptions): Promise<{ | ||
css: any; | ||
fallbackFonts: string[] | undefined; | ||
}>; | ||
export {}; | ||
import type { FontLoader } from 'next/font'; | ||
declare const downloadGoogleFonts: FontLoader; | ||
export default downloadGoogleFonts; |
@@ -11,3 +11,3 @@ "use strict"; | ||
const utils_1 = require("./utils"); | ||
async function downloadGoogleFonts({ functionName, data, config, emitFontFile, }) { | ||
const downloadGoogleFonts = async ({ functionName, data, config, emitFontFile, }) => { | ||
var _a, _b; | ||
@@ -76,3 +76,3 @@ if (!(config === null || config === void 0 ? void 0 : config.subsets)) { | ||
}; | ||
} | ||
}; | ||
exports.default = downloadGoogleFonts; |
{ | ||
"name": "@next/font", | ||
"version": "12.3.2-canary.3", | ||
"version": "12.3.2-canary.5", | ||
"repository": { | ||
@@ -10,3 +10,4 @@ "url": "vercel/next.js", | ||
"dist", | ||
"google" | ||
"google", | ||
"local" | ||
], | ||
@@ -23,3 +24,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "cc1e35d821e72e191a01635cd7e97c48d36afbc3" | ||
"gitHead": "66ca4c21eb9504abd46b5d3064e905af52302bdc" | ||
} |
Sorry, the diff of this file is too big to display
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
555489
24
20830