As CR says above if you get a quality item you get safe quality parts, sadly cheap copy batteries, chargers, integrated lights etc from various suppliers may not have a bms or any safety built in. The result is usually quite spectacular, see youtube or ask your local fire brigade they will have seen loads. Usual culprits, ebikes, scooters, hover boards to name but 3. You buy an OEM battery its guaranteed by them and the various standards they test to, buy copy parts and they don't. Sorry Rant over. PS good luck to the OP on resurrecting his light.