svg-pathdata
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -0,1 +1,6 @@ | ||
<a name="3.2.1"></a> | ||
## [3.2.1](https://github.com/nfroidure/svg-pathdata/compare/v3.2.0...v3.2.1) (2017-08-13) | ||
<a name="3.2.0"></a> | ||
@@ -2,0 +7,0 @@ # [3.2.0](https://github.com/nfroidure/svg-pathdata/compare/v3.1.1...v3.2.0) (2017-08-12) |
{ | ||
"name": "svg-pathdata", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Manipulate SVG path data (path[d] attribute content) simply and efficiently.", | ||
@@ -58,2 +58,3 @@ "main": "src/SVGPathData.js", | ||
"chai": "^3.4.1", | ||
"chai-stats": "^0.3.0", | ||
"commitizen": "^2.9.6", | ||
@@ -60,0 +61,0 @@ "conventional-changelog-cli": "^1.2.0", |
@@ -0,1 +1,2 @@ | ||
/* eslint-disable no-new */ | ||
/* eslint max-len:0 */ | ||
@@ -2,0 +3,0 @@ 'use strict'; |
/* eslint max-len:0 */ | ||
'use strict'; | ||
const assert = require('chai').assert; | ||
const chai = require('chai'); | ||
const chaiStats = require('chai-stats'); | ||
chai.use(chaiStats); | ||
const assert = chai.assert; | ||
const SVGPathData = require('../src/SVGPathData.js'); | ||
@@ -12,6 +14,6 @@ | ||
assert.equal(bounds.minX, minX); | ||
assert.equal(bounds.minY, minY); | ||
assert.equal(bounds.maxX, maxX); | ||
assert.equal(bounds.maxY, maxY); | ||
assert.almostEqual(bounds.minX, minX, 1e-4); | ||
assert.almostEqual(bounds.minY, minY, 1e-4); | ||
assert.almostEqual(bounds.maxX, maxX, 1e-4); | ||
assert.almostEqual(bounds.maxY, maxY, 1e-4); | ||
} | ||
@@ -18,0 +20,0 @@ // eslint-disable-next-line no-unused-vars |
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
263830
3723
15