Update dependency eslint-plugin-react to v7.31.0 (#49214)

* Update dependency eslint-plugin-react to v7.31.0

* fix displayName for OldNavOnly

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
renovate[bot] 2022-08-26 10:31:16 +01:00 committed by GitHub
parent ebbeed8ad7
commit 2f4c8e1b3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 184 additions and 4 deletions

View File

@ -189,7 +189,7 @@
"eslint-plugin-jest": "26.6.0",
"eslint-plugin-jsdoc": "39.3.3",
"eslint-plugin-lodash": "7.4.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react": "7.31.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-webpack-plugin": "3.2.0",
"expose-loader": "4.0.0",

View File

@ -74,9 +74,12 @@ export const Page: PageType = ({
);
};
const OldNavOnly = () => null;
OldNavOnly.displayName = 'OldNavOnly';
Page.Header = PageHeader;
Page.Contents = PageContents;
Page.OldNavOnly = () => null;
Page.OldNavOnly = OldNavOnly;
const getStyles = (theme: GrafanaTheme2) => {
const shadow = theme.isDark

181
yarn.lock
View File

@ -13900,6 +13900,19 @@ __metadata:
languageName: node
linkType: hard
"array-includes@npm:^3.1.5":
version: 3.1.5
resolution: "array-includes@npm:3.1.5"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.4
es-abstract: ^1.19.5
get-intrinsic: ^1.1.1
is-string: ^1.0.7
checksum: f6f24d834179604656b7bec3e047251d5cc87e9e87fab7c175c61af48e80e75acd296017abcde21fb52292ab6a2a449ab2ee37213ee48c8709f004d75983f9c5
languageName: node
linkType: hard
"array-tree-filter@npm:^2.1.0":
version: 2.1.0
resolution: "array-tree-filter@npm:2.1.0"
@ -13984,6 +13997,18 @@ __metadata:
languageName: node
linkType: hard
"array.prototype.flatmap@npm:^1.3.0":
version: 1.3.0
resolution: "array.prototype.flatmap@npm:1.3.0"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.3
es-abstract: ^1.19.2
es-shim-unscopables: ^1.0.0
checksum: 818538f39409c4045d874be85df0dbd195e1446b14d22f95bdcfefea44ae77db44e42dcd89a559254ec5a7c8b338cfc986cc6d641e3472f9a5326b21eb2976a2
languageName: node
linkType: hard
"array.prototype.map@npm:^1.0.4":
version: 1.0.4
resolution: "array.prototype.map@npm:1.0.4"
@ -18110,6 +18135,16 @@ __metadata:
languageName: node
linkType: hard
"define-properties@npm:^1.1.4":
version: 1.1.4
resolution: "define-properties@npm:1.1.4"
dependencies:
has-property-descriptors: ^1.0.0
object-keys: ^1.1.1
checksum: ce0aef3f9eb193562b5cfb79b2d2c86b6a109dfc9fdcb5f45d680631a1a908c06824ddcdb72b7573b54e26ace07f0a23420aaba0d5c627b34d2c1de8ef527e2b
languageName: node
linkType: hard
"define-property@npm:^0.2.5":
version: 0.2.5
resolution: "define-property@npm:0.2.5"
@ -19046,6 +19081,37 @@ __metadata:
languageName: node
linkType: hard
"es-abstract@npm:^1.19.5":
version: 1.20.1
resolution: "es-abstract@npm:1.20.1"
dependencies:
call-bind: ^1.0.2
es-to-primitive: ^1.2.1
function-bind: ^1.1.1
function.prototype.name: ^1.1.5
get-intrinsic: ^1.1.1
get-symbol-description: ^1.0.0
has: ^1.0.3
has-property-descriptors: ^1.0.0
has-symbols: ^1.0.3
internal-slot: ^1.0.3
is-callable: ^1.2.4
is-negative-zero: ^2.0.2
is-regex: ^1.1.4
is-shared-array-buffer: ^1.0.2
is-string: ^1.0.7
is-weakref: ^1.0.2
object-inspect: ^1.12.0
object-keys: ^1.1.1
object.assign: ^4.1.2
regexp.prototype.flags: ^1.4.3
string.prototype.trimend: ^1.0.5
string.prototype.trimstart: ^1.0.5
unbox-primitive: ^1.0.2
checksum: 28da27ae0ed9c76df7ee8ef5c278df79dcfdb554415faf7068bb7c58f8ba8e2a16bfb59e586844be6429ab4c302ca7748979d48442224cb1140b051866d74b7f
languageName: node
linkType: hard
"es-array-method-boxes-properly@npm:^1.0.0":
version: 1.0.0
resolution: "es-array-method-boxes-properly@npm:1.0.0"
@ -19573,6 +19639,30 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-react@npm:7.31.0":
version: 7.31.0
resolution: "eslint-plugin-react@npm:7.31.0"
dependencies:
array-includes: ^3.1.5
array.prototype.flatmap: ^1.3.0
doctrine: ^2.1.0
estraverse: ^5.3.0
jsx-ast-utils: ^2.4.1 || ^3.0.0
minimatch: ^3.1.2
object.entries: ^1.1.5
object.fromentries: ^2.0.5
object.hasown: ^1.1.1
object.values: ^1.1.5
prop-types: ^15.8.1
resolve: ^2.0.0-next.3
semver: ^6.3.0
string.prototype.matchall: ^4.0.7
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
checksum: 465829bb477f3adf0ce96294c2b9c97147414a449d14f4dde21711f38213924a4facd567f7263be67958f284edf5ea25cf9f996bc95240d74cfa2ee95b1c81a6
languageName: node
linkType: hard
"eslint-scope@npm:5.1.1, eslint-scope@npm:^5.1.1":
version: 5.1.1
resolution: "eslint-scope@npm:5.1.1"
@ -21057,7 +21147,7 @@ __metadata:
languageName: node
linkType: hard
"function.prototype.name@npm:^1.1.0, function.prototype.name@npm:^1.1.2":
"function.prototype.name@npm:^1.1.0, function.prototype.name@npm:^1.1.2, function.prototype.name@npm:^1.1.5":
version: 1.1.5
resolution: "function.prototype.name@npm:1.1.5"
dependencies:
@ -21830,7 +21920,7 @@ __metadata:
eslint-plugin-jest: 26.6.0
eslint-plugin-jsdoc: 39.3.3
eslint-plugin-lodash: 7.4.0
eslint-plugin-react: 7.29.4
eslint-plugin-react: 7.31.0
eslint-plugin-react-hooks: 4.6.0
eslint-webpack-plugin: 3.2.0
eventemitter3: 4.0.7
@ -22057,6 +22147,13 @@ __metadata:
languageName: node
linkType: hard
"has-bigints@npm:^1.0.2":
version: 1.0.2
resolution: "has-bigints@npm:1.0.2"
checksum: 390e31e7be7e5c6fe68b81babb73dfc35d413604d7ee5f56da101417027a4b4ce6a27e46eff97ad040c835b5d228676eae99a9b5c3bc0e23c8e81a49241ff45b
languageName: node
linkType: hard
"has-flag@npm:^3.0.0":
version: 3.0.0
resolution: "has-flag@npm:3.0.0"
@ -22080,6 +22177,15 @@ __metadata:
languageName: node
linkType: hard
"has-property-descriptors@npm:^1.0.0":
version: 1.0.0
resolution: "has-property-descriptors@npm:1.0.0"
dependencies:
get-intrinsic: ^1.1.1
checksum: a6d3f0a266d0294d972e354782e872e2fe1b6495b321e6ef678c9b7a06a40408a6891817350c62e752adced73a94ac903c54734fee05bf65b1905ee1368194bb
languageName: node
linkType: hard
"has-symbols@npm:^1.0.1, has-symbols@npm:^1.0.2":
version: 1.0.2
resolution: "has-symbols@npm:1.0.2"
@ -28411,6 +28517,16 @@ __metadata:
languageName: node
linkType: hard
"object.hasown@npm:^1.1.1":
version: 1.1.1
resolution: "object.hasown@npm:1.1.1"
dependencies:
define-properties: ^1.1.4
es-abstract: ^1.19.5
checksum: d8ed4907ce57f48b93e3b53c418fd6787bf226a51e8d698c91e39b78e80fe5b124cb6282f6a9d5be21cf9e2c7829ab10206dcc6112b7748860eefe641880c793
languageName: node
linkType: hard
"object.pick@npm:^1.3.0":
version: 1.3.0
resolution: "object.pick@npm:1.3.0"
@ -32875,6 +32991,17 @@ __metadata:
languageName: node
linkType: hard
"regexp.prototype.flags@npm:^1.4.1, regexp.prototype.flags@npm:^1.4.3":
version: 1.4.3
resolution: "regexp.prototype.flags@npm:1.4.3"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.3
functions-have-names: ^1.2.2
checksum: 51228bae732592adb3ededd5e15426be25f289e9c4ef15212f4da73f4ec3919b6140806374b8894036a86020d054a8d2657d3fee6bb9b4d35d8939c20030b7a6
languageName: node
linkType: hard
"regexpp@npm:^3.2.0":
version: 3.2.0
resolution: "regexpp@npm:3.2.0"
@ -35154,6 +35281,22 @@ __metadata:
languageName: node
linkType: hard
"string.prototype.matchall@npm:^4.0.7":
version: 4.0.7
resolution: "string.prototype.matchall@npm:4.0.7"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.3
es-abstract: ^1.19.1
get-intrinsic: ^1.1.1
has-symbols: ^1.0.3
internal-slot: ^1.0.3
regexp.prototype.flags: ^1.4.1
side-channel: ^1.0.4
checksum: fc09f3ccbfb325de0472bcc87a6be0598a7499e0b4a31db5789676155b15754a4cc4bb83924f15fc9ed48934dac7366ee52c8b9bd160bed6fd072c93b489e75c
languageName: node
linkType: hard
"string.prototype.padend@npm:^3.0.0":
version: 3.1.3
resolution: "string.prototype.padend@npm:3.1.3"
@ -35197,6 +35340,17 @@ __metadata:
languageName: node
linkType: hard
"string.prototype.trimend@npm:^1.0.5":
version: 1.0.5
resolution: "string.prototype.trimend@npm:1.0.5"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.4
es-abstract: ^1.19.5
checksum: d44f543833112f57224e79182debadc9f4f3bf9d48a0414d6f0cbd2a86f2b3e8c0ca1f95c3f8e5b32ae83e91554d79d932fc746b411895f03f93d89ed3dfb6bc
languageName: node
linkType: hard
"string.prototype.trimstart@npm:^1.0.4":
version: 1.0.4
resolution: "string.prototype.trimstart@npm:1.0.4"
@ -35207,6 +35361,17 @@ __metadata:
languageName: node
linkType: hard
"string.prototype.trimstart@npm:^1.0.5":
version: 1.0.5
resolution: "string.prototype.trimstart@npm:1.0.5"
dependencies:
call-bind: ^1.0.2
define-properties: ^1.1.4
es-abstract: ^1.19.5
checksum: a4857c5399ad709d159a77371eeaa8f9cc284469a0b5e1bfe405de16f1fd4166a8ea6f4180e55032f348d1b679b1599fd4301fbc7a8b72bdb3e795e43f7b1048
languageName: node
linkType: hard
"string_decoder@npm:^1.0.0, string_decoder@npm:^1.1.1":
version: 1.3.0
resolution: "string_decoder@npm:1.3.0"
@ -36810,6 +36975,18 @@ __metadata:
languageName: node
linkType: hard
"unbox-primitive@npm:^1.0.2":
version: 1.0.2
resolution: "unbox-primitive@npm:1.0.2"
dependencies:
call-bind: ^1.0.2
has-bigints: ^1.0.2
has-symbols: ^1.0.3
which-boxed-primitive: ^1.0.2
checksum: b7a1cf5862b5e4b5deb091672ffa579aa274f648410009c81cca63fed3b62b610c4f3b773f912ce545bb4e31edc3138975b5bc777fc6e4817dca51affb6380e9
languageName: node
linkType: hard
"underscore@npm:1.13.4":
version: 1.13.4
resolution: "underscore@npm:1.13.4"