Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "d3-path", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Serialize Canvas path commands to SVG.", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
}, | ||
"main": "build/d3-path.js", | ||
"main": "dist/d3-path.min.js", | ||
"module": "index", | ||
@@ -31,14 +31,13 @@ "jsnext:main": "index", | ||
"scripts": { | ||
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3 -o build/d3-path.js -- index.js", | ||
"test": "tape 'test/**/*-test.js' && eslint index.js src", | ||
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-path.js -c -m -o build/d3-path.min.js", | ||
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-path/build/d3-path.js d3-path.v1.js && cp ../d3-path/build/d3-path.min.js d3-path.v1.min.js && git add d3-path.v1.js d3-path.v1.min.js && git commit -m \"d3-path ${npm_package_version}\" && git push && cd - && zip -j build/d3-path.zip -- LICENSE README.md build/d3-path.js build/d3-path.min.js" | ||
"pretest": "rollup -c", | ||
"test": "tape 'test/**/*-test.js' && eslint index.js src test", | ||
"prepublishOnly": "rm -rf dist && yarn test", | ||
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v1.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v1.min.js && git add ${npm_package_name}.v1.js ${npm_package_name}.v1.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js" | ||
}, | ||
"devDependencies": { | ||
"eslint": "3", | ||
"package-preamble": "0.0", | ||
"rollup": "0.41", | ||
"tape": "4", | ||
"uglify-js": "^2.8.11" | ||
"eslint": "5", | ||
"rollup": "0.64", | ||
"rollup-plugin-terser": "1", | ||
"tape": "4" | ||
} | ||
} |
@@ -80,2 +80,2 @@ # d3-path | ||
Returns the string representation of this *path* according to SVG’s [path data specficiation](http://www.w3.org/TR/SVG/paths.html#PathData). | ||
Returns the string representation of this *path* according to SVG’s [path data specification](http://www.w3.org/TR/SVG/paths.html#PathData). |
@@ -55,3 +55,3 @@ var pi = Math.PI, | ||
// Or, is (x1,y1) coincident with (x0,y0)? Do nothing. | ||
else if (!(l01_2 > epsilon)) {} | ||
else if (!(l01_2 > epsilon)); | ||
@@ -58,0 +58,0 @@ // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear? |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
53737
4
10
292
1