Skip to content

no-replaceall is outdated #3984

Description

@Sjord

https://github.com/semgrep/semgrep-rules/blob/develop/javascript/lang/correctness/no-replaceall.yaml

The string method replaceAll is not supported in all versions of javascript, and is not supported by older browser versions.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll

This feature is well established and works across many devices and browser versions. It’s been available across browsers since August 2020.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions