Author: es-shims
🌐
GitHub
github.com › LinusU › ts-replace-all
GitHub - LinusU/ts-replace-all: String#replaceAll polyfill for TypeScript · GitHub
This package includes the core-js polyfill for String#replaceAll, along with TypeScript typings.
Author: LinusU
Discussions

String.prototype.replaceAll polyfill is not included
We use '@vitejs/plugin-legacy' to create legacy build and also include polyfills for our modern browsers. We use String.prototype.replaceAll method in our application, but we still miss its polyfill for the modern browsers, though our browserlist query includes modern browsers which do not ... More on github.com
🌐 github.com
7
March 25, 2022
String.prototype.replaceAll Polyfill not working
on running the built code, i get items.replaceAll is not a function. Shouldn't this have been properly polyfilled? More on github.com
🌐 github.com
1
1
August 2, 2022
Missing of `.replaceAll()` polyfill
Link to the code that reproduces this issue https://github.com/An-Cu/replace-all-next-polyfill To Reproduce Use one of browser which is not supporting .replaceAll(), but it's mentioned as suppo... More on github.com
🌐 github.com
7
October 17, 2023
Polyfilling String.prototype.replaceAll
We'd have to ship replaceAll to all browsers instead of just legacy ones given that edge does not support it. Beta Was this translation helpful? Give feedback. ... There was an error while loading. Please reload this page. Something went wrong. There was an error while loading. Please reload this page. ... Thanks for the answers! Where may I find a list of which functionality is polyfilled... More on github.com
🌐 github.com
3
1
🌐
GitHub
github.com › vercel › next.js › discussions › 49474
Node.js 14 deprecation, `replaceAll` polyfill and other polyfills · vercel/next.js · Discussion #49474
This weekend I started updating my open source repos to get rid of the Node.js 14 support which one of the new benefits of using Node.js >= 16 was to finally start to use replaceAll. During my naive changes, I thought that this would be no problem for my Next.js app since this would get automatically polyfilled but apparently replaceAll is one of the many polyfills not covered by Next.js.
Author: vercel
🌐
GitHub
github.com › vitejs › vite › issues › 7449
String.prototype.replaceAll polyfill is not included · Issue #7449 · vitejs/vite
March 25, 2022 - We use String.prototype.replaceAll method in our application, but we still miss its polyfill for the modern browsers, though our browserlist query includes modern browsers which do not have replaceAll implementation · https://stackblitz.com/edit/vitejs-vite-pzezqt ·
Author: vitejs
Author: es-shims
🌐
GitHub
github.com › vercel › next.js › issues › 56958
Missing of `.replaceAll()` polyfill · Issue #56958 · vercel/next.js
October 17, 2023 - Link to the code that reproduces this issue https://github.com/An-Cu/replace-all-next-polyfill To Reproduce Use one of browser which is not supporting .replaceAll(), but it's mentioned as supported by default by next.js e.g. Firefox v67-...
Author: vercel
Find elsewhere
🌐
Char0n
char0n.github.io › ramda-adjunct › 2.25.0 › replaceAll.js.html
replaceAll.js - Documentation
import { curryN, invoker } from ... = curryN(3, polyfill); export const replaceAllInvoker = invoker(2, 'replaceAll'); /** * Replaces all substring matches in a string with a replacement....
🌐
GitHub
github.com › niksy › string-replace-all-ponyfill
GitHub - niksy/string-replace-all-ponyfill: `String.prototype.replaceAll` ponyfill.
The replaceAll() method returns a new string with all matches of a pattern replaced by a replacement.
Author: niksy
🌐
npm
npmjs.com › package › string-replace-all-ponyfill
string-replace-all-ponyfill - npm
December 17, 2020 - polyfill-library · es-shims · core-js · For automated tests, run npm run test:automated (append :watch for watcher support). MIT © Ivan Nikolić · string · replaceall · prototype · string.prototype.replaceall · ponyfill · npm i string-replace-all-ponyfill · github.com/niksy/string-replace-all-ponyfill ·
      » npm install string-replace-all-ponyfill
    
Published: Dec 17, 2020
Version: 1.0.1
🌐
GitHub
github.com › zloirock › core-js › issues › 900
String.prototype.replaceAll · Issue #900 · zloirock/core-js
December 27, 2020 - I'm using core-js@3.8.1 and I've noticed that String.prototype.replaceAll polyfill has a bug. It should support an algorithm defined by special replacements patterns. 'foo.bar'.replaceAll('.', '$$$$$'); This call actually returns foo$$$$$bar but it should return foo$$$bar instead.
Author: zloirock
🌐
npm
npmjs.com › package › string.prototype.replaceall
string.prototype.replaceall - npm
September 12, 2025 - npm i string.prototype.replaceall · github.com/es-shims/String.prototype.replaceAll · github.com/es-shims/String.prototype.replaceAll#readme · Fund this package · 102,412 · 1.0.11 · MIT · a year ago · ljharb · Analyze security with SocketCheck bundle sizeView package healthExplore dependencies ·
      » npm install string.prototype.replaceall
    
Published: Sep 12, 2025
Version: 1.0.11
🌐
GitHub
github.com › babel › babel › issues › 13701
String.prototype.replaceAll not polyfilled · Issue #13701 · babel/babel
August 24, 2021 - "use strict"; require("core-js/modules/es.string.includes.js"); require("core-js/modules/esnext.string.match-all.js"); console.log('123'.includes('2')); console.log('123'.matchAll('1', '2')); console.log('123'.replaceAll('1', '2'));
Author: babel
🌐
GitHub
github.com › zloirock › core-js › issues › 978
`es.string.replace-all` not being polyfilled in Node v14 LTS · Issue #978 · zloirock/core-js
August 24, 2021 - From looking at https://node.g... string.prototype.replaceAll is not supported in the latest version of the current LTS release (14.17.x), meaning that I believe core-js should polyfill this when using @babel/preset-env with a targets option of ...
Author: zloirock
🌐
Stack Exchange
meta.stackexchange.com › questions › 372933 › script-error-missing-polyfill-for-replaceall
Script error: Missing polyfill for replaceAll - Meta Stack Exchange
December 14, 2021 - [email protected] needs to be updated. See String.prototype.replaceAll not polyfilled #13701: https://github.com/babel/babel/issues/13701#issuecomment-925119447 · bug · status-completed · javascript · Share · Improve this question · Follow · edited Dec 14, 2021 at 22:00 ·
🌐
GitHub
github.com › babel › babel-polyfills › issues › 107
Why string.replaceAll was polyfilled by esnext.string.replaceAll when setting useBuiltIns: entry · Issue #107 · babel/babel-polyfills
October 27, 2021 - Here is my @babel/preset-env settings: { "presets": [ [ "@babel/preset-env", { "useBuiltIns": "usage", "corejs": 3 } ] ], "targets": { "chrome": "58", "ie": "11" } } And I found usageGlobal inject polyfill within esnext.string.replaceAll...
Author: babel
🌐
DEV Community
dev.to › christiankohler › it-s-a-trap-the-biggest-pitfall-of-string-prototype-replace-57kp
It’s a trap - The biggest pitfall of String.prototype.replace() - DEV Community
June 30, 2020 - GitHub - tc39/proposal-string-replaceall: ECMAScript proposal: String.prototype.replaceAll String.prototype.replaceAll · V8 core-js/esnext.string.replace-all.js at master · zloirock/core-js ·
🌐
Gitbook
olexsyn.gitbook.io › enote › progr › javascript › string › replaceall-polyfill
replaceAll() polyfill - ENote - GitBook
March 13, 2023 - /** * String.prototype.replaceAll() polyfill * https://gomakethings.com/how-to-replace-a-section-of-a-string-with-another-one-with-vanilla-js/ * @author Chris Ferdinandi * @license MIT */ if (!String.prototype.replaceAll) { String.prototype.replaceAll = function(str, newStr){ // If a regex pattern if (Object.prototype.toString.call(str).toLowerCase() === '[object regexp]') { return this.replace(str, newStr); } // If a string return this.replace(new RegExp(str, 'g'), newStr); }; }
🌐
jsDelivr
jsdelivr.com › package › npm › string.prototype.replaceall
string.prototype.replaceall CDN by jsDelivr - A CDN for npm and GitHub
March 20, 2024 - A free, fast, and reliable CDN for string.prototype.replaceall. Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal