update dependencies (#8131)
* update project depdendencies * update detox dependencies * update fastlane * remove silencing console
This commit is contained in:
parent
5190af9e0c
commit
0b83938d3c
26 changed files with 4912 additions and 3044 deletions
|
|
@ -43,6 +43,10 @@ jest.mock('react-native-keychain', () => {
|
|||
};
|
||||
});
|
||||
|
||||
jest.mock('@utils/log', () => ({
|
||||
logError: jest.fn(),
|
||||
}));
|
||||
|
||||
describe('/app/actions/app/global', () => {
|
||||
beforeEach(async () => {
|
||||
await DatabaseManager.init([serverUrl]);
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ exports[`AttachmentAuthor it matches snapshot when both name and icon are provid
|
|||
}
|
||||
>
|
||||
<ViewManagerAdapter_ExpoImage
|
||||
containerViewRef={"[React.ref]"}
|
||||
contentFit="cover"
|
||||
contentPosition={
|
||||
{
|
||||
|
|
@ -71,6 +72,7 @@ exports[`AttachmentAuthor it matches snapshot when only icon is provided 1`] = `
|
|||
}
|
||||
>
|
||||
<ViewManagerAdapter_ExpoImage
|
||||
containerViewRef={"[React.ref]"}
|
||||
contentFit="cover"
|
||||
contentPosition={
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ exports[`AttachmentFooter it matches snapshot when both footer and footer_icon a
|
|||
}
|
||||
>
|
||||
<ViewManagerAdapter_ExpoImage
|
||||
containerViewRef={"[React.ref]"}
|
||||
contentFit="cover"
|
||||
contentPosition={
|
||||
{
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ exports[`ThreadOverview should match snapshot when post is not saved and 0 repli
|
|||
exclusive={true}
|
||||
handlerTag={1}
|
||||
handlerType="NativeViewGestureHandler"
|
||||
innerRef={null}
|
||||
onGestureEvent={[Function]}
|
||||
onGestureHandlerEvent={[Function]}
|
||||
onGestureHandlerStateChange={[Function]}
|
||||
|
|
@ -90,6 +91,7 @@ exports[`ThreadOverview should match snapshot when post is not saved and 0 repli
|
|||
exclusive={true}
|
||||
handlerTag={2}
|
||||
handlerType="NativeViewGestureHandler"
|
||||
innerRef={null}
|
||||
onGestureEvent={[Function]}
|
||||
onGestureHandlerEvent={[Function]}
|
||||
onGestureHandlerStateChange={[Function]}
|
||||
|
|
@ -174,6 +176,7 @@ exports[`ThreadOverview should match snapshot when post is saved and has replies
|
|||
exclusive={true}
|
||||
handlerTag={3}
|
||||
handlerType="NativeViewGestureHandler"
|
||||
innerRef={null}
|
||||
onGestureEvent={[Function]}
|
||||
onGestureHandlerEvent={[Function]}
|
||||
onGestureHandlerStateChange={[Function]}
|
||||
|
|
@ -206,6 +209,7 @@ exports[`ThreadOverview should match snapshot when post is saved and has replies
|
|||
exclusive={true}
|
||||
handlerTag={4}
|
||||
handlerType="NativeViewGestureHandler"
|
||||
innerRef={null}
|
||||
onGestureEvent={[Function]}
|
||||
onGestureHandlerEvent={[Function]}
|
||||
onGestureHandlerStateChange={[Function]}
|
||||
|
|
|
|||
|
|
@ -444,6 +444,7 @@ exports[`components/channel_list_row should show results and tutorial 1`] = `
|
|||
<ViewManagerAdapter_ExpoImage
|
||||
backgroundColor={4294967295}
|
||||
borderRadius={12}
|
||||
containerViewRef={"[React.ref]"}
|
||||
contentFit="cover"
|
||||
contentPosition={
|
||||
{
|
||||
|
|
@ -763,6 +764,7 @@ exports[`components/channel_list_row should show results no tutorial 1`] = `
|
|||
<ViewManagerAdapter_ExpoImage
|
||||
backgroundColor={4294967295}
|
||||
borderRadius={12}
|
||||
containerViewRef={"[React.ref]"}
|
||||
contentFit="cover"
|
||||
contentPosition={
|
||||
{
|
||||
|
|
@ -1120,6 +1122,7 @@ exports[`components/channel_list_row should show results no tutorial 2 users 1`]
|
|||
<ViewManagerAdapter_ExpoImage
|
||||
backgroundColor={4294967295}
|
||||
borderRadius={12}
|
||||
containerViewRef={"[React.ref]"}
|
||||
contentFit="cover"
|
||||
contentPosition={
|
||||
{
|
||||
|
|
@ -1338,6 +1341,7 @@ exports[`components/channel_list_row should show results no tutorial 2 users 1`]
|
|||
<ViewManagerAdapter_ExpoImage
|
||||
backgroundColor={4294967295}
|
||||
borderRadius={12}
|
||||
containerViewRef={"[React.ref]"}
|
||||
contentFit="cover"
|
||||
contentPosition={
|
||||
{
|
||||
|
|
|
|||
|
|
@ -87,8 +87,6 @@ const PrivateChannelIllustration = ({theme}: Props) => (
|
|||
/>
|
||||
<Mask
|
||||
id='a'
|
||||
|
||||
// @ts-expect-error style not intrinsic
|
||||
style={{
|
||||
maskType: 'alpha',
|
||||
}}
|
||||
|
|
@ -132,8 +130,6 @@ const PrivateChannelIllustration = ({theme}: Props) => (
|
|||
/>
|
||||
<Mask
|
||||
id='b'
|
||||
|
||||
// @ts-expect-error style not intrinsic
|
||||
style={{
|
||||
maskType: 'alpha',
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -103,8 +103,6 @@ const PublicChannelIllustration = ({theme}: Props) => (
|
|||
/>
|
||||
<Mask
|
||||
id='a'
|
||||
|
||||
// @ts-expect-error style not intrinsic
|
||||
style={{
|
||||
maskType: 'alpha',
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -47,8 +47,6 @@ const TownSquareIllustration = ({theme}: Props) => (
|
|||
/>
|
||||
<Mask
|
||||
id='a'
|
||||
|
||||
// @ts-expect-error style not intrinsic
|
||||
style={{
|
||||
maskType: 'alpha',
|
||||
}}
|
||||
|
|
@ -117,8 +115,6 @@ const TownSquareIllustration = ({theme}: Props) => (
|
|||
/>
|
||||
<Mask
|
||||
id='b'
|
||||
|
||||
// @ts-expect-error style not intrinsic
|
||||
style={{
|
||||
maskType: 'alpha',
|
||||
}}
|
||||
|
|
@ -159,8 +155,6 @@ const TownSquareIllustration = ({theme}: Props) => (
|
|||
/>
|
||||
<Mask
|
||||
id='c'
|
||||
|
||||
// @ts-expect-error style not intrinsic
|
||||
style={{
|
||||
maskType: 'alpha',
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -104,8 +104,6 @@ const Inbox = (props: SvgProps) => (
|
|||
x={71}
|
||||
y={91}
|
||||
maskUnits='userSpaceOnUse'
|
||||
|
||||
// @ts-expect-error style not defined
|
||||
style={{
|
||||
maskType: 'alpha',
|
||||
}}
|
||||
|
|
@ -144,8 +142,6 @@ const Inbox = (props: SvgProps) => (
|
|||
x={56}
|
||||
y={52}
|
||||
maskUnits='userSpaceOnUse'
|
||||
|
||||
// @ts-expect-error style not defined
|
||||
style={{
|
||||
maskType: 'alpha',
|
||||
}}
|
||||
|
|
|
|||
4177
detox/package-lock.json
generated
4177
detox/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -4,41 +4,41 @@
|
|||
"repository": "git@github.com:mattermost/mattermost-mobile.git",
|
||||
"author": "Mattermost, Inc.",
|
||||
"devDependencies": {
|
||||
"@aws-sdk/client-s3": "3.445.0",
|
||||
"@aws-sdk/lib-storage": "3.445.0",
|
||||
"@aws-sdk/client-s3": "3.624.0",
|
||||
"@aws-sdk/lib-storage": "3.624.0",
|
||||
"@babel/plugin-proposal-class-properties": "7.18.6",
|
||||
"@babel/plugin-transform-modules-commonjs": "7.22.15",
|
||||
"@babel/plugin-transform-runtime": "7.22.15",
|
||||
"@babel/preset-env": "7.22.20",
|
||||
"@babel/plugin-transform-modules-commonjs": "7.24.8",
|
||||
"@babel/plugin-transform-runtime": "7.24.7",
|
||||
"@babel/preset-env": "7.25.3",
|
||||
"@jest/test-sequencer": "29.7.0",
|
||||
"@types/jest": "29.5.5",
|
||||
"@types/tough-cookie": "4.0.3",
|
||||
"@types/uuid": "9.0.4",
|
||||
"@types/jest": "29.5.12",
|
||||
"@types/tough-cookie": "4.0.5",
|
||||
"@types/uuid": "10.0.0",
|
||||
"async": "3.2.5",
|
||||
"axios": "1.5.0",
|
||||
"axios-cookiejar-support": "4.0.7",
|
||||
"axios": "1.7.3",
|
||||
"axios-cookiejar-support": "5.0.2",
|
||||
"babel-jest": "29.7.0",
|
||||
"babel-plugin-module-resolver": "5.0.0",
|
||||
"babel-plugin-module-resolver": "5.0.2",
|
||||
"client-oauth2": "4.3.3",
|
||||
"deepmerge": "4.3.1",
|
||||
"detox": "20.19.3",
|
||||
"detox": "20.25.2",
|
||||
"form-data": "4.0.0",
|
||||
"jest": "29.7.0",
|
||||
"jest-circus": "29.7.0",
|
||||
"jest-cli": "29.7.0",
|
||||
"jest-html-reporters": "3.1.4",
|
||||
"jest-html-reporters": "3.1.7",
|
||||
"jest-junit": "16.0.0",
|
||||
"jest-stare": "2.5.1",
|
||||
"junit-report-merger": "6.0.2",
|
||||
"moment-timezone": "0.5.43",
|
||||
"jest-stare": "2.5.2",
|
||||
"junit-report-merger": "7.0.0",
|
||||
"moment-timezone": "0.5.45",
|
||||
"recursive-readdir": "2.2.3",
|
||||
"sanitize-filename": "1.6.3",
|
||||
"shelljs": "0.8.5",
|
||||
"tough-cookie": "4.1.3",
|
||||
"ts-jest": "29.1.1",
|
||||
"tslib": "2.6.2",
|
||||
"typescript": "5.2.2",
|
||||
"uuid": "9.0.1",
|
||||
"tough-cookie": "4.1.4",
|
||||
"ts-jest": "29.2.4",
|
||||
"tslib": "2.6.3",
|
||||
"typescript": "5.5.4",
|
||||
"uuid": "10.0.0",
|
||||
"xml2js": "0.6.2"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ GEM
|
|||
artifactory (3.0.17)
|
||||
atomos (0.1.3)
|
||||
aws-eventstream (1.3.0)
|
||||
aws-partitions (1.958.0)
|
||||
aws-partitions (1.962.0)
|
||||
aws-sdk-core (3.201.3)
|
||||
aws-eventstream (~> 1, >= 1.3.0)
|
||||
aws-partitions (~> 1, >= 1.651.0)
|
||||
|
|
@ -25,11 +25,11 @@ GEM
|
|||
aws-sdk-kms (1.88.0)
|
||||
aws-sdk-core (~> 3, >= 3.201.0)
|
||||
aws-sigv4 (~> 1.5)
|
||||
aws-sdk-s3 (1.156.0)
|
||||
aws-sdk-s3 (1.157.0)
|
||||
aws-sdk-core (~> 3, >= 3.201.0)
|
||||
aws-sdk-kms (~> 1)
|
||||
aws-sigv4 (~> 1.5)
|
||||
aws-sigv4 (1.9.0)
|
||||
aws-sigv4 (1.9.1)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
babosa (1.0.4)
|
||||
base64 (0.2.0)
|
||||
|
|
@ -136,7 +136,7 @@ GEM
|
|||
google-apis-core (>= 0.11.0, < 2.a)
|
||||
google-apis-storage_v1 (0.31.0)
|
||||
google-apis-core (>= 0.11.0, < 2.a)
|
||||
google-cloud-core (1.7.0)
|
||||
google-cloud-core (1.7.1)
|
||||
google-cloud-env (>= 1.0, < 3.a)
|
||||
google-cloud-errors (~> 1.0)
|
||||
google-cloud-env (1.6.0)
|
||||
|
|
@ -179,7 +179,7 @@ GEM
|
|||
os (1.1.4)
|
||||
plist (3.7.1)
|
||||
public_suffix (6.0.1)
|
||||
racc (1.8.0)
|
||||
racc (1.8.1)
|
||||
rake (13.2.1)
|
||||
representable (3.2.0)
|
||||
declarative (< 0.1.0)
|
||||
|
|
|
|||
|
|
@ -2421,7 +2421,7 @@
|
|||
repositoryURL = "https://github.com/getsentry/sentry-cocoa.git";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 8.29.1;
|
||||
version = 8.32.0;
|
||||
};
|
||||
};
|
||||
7FD4822A2864D73300A5B18B /* XCRemoteSwiftPackageReference "OpenGraph" */ = {
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@
|
|||
"repositoryURL": "https://github.com/getsentry/sentry-cocoa.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "08862789e1cbba7a9561bed69832a9306f339cd3",
|
||||
"version": "8.29.1"
|
||||
"revision": "5421f94cc859eb65f5ae3866165a053aa634431e",
|
||||
"version": "8.32.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
576
ios/Podfile.lock
576
ios/Podfile.lock
File diff suppressed because it is too large
Load diff
2947
package-lock.json
generated
2947
package-lock.json
generated
File diff suppressed because it is too large
Load diff
88
package.json
88
package.json
|
|
@ -17,7 +17,7 @@
|
|||
"@formatjs/intl-locale": "4.0.0",
|
||||
"@formatjs/intl-numberformat": "8.10.3",
|
||||
"@formatjs/intl-pluralrules": "5.2.14",
|
||||
"@gorhom/bottom-sheet": "4.6.3",
|
||||
"@gorhom/bottom-sheet": "4.6.4",
|
||||
"@mattermost/calls": "github:mattermost/calls-common#5cc5598fe9574125a61a3b54501deb6b65fcc70f",
|
||||
"@mattermost/compass-icons": "0.1.45",
|
||||
"@mattermost/hardware-keyboard": "file:./libraries/@mattermost/hardware-keyboard",
|
||||
|
|
@ -30,16 +30,16 @@
|
|||
"@mattermost/rnutils": "file:./libraries/@mattermost/rnutils",
|
||||
"@msgpack/msgpack": "2.8.0",
|
||||
"@nozbe/watermelondb": "0.27.1",
|
||||
"@react-native-camera-roll/camera-roll": "7.8.1",
|
||||
"@react-native-camera-roll/camera-roll": "7.8.3",
|
||||
"@react-native-clipboard/clipboard": "1.14.1",
|
||||
"@react-native-community/datetimepicker": "8.1.1",
|
||||
"@react-native-community/datetimepicker": "8.2.0",
|
||||
"@react-native-community/netinfo": "11.3.2",
|
||||
"@react-native-cookies/cookies": "6.2.1",
|
||||
"@react-navigation/bottom-tabs": "6.5.20",
|
||||
"@react-navigation/native": "6.1.17",
|
||||
"@react-navigation/stack": "6.3.29",
|
||||
"@react-navigation/bottom-tabs": "6.6.1",
|
||||
"@react-navigation/native": "6.1.18",
|
||||
"@react-navigation/stack": "6.4.1",
|
||||
"@rneui/base": "4.0.0-rc.8",
|
||||
"@sentry/react-native": "5.24.1",
|
||||
"@sentry/react-native": "5.27.0",
|
||||
"@stream-io/flat-list-mvcp": "0.10.3",
|
||||
"@voximplant/react-native-foreground-service": "3.0.2",
|
||||
"base-64": "1.0.0",
|
||||
|
|
@ -48,83 +48,83 @@
|
|||
"deep-equal": "2.2.3",
|
||||
"deepmerge": "4.3.1",
|
||||
"emoji-regex": "10.3.0",
|
||||
"expo": "51.0.14",
|
||||
"expo": "51.0.24",
|
||||
"expo-application": "5.9.1",
|
||||
"expo-crypto": "13.0.2",
|
||||
"expo-device": "6.0.2",
|
||||
"expo-image": "1.12.12",
|
||||
"expo-image": "1.12.13",
|
||||
"expo-linear-gradient": "13.0.2",
|
||||
"expo-store-review": "7.0.2",
|
||||
"expo-video-thumbnails": "8.0.0",
|
||||
"expo-web-browser": "13.0.3",
|
||||
"fuse.js": "7.0.0",
|
||||
"html-entities": "2.5.2",
|
||||
"mime-db": "1.52.0",
|
||||
"mime-db": "1.53.0",
|
||||
"moment-timezone": "0.5.45",
|
||||
"node-html-parser": "6.1.13",
|
||||
"pako": "2.1.0",
|
||||
"path-to-regexp": "6.2.2",
|
||||
"path-to-regexp": "7.1.0",
|
||||
"react": "18.2.0",
|
||||
"react-freeze": "1.0.4",
|
||||
"react-intl": "6.6.8",
|
||||
"react-native": "0.74.2",
|
||||
"react-native": "0.74.5",
|
||||
"react-native-background-timer": "2.4.1",
|
||||
"react-native-document-picker": "9.3.0",
|
||||
"react-native-dotenv": "3.4.11",
|
||||
"react-native-exception-handler": "2.10.10",
|
||||
"react-native-file-viewer": "2.1.5",
|
||||
"react-native-gesture-handler": "2.16.2",
|
||||
"react-native-gesture-handler": "2.18.1",
|
||||
"react-native-haptic-feedback": "2.2.0",
|
||||
"react-native-image-picker": "7.1.2",
|
||||
"react-native-incall-manager": "4.2.0",
|
||||
"react-native-keyboard-aware-scroll-view": "0.9.5",
|
||||
"react-native-keychain": "8.2.0",
|
||||
"react-native-localize": "3.2.0",
|
||||
"react-native-localize": "3.2.1",
|
||||
"react-native-math-view": "3.9.5",
|
||||
"react-native-navigation": "7.40.0",
|
||||
"react-native-navigation": "7.40.1",
|
||||
"react-native-notifications": "5.1.0",
|
||||
"react-native-performance": "5.1.2",
|
||||
"react-native-permissions": "4.1.5",
|
||||
"react-native-reanimated": "3.12.0",
|
||||
"react-native-safe-area-context": "4.10.5",
|
||||
"react-native-screens": "3.32.0",
|
||||
"react-native-reanimated": "3.14.0",
|
||||
"react-native-safe-area-context": "4.10.8",
|
||||
"react-native-screens": "3.34.0",
|
||||
"react-native-section-list-get-item-layout": "2.2.3",
|
||||
"react-native-shadow-2": "7.1.0",
|
||||
"react-native-share": "10.2.1",
|
||||
"react-native-svg": "15.3.0",
|
||||
"react-native-svg": "15.4.0",
|
||||
"react-native-vector-icons": "10.1.0",
|
||||
"react-native-video": "6.2.0",
|
||||
"react-native-video": "6.4.3",
|
||||
"react-native-walkthrough-tooltip": "1.6.0",
|
||||
"react-native-webrtc": "124.0.1",
|
||||
"react-native-webrtc": "124.0.3",
|
||||
"react-syntax-highlighter": "15.5.0",
|
||||
"semver": "7.6.2",
|
||||
"semver": "7.6.3",
|
||||
"tinycolor2": "1.6.0",
|
||||
"url-parse": "1.5.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "7.24.7",
|
||||
"@babel/core": "7.24.7",
|
||||
"@babel/eslint-parser": "7.24.7",
|
||||
"@babel/cli": "7.24.8",
|
||||
"@babel/core": "7.25.2",
|
||||
"@babel/eslint-parser": "7.25.1",
|
||||
"@babel/plugin-proposal-class-properties": "7.18.6",
|
||||
"@babel/plugin-proposal-decorators": "7.24.7",
|
||||
"@babel/plugin-transform-flow-strip-types": "7.24.7",
|
||||
"@babel/plugin-transform-flow-strip-types": "7.25.2",
|
||||
"@babel/plugin-transform-runtime": "7.24.7",
|
||||
"@babel/preset-env": "7.24.7",
|
||||
"@babel/preset-env": "7.25.3",
|
||||
"@babel/preset-typescript": "7.24.7",
|
||||
"@babel/register": "7.24.6",
|
||||
"@babel/runtime": "7.24.7",
|
||||
"@react-native/babel-preset": "0.74.84",
|
||||
"@react-native/eslint-config": "0.74.84",
|
||||
"@react-native/metro-config": "0.74.84",
|
||||
"@react-native/typescript-config": "0.74.84",
|
||||
"@babel/runtime": "7.25.0",
|
||||
"@react-native/babel-preset": "0.74.87",
|
||||
"@react-native/eslint-config": "0.74.87",
|
||||
"@react-native/metro-config": "0.74.87",
|
||||
"@react-native/typescript-config": "0.74.87",
|
||||
"@testing-library/react-hooks": "8.0.1",
|
||||
"@testing-library/react-native": "12.5.1",
|
||||
"@testing-library/react-native": "12.5.2",
|
||||
"@types/base-64": "1.0.2",
|
||||
"@types/commonmark": "0.27.9",
|
||||
"@types/commonmark-react-renderer": "4.3.4",
|
||||
"@types/deep-equal": "1.0.4",
|
||||
"@types/jest": "29.5.12",
|
||||
"@types/lodash": "4.17.5",
|
||||
"@types/lodash": "4.17.7",
|
||||
"@types/mime-db": "1.43.5",
|
||||
"@types/pako": "2.0.3",
|
||||
"@types/querystringify": "2.0.2",
|
||||
|
|
@ -137,34 +137,34 @@
|
|||
"@types/tinycolor2": "1.4.6",
|
||||
"@types/tough-cookie": "4.0.5",
|
||||
"@types/url-parse": "1.4.11",
|
||||
"@types/uuid": "9.0.8",
|
||||
"@types/uuid": "10.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "7.13.1",
|
||||
"@typescript-eslint/parser": "7.13.1",
|
||||
"axios": "1.7.2",
|
||||
"axios": "1.7.3",
|
||||
"axios-cookiejar-support": "5.0.2",
|
||||
"babel-jest": "29.7.0",
|
||||
"babel-loader": "9.1.3",
|
||||
"babel-plugin-module-resolver": "5.0.2",
|
||||
"detox": "20.20.1",
|
||||
"detox": "20.25.2",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-plugin-header": "3.1.1",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jest": "28.6.0",
|
||||
"eslint-plugin-react": "7.34.3",
|
||||
"eslint-plugin-jest": "28.7.0",
|
||||
"eslint-plugin-react": "7.35.0",
|
||||
"eslint-plugin-react-hooks": "4.6.2",
|
||||
"husky": "9.0.11",
|
||||
"husky": "9.1.4",
|
||||
"isomorphic-fetch": "3.0.0",
|
||||
"jest": "29.7.0",
|
||||
"jest-cli": "29.7.0",
|
||||
"jest-expo": "51.0.2",
|
||||
"jest-expo": "51.0.3",
|
||||
"jetifier": "2.0.0",
|
||||
"mmjstool": "github:mattermost/mattermost-utilities#83b1b311972b8f5e750aae4019457a40abb5aa44",
|
||||
"nock": "13.5.4",
|
||||
"patch-package": "8.0.0",
|
||||
"react-devtools-core": "5.2.0",
|
||||
"react-devtools-core": "5.3.1",
|
||||
"tough-cookie": "4.1.4",
|
||||
"ts-jest": "29.1.5",
|
||||
"typescript": "5.4.5",
|
||||
"ts-jest": "29.2.4",
|
||||
"typescript": "5.5.4",
|
||||
"uuid": "10.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
diff --git a/node_modules/expo-image/android/src/main/java/expo/modules/image/okhttp/ExpoImageOkHttpClientGlideModule.kt b/node_modules/expo-image/android/src/main/java/expo/modules/image/okhttp/ExpoImageOkHttpClientGlideModule.kt
|
||||
index 071907c..e5c39f5 100644
|
||||
--- a/node_modules/expo-image/android/src/main/java/expo/modules/image/okhttp/ExpoImageOkHttpClientGlideModule.kt
|
||||
+++ b/node_modules/expo-image/android/src/main/java/expo/modules/image/okhttp/ExpoImageOkHttpClientGlideModule.kt
|
||||
@@ -70,8 +70,16 @@ data class GlideUrlWrapper(val glideUrl: GlideUrl) {
|
||||
|
||||
@GlideModule
|
||||
class ExpoImageOkHttpClientGlideModule : LibraryGlideModule() {
|
||||
+ companion object {
|
||||
+ var okHttpClient: OkHttpClient? = null
|
||||
+ }
|
||||
+
|
||||
override fun registerComponents(context: Context, glide: Glide, registry: Registry) {
|
||||
- val client = OkHttpClient()
|
||||
+ val client = if (okHttpClient != null) {
|
||||
+ okHttpClient!!
|
||||
+ } else {
|
||||
+ OkHttpClient()
|
||||
+ }
|
||||
// We don't use the `GlideUrl` directly but we want to replace the default okhttp loader anyway
|
||||
// to make sure that the app will use only one client.
|
||||
registry.replace(GlideUrl::class.java, InputStream::class.java, OkHttpUrlLoader.Factory(client))
|
||||
57
patches/expo-image+1.12.13.patch
Normal file
57
patches/expo-image+1.12.13.patch
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
diff --git a/node_modules/expo-image/android/src/main/java/expo/modules/image/okhttp/ExpoImageOkHttpClientGlideModule.kt b/node_modules/expo-image/android/src/main/java/expo/modules/image/okhttp/ExpoImageOkHttpClientGlideModule.kt
|
||||
index 071907c..e5c39f5 100644
|
||||
--- a/node_modules/expo-image/android/src/main/java/expo/modules/image/okhttp/ExpoImageOkHttpClientGlideModule.kt
|
||||
+++ b/node_modules/expo-image/android/src/main/java/expo/modules/image/okhttp/ExpoImageOkHttpClientGlideModule.kt
|
||||
@@ -70,8 +70,16 @@ data class GlideUrlWrapper(val glideUrl: GlideUrl) {
|
||||
|
||||
@GlideModule
|
||||
class ExpoImageOkHttpClientGlideModule : LibraryGlideModule() {
|
||||
+ companion object {
|
||||
+ var okHttpClient: OkHttpClient? = null
|
||||
+ }
|
||||
+
|
||||
override fun registerComponents(context: Context, glide: Glide, registry: Registry) {
|
||||
- val client = OkHttpClient()
|
||||
+ val client = if (okHttpClient != null) {
|
||||
+ okHttpClient!!
|
||||
+ } else {
|
||||
+ OkHttpClient()
|
||||
+ }
|
||||
// We don't use the `GlideUrl` directly but we want to replace the default okhttp loader anyway
|
||||
// to make sure that the app will use only one client.
|
||||
registry.replace(GlideUrl::class.java, InputStream::class.java, OkHttpUrlLoader.Factory(client))
|
||||
diff --git a/node_modules/expo-image/ios/ExpoImage.podspec b/node_modules/expo-image/ios/ExpoImage.podspec
|
||||
index de8bc65..564397d 100644
|
||||
--- a/node_modules/expo-image/ios/ExpoImage.podspec
|
||||
+++ b/node_modules/expo-image/ios/ExpoImage.podspec
|
||||
@@ -18,9 +18,7 @@ Pod::Spec.new do |s|
|
||||
s.dependency 'ExpoModulesCore'
|
||||
s.dependency 'SDWebImage', '~> 5.19.1'
|
||||
s.dependency 'SDWebImageWebPCoder', '~> 0.14.6'
|
||||
- s.dependency 'SDWebImageAVIFCoder', '~> 0.11.0'
|
||||
s.dependency 'SDWebImageSVGCoder', '~> 1.7.0'
|
||||
- s.dependency 'libavif/libdav1d'
|
||||
|
||||
# Swift/Objective-C compatibility
|
||||
s.pod_target_xcconfig = {
|
||||
diff --git a/node_modules/expo-image/ios/ImageModule.swift b/node_modules/expo-image/ios/ImageModule.swift
|
||||
index e4b7fca..5057b0a 100644
|
||||
--- a/node_modules/expo-image/ios/ImageModule.swift
|
||||
+++ b/node_modules/expo-image/ios/ImageModule.swift
|
||||
@@ -3,7 +3,6 @@
|
||||
import ExpoModulesCore
|
||||
import SDWebImage
|
||||
import SDWebImageWebPCoder
|
||||
-import SDWebImageAVIFCoder
|
||||
import SDWebImageSVGCoder
|
||||
|
||||
public final class ImageModule: Module {
|
||||
@@ -193,7 +192,7 @@ public final class ImageModule: Module {
|
||||
// This coder is much slower, but it's the only one that works in iOS 13
|
||||
SDImageCodersManager.shared.addCoder(SDImageWebPCoder.shared)
|
||||
}
|
||||
- SDImageCodersManager.shared.addCoder(SDImageAVIFCoder.shared)
|
||||
+
|
||||
SDImageCodersManager.shared.addCoder(SDImageSVGCoder.shared)
|
||||
SDImageCodersManager.shared.addCoder(SDImageHEICCoder.shared)
|
||||
}
|
||||
Loading…
Reference in a new issue