Telejson is a valuable library designed to efficiently transport complex data structures, enabling seamless communication between different parts of your application or even across disparate systems. Version 5.1.1 introduces several notable updates compared to its predecessor, version 5.1.0. One key difference lies in the updated dependencies. Lodash sees a bump from version 4.17.20 to 4.17.21, potentially incorporating bug fixes and minor performance improvements. The is-regex dependency is upgraded from 1.1.1 to 1.1.2. A significant change is visible in the development dependencies, particularly ESLint (7.13.0 to 7.23.0), Prettier (2.1.2 to 2.2.1), Typescript (4.0.5 to 4.2.3) and different versions of babel related packages. Storybook's eslint config is bumped from 2.4.0 to 3.0.0. Furthermore, the package size slightly increases, with the unpacked size going from 20807 to 21042, suggesting minor additions or modifications to the codebase. The release dates also highlight the recency of version 5.1.1, released in April 2021, compared to version 5.1.0, which was released in November 2020. These updates collectively suggest that version 5.1.1 incorporates bug fixes, dependency updates, and potential developer experience improvements, making it a worthwhile upgrade for developers seeking the latest refinements and compatibility within their projects.
All the vulnerabilities related to the version 5.1.1 of the package
min-document vulnerable to prototype pollution
A vulnerability exists in the 'min-document' package prior to version 2.19.0, stemming from improper handling of namespace operations in the removeAttributeNS method. By processing malicious input involving the proto property, an attacker can manipulate the prototype chain of JavaScript objects, leading to denial of service or arbitrary code execution. This issue arises from insufficient validation of attribute namespace removal operations, allowing unintended modification of critical object prototypes. The vulnerability remains unaddressed in the latest available version.