Socket
Socket
Sign inDemoInstall

dnm-font-manager

Package Overview
Dependencies
3
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.8 to 0.4.9

11

dist/main.js

@@ -258,3 +258,4 @@ 'use strict';

_options$customDirs = options.customDirs,
customDirs = _options$customDirs === undefined ? [] : _options$customDirs;
customDirs = _options$customDirs === undefined ? [] : _options$customDirs,
fontkit = options.fontkit;

@@ -330,4 +331,4 @@

if (!fontMeta) {
if (_this.options.fontkit) {
_this.options.fontkit.open(file, null, function (err2, fontMeta2) {
if (fontkit) {
fontkit.open(file, null, function (err2, fontMeta2) {
if (!fontMeta2) {

@@ -362,4 +363,4 @@ debug('Error reading font ' + file, err2);

try {
if (_this.options.fontkit) {
var fontMeta2 = _this.options.fontkit.openSync(file);
if (fontkit) {
var fontMeta2 = fontkit.openSync(file);
var fonts = fontMeta2.fonts || fontMeta2;

@@ -366,0 +367,0 @@ var fontInfos = fonts.map(function (font) {

{
"name": "dnm-font-manager",
"version": "0.4.8",
"version": "0.4.9",
"description": "Search system fonts with family and style using pure JavaScript, forked from rBurgett/system-font-families",

@@ -5,0 +5,0 @@ "main": "dist/main.js",

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