svg-sprite / svg-sprite

SVG sprites & stacks galore — A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites of several types along with suitable stylesheet resources (e.g. CSS, Sass, LESS, Stylus, etc.)

Home Page:https://github.com/svg-sprite/svg-sprite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spriter's Shape Transform Method Only Running First Transformation in shape.transform Array. Again

Divergense opened this issue · comments

Latest npm available version (2.0.3) has mentioned bug.
This bug described and fixed in details here #762.
But branch 2.x doesn't contain the fixes and hence npm 2.x versions still have this bug.

You need to use v3 for this fix. It was only applied to main branch thus only in v3.

Also see the release notes. I don't want having to keep maintaining two branches so at some point soon I'll just publish the current main branch as v3.0.0 stable.

@Divergense actually this was easier to cherry pick so I just released 2.0.4.

I really hope this will be the last 2.x release and the next one will be 3.0.0. I also released 3.0.0-rc2 which is the same as rc1 but with Node.js < 18 dropped.