Skip to content

Commit 12c6d4d

Browse files
renovate[bot]shottah
authored andcommitted
fix(deps): update dependency react-native-url-polyfill to v2 (valora-inc#5356)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-native-url-polyfill](https://togithub.com/charpeni/react-native-url-polyfill) | [`^1.3.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/react-native-url-polyfill/1.3.0/2.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-url-polyfill/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-url-polyfill/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-url-polyfill/1.3.0/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-url-polyfill/1.3.0/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charpeni/react-native-url-polyfill (react-native-url-polyfill)</summary> ### [`v2.0.0`](https://togithub.com/charpeni/react-native-url-polyfill/releases/tag/v2.0.0) [Compare Source](https://togithub.com/charpeni/react-native-url-polyfill/compare/v1.3.0...v2.0.0) #### Highlights > ⚠️ It was released as a major version because it contains significant changes, but we don't expect any breaking changes. The upgrade should be seamless. ##### Official support for Expo & web. We're now testing `react-native-url-polyfill` against latest versions of Expo to prevent any issues. Also, previously, relying on `react-native-url-polyfill/auto` would also apply the polyfill if executed on the web (e.g., via `react-native-web`). Starting from now, `react-native-url-polyfill/auto` won't apply on the web platform and will be a no-op. If you would like to still apply it on web, you'll need to rely on `setupPolyfill` directly as such: ```js import { setupURLPolyfill } from 'react-native-url-polyfill'; setupURLPolyfill(); ``` ##### Moving away from React Native's internals To better support different versions of React Native and web usages, we moved away from using `polyfillGlobal`, which is part of React Native's internals. Instead, we use `globalThis`. See [https://github.com/charpeni/react-native-url-polyfill/pull/373](https://togithub.com/charpeni/react-native-url-polyfill/pull/373) and [https://github.com/charpeni/react-native-url-polyfill/pull/413](https://togithub.com/charpeni/react-native-url-polyfill/pull/413). #### What's Changed - Remove usage of RN's polyfillGlobal by [@&#8203;charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/373](https://togithub.com/charpeni/react-native-url-polyfill/pull/373) - Fix a phrasing issue in README by [@&#8203;plbrault](https://togithub.com/plbrault) in [https://github.com/charpeni/react-native-url-polyfill/pull/442](https://togithub.com/charpeni/react-native-url-polyfill/pull/442) - Add test for Expo 48 by [@&#8203;charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/453](https://togithub.com/charpeni/react-native-url-polyfill/pull/453) - Use globalThis instead of global in auto.js by [@&#8203;staltz](https://togithub.com/staltz) in [https://github.com/charpeni/react-native-url-polyfill/pull/413](https://togithub.com/charpeni/react-native-url-polyfill/pull/413) - Fix Typescript error by [@&#8203;raykle](https://togithub.com/raykle) in [https://github.com/charpeni/react-native-url-polyfill/pull/444](https://togithub.com/charpeni/react-native-url-polyfill/pull/444) - Add `bundle-size` script by [@&#8203;charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/455](https://togithub.com/charpeni/react-native-url-polyfill/pull/455) - Don't auto polyfill on web by [@&#8203;charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/456](https://togithub.com/charpeni/react-native-url-polyfill/pull/456) - Only default export is available soon by [@&#8203;charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/458](https://togithub.com/charpeni/react-native-url-polyfill/pull/458) #### New Contributors - [@&#8203;plbrault](https://togithub.com/plbrault) made their first contribution in [https://github.com/charpeni/react-native-url-polyfill/pull/442](https://togithub.com/charpeni/react-native-url-polyfill/pull/442) - [@&#8203;staltz](https://togithub.com/staltz) made their first contribution in [https://github.com/charpeni/react-native-url-polyfill/pull/413](https://togithub.com/charpeni/react-native-url-polyfill/pull/413) - [@&#8203;raykle](https://togithub.com/raykle) made their first contribution in [https://github.com/charpeni/react-native-url-polyfill/pull/444](https://togithub.com/charpeni/react-native-url-polyfill/pull/444) **Full Changelog**: charpeni/react-native-url-polyfill@v1.3.0...v2.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone America/Los_Angeles. 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJucG0iLCJyZW5vdmF0ZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent c9f621a commit 12c6d4d

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
"react-native-splash-screen": "^3.3.0",
187187
"react-native-svg": "^13.14.0",
188188
"react-native-tab-view": "^2.16.0",
189-
"react-native-url-polyfill": "^1.3.0",
189+
"react-native-url-polyfill": "^2.0.0",
190190
"react-native-video": "^6.0.0-rc.0",
191191
"react-native-webview": "^13.8.6",
192192
"react-redux": "^9.1.1",

yarn.lock

-7
Original file line numberDiff line numberDiff line change
@@ -15409,13 +15409,6 @@ react-native-tab-view@^2.16.0:
1540915409
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-2.16.0.tgz#cae72c7084394bd328fac5fefb86cd966df37a86"
1541015410
integrity sha512-ac2DmT7+l13wzIFqtbfXn4wwfgtPoKzWjjZyrK1t+T8sdemuUvD4zIt+UImg03fu3s3VD8Wh/fBrIdcqQyZJWg==
1541115411

15412-
react-native-url-polyfill@^1.3.0:
15413-
version "1.3.0"
15414-
resolved "https://registry.yarnpkg.com/react-native-url-polyfill/-/react-native-url-polyfill-1.3.0.tgz#c1763de0f2a8c22cc3e959b654c8790622b6ef6a"
15415-
integrity sha512-w9JfSkvpqqlix9UjDvJjm1EjSt652zVQ6iwCIj1cVVkwXf4jQhQgTNXY6EVTwuAmUjg6BC6k9RHCBynoLFo3IQ==
15416-
dependencies:
15417-
whatwg-url-without-unicode "8.0.0-3"
15418-
1541915412
react-native-url-polyfill@^2.0.0:
1542015413
version "2.0.0"
1542115414
resolved "https://registry.yarnpkg.com/react-native-url-polyfill/-/react-native-url-polyfill-2.0.0.tgz#db714520a2985cff1d50ab2e66279b9f91ffd589"

0 commit comments

Comments
 (0)