svg-path-simplify 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/svg-path-simplify.esm.js +528 -165
- package/dist/svg-path-simplify.esm.min.js +2 -2
- package/dist/svg-path-simplify.js +528 -165
- package/dist/svg-path-simplify.min.js +2 -2
- package/dist/svg-path-simplify.pathdata.esm.js +40 -0
- package/dist/svg-path-simplify.pathdata.esm.min.js +2 -2
- package/index.html +79 -16
- package/package.json +5 -2
- package/src/pathSimplify-main.js +15 -4
- package/src/string_helpers.js +18 -0
- package/src/svgii/convert_units.js +8 -2
- package/src/svgii/pathData_convert.js +38 -0
- package/src/svgii/pathData_parse_els.js +135 -133
- package/src/svgii/svg-styles-to-attributes-const.js +1 -0
- package/src/svgii/svg_cleanup.js +328 -36
- package/src/svgii/svg_el_parse_style_props.js +29 -3
- package/tests/testSVG_shape.js +59 -0
- package/tests/testSVG_transform.js +61 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.4.2] - 2026-03-18
|
|
4
|
+
### Fixed
|
|
5
|
+
- attribute retrieval and conversion in node
|
|
6
|
+
- transform conversions
|
|
7
|
+
### Added
|
|
8
|
+
- mixed SVG path data: chooses between most compact commands – relative or absolute
|
|
9
|
+
- web UI features (e.g marker resizing, toggle original and optimized)
|
|
10
|
+
|
|
11
|
+
|
|
3
12
|
## [0.4.1] - 2026-03-16
|
|
4
13
|
### Fixed
|
|
5
14
|
- null transform removal matrix(1 0 0 1 0 0)
|