luncheon / simplify-svg-path

Extracts `Path#simplify()` from Paper.js.
https://luncheon.github.io/simplify-svg-path/index.html
MIT License
34 stars 7 forks source link

[ReferenceError: Property 't' doesn't exist] #1

Closed deflexable closed 1 year ago

deflexable commented 1 year ago

this error seems to be coming from index.min.js

luncheon commented 1 year ago

Could you reproduce it in CodePen or CodeSandbox (or similar)?

Eduardoleor commented 1 year ago

This error is reproduced in: https://github.com/BenJeau/react-native-draw/issues/63

Screenshot 2022-11-22 at 15 46 39
luncheon commented 1 year ago

OK. I haven't tried it, but I guess it doesn't work in react native.

v0.2.0, which does not minified, is now available.

The reason for minifying was for mangling class fields. Now I have stopped using classes and the object field names are now single characters.

hongdthaui commented 1 year ago

update version 0.2.0 for @luncheon/simplify-svg-path on @benjeau/react-native-draw/node_moduls i tried and ok

sickopickle commented 1 year ago

same as hongdthaui, that works

luncheon commented 1 year ago

@hongdthaui @sickopickle thanks for confirming that it works.

drvn-eb commented 1 year ago

@luncheon just found out this error upgrading from 0.1.4 to 0.1.5 , nice to see that it's fixed in 0.2.0, thanks for that!

It would be nice to have either a changelog or to remove / mark as problematic the 0.1.5 release on npm