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 13.1.2-canary.3 to 13.1.2-canary.4

6

dist/google/utils.js

@@ -23,2 +23,5 @@ "use strict";

const fontFamilyData = font_data_json_1.default[fontFamily];
if (!fontFamilyData) {
(0, utils_1.nextFontError)(`Unknown font \`${fontFamily}\``);
}
if (preload && !callSubsets && !(config === null || config === void 0 ? void 0 : config.subsets)) {

@@ -34,5 +37,2 @@ (0, utils_1.nextFontError)(`Missing selected subsets for font \`${fontFamily}\`. Please specify subsets in the function call or in your \`next.config.js\`. Read more: https://nextjs.org/docs/messages/google-fonts-missing-subsets`);

const fontWeights = fontFamilyData.weights;
if (!fontWeights) {
(0, utils_1.nextFontError)(`Unknown font \`${fontFamily}\``);
}
const fontStyles = fontFamilyData.styles;

@@ -39,0 +39,0 @@ const weights = !weight

{
"name": "@next/font",
"version": "13.1.2-canary.3",
"version": "13.1.2-canary.4",
"repository": {

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

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