- security: a language code named after a property every object inherits (
hasOwnProperty,isPrototypeOf,toLocaleString,__defineGetter__, ...) made the backend connector throwobj[k].push is not a functionwhen its load finished. A language detector passes such a code on from a request (?lng=hasOwnProperty), and with an asynchronous backend nothing caught the throw, so one request ended a Node.js server process (in a browser,init()never resolved). Now these codes load like any other unknown language. Thanks @superbot-helper (GHSA-q76c-gcvw-89x9) - fix: with an object
fallbackLng, a language code named like anObject.prototypeproperty (constructor,toString,hasOwnProperty,constructor-US) gets thedefaultfallback instead of makingt(),exists(),getFixedT()andchangeLanguage()throwfallbackCodes.forEach is not a function. Thanks @cyphercodes (#2473, #2472)