sindresorhus / query-string

Parse and stringify URL query strings
MIT License
6.76k stars 450 forks source link

ReplaceAll is not a function #391

Closed NwosaEmeka closed 2 months ago

NwosaEmeka commented 2 months ago

Hi all, I would like to know if there is away to handle replaceAll is not a function for older browsers?

Browser Name: Chrome Mobile WebView Version: 83.0.4103

query-string

sindresorhus commented 2 months ago

You could polyfill it or use an older version of this package.

m-nathani commented 2 months ago

@sindresorhus wouldn't it be better to add the polyfil in the query-string package? So it increase browser supports for the users ?

Rather users adding it individually for a robust solution?

sindresorhus commented 2 months ago

No. This package targets latest browser versions.