Comparing version 2.5.0 to 2.6.0
@@ -245,2 +245,3 @@ 'use strict'; | ||
if (state.err.length) { | ||
finalizeSegment(state); | ||
return; | ||
@@ -295,7 +296,3 @@ } | ||
if (state.err.length) { | ||
state.result = []; | ||
} else if (state.result.length) { | ||
if (state.result.length) { | ||
if ('mM'.indexOf(state.result[0][0]) < 0) { | ||
@@ -302,0 +299,0 @@ state.err = 'SvgPath: string should start with `M` or `m`'; |
{ | ||
"name": "svgpath", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "Low level toolkit for SVG paths transformations.", | ||
@@ -15,2 +15,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"funding": "https://github.com/fontello/svg2ttf?sponsor=1", | ||
"repository": "fontello/svgpath", | ||
@@ -32,5 +33,5 @@ "scripts": { | ||
"eslint": "^8.5.0", | ||
"mocha": "^9.1.0", | ||
"mocha": "^10.1.0", | ||
"nyc": "^15.0.1" | ||
} | ||
} |
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
43200
1220