[PR #2836] [MERGED] chore: add polyfill for replaceAll #4097

Closed
opened 2026-03-17 01:39:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2836
Author: @amk-dev
Created: 10/28/2022
Status: Merged
Merged: 10/29/2022
Merged by: @AndrewBastin

Base: mainHead: chore/replace-all-polyfill


📝 Commits (1)

  • f71c287 chore: add polyfill for replaceAll

📊 Changes

3 files changed (+56 additions, -39 deletions)

View changed files

📝 packages/hoppscotch-app/package.json (+1 -0)
📝 packages/hoppscotch-app/vite.config.ts (+5 -0)
📝 pnpm-lock.yaml (+50 -39)

📄 Description

Before
we were using String.prototype.replaceAll at some places, but some people where using old browsers without it.

After
this PR adds the polyfill for replaceAll


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2836 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 10/28/2022 **Status:** ✅ Merged **Merged:** 10/29/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `chore/replace-all-polyfill` --- ### 📝 Commits (1) - [`f71c287`](https://github.com/hoppscotch/hoppscotch/commit/f71c2874ad114e49c49c536d42caf113e4364c71) chore: add polyfill for replaceAll ### 📊 Changes **3 files changed** (+56 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/package.json` (+1 -0) 📝 `packages/hoppscotch-app/vite.config.ts` (+5 -0) 📝 `pnpm-lock.yaml` (+50 -39) </details> ### 📄 Description **Before** we were using String.prototype.replaceAll at some places, but some people where using old browsers without it. **After** this PR adds the polyfill for replaceAll --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:39:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4097
No description provided.