Socket
Socket
Sign inDemoInstall

@drovp/font-generator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drovp/font-generator - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

5

dist/index.js

@@ -63,2 +63,3 @@ "use strict";

});
const DESTINATION_MODIFIER = process.platform === 'darwin' ? 'Alt' : 'Ctrl';
exports.default = (plugin) => {

@@ -73,3 +74,3 @@ plugin.registerProcessor('font-generator', {

operationPreparator: async (payload, utils) => {
if (payload.options.ask || utils.modifiers === 'ctrl') {
if (payload.options.ask || utils.modifiers === DESTINATION_MODIFIER) {
const result = await utils.showOpenDialog({

@@ -93,5 +94,5 @@ title: `Destination directory`,

modifierDescriptions: {
ctrl: `ask for destination folder (overwrites options)`,
[DESTINATION_MODIFIER]: `ask for destination folder (overwrites options)`,
},
});
};
{
"name": "@drovp/font-generator",
"version": "3.0.2",
"version": "3.0.3",
"description": "Generate ttf, woff, woff2, eot, and svg fonts with optional subsetting.",

@@ -26,3 +26,4 @@ "main": "dist/index.js",

"files": [
"dist"
"dist",
"*.md"
],

@@ -29,0 +30,0 @@ "scripts": {

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