@next/font
Advanced tools
Comparing version 15.0.0-canary.54 to 15.0.0-canary.55
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.fetchCSSFromGoogleFonts = void 0; | ||
exports.fetchCSSFromGoogleFonts = fetchCSSFromGoogleFonts; | ||
// @ts-ignore | ||
@@ -66,2 +66,1 @@ const node_fetch_1 = __importDefault(require("next/dist/compiled/node-fetch")); | ||
} | ||
exports.fetchCSSFromGoogleFonts = fetchCSSFromGoogleFonts; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.fetchFontFile = void 0; | ||
exports.fetchFontFile = fetchFontFile; | ||
// @ts-ignore | ||
@@ -40,2 +40,1 @@ const node_fetch_1 = __importDefault(require("next/dist/compiled/node-fetch")); | ||
} | ||
exports.fetchFontFile = fetchFontFile; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findFontFilesInCss = void 0; | ||
exports.findFontFilesInCss = findFontFilesInCss; | ||
/** | ||
@@ -35,2 +35,1 @@ * Find all font files in the CSS response and determine which files should be preloaded. | ||
} | ||
exports.findFontFilesInCss = findFontFilesInCss; |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getFallbackFontOverrideMetrics = void 0; | ||
exports.getFallbackFontOverrideMetrics = getFallbackFontOverrideMetrics; | ||
// @ts-ignore | ||
@@ -54,2 +54,1 @@ const font_utils_1 = require("next/dist/server/font-utils"); | ||
} | ||
exports.getFallbackFontOverrideMetrics = getFallbackFontOverrideMetrics; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getFontAxes = void 0; | ||
exports.getFontAxes = getFontAxes; | ||
const format_available_values_1 = require("../format-available-values"); | ||
@@ -67,2 +67,1 @@ const next_font_error_1 = require("../next-font-error"); | ||
} | ||
exports.getFontAxes = getFontAxes; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getGoogleFontsUrl = void 0; | ||
exports.getGoogleFontsUrl = getGoogleFontsUrl; | ||
const sort_fonts_variant_values_1 = require("./sort-fonts-variant-values"); | ||
@@ -56,2 +56,1 @@ /** | ||
} | ||
exports.getGoogleFontsUrl = getGoogleFontsUrl; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import type { Agent } from 'https'; | ||
@@ -3,0 +2,0 @@ /** |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getProxyAgent = void 0; | ||
exports.getProxyAgent = getProxyAgent; | ||
// @ts-ignore | ||
@@ -25,2 +25,1 @@ const https_proxy_agent_1 = __importDefault(require("next/dist/compiled/https-proxy-agent")); | ||
} | ||
exports.getProxyAgent = getProxyAgent; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.retry = void 0; | ||
exports.retry = retry; | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
@@ -20,2 +20,1 @@ // @ts-expect-error File exists | ||
} | ||
exports.retry = retry; |
@@ -7,3 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.sortFontsVariantValues = void 0; | ||
exports.sortFontsVariantValues = sortFontsVariantValues; | ||
function sortFontsVariantValues(valA, valB) { | ||
@@ -28,2 +28,1 @@ // If both values contain commas, it indicates they are in "ital,wght" format | ||
} | ||
exports.sortFontsVariantValues = sortFontsVariantValues; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validateGoogleFontFunctionCall = void 0; | ||
exports.validateGoogleFontFunctionCall = validateGoogleFontFunctionCall; | ||
const constants_1 = require("../constants"); | ||
@@ -97,2 +97,1 @@ const format_available_values_1 = require("../format-available-values"); | ||
} | ||
exports.validateGoogleFontFunctionCall = validateGoogleFontFunctionCall; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getFallbackMetricsFromFontFile = void 0; | ||
exports.getFallbackMetricsFromFontFile = getFallbackMetricsFromFontFile; | ||
// The font metadata of the fallback fonts, retrieved with fontkit on system font files | ||
@@ -86,2 +86,1 @@ // The average width is calculated with the calcAverageWidth function below | ||
} | ||
exports.getFallbackMetricsFromFontFile = getFallbackMetricsFromFontFile; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = localFont; | ||
function localFont(options) { | ||
throw new Error(); | ||
} | ||
exports.default = localFont; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.pickFontFileForFallbackGeneration = void 0; | ||
exports.pickFontFileForFallbackGeneration = pickFontFileForFallbackGeneration; | ||
const next_font_error_1 = require("../next-font-error"); | ||
@@ -86,2 +86,1 @@ const NORMAL_WEIGHT = 400; | ||
} | ||
exports.pickFontFileForFallbackGeneration = pickFontFileForFallbackGeneration; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validateLocalFontFunctionCall = void 0; | ||
exports.validateLocalFontFunctionCall = validateLocalFontFunctionCall; | ||
const constants_1 = require("../constants"); | ||
@@ -73,2 +73,1 @@ const format_available_values_1 = require("../format-available-values"); | ||
} | ||
exports.validateLocalFontFunctionCall = validateLocalFontFunctionCall; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.nextFontError = void 0; | ||
exports.nextFontError = nextFontError; | ||
/** | ||
@@ -12,2 +12,1 @@ * Throw NextFontError error. Used by the WellKnownErrorsPlugin to format errors thrown by next/font. | ||
} | ||
exports.nextFontError = nextFontError; |
{ | ||
"name": "@next/font", | ||
"version": "15.0.0-canary.54", | ||
"version": "15.0.0-canary.55", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "url": "vercel/next.js", |
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
2006630
33392