Socket
Socket
Sign inDemoInstall

@next/font

Package Overview
Dependencies
Maintainers
5
Versions
1035
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 13.4.4 to 13.4.7

2

dist/google/google-fonts-metadata.d.ts

@@ -1,2 +0,2 @@

declare type GoogleFontsMetadata = {
type GoogleFontsMetadata = {
[fontFamily: string]: {

@@ -3,0 +3,0 @@ weights: string[];

@@ -1,2 +0,2 @@

declare type FontOptions = {
type FontOptions = {
fontFamily: string;

@@ -3,0 +3,0 @@ weights: string[];

import type { CssVariable, Display, NextFont, NextFontWithVariable } from '../types';
declare type LocalFont<T extends CssVariable | undefined = undefined> = {
type LocalFont<T extends CssVariable | undefined = undefined> = {
src: string | Array<{

@@ -4,0 +4,0 @@ path: string;

@@ -1,2 +0,2 @@

declare type FontOptions = {
type FontOptions = {
src: Array<{

@@ -3,0 +3,0 @@ path: string;

@@ -1,4 +0,4 @@

export declare type CssVariable = `--${string}`;
export declare type Display = 'auto' | 'block' | 'swap' | 'fallback' | 'optional';
export declare type NextFont = {
export type CssVariable = `--${string}`;
export type Display = 'auto' | 'block' | 'swap' | 'fallback' | 'optional';
export type NextFont = {
className: string;

@@ -11,4 +11,4 @@ style: {

};
export declare type NextFontWithVariable = NextFont & {
export type NextFontWithVariable = NextFont & {
variable: string;
};
{
"name": "@next/font",
"version": "13.4.4",
"version": "13.4.7",
"repository": {

@@ -5,0 +5,0 @@ "url": "vercel/next.js",

Sorry, the diff of this file is too big to display

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