Skip to content

chore(deps): bump react-native-url-polyfill from 2.0.0 to 4.0.0 - #20

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-native-url-polyfill-4.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-native-url-polyfill-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Bumps react-native-url-polyfill from 2.0.0 to 4.0.0.

Release notes

Sourced from react-native-url-polyfill's releases.

v4.0.0

v4 replaces the whatwg-url-without-unicode dependency with a purpose-built, dependency-free implementation of the WHATWG URL Standard.

The result is a polyfill that is substantially smaller and faster on Hermes, with stronger standards compliance and test coverage.

65% Smaller

Measured in a production Metro bundle with React Native 0.86.0:

Version Bundle impact
v3.0.0 73.02 kB
v4.0.0 25.50 kB

That is 47.52 kB less, a 65.1% reduction in added bundle size.

Faster Than v3 on Hermes

Using the standalone Hermes runtime from React Native 0.81.4, v4 was faster than v3's whatwg-url-without-unicode implementation in every comparable workload.

Operation Improvement
Absolute URL construction 3.60x faster
Relative URL construction 3.28x faster
Percent-encoded URL construction 3.72x faster
URL property getters 2.71x faster
URL setters 3.34x faster
URLSearchParams parsing 7.82x faster
URLSearchParams stringification 2.43x faster
URLSearchParams manipulation 5.52x faster
Repeated URLSearchParams mutation 1.43x faster
URL/search params roundtrip 4.46x faster
Repeated attached searchParams.append() ~259x faster

Most comparable workloads improved by 2.4x to 7.8x.

Faster Than Expo on Hermes

v4 was also faster than Expo's whatwg-url-minimum@0.1.2 implementation in 13 of 14 workloads.

Operation Improvement
Absolute URL construction 2.31x faster
Relative URL construction 2.14x faster
URL.canParse() with valid input 2.20x faster
URL.parse() 2.25x faster
Percent-encoded URL construction 1.81x faster
URL setters 1.98x faster
URLSearchParams parsing 2.08x faster
URL/search params roundtrip 1.69x faster

... (truncated)

Commits
  • 4598e48 Add standalone Hermes benchmark runner (#509)
  • caabf0d Fix pre-release package contents and types (#508)
  • 52fa9b4 Harden URL WebIDL conformance (#507)
  • 9e40bd3 Optimize URLSearchParams mutations and benchmarks (#506)
  • 3981bc4 Optimize URL.canParse and normalized parsing (#505)
  • ae105bd Optimize UTF-8 percent encoding (#504)
  • d60c266 Optimize attached URLSearchParams appends (#503)
  • 24562c9 Optimize repeated URLSearchParams mutations (#502)
  • 9844b1c Optimize ASCII parser classification (#499)
  • 6d135b3 Harden URL conformance with official WPT and Hermes coverage (#501)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for react-native-url-polyfill since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 22, 2026
@hansi-codes

hansi-codes Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Updates react-native-url-polyfill from 2.0.0 to 4.0.0. The lockfile records the new version and removes its no-longer-needed transitive dependencies.

Verdict New comments Fixed Still open
💬 Commented 0 0 0

Note

@dependabot[bot] does not have write access to this repository, so Hansi does not approve automatically. A maintainer can review and approve.

📂 Walkthrough · 2
File Change
package.json Raises the declared react-native-url-polyfill range to ^4.0.0.
package-lock.json Locks version 4.0.0 and removes transitive dependencies no longer required by the package.

Reviewed 3671012 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

Bumps [react-native-url-polyfill](https://github.com/charpeni/react-native-url-polyfill) from 2.0.0 to 4.0.0.
- [Release notes](https://github.com/charpeni/react-native-url-polyfill/releases)
- [Commits](charpeni/react-native-url-polyfill@v2.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: react-native-url-polyfill
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-native-url-polyfill-4.0.0 branch from bb963ac to 3671012 Compare November 2, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants