Socket
Socket
Sign inDemoInstall

dnm-font-manager

Package Overview
Dependencies
10
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.9 to 0.5.10

10

dist/main.js

@@ -548,7 +548,6 @@ 'use strict';

var postscripts_not_found = [];
postscriptName.forEach(function (new_postscript_name, index) {
postscriptName.forEach(function (new_postscript_name) {
var postscript_found = false;
var return_font = {
family: family,
style: style ? style[index] : null,
family: fonts[i].family,
postscriptName: new_postscript_name

@@ -560,2 +559,3 @@ };

found_font = true;
return_font.style = _key2;
return_font.file = files[_key2];

@@ -658,7 +658,5 @@ found.push(return_font);

var _fontInfos = fontInfos,
family = _fontInfos.family,
subFamily = _fontInfos.subFamily,
postscript = _fontInfos.postscript;
searchFonts.push({ family: family, style: subFamily, postscriptName: postscript, path: font });
searchFonts.push({ postscriptName: postscript, path: font });
} else fontsToInstall.push(font);

@@ -665,0 +663,0 @@ } catch (e) {

2

package.json
{
"name": "dnm-font-manager",
"version": "0.5.9",
"version": "0.5.10",
"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