shrpne / vue-inline-svg

Dynamically loads an SVG source and inline <svg> element so you can manipulate the style of it
MIT License
177 stars 22 forks source link

Memory leak #65

Open z1m1n opened 1 week ago

z1m1n commented 1 week ago

Latest version of package (3.1.4) causing memory leak (heap out of memory)

shrpne commented 1 week ago

Can you provide reproduction? Did you check only last version or are you facing this issue after updating from 3.1.3?

z1m1n commented 1 week ago

Can you provide reproduction? Did you check only last version or are you facing this issue after updating from 3.1.3?

I couldn't reproduce it in small stackblitz project right now, will try later. Yes, issue appeared in 3.1.4 and reverting to 3.1.3 resolve the issue.

shrpne commented 1 week ago

It is strange. InlineSvg component was not changed during 3.1.3 -> 3.1.4 update. There are only changes in .d.ts types

z1m1n commented 1 week ago

It is strange. InlineSvg component was not changed during 3.1.3 -> 3.1.4 update. There are only changes in .d.ts types

it fails on project types check, tsc --noEmit