Skip to content

Commit 22019a2

Browse files
authored
fix: web compatibility (#666)
## 📜 Description Bump `react-native-is-edge-to-edge` as it breaks web (webpack) compatibility. ## 💡 Motivation and Context There was a problem because `web` was resolving `index.mjs`, which had a reference ti TurboModule and crashed the app: ![image](https://github.com/user-attachments/assets/7ce5c242-fecf-4254-8506-0ebf188b35d8) It was fixed in `1.1.6` - all extensions were removed and files were named correspondingly. So now all files can be properly resolved 😊 ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### JS - bump `react-native-is-edge-to-edge` to `1.1.6`; ## 🤔 How Has This Been Tested? Tested manually on webpack app. ## 📸 Screenshots (if appropriate): <img width="2141" alt="image" src="https://github.com/user-attachments/assets/0a2f12ef-eb06-4b63-8d4b-53826c677585"> ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
1 parent e31a62a commit 22019a2

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

FabricExample/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4637,10 +4637,10 @@ [email protected]:
46374637
invariant "^2.2.4"
46384638
prop-types "^15.7.2"
46394639

4640-
react-native-is-edge-to-edge@^1.1.5:
4641-
version "1.1.5"
4642-
resolved "https://registry.yarnpkg.com/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.1.5.tgz#9dff7a1fad17ceb39ff48192c9ddaff5c72a637a"
4643-
integrity sha512-zt/0wLKBYTdoQdaZEvN9Ghi8Kz3Fo3LaWMzWZyJl7aLhvCNPebyi0DW449+PzC5xpIQdfcmumwkaB9VpymvViQ==
4640+
react-native-is-edge-to-edge@^1.1.6:
4641+
version "1.1.6"
4642+
resolved "https://registry.yarnpkg.com/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.1.6.tgz#69ec13f70d76e9245e275eed4140d0873a78f902"
4643+
integrity sha512-1pHnFTlBahins6UAajXUqeCOHew9l9C2C8tErnpGC3IyLJzvxD+TpYAixnCbrVS52f7+NvMttbiSI290XfwN0w==
46444644

46454645
"react-native-keyboard-controller@link:..":
46464646
version "0.0.0"

example/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4747,10 +4747,10 @@ [email protected]:
47474747
resolved "https://registry.yarnpkg.com/react-native-haptic-feedback/-/react-native-haptic-feedback-2.3.1.tgz#2ef4ac7d4f63ac06bd64b659f509362f127b16e5"
47484748
integrity sha512-dPfjV4iVHfhVyfG+nRd88ygjahbdup7KFZDM5L2aNIAzqbNtKxHZn5O1pHegwSj1t15VJliu0GyTX7XpBDeXUw==
47494749

4750-
react-native-is-edge-to-edge@^1.1.5:
4751-
version "1.1.5"
4752-
resolved "https://registry.yarnpkg.com/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.1.5.tgz#9dff7a1fad17ceb39ff48192c9ddaff5c72a637a"
4753-
integrity sha512-zt/0wLKBYTdoQdaZEvN9Ghi8Kz3Fo3LaWMzWZyJl7aLhvCNPebyi0DW449+PzC5xpIQdfcmumwkaB9VpymvViQ==
4750+
react-native-is-edge-to-edge@^1.1.6:
4751+
version "1.1.6"
4752+
resolved "https://registry.yarnpkg.com/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.1.6.tgz#69ec13f70d76e9245e275eed4140d0873a78f902"
4753+
integrity sha512-1pHnFTlBahins6UAajXUqeCOHew9l9C2C8tErnpGC3IyLJzvxD+TpYAixnCbrVS52f7+NvMttbiSI290XfwN0w==
47544754

47554755
"react-native-keyboard-controller@link:..":
47564756
version "0.0.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"registry": "https://registry.npmjs.org/"
7676
},
7777
"dependencies": {
78-
"react-native-is-edge-to-edge": "^1.1.5"
78+
"react-native-is-edge-to-edge": "^1.1.6"
7979
},
8080
"devDependencies": {
8181
"@commitlint/config-conventional": "^11.0.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7685,10 +7685,10 @@ react-native-builder-bob@^0.18.0:
76857685
optionalDependencies:
76867686
jetifier "^2.0.0"
76877687

7688-
react-native-is-edge-to-edge@^1.1.5:
7689-
version "1.1.5"
7690-
resolved "https://registry.yarnpkg.com/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.1.5.tgz#9dff7a1fad17ceb39ff48192c9ddaff5c72a637a"
7691-
integrity sha512-zt/0wLKBYTdoQdaZEvN9Ghi8Kz3Fo3LaWMzWZyJl7aLhvCNPebyi0DW449+PzC5xpIQdfcmumwkaB9VpymvViQ==
7688+
react-native-is-edge-to-edge@^1.1.6:
7689+
version "1.1.6"
7690+
resolved "https://registry.yarnpkg.com/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.1.6.tgz#69ec13f70d76e9245e275eed4140d0873a78f902"
7691+
integrity sha512-1pHnFTlBahins6UAajXUqeCOHew9l9C2C8tErnpGC3IyLJzvxD+TpYAixnCbrVS52f7+NvMttbiSI290XfwN0w==
76927692

76937693
76947694
version "3.16.1"

0 commit comments

Comments
 (0)