tsparticles / presets

tsParticles Official Presets Repository
MIT License
16 stars 2 forks source link

TypeError: t.validTypes is not iterable #101

Closed mtripg6666tdr closed 4 weeks ago

mtripg6666tdr commented 4 weeks ago

the breaking change introduced in https://github.com/tsparticles/tsparticles/commit/3cb697c8a3cf281591aab50e2a4a3aa2ae2eb900 (which changed the method signature of Engine#addShape) causes @tsparticles/preset-confetti not working. @tsparticles/preset-confetti is no longer compatible with @tsparticles/engine v3.4.0 (or maybe later). I confirmed @tsparticles/preset-confetti is broken, but other presets can be also broken.

image image

P.S. I thought which repository ( tsparticles/tsparticles or tsparticles/presets ) is appropriate where I should open the issue but I opened here. However in the aspect of the commit breaking semantic-versioning, the actual problem is likely to be in the tsparticles/tsparticles repository.

matteobruni commented 4 weeks ago

Released 3.1.0 with the new dependencies