@chenglou/pretext@0.0.3

Fast, accurate & comprehensive text measurement & layout

  • latest version

    0.0.7

  • latest non vulnerable version

  • first published

    1 months ago

  • latest version published

    4 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @chenglou/pretext package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Inefficient Algorithmic Complexity

    @chenglou/pretext is a Fast, accurate & comprehensive text measurement & layout

    Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity through the isRepeatedSingleCharRun function during text analysis. An attacker can cause significant performance degradation and block the main thread by submitting large inputs consisting of repeated identical punctuation characters.

    How to fix Inefficient Algorithmic Complexity?

    Upgrade @chenglou/pretext to version 0.0.5 or higher.

    <0.0.5