mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update dependency eslint-plugin-react to v7.32.1 (#62128)
* Update dependency eslint-plugin-react to v7.32.1 * don't mutate state --------- 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:
@@ -194,7 +194,7 @@
|
||||
"eslint-plugin-jsdoc": "39.6.2",
|
||||
"eslint-plugin-jsx-a11y": "6.7.1",
|
||||
"eslint-plugin-lodash": "7.4.0",
|
||||
"eslint-plugin-react": "7.31.10",
|
||||
"eslint-plugin-react": "7.32.1",
|
||||
"eslint-plugin-react-hooks": "4.6.0",
|
||||
"eslint-webpack-plugin": "3.2.0",
|
||||
"expose-loader": "4.0.0",
|
||||
|
||||
@@ -324,9 +324,11 @@ export class AddToOrgModal extends PureComponent<AddToOrgModalProps, AddToOrgMod
|
||||
if (this.state.pendingUserId) {
|
||||
await updateUserRoles(this.state.pendingRoles, this.state.pendingUserId!, this.state.pendingOrgId!);
|
||||
// clear pending state
|
||||
this.state.pendingOrgId = null;
|
||||
this.state.pendingRoles = [];
|
||||
this.state.pendingUserId = null;
|
||||
this.setState({
|
||||
pendingOrgId: null,
|
||||
pendingRoles: [],
|
||||
pendingUserId: null,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
107
yarn.lock
107
yarn.lock
@@ -13979,6 +13979,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"array.prototype.tosorted@npm:^1.1.1":
|
||||
version: 1.1.1
|
||||
resolution: "array.prototype.tosorted@npm:1.1.1"
|
||||
dependencies:
|
||||
call-bind: ^1.0.2
|
||||
define-properties: ^1.1.4
|
||||
es-abstract: ^1.20.4
|
||||
es-shim-unscopables: ^1.0.0
|
||||
get-intrinsic: ^1.1.3
|
||||
checksum: 7923324a67e70a2fc0a6e40237405d92395e45ebd76f5cb89c2a5cf1e66b47aca6baacd0cd628ffd88830b90d47fff268071493d09c9ae123645613dac2c2ca3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"arrify@npm:^1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "arrify@npm:1.0.1"
|
||||
@@ -19759,6 +19772,31 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-plugin-react@npm:7.32.1":
|
||||
version: 7.32.1
|
||||
resolution: "eslint-plugin-react@npm:7.32.1"
|
||||
dependencies:
|
||||
array-includes: ^3.1.6
|
||||
array.prototype.flatmap: ^1.3.1
|
||||
array.prototype.tosorted: ^1.1.1
|
||||
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.6
|
||||
object.fromentries: ^2.0.6
|
||||
object.hasown: ^1.1.2
|
||||
object.values: ^1.1.6
|
||||
prop-types: ^15.8.1
|
||||
resolve: ^2.0.0-next.4
|
||||
semver: ^6.3.0
|
||||
string.prototype.matchall: ^4.0.8
|
||||
peerDependencies:
|
||||
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
|
||||
checksum: e20eab61161a3db6211c2bd1eb9be3e407fd14e72c06c5f39a078b6ac37427b2af6056ee70e3954249bca0a04088ae797a0c8ba909fb8802e29712de2a41262d
|
||||
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"
|
||||
@@ -22187,7 +22225,7 @@ __metadata:
|
||||
eslint-plugin-jsdoc: 39.6.2
|
||||
eslint-plugin-jsx-a11y: 6.7.1
|
||||
eslint-plugin-lodash: 7.4.0
|
||||
eslint-plugin-react: 7.31.10
|
||||
eslint-plugin-react: 7.32.1
|
||||
eslint-plugin-react-hooks: 4.6.0
|
||||
eslint-webpack-plugin: 3.2.0
|
||||
eventemitter3: 4.0.7
|
||||
@@ -29457,6 +29495,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"object.hasown@npm:^1.1.2":
|
||||
version: 1.1.2
|
||||
resolution: "object.hasown@npm:1.1.2"
|
||||
dependencies:
|
||||
define-properties: ^1.1.4
|
||||
es-abstract: ^1.20.4
|
||||
checksum: b936572536db0cdf38eb30afd2f1026a8b6f2cc5d2c4497c9d9bbb01eaf3e980dead4fd07580cfdd098e6383e5a9db8212d3ea0c6bdd2b5e68c60aa7e3b45566
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"object.pick@npm:^1.3.0":
|
||||
version: 1.3.0
|
||||
resolution: "object.pick@npm:1.3.0"
|
||||
@@ -29466,7 +29514,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"object.values@npm:^1.1.0, object.values@npm:^1.1.5":
|
||||
"object.values@npm:^1.1.0, object.values@npm:^1.1.6":
|
||||
version: 1.1.6
|
||||
resolution: "object.values@npm:1.1.6"
|
||||
dependencies:
|
||||
call-bind: ^1.0.2
|
||||
define-properties: ^1.1.4
|
||||
es-abstract: ^1.20.4
|
||||
checksum: f6fff9fd817c24cfd8107f50fb33061d81cd11bacc4e3dbb3852e9ff7692fde4dbce823d4333ea27cd9637ef1b6690df5fbb61f1ed314fa2959598dc3ae23d8e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"object.values@npm:^1.1.5":
|
||||
version: 1.1.5
|
||||
resolution: "object.values@npm:1.1.5"
|
||||
dependencies:
|
||||
@@ -33753,7 +33812,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"regexp.prototype.flags@npm:^1.4.1, regexp.prototype.flags@npm:^1.4.3":
|
||||
"regexp.prototype.flags@npm:^1.4.3":
|
||||
version: 1.4.3
|
||||
resolution: "regexp.prototype.flags@npm:1.4.3"
|
||||
dependencies:
|
||||
@@ -34243,6 +34302,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"resolve@npm:^2.0.0-next.4":
|
||||
version: 2.0.0-next.4
|
||||
resolution: "resolve@npm:2.0.0-next.4"
|
||||
dependencies:
|
||||
is-core-module: ^2.9.0
|
||||
path-parse: ^1.0.7
|
||||
supports-preserve-symlinks-flag: ^1.0.0
|
||||
bin:
|
||||
resolve: bin/resolve
|
||||
checksum: c438ac9a650f2030fd074219d7f12ceb983b475da2d89ad3d6dd05fbf6b7a0a8cd37d4d10b43cb1f632bc19f22246ab7f36ebda54d84a29bfb2910a0680906d3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"resolve@patch:resolve@^1.10.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.12.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.14.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.19.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.20.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.9.0#~builtin<compat/resolve>":
|
||||
version: 1.20.0
|
||||
resolution: "resolve@patch:resolve@npm%3A1.20.0#~builtin<compat/resolve>::version=1.20.0&hash=c3c19d"
|
||||
@@ -34289,6 +34361,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"resolve@patch:resolve@^2.0.0-next.4#~builtin<compat/resolve>":
|
||||
version: 2.0.0-next.4
|
||||
resolution: "resolve@patch:resolve@npm%3A2.0.0-next.4#~builtin<compat/resolve>::version=2.0.0-next.4&hash=c3c19d"
|
||||
dependencies:
|
||||
is-core-module: ^2.9.0
|
||||
path-parse: ^1.0.7
|
||||
supports-preserve-symlinks-flag: ^1.0.0
|
||||
bin:
|
||||
resolve: bin/resolve
|
||||
checksum: 4bf9f4f8a458607af90518ff73c67a4bc1a38b5a23fef2bb0ccbd45e8be89820a1639b637b0ba377eb2be9eedfb1739a84cde24fe4cd670c8207d8fea922b011
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"restore-cursor@npm:^3.1.0":
|
||||
version: 3.1.0
|
||||
resolution: "restore-cursor@npm:3.1.0"
|
||||
@@ -36134,19 +36219,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"string.prototype.matchall@npm:^4.0.0 || ^3.0.1, string.prototype.matchall@npm:^4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "string.prototype.matchall@npm:4.0.7"
|
||||
"string.prototype.matchall@npm:^4.0.0 || ^3.0.1, string.prototype.matchall@npm:^4.0.7, string.prototype.matchall@npm:^4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "string.prototype.matchall@npm:4.0.8"
|
||||
dependencies:
|
||||
call-bind: ^1.0.2
|
||||
define-properties: ^1.1.3
|
||||
es-abstract: ^1.19.1
|
||||
get-intrinsic: ^1.1.1
|
||||
define-properties: ^1.1.4
|
||||
es-abstract: ^1.20.4
|
||||
get-intrinsic: ^1.1.3
|
||||
has-symbols: ^1.0.3
|
||||
internal-slot: ^1.0.3
|
||||
regexp.prototype.flags: ^1.4.1
|
||||
regexp.prototype.flags: ^1.4.3
|
||||
side-channel: ^1.0.4
|
||||
checksum: fc09f3ccbfb325de0472bcc87a6be0598a7499e0b4a31db5789676155b15754a4cc4bb83924f15fc9ed48934dac7366ee52c8b9bd160bed6fd072c93b489e75c
|
||||
checksum: 952da3a818de42ad1c10b576140a5e05b4de7b34b8d9dbf00c3ac8c1293e9c0f533613a39c5cda53e0a8221f2e710bc2150e730b1c2278d60004a8a35726efb6
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user