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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions