Skip to content

Commit a892b6a

Browse files
Bump babel-eslint from 10.0.3 to 10.1.0 (#2403)
* Bump babel-eslint from 10.0.3 to 10.1.0 Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.3 to 10.1.0. - [Release notes](https://github.com/babel/babel-eslint/releases) - [Commits](babel/babel-eslint@v10.0.3...v10.1.0) Signed-off-by: dependabot[bot] <[email protected]> * Add `gasSpeedSelected` to props validation * remove optional chaining Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ricky <[email protected]>
1 parent 2541337 commit a892b6a

File tree

3 files changed

+11
-69
lines changed

3 files changed

+11
-69
lines changed

app/components/UI/CustomGas/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,15 @@ class CustomGas extends PureComponent {
330330
/**
331331
* Extra analytics params to be send with the gas analytics
332332
*/
333-
analyticsParams: PropTypes.object
333+
analyticsParams: PropTypes.object,
334+
/**
335+
* The currently selected gas speed
336+
*/
337+
gasSpeedSelected: PropTypes.string
334338
};
335339

336340
state = {
337-
gasSpeedSelected: this?.props?.gasSpeedSelected || 'average',
341+
gasSpeedSelected: this.props.gasSpeedSelected || 'average',
338342
customGasPrice: '10',
339343
customGasLimit: fromWei(this.props.gas, 'wei'),
340344
customGasPriceBNWei: this.props.gasPrice,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
"@react-native-community/eslint-config": "^1.1.0",
211211
"assert": "1.4.1",
212212
"babel-core": "7.0.0-bridge.0",
213-
"babel-eslint": "10.0.3",
213+
"babel-eslint": "10.1.0",
214214
"babel-jest": "^26.6.3",
215215
"concat-cli": "4.0.0",
216216
"detox": "17.3.1",

yarn.lock

Lines changed: 4 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
# yarn lockfile v1
33

44

5-
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.1":
6-
version "7.10.1"
7-
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff"
8-
integrity sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw==
9-
dependencies:
10-
"@babel/highlight" "^7.10.1"
11-
12-
"@babel/code-frame@^7.10.4":
5+
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.1", "@babel/code-frame@^7.10.4":
136
version "7.12.11"
147
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"
158
integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==
@@ -327,11 +320,6 @@
327320
dependencies:
328321
"@babel/types" "^7.12.11"
329322

330-
"@babel/helper-validator-identifier@^7.10.1":
331-
version "7.10.1"
332-
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5"
333-
integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==
334-
335323
"@babel/helper-validator-identifier@^7.10.4", "@babel/helper-validator-identifier@^7.12.11":
336324
version "7.12.11"
337325
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed"
@@ -365,15 +353,6 @@
365353
"@babel/traverse" "^7.12.5"
366354
"@babel/types" "^7.12.5"
367355

368-
"@babel/highlight@^7.10.1":
369-
version "7.10.1"
370-
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0"
371-
integrity sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg==
372-
dependencies:
373-
"@babel/helper-validator-identifier" "^7.10.1"
374-
chalk "^2.0.0"
375-
js-tokens "^4.0.0"
376-
377356
"@babel/highlight@^7.10.4":
378357
version "7.10.4"
379358
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143"
@@ -383,12 +362,7 @@
383362
chalk "^2.0.0"
384363
js-tokens "^4.0.0"
385364

386-
"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.10.1", "@babel/parser@^7.7.0":
387-
version "7.10.1"
388-
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.1.tgz#2e142c27ca58aa2c7b119d09269b702c8bbad28c"
389-
integrity sha512-AUTksaz3FqugBkbTZ1i+lDLG5qy8hIzCaAxEtttU6C0BtZZU9pkNZtWSVAht4EW9kl46YBiyTGMp9xTTGqViNg==
390-
391-
"@babel/parser@^7.12.10", "@babel/parser@^7.12.7":
365+
"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.10.1", "@babel/parser@^7.12.10", "@babel/parser@^7.12.7", "@babel/parser@^7.7.0":
392366
version "7.12.11"
393367
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.11.tgz#9ce3595bcd74bc5c466905e86c535b8b25011e79"
394368
integrity sha512-N3UxG+uuF4CMYoNj8AhnbAcJF0PiuJ9KHuy1lQmkYsxTer/MAH9UBNHsBoAX/4s6NvlDD047No8mYVGGzLL4hg==
@@ -853,22 +827,7 @@
853827
"@babel/parser" "^7.12.7"
854828
"@babel/types" "^7.12.7"
855829

856-
"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.10.1", "@babel/traverse@^7.7.0":
857-
version "7.10.1"
858-
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.10.1.tgz#bbcef3031e4152a6c0b50147f4958df54ca0dd27"
859-
integrity sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ==
860-
dependencies:
861-
"@babel/code-frame" "^7.10.1"
862-
"@babel/generator" "^7.10.1"
863-
"@babel/helper-function-name" "^7.10.1"
864-
"@babel/helper-split-export-declaration" "^7.10.1"
865-
"@babel/parser" "^7.10.1"
866-
"@babel/types" "^7.10.1"
867-
debug "^4.1.0"
868-
globals "^11.1.0"
869-
lodash "^4.17.13"
870-
871-
"@babel/traverse@^7.12.1", "@babel/traverse@^7.12.10", "@babel/traverse@^7.12.5":
830+
"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.10.1", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.10", "@babel/traverse@^7.12.5", "@babel/traverse@^7.7.0":
872831
version "7.12.10"
873832
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.10.tgz#2d1f4041e8bf42ea099e5b2dc48d6a594c00017a"
874833
integrity sha512-6aEtf0IeRgbYWzta29lePeYSk+YAFIC3kyqESeft8o5CkFlYIMX+EQDDWEiAQ9LHOA3d0oHdgrSsID/CKqXJlg==
@@ -883,16 +842,7 @@
883842
globals "^11.1.0"
884843
lodash "^4.17.19"
885844

886-
"@babel/types@^7.0.0", "@babel/types@^7.10.1", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.7.0":
887-
version "7.10.1"
888-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.1.tgz#6886724d31c8022160a7db895e6731ca33483921"
889-
integrity sha512-L2yqUOpf3tzlW9GVuipgLEcZxnO+96SzR6fjXMuxxNkIgFJ5+07mHCZ+HkHqaeZu8+3LKnNJJ1bKbjBETQAsrA==
890-
dependencies:
891-
"@babel/helper-validator-identifier" "^7.10.1"
892-
lodash "^4.17.13"
893-
to-fast-properties "^2.0.0"
894-
895-
"@babel/types@^7.12.1", "@babel/types@^7.12.10", "@babel/types@^7.12.11", "@babel/types@^7.12.5", "@babel/types@^7.12.7":
845+
"@babel/types@^7.0.0", "@babel/types@^7.10.1", "@babel/types@^7.12.1", "@babel/types@^7.12.10", "@babel/types@^7.12.11", "@babel/types@^7.12.5", "@babel/types@^7.12.7", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.7.0":
896846
version "7.12.11"
897847
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.11.tgz#a86e4d71e30a9b6ee102590446c98662589283ce"
898848
integrity sha512-ukA9SQtKThINm++CX1CwmliMrE54J6nIYB5XTwL5f/CLFW9owfls+YSU8tVW15RQ2w+a3fSbPjC6HdQNtWZkiA==
@@ -2829,18 +2779,6 @@ [email protected]:
28292779
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"
28302780
integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==
28312781

2832-
2833-
version "10.0.3"
2834-
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.0.3.tgz#81a2c669be0f205e19462fed2482d33e4687a88a"
2835-
integrity sha512-z3U7eMY6r/3f3/JB9mTsLjyxrv0Yb1zb8PCWCLpguxfCzBIZUwy23R1t/XKewP+8mEN2Ck8Dtr4q20z6ce6SoA==
2836-
dependencies:
2837-
"@babel/code-frame" "^7.0.0"
2838-
"@babel/parser" "^7.0.0"
2839-
"@babel/traverse" "^7.0.0"
2840-
"@babel/types" "^7.0.0"
2841-
eslint-visitor-keys "^1.0.0"
2842-
resolve "^1.12.0"
2843-
28442782
[email protected], babel-eslint@^10.0.1:
28452783
version "10.1.0"
28462784
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"

0 commit comments

Comments
 (0)