Releases: lukem512/normalize-svg-coords
Releases · lukem512/normalize-svg-coords
normalize-svg-coords v1.0.9
normalize-svg-coords v1.0.8
Normalize coordinates in an SVG path to a specified range.
Changes
- Check for a
diffof0in thescalefunction to avoidNaNvalues - Updated
svg-path-boundsdependency - Updated
should return a normalized elliptic arcstest to reflect modified results from dependency
normalize-svg-coords v1.0.7
Normalize coordinates in an SVG path to a specified range.
Changes
- Correctly parse line (
V,v,Handh) instructions
normalize-svg-coords v1.0.6
Normalize coordinates in an SVG path to a specified range.
Changes
- Correctly parse elliptic arc (
Aanda) instructions
normalize-svg-coords v1.0.5
Normalize coordinates in an SVG path to a specified range.
Changes
- Fixed tests in v1.0.4
normalize-svg-coords v1.0.4
Normalize coordinates in an SVG path to a specified range.
This release is working but the tests are failing. Please see v1.0.5.
Changes
- Correct segmented list format
- Fixed (actually, broke) tests
normalize-svg-coords v1.0.3
Normalize coordinates in an SVG path to a specified range.
Changes
- Add tests for
minandmaxparameters - Add parameter
asListto output as segmented list - Infer
viewBoxusingsvg-path-bounds
normalize-svg-coords v1.0.2
Normalize coordinates in an SVG path to a specified range.
Changes
- Honour
minandmaxparams
normalize-svg-coords v1.0.1
Normalize coordinates in an SVG path to a specified range.
Changes
- Accepts
arraytype viewboxes thanks to @dfcreative - No longer validates path length