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

@next/font

Package Overview
Dependencies
Maintainers
5
Versions
1038
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@next/font - npm Package Compare versions

Comparing version 12.3.2-canary.3 to 12.3.2-canary.5

dist/local/index.d.ts

16

dist/google/loader.d.ts

@@ -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

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