yarn i18next 27.1.3
v27.1.3

one hour ago
  • security: a language code named after a property every object inherits (hasOwnProperty, isPrototypeOf, toLocaleString, __defineGetter__, ...) made the backend connector throw obj[k].push is not a function when 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 an Object.prototype property (constructor, toString, hasOwnProperty, constructor-US) gets the default fallback instead of making t(), exists(), getFixedT() and changeLanguage() throw fallbackCodes.forEach is not a function. Thanks @cyphercodes (#2473, #2472)

Don't miss a new i18next release

NewReleases is sending notifications on new releases.