Comparing version 4.2.0 to 4.2.1
@@ -0,1 +1,7 @@ | ||
4.2.1 / 2019-05-23 | ||
------------------ | ||
- Fix "new Bufer" deprecation warnings, #78. | ||
4.2.0 / 2018-12-10 | ||
@@ -2,0 +8,0 @@ ------------------ |
{ | ||
"name": "svg2ttf", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Converts SVG font to TTF font", | ||
@@ -37,4 +37,4 @@ "keywords": [ | ||
"eslint": "^5.10.0", | ||
"mocha": "^5.0.0" | ||
"mocha": "^6.0.0" | ||
} | ||
} |
@@ -107,2 +107,7 @@ #!/usr/bin/env node | ||
fs.writeFileSync(args.outfile[0], new Buffer(svg2ttf(svg, options).buffer)); | ||
var result = Buffer.from ? | ||
Buffer.from(svg2ttf(svg, options).buffer) | ||
: | ||
new Buffer(svg2ttf(svg, options).buffer); | ||
fs.writeFileSync(args.outfile[0], result); |
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
78235
2115