svg-pathdata
Advanced tools
Comparing version 3.2.2 to 3.2.3
@@ -0,1 +1,6 @@ | ||
<a name="3.2.3"></a> | ||
## [3.2.3](https://github.com/nfroidure/svg-pathdata/compare/v3.2.2...v3.2.3) (2017-08-13) | ||
<a name="3.2.2"></a> | ||
@@ -2,0 +7,0 @@ ## [3.2.2](https://github.com/nfroidure/svg-pathdata/compare/v3.2.1...v3.2.2) (2017-08-13) |
{ | ||
"name": "svg-pathdata", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "Manipulate SVG path data (path[d] attribute content) simply and efficiently.", | ||
@@ -5,0 +5,0 @@ "main": "src/SVGPathData.js", |
@@ -671,3 +671,3 @@ /* eslint-disable complexity,prefer-reflect,max-params,newline-after-var,func-names */ | ||
} | ||
return c; | ||
return command; | ||
}); | ||
@@ -674,0 +674,0 @@ |
@@ -48,2 +48,10 @@ /* eslint max-len:0 */ | ||
it('shouldn\'t change the original commands', () => { | ||
const path = new SVGPathData('M100,100L150,100a50,25 0 0,0 150,100q100,-50 70,-170Z'); | ||
const originalPath = path.encode(); | ||
path.getBounds(); | ||
const afterPath = path.encode(); | ||
assert.equal(afterPath, originalPath); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
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
3730
263657