Skip to content

Commit 6e6ab1b

Browse files
committed
Merge branch 'main' into fix-cursor-position
2 parents ec52724 + 5f2835b commit 6e6ab1b

File tree

229 files changed

+2106
-1304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+2106
-1304
lines changed

.circleci/Dockerfiles/Dockerfile.android

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# and build a Android application that can be used to run the
1515
# tests specified in the scripts/ directory.
1616
#
17-
FROM reactnativecommunity/react-native-android:5.2
17+
FROM reactnativecommunity/react-native-android:5.4
1818

1919
LABEL Description="React Native Android Test Image"
2020
LABEL maintainer="Héctor Ramos <[email protected]>"
@@ -53,6 +53,4 @@ ADD . /app
5353

5454
RUN yarn
5555

56-
RUN ./gradlew :ReactAndroid:downloadBoost :ReactAndroid:downloadDoubleConversion :ReactAndroid:downloadFolly :ReactAndroid:downloadGlog
57-
58-
RUN ./gradlew :ReactAndroid:packageReactNdkLibsForBuck -Pjobs=1
56+
RUN ./gradlew :ReactAndroid:assembleDebug

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ executors:
6767
reactnativeandroid:
6868
<<: *defaults
6969
docker:
70-
- image: reactnativecommunity/react-native-android:5.2
70+
- image: reactnativecommunity/react-native-android:5.4
7171
resource_class: "large"
7272
environment:
7373
- TERM: "dumb"

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ untyped-import
7171
untyped-type-import
7272

7373
[version]
74-
^0.172.0
74+
^0.173.0

.flowconfig.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ untyped-import
7171
untyped-type-import
7272

7373
[version]
74-
^0.172.0
74+
^0.173.0

.github/workflows/stale-bot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
- uses: actions/stale@v4
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
15-
days-before-stale: 365
16-
stale-issue-message: 'This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
17-
stale-pr-message: 'This PR is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
15+
days-before-stale: 180
16+
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
17+
stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
1818
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
1919
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'

Libraries/ActionSheetIOS/ActionSheetIOS.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,13 @@ const ActionSheetIOS = {
143143
successCallback,
144144
);
145145
},
146+
147+
dismissActionSheet: () => {
148+
invariant(RCTActionSheetManager, "ActionSheetManager doesn't exist");
149+
if (typeof RCTActionSheetManager.dismissActionSheet === 'function') {
150+
RCTActionSheetManager.dismissActionSheet();
151+
}
152+
},
146153
};
147154

148155
module.exports = ActionSheetIOS;

Libraries/ActionSheetIOS/NativeActionSheetManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export interface Spec extends TurboModule {
4747
|}) => void,
4848
successCallback: (completed: boolean, activityType: ?string) => void,
4949
) => void;
50+
+dismissActionSheet?: () => void;
5051
}
5152

5253
export default (TurboModuleRegistry.get<Spec>('ActionSheetManager'): ?Spec);

Libraries/ActionSheetIOS/React-RCTActionSheet.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
2424
s.documentation_url = "https://reactnative.dev/docs/actionsheetios"
2525
s.license = package["license"]
2626
s.author = "Facebook, Inc. and its affiliates"
27-
s.platforms = { :ios => "11.0" }
27+
s.platforms = { :ios => "12.4" }
2828
s.source = source
2929
s.source_files = "*.{m}"
3030
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"

Libraries/Blob/React-RCTBlob.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Pod::Spec.new do |s|
2626
s.homepage = "https://reactnative.dev/"
2727
s.license = package["license"]
2828
s.author = "Facebook, Inc. and its affiliates"
29-
s.platforms = { :ios => "11.0" }
29+
s.platforms = { :ios => "12.4" }
3030
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
3131
s.source = source
3232
s.source_files = "*.{h,m,mm}"

Libraries/Blob/URL.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,13 @@ export class URLSearchParams {
101101
}
102102
const last = this._searchParams.length - 1;
103103
return this._searchParams.reduce((acc, curr, index) => {
104-
return acc + curr.join('=') + (index === last ? '' : '&');
104+
return (
105+
acc +
106+
encodeURIComponent(curr[0]) +
107+
'=' +
108+
encodeURIComponent(curr[1]) +
109+
(index === last ? '' : '&')
110+
);
105111
}, '');
106112
}
107113
}

0 commit comments

Comments
 (0)