Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit f8606bd

Browse files
authored
Merge pull request #117 from pubnub/expo-48
chore: update packages to work with expo 48
2 parents b7b97a9 + a0b2b8b commit f8606bd

File tree

16 files changed

+3308
-24536
lines changed

16 files changed

+3308
-24536
lines changed

.pubnub.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
---
22
name: pubnub-react-chat-components
3-
version: v0.25.0
3+
version: v0.26.0
44
scm: github.com/pubnub/react-chat-components
55
schema: 1
66
files:
77
- lib/dist/index.js
88
- lib/dist/index.es.js
99
changelog:
10+
- date: 2023-04-18
11+
version: v0.26.0
12+
changes:
13+
- type: feature
14+
text: "ReactNative - support for Expo 48. Previous Expo versions are no longer guaranteed to work correctly."
1015
- date: 2023-04-17
1116
version: v0.25.0
1217
changes:

load-tests/react-native/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"dependencies": {
1212
"@react-navigation/native": "^6.1.2",
1313
"@react-navigation/native-stack": "^6.9.8",
14-
"expo": "~47.0.12",
14+
"expo": "^48.0.0",
1515
"expo-status-bar": "~1.4.2",
16-
"react": "18.1.0",
16+
"react": "18.2.0",
1717
"@pubnub/tomato": "1.7.0",
18-
"react-native": "0.70.5",
19-
"react-native-safe-area-context": "4.4.1",
20-
"react-native-screens": "~3.18.0"
18+
"react-native": "0.71.6",
19+
"react-native-safe-area-context": "4.5.0",
20+
"react-native-screens": "~3.20.0"
2121
},
2222
"devDependencies": {
2323
"@babel/core": "^7.12.9",

load-tests/react/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
"find-my-way": "^7.3.1",
1919
"pubnub": "7.2.0",
2020
"pubnub-react": "3.0.1",
21-
"react": "18.1.0",
22-
"react-dom": "18.1.0"
21+
"react": "18.2.0",
22+
"react-dom": "18.2.0"
2323
},
2424
"devDependencies": {
2525
"@types/pubnub": "7.2.0",
26-
"@types/react": "18.0.24",
27-
"@types/react-dom": "18.0.6",
26+
"@types/react": "18.0.27",
27+
"@types/react-dom": "18.0.10",
2828
"buffer": "^5.5.0",
2929
"concurrently": "^7.6.0",
3030
"parcel": "latest",
31-
"typescript": "4.8.3"
31+
"typescript": "4.9.4"
3232
}
3333
}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@
5959
"turbo": "1.5.6"
6060
},
6161
"resolutions": {
62-
"@types/react": "18.0.24",
63-
"react": "18.1.0",
64-
"react-dom": "18.1.0"
62+
"@types/react": "18.0.27",
63+
"react": "18.2.0",
64+
"react-dom": "18.2.0"
6565
},
6666
"overrides": {
67-
"@types/react": "18.0.24",
68-
"react": "18.1.0",
69-
"react-dom": "18.1.0"
67+
"@types/react": "18.0.27",
68+
"react": "18.2.0",
69+
"react-dom": "18.2.0"
7070
}
7171
}

packages/common/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pubnub/common-chat-components",
3-
"version": "0.25.0",
3+
"version": "0.26.0",
44
"main": "src/index.ts",
55
"license": "MIT",
66
"scripts": {
@@ -17,14 +17,14 @@
1717
"@types/jest": "29.0.3",
1818
"@types/lodash": "4.14.186",
1919
"@types/pubnub": "7.2.0",
20-
"@types/react": "18.0.24",
21-
"@types/react-dom": "18.0.6",
22-
"jest": "29.0.3",
20+
"@types/react": "18.0.27",
21+
"@types/react-dom": "18.0.10",
22+
"jest": "29.2.1",
2323
"jest-environment-jsdom": "29.0.3",
2424
"pubnub": "7.2.0",
2525
"pubnub-react": "3.0.1",
26-
"react": "18.1.0",
27-
"react-dom": "18.1.0",
28-
"typescript": "4.8.3"
26+
"react": "18.2.0",
27+
"react-dom": "18.2.0",
28+
"typescript": "4.9.4"
2929
}
3030
}

packages/react-native/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pubnub/react-native-chat-components",
3-
"version": "0.25.0",
3+
"version": "0.26.0",
44
"description": "PubNub Chat Components is a development kit of React Native components that aims to help you to easily build Chat applications using PubNub infrastructure. It removes the complexicity of picking an adequate Chat engine, learning its APIs and dealing with its low-level internals. As the same time it allows you to create apps of various use cases, with different functionalities and customizable looks.",
55
"author": "PubNub <[email protected]>",
66
"main": "dist/commonjs/index",
@@ -48,23 +48,23 @@
4848
"@testing-library/jest-native": "4.0.12",
4949
"@testing-library/react-native": "11.1.0",
5050
"@types/pubnub": "7.2.0",
51-
"@types/react": "18.0.24",
52-
"@types/react-dom": "18.0.6",
51+
"@types/react": "18.0.27",
52+
"@types/react-dom": "18.0.10",
5353
"babel-jest": "29.2.0",
5454
"babel-plugin-react-native-web": "^0.18.10",
55-
"jest": "29.0.3",
55+
"jest": "29.2.1",
5656
"jest-environment-jsdom": "29.0.3",
57-
"jest-expo": "47.0.1",
57+
"jest-expo": "48.0.2",
5858
"pubnub": "7.2.0",
5959
"pubnub-react": "3.0.1",
60-
"react": "18.1.0",
61-
"react-dom": "18.1.0",
62-
"react-native": "0.70.5",
60+
"react": "18.2.0",
61+
"react-dom": "18.2.0",
62+
"react-native": "0.71.6",
6363
"react-test-renderer": "18.2.0",
6464
"rollup": "2.79.0",
6565
"rollup-plugin-peer-deps-external": "2.2.4",
6666
"rollup-plugin-ts": "3.0.2",
67-
"typescript": "4.8.3"
67+
"typescript": "4.9.4"
6868
},
6969
"peerDependencies": {
7070
"pubnub": ">=4.29.9",
@@ -73,11 +73,11 @@
7373
"react-native": ">=0.69.0"
7474
},
7575
"dependencies": {
76-
"expo-document-picker": "11.0.1",
77-
"expo-file-system": "15.1.1",
78-
"expo-image-picker": "14.0.2",
79-
"expo-media-library": "15.0.0",
80-
"expo-sharing": "11.0.1",
76+
"expo-document-picker": "11.2.2",
77+
"expo-file-system": "15.2.2",
78+
"expo-image-picker": "14.1.1",
79+
"expo-media-library": "15.2.3",
80+
"expo-sharing": "11.2.2",
8181
"jotai": "1.8.3",
8282
"lodash": "^4.17.0",
8383
"react-native-uuid": "^2.0.1"

packages/react-native/rollup.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ function loadBrowserCryptoModule() {
1414
name: "browser-crypto-module-resolver",
1515
resolveId(source) {
1616
if (source === "./lib/rng") {
17-
return "../../node_modules/uuid/lib/rng-browser.js";
17+
return "../../node_modules/expo-file-system/node_modules/uuid/lib/rng-browser.js";
18+
}
19+
if (source === "./rng") {
20+
return "../../node_modules/uuid/dist/rng-browser.js";
1821
}
1922
return null;
2023
},

packages/react/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pubnub/react-chat-components",
3-
"version": "0.25.0",
3+
"version": "0.26.0",
44
"description": "PubNub Chat Components is a development kit of React components that aims to help you to easily build Chat applications using PubNub infrastructure. It removes the complexicity of picking an adequate Chat engine, learning its APIs and dealing with its low-level internals. As the same time it allows you to create apps of various use cases, with different functionalities and customizable looks.",
55
"author": "PubNub <[email protected]>",
66
"main": "dist/index.js",
@@ -44,22 +44,22 @@
4444
"@testing-library/user-event": "14.4.3",
4545
"@types/jest": "29.0.3",
4646
"@types/pubnub": "7.2.0",
47-
"@types/react": "18.0.24",
48-
"@types/react-dom": "18.0.6",
49-
"jest": "29.0.3",
47+
"@types/react": "18.0.27",
48+
"@types/react-dom": "18.0.10",
49+
"jest": "29.2.1",
5050
"jest-environment-jsdom": "29.0.3",
5151
"jest-scss-transform": "1.0.3",
5252
"postcss": "8.4.16",
5353
"pubnub": "7.2.0",
5454
"pubnub-react": "3.0.1",
55-
"react": "18.1.0",
56-
"react-dom": "18.1.0",
55+
"react": "18.2.0",
56+
"react-dom": "18.2.0",
5757
"rollup": "2.79.0",
5858
"rollup-plugin-peer-deps-external": "2.2.4",
5959
"rollup-plugin-postcss": "4.0.2",
6060
"rollup-plugin-ts": "3.0.2",
6161
"sass": "1.54.9",
62-
"typescript": "4.8.3"
62+
"typescript": "4.9.4"
6363
},
6464
"peerDependencies": {
6565
"pubnub": ">=4.29.9",

0 commit comments

Comments
 (0)