Socket
Socket
Sign inDemoInstall

@financial-times/o-typography

Package Overview
Dependencies
6
Maintainers
16
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.11.5 to 5.11.6

6

dist/js/typography.js

@@ -8,4 +8,6 @@ "use strict";

const FontFaceObserver = require("fontfaceobserver/fontfaceobserver.standalone.js");
var _fontfaceobserverStandalone = _interopRequireDefault(require("fontfaceobserver/fontfaceobserver.standalone.js"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
class Typography {

@@ -125,3 +127,3 @@ constructor(typographyEl, opts) {

const fontPromises = this.fontConfigs.map(fontConfig => {
return new FontFaceObserver(fontConfig.family, {
return new _fontfaceobserverStandalone.default(fontConfig.family, {
weight: fontConfig.weight

@@ -128,0 +130,0 @@ }).load().then(() => {

@@ -26,3 +26,3 @@ {

"name": "@financial-times/o-typography",
"version": "5.11.5",
"version": "5.11.6",
"dependencies": {

@@ -29,0 +29,0 @@ "fontfaceobserver": "^2.0.9",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc