Comparing version 5.1.0 to 5.2.0
@@ -0,5 +1,12 @@ | ||
5.2.0 / 2021-04-07 | ||
------------------ | ||
- Bump dependencies. | ||
- Migrate CI to github. | ||
5.1.0 / 2020-10-29 | ||
------------------ | ||
- Added support of `d` attr in nested `<path>` tag (for UNSCII font source). | ||
- Added support of `d` attr in nested `<path>` tag (for UNSCII font source). | ||
@@ -6,0 +13,0 @@ |
{ | ||
"name": "svg2ttf", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "Converts SVG font to TTF font", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"dependencies": { | ||
"argparse": "^1.0.6", | ||
"argparse": "^2.0.1", | ||
"cubic2quad": "^1.0.0", | ||
@@ -34,8 +34,8 @@ "lodash": "^4.17.10", | ||
"svgpath": "^2.1.5", | ||
"xmldom": "~0.1.22" | ||
"xmldom": "~0.5.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.0.0", | ||
"mocha": "^7.1.2" | ||
"mocha": "^8.3.2" | ||
} | ||
} |
svg2ttf | ||
======= | ||
[![Build Status](https://img.shields.io/travis/fontello/svg2ttf/master.svg?style=flat)](https://travis-ci.org/fontello/svg2ttf) | ||
[![CI](https://github.com/fontello/svg2ttf/actions/workflows/ci.yml/badge.svg)](https://github.com/fontello/svg2ttf/actions/workflows/ci.yml) | ||
[![NPM version](https://img.shields.io/npm/v/svg2ttf.svg?style=flat)](https://www.npmjs.org/package/svg2ttf) | ||
@@ -6,0 +6,0 @@ |
@@ -20,69 +20,52 @@ #!/usr/bin/env node | ||
var parser = new ArgumentParser({ | ||
version: require('./package.json').version, | ||
addHelp: true, | ||
add_help: true, | ||
description: 'SVG to TTF font converter' | ||
}); | ||
parser.addArgument( | ||
[ '-c', '--copyright' ], | ||
{ | ||
help: 'Copyright text', | ||
required: false | ||
} | ||
); | ||
parser.add_argument('-v', '--version', { | ||
action: 'version', | ||
version: require('./package.json').version | ||
}); | ||
parser.addArgument( | ||
[ '-d', '--description' ], | ||
{ | ||
help: 'Override default description text', | ||
required: false, | ||
type: 'string' | ||
} | ||
); | ||
parser.add_argument('-c', '--copyright', { | ||
help: 'Copyright text', | ||
required: false | ||
}); | ||
parser.addArgument( | ||
[ '--ts' ], | ||
{ | ||
help: 'Override font creation time (Unix time stamp)', | ||
required: false, | ||
type: 'int' | ||
} | ||
); | ||
parser.add_argument('-d', '--description', { | ||
help: 'Override default description text', | ||
required: false, | ||
type: 'str' | ||
}); | ||
parser.addArgument( | ||
[ '-u', '--url' ], | ||
{ | ||
help: 'Override default manufacturer url', | ||
required: false, | ||
type: 'string' | ||
} | ||
); | ||
parser.add_argument('--ts', { | ||
help: 'Override font creation time (Unix time stamp)', | ||
required: false, | ||
type: 'int' | ||
}); | ||
parser.addArgument( | ||
[ '--vs' ], | ||
{ | ||
help: 'Override default font version string (Version 1.0), can be "x.y" or "Version x.y"', | ||
required: false, | ||
type: 'string' | ||
} | ||
); | ||
parser.add_argument('-u', '--url', { | ||
help: 'Override default manufacturer url', | ||
required: false, | ||
type: 'str' | ||
}); | ||
parser.addArgument( | ||
[ 'infile' ], | ||
{ | ||
nargs: 1, | ||
help: 'Input file' | ||
} | ||
); | ||
parser.add_argument('--vs', { | ||
help: 'Override default font version string (Version 1.0), can be "x.y" or "Version x.y"', | ||
required: false, | ||
type: 'str' | ||
}); | ||
parser.addArgument( | ||
[ 'outfile' ], | ||
{ | ||
nargs: 1, | ||
help: 'Output file' | ||
} | ||
); | ||
parser.add_argument('infile', { | ||
nargs: 1, | ||
help: 'Input file' | ||
}); | ||
parser.add_argument('outfile', { | ||
nargs: 1, | ||
help: 'Output file' | ||
}); | ||
var args = parser.parseArgs(); | ||
var args = parser.parse_args(); | ||
var svg; | ||
@@ -89,0 +72,0 @@ var options = {}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80335
2131
+ Addedargparse@2.0.1(transitive)
+ Addedxmldom@0.5.0(transitive)
- Removedargparse@1.0.10(transitive)
- Removedsprintf-js@1.0.3(transitive)
- Removedxmldom@0.1.31(transitive)
Updatedargparse@^2.0.1
Updatedxmldom@~0.5.0