string-replace-all-ponyfill
Version:
`String.prototype.replaceAll` ponyfill.
26 lines (15 loc) • 535 B
Markdown
# Changelog
## [Unreleased][]
## [1.0.1][] - 2020-12-17
### Added
- Named export `preferNative`
### Fixed
- Handle non-primitive replacers
- Use `global` instead of `flags` property on `RegExp` instance to handle IE11
## [1.0.0][] - 2020-12-15
### Added
- Initial implementation
[1.0.0]: https://github.com/niksy/string-replace-all-ponyfill/tree/v1.0.0
[unreleased]:
https://github.com/niksy/string-replace-all-ponyfill/compare/v1.0.1...HEAD
[1.0.1]: https://github.com/niksy/string-replace-all-ponyfill/tree/v1.0.1