Skip to content

build(deps): bump react-native-url-polyfill from 3.0.0 to 4.0.0 - #9126

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

build(deps): bump react-native-url-polyfill from 3.0.0 to 4.0.0#9126
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 Jul 28, 2026

Copy link
Copy Markdown
Contributor

Bumps react-native-url-polyfill from 3.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

@dependabot dependabot Bot added the dependencies used for automated dependency PRs label Jul 28, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-native-url-polyfill-4.0.0 branch from 1ea3cc3 to 835aad2 Compare July 29, 2026 17:41
Bumps [react-native-url-polyfill](https://github.com/charpeni/react-native-url-polyfill) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/charpeni/react-native-url-polyfill/releases)
- [Commits](charpeni/react-native-url-polyfill@v3.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 835aad2 to 6d0a1c0 Compare August 3, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies used for automated dependency PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants