Skip to content

Commit ceacb6f

Browse files
authored
Bump dependencies (#463)
* Trigger CI * Remove `test-ios-0.60` job * Update dependencies * Fix React Native 0.68
1 parent 4c906dd commit ceacb6f

File tree

13 files changed

+1898
-1580
lines changed

13 files changed

+1898
-1580
lines changed

.circleci/config.yml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,26 @@
11
version: 2.1
22

33
aliases:
4-
- &xcode-version 14.3.1
5-
- &node-version '18.16'
4+
- &xcode-version 15.1.0
5+
- &node-version '20.10.0'
66
- &yarn-version '1.22.19'
77

88
orbs:
9-
node: circleci/node@5.1.0
10-
browser-tools: circleci/browser-tools@1.4.1
9+
node: circleci/node@5.1.1
10+
browser-tools: circleci/browser-tools@1.4.6
1111

1212
executors:
1313
default:
1414
docker:
15-
- image: cimg/node:18.16
15+
- image: cimg/node:20.10.0
1616
working_directory: ~/react-native-url-polyfill
1717
environment:
1818
NODE_OPTIONS: '--openssl-legacy-provider'
1919
node-browsers:
2020
docker:
21-
- image: cimg/node:18.16-browsers
21+
- image: cimg/node:20.10.0-browsers
2222
environment:
2323
NODE_OPTIONS: '--openssl-legacy-provider'
24-
xcode-11:
25-
macos:
26-
xcode: 11.7.0
27-
environment:
28-
HOMEBREW_NO_AUTO_UPDATE: 1
29-
XCODE_VERSION: 11.7.0
30-
NODE_OPTIONS: '--openssl-legacy-provider'
3124
xcode:
3225
macos:
3326
xcode: *xcode-version
@@ -292,14 +285,6 @@ workflows:
292285
- test-js:
293286
requires:
294287
- checkout
295-
- test-ios:
296-
name: test-ios-0.60
297-
executor: xcode-11
298-
react-native-version: '0.60'
299-
install-yarn: false
300-
requires:
301-
- lint
302-
- test-js
303288
- test-ios:
304289
matrix:
305290
parameters:

index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/// <reference types="node" />
22
declare module 'react-native-url-polyfill' {
3-
import { URL as NativeURL, URLSearchParams as NativeURLSearchParams } from 'url';
3+
import {
4+
URL as NativeURL,
5+
URLSearchParams as NativeURLSearchParams,
6+
} from 'url';
47

58
class URL extends NativeURL {}
69

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@
3333
},
3434
"devDependencies": {
3535
"@react-native-community/eslint-config": "3.2.0",
36-
"detox": "20.9.1",
37-
"eslint": "8.44.0",
38-
"eslint-plugin-prettier": "4.2.1",
36+
"detox": "20.14.3",
37+
"eslint": "8.56.0",
38+
"eslint-plugin-prettier": "5.1.1",
3939
"husky": "8.0.3",
40-
"jest": "29.5.0",
41-
"lint-staged": "13.2.3",
40+
"jest": "29.7.0",
41+
"lint-staged": "15.2.0",
4242
"metro-react-native-babel-preset": "0.76.7",
43-
"nanoid": "3.3.6",
44-
"prettier": "2.8.8",
43+
"nanoid": "3.3.7",
44+
"prettier": "3.1.1",
4545
"react": "18.2.0",
4646
"react-native": "0.72.1",
4747
"react-native-bundle-scale": "1.1.0",
48-
"typescript": "5.1.6"
48+
"typescript": "5.3.3"
4949
},
5050
"peerDependencies": {
5151
"react-native": "*"

platforms/detox/.detoxrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = {
4040
simulator: {
4141
type: 'ios.simulator',
4242
device: {
43-
type: 'iPhone 14 Pro',
43+
type: 'iPhone 15 Pro',
4444
},
4545
},
4646
attached: {

platforms/react-native/0.68/ios/Detox.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@
436436
"$(inherited)",
437437
);
438438
INFOPLIST_FILE = DetoxTests/Info.plist;
439-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
439+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
440440
LD_RUNPATH_SEARCH_PATHS = (
441441
"$(inherited)",
442442
"@executable_path/Frameworks",
@@ -460,7 +460,7 @@
460460
BUNDLE_LOADER = "$(TEST_HOST)";
461461
COPY_PHASE_STRIP = NO;
462462
INFOPLIST_FILE = DetoxTests/Info.plist;
463-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
463+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
464464
LD_RUNPATH_SEARCH_PATHS = (
465465
"$(inherited)",
466466
"@executable_path/Frameworks",
@@ -576,7 +576,7 @@
576576
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
577577
GCC_WARN_UNUSED_FUNCTION = YES;
578578
GCC_WARN_UNUSED_VARIABLE = YES;
579-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
579+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
580580
LD_RUNPATH_SEARCH_PATHS = (
581581
/usr/lib/swift,
582582
"$(inherited)",
@@ -640,7 +640,7 @@
640640
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
641641
GCC_WARN_UNUSED_FUNCTION = YES;
642642
GCC_WARN_UNUSED_VARIABLE = YES;
643-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
643+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
644644
LD_RUNPATH_SEARCH_PATHS = (
645645
/usr/lib/swift,
646646
"$(inherited)",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

platforms/react-native/0.68/ios/Podfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,11 @@ target 'Detox' do
3333
post_install do |installer|
3434
react_native_post_install(installer)
3535
__apply_Xcode_12_5_M1_post_install_workaround(installer)
36+
installer.pods_project.targets.each do |target|
37+
target.build_configurations.each do |config|
38+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
39+
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION']
40+
end
41+
end
3642
end
3743
end

platforms/react-native/0.68/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,6 @@ SPEC CHECKSUMS:
539539
Yoga: 99652481fcd320aefa4a7ef90095b95acd181952
540540
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
541541

542-
PODFILE CHECKSUM: 8d21c45a4fb5e2285b1985ec748b2fe225aa6b64
542+
PODFILE CHECKSUM: 63addf81c85c09d5bc767c5b5a458bb4293a0823
543543

544-
COCOAPODS: 1.11.3
544+
COCOAPODS: 1.14.3

platforms/react-native/0.68/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@babel/runtime": "^7.12.5",
2323
"@react-native-community/eslint-config": "^2.0.0",
2424
"babel-jest": "^26.6.3",
25-
"detox": "20.9.1",
25+
"detox": "20.14.3",
2626
"eslint": "^7.32.0",
2727
"jest": "29.5.0",
2828
"metro-react-native-babel-preset": "^0.67.0",

platforms/react-native/0.68/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2846,10 +2846,10 @@ detect-newline@^3.0.0:
28462846
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
28472847
integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==
28482848

2849-
detox@20.9.1:
2850-
version "20.9.1"
2851-
resolved "https://registry.yarnpkg.com/detox/-/detox-20.9.1.tgz#78c351c6d5f140d29151ebfe986362276e156d08"
2852-
integrity sha512-o7x9fHhOoVDZK1069RgefqIxY0B53eAnk7N5/3D8qEa8N0YmvylqzAqeYVtnzHYkveZb1pkcruzKC9jomWTEnw==
2849+
detox@20.14.3:
2850+
version "20.14.3"
2851+
resolved "https://registry.yarnpkg.com/detox/-/detox-20.14.3.tgz#34e5b5301dcf2f1924c71c3aa530e21cebac1bf9"
2852+
integrity sha512-GaLXanEaRm6ROgNOiaaVTbD3mNNf4N5z5pHsyvbbtjwqS9V/c6RYE7V3NOyXgNmQ1dYalo9Ml/ZdeQtarsNV0w==
28532853
dependencies:
28542854
ajv "^8.6.3"
28552855
bunyan "^1.8.12"

0 commit comments

Comments
 (0)