Skip to content

Commit a51683d

Browse files
authored
Infra/update dependencies 16 04 26 2 (#3981)
* Update @testing-library/react-native * Update @typescript-eslint/eslint-plugin and @typescript-eslint/parser
1 parent 06155f1 commit a51683d

5 files changed

Lines changed: 47 additions & 17 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@react-native/metro-config": "0.77.3",
4141
"@react-native/typescript-config": "0.77.3",
4242
"@shopify/flash-list": "1.7.6",
43-
"@testing-library/react-native": "^11.5.1",
43+
"@testing-library/react-native": "12.9.0",
4444
"@types/hoist-non-react-statics": "^3.3.1",
4545
"@types/jest": "^29.5.13",
4646
"@types/lodash": "^4.0.0",
@@ -49,8 +49,8 @@
4949
"@types/react-test-renderer": "^18.3.0",
5050
"@types/tinycolor2": "^1.4.2",
5151
"@types/url-parse": "^1.4.3",
52-
"@typescript-eslint/eslint-plugin": "^5.3.1",
53-
"@typescript-eslint/parser": "^5.3.1",
52+
"@typescript-eslint/eslint-plugin": "^5.62.0",
53+
"@typescript-eslint/parser": "^5.62.0",
5454
"@welldone-software/why-did-you-render": "^3.2.1",
5555
"@yarnpkg/types": "^4.0.1",
5656
"babel-plugin-lodash": "^3.3.4",

packages/react-native-ui-lib/jestSetup/jest-setup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import {AccessibilityInfo, Animated} from 'react-native';
2+
import {configure} from '@testing-library/react-native';
3+
configure({defaultIncludeHiddenElements: true});
24
// ========= Mock Object.defineProperty to always allow overriding =========
35
const originalDefineProperty = Object.defineProperty;
46
Object.defineProperty = (obj, prop, desc) => {

packages/react-native-ui-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@react-native/metro-config": "0.77.3",
6767
"@react-native/typescript-config": "0.77.3",
6868
"@shopify/flash-list": "1.7.6",
69-
"@testing-library/react-native": "^11.5.1",
69+
"@testing-library/react-native": "12.9.0",
7070
"@types/hoist-non-react-statics": "^3.3.1",
7171
"@types/jest": "^29.5.13",
7272
"@types/lodash": "^4.0.0",

webDemo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"@types/node": "^16.7.13",
4545
"@types/react": "^18.3.24",
4646
"@types/react-dom": "^18.3.1",
47-
"@typescript-eslint/eslint-plugin": "4.25.0",
48-
"@typescript-eslint/parser": "4.25.0",
47+
"@typescript-eslint/eslint-plugin": "^5.62.0",
48+
"@typescript-eslint/parser": "^5.62.0",
4949
"babel-loader": "^8.2.3",
5050
"babel-plugin-module-resolver": "^4.1.0",
5151
"babel-plugin-react-native-web": "^0.18.7",

yarn.lock

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2886,11 +2886,13 @@ __metadata:
28862886
languageName: node
28872887
linkType: hard
28882888

2889-
"@testing-library/react-native@npm:^11.5.1":
2890-
version: 11.5.4
2891-
resolution: "@testing-library/react-native@npm:11.5.4"
2889+
"@testing-library/react-native@npm:12.9.0":
2890+
version: 12.9.0
2891+
resolution: "@testing-library/react-native@npm:12.9.0"
28922892
dependencies:
2893-
pretty-format: "npm:^29.0.0"
2893+
jest-matcher-utils: "npm:^29.7.0"
2894+
pretty-format: "npm:^29.7.0"
2895+
redent: "npm:^3.0.0"
28942896
peerDependencies:
28952897
jest: ">=28.0.0"
28962898
react: ">=16.8.0"
@@ -2899,7 +2901,7 @@ __metadata:
28992901
peerDependenciesMeta:
29002902
jest:
29012903
optional: true
2902-
checksum: 10c0/16849e7c1527021e79dd6921346d397d728ac15dffef04c379098800bb2e32b1e3deff3033fd371f5f6cde5d2f1e005f7f5d7e1506ea189fa27a7362f2ac7707
2904+
checksum: 10c0/d29a2c9a4f1318a8fbf7d53927e42c34bd3bc00c46ba7e4010828c927a2b504cbaa3284deba7780fa467b6b1b2d5ce1a4a2ab9f2d1d08d7a1740dc5b2242df21
29032905
languageName: node
29042906
linkType: hard
29052907

@@ -3127,7 +3129,7 @@ __metadata:
31273129
languageName: node
31283130
linkType: hard
31293131

3130-
"@typescript-eslint/eslint-plugin@npm:^5.3.1":
3132+
"@typescript-eslint/eslint-plugin@npm:^5.62.0":
31313133
version: 5.62.0
31323134
resolution: "@typescript-eslint/eslint-plugin@npm:5.62.0"
31333135
dependencies:
@@ -3174,7 +3176,7 @@ __metadata:
31743176
languageName: node
31753177
linkType: hard
31763178

3177-
"@typescript-eslint/parser@npm:^5.3.1":
3179+
"@typescript-eslint/parser@npm:^5.62.0":
31783180
version: 5.62.0
31793181
resolution: "@typescript-eslint/parser@npm:5.62.0"
31803182
dependencies:
@@ -8282,6 +8284,13 @@ __metadata:
82828284
languageName: node
82838285
linkType: hard
82848286

8287+
"min-indent@npm:^1.0.0":
8288+
version: 1.0.1
8289+
resolution: "min-indent@npm:1.0.1"
8290+
checksum: 10c0/7e207bd5c20401b292de291f02913230cb1163abca162044f7db1d951fa245b174dc00869d40dd9a9f32a885ad6a5f3e767ee104cf278f399cb4e92d3f582d5c
8291+
languageName: node
8292+
linkType: hard
8293+
82858294
"minimatch@npm:9.0.3":
82868295
version: 9.0.3
82878296
resolution: "minimatch@npm:9.0.3"
@@ -9563,7 +9572,7 @@ __metadata:
95639572
"@react-native/metro-config": "npm:0.77.3"
95649573
"@react-native/typescript-config": "npm:0.77.3"
95659574
"@shopify/flash-list": "npm:1.7.6"
9566-
"@testing-library/react-native": "npm:^11.5.1"
9575+
"@testing-library/react-native": "npm:12.9.0"
95679576
"@types/hoist-non-react-statics": "npm:^3.3.1"
95689577
"@types/jest": "npm:^29.5.13"
95699578
"@types/lodash": "npm:^4.0.0"
@@ -9572,8 +9581,8 @@ __metadata:
95729581
"@types/react-test-renderer": "npm:^18.3.0"
95739582
"@types/tinycolor2": "npm:^1.4.2"
95749583
"@types/url-parse": "npm:^1.4.3"
9575-
"@typescript-eslint/eslint-plugin": "npm:^5.3.1"
9576-
"@typescript-eslint/parser": "npm:^5.3.1"
9584+
"@typescript-eslint/eslint-plugin": "npm:^5.62.0"
9585+
"@typescript-eslint/parser": "npm:^5.62.0"
95779586
"@welldone-software/why-did-you-render": "npm:^3.2.1"
95789587
"@yarnpkg/types": "npm:^4.0.1"
95799588
babel-plugin-lodash: "npm:^3.3.4"
@@ -9614,7 +9623,7 @@ __metadata:
96149623
"@react-native/metro-config": "npm:0.77.3"
96159624
"@react-native/typescript-config": "npm:0.77.3"
96169625
"@shopify/flash-list": "npm:1.7.6"
9617-
"@testing-library/react-native": "npm:^11.5.1"
9626+
"@testing-library/react-native": "npm:12.9.0"
96189627
"@types/hoist-non-react-statics": "npm:^3.3.1"
96199628
"@types/jest": "npm:^29.5.13"
96209629
"@types/lodash": "npm:^4.0.0"
@@ -9863,6 +9872,16 @@ __metadata:
98639872
languageName: node
98649873
linkType: hard
98659874

9875+
"redent@npm:^3.0.0":
9876+
version: 3.0.0
9877+
resolution: "redent@npm:3.0.0"
9878+
dependencies:
9879+
indent-string: "npm:^4.0.0"
9880+
strip-indent: "npm:^3.0.0"
9881+
checksum: 10c0/d64a6b5c0b50eb3ddce3ab770f866658a2b9998c678f797919ceb1b586bab9259b311407280bd80b804e2a7c7539b19238ae6a2a20c843f1a7fcff21d48c2eae
9882+
languageName: node
9883+
linkType: hard
9884+
98669885
"reflect.getprototypeof@npm:^1.0.6, reflect.getprototypeof@npm:^1.0.9":
98679886
version: 1.0.10
98689887
resolution: "reflect.getprototypeof@npm:1.0.10"
@@ -10859,6 +10878,15 @@ __metadata:
1085910878
languageName: node
1086010879
linkType: hard
1086110880

10881+
"strip-indent@npm:^3.0.0":
10882+
version: 3.0.0
10883+
resolution: "strip-indent@npm:3.0.0"
10884+
dependencies:
10885+
min-indent: "npm:^1.0.0"
10886+
checksum: 10c0/ae0deaf41c8d1001c5d4fbe16cb553865c1863da4fae036683b474fa926af9fc121e155cb3fc57a68262b2ae7d5b8420aa752c97a6428c315d00efe2a3875679
10887+
languageName: node
10888+
linkType: hard
10889+
1086210890
"strip-json-comments@npm:^3.1.1":
1086310891
version: 3.1.1
1086410892
resolution: "strip-json-comments@npm:3.1.1"

0 commit comments

Comments
 (0)