Bump react-i18next from 11.18.6 to 12.0.0 (#3622)

* Bump react-i18next from 11.18.6 to 12.0.0

Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.18.6 to 12.0.0.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v11.18.6...v12.0.0)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix type issues

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
dependabot[bot] 2022-10-26 00:08:51 +02:00 committed by GitHub
parent 37afe07bd5
commit 19bb209899
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 69 additions and 67 deletions

View file

@ -14,7 +14,7 @@
"i18next-http-backend": "^1.4.4", "i18next-http-backend": "^1.4.4",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-i18next": "^11.18.6", "react-i18next": "^12.0.0",
"react-router": "^6.4.1", "react-router": "^6.4.1",
"react-router-dom": "^6.4.1" "react-router-dom": "^6.4.1"
}, },

View file

@ -5,12 +5,13 @@ import {
NavList, NavList,
PageSidebar, PageSidebar,
} from "@patternfly/react-core"; } from "@patternfly/react-core";
import { TFuncKey } from "i18next";
import { import {
FunctionComponent, FunctionComponent,
MouseEvent as ReactMouseEvent, MouseEvent as ReactMouseEvent,
useMemo, useMemo,
} from "react"; } from "react";
import { TFuncKey, useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { import {
matchPath, matchPath,
To, To,

View file

@ -64,7 +64,7 @@
"react-error-boundary": "^3.1.4", "react-error-boundary": "^3.1.4",
"react-flow-renderer": "^9.7.4", "react-flow-renderer": "^9.7.4",
"react-hook-form": "^6.15.8", "react-hook-form": "^6.15.8",
"react-i18next": "^11.18.6", "react-i18next": "^12.0.0",
"react-router": "^5.3.4", "react-router": "^5.3.4",
"react-router-dom": "^5.3.4", "react-router-dom": "^5.3.4",
"react-router-dom-v5-compat": "^6.4.2", "react-router-dom-v5-compat": "^6.4.2",

View file

@ -1,5 +1,5 @@
import type ClientRepresentation from "@keycloak/keycloak-admin-client/lib/defs/clientRepresentation"; import type ClientRepresentation from "@keycloak/keycloak-admin-client/lib/defs/clientRepresentation";
import type { TFunction } from "react-i18next"; import type { TFunction } from "i18next";
/** /**
* Checks if a client is intended to be used for authenticating a to a realm. * Checks if a client is intended to be used for authenticating a to a realm.

127
package-lock.json generated
View file

@ -37,7 +37,7 @@
"i18next-http-backend": "^1.4.4", "i18next-http-backend": "^1.4.4",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-i18next": "^11.18.6", "react-i18next": "^12.0.0",
"react-router": "^6.4.1", "react-router": "^6.4.1",
"react-router-dom": "^6.4.1" "react-router-dom": "^6.4.1"
}, },
@ -71,6 +71,27 @@
"@babel/runtime": "^7.17.2" "@babel/runtime": "^7.17.2"
} }
}, },
"apps/account-ui/node_modules/react-i18next": {
"version": "12.0.0",
"resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-12.0.0.tgz",
"integrity": "sha512-/O7N6aIEAl1FaWZBNvhdIo9itvF/MO/nRKr9pYqRc9LhuC1u21SlfwpiYQqvaeNSEW3g3qUXLREOWMt+gxrWbg==",
"dependencies": {
"@babel/runtime": "^7.14.5",
"html-parse-stringify": "^3.0.1"
},
"peerDependencies": {
"i18next": ">= 19.0.0",
"react": ">= 16.8.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
}
},
"apps/account-ui/node_modules/react-router": { "apps/account-ui/node_modules/react-router": {
"version": "6.4.2", "version": "6.4.2",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.4.2.tgz", "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.4.2.tgz",
@ -122,7 +143,7 @@
"react-error-boundary": "^3.1.4", "react-error-boundary": "^3.1.4",
"react-flow-renderer": "^9.7.4", "react-flow-renderer": "^9.7.4",
"react-hook-form": "^6.15.8", "react-hook-form": "^6.15.8",
"react-i18next": "^11.18.6", "react-i18next": "^12.0.0",
"react-router": "^5.3.4", "react-router": "^5.3.4",
"react-router-dom": "^5.3.4", "react-router-dom": "^5.3.4",
"react-router-dom-v5-compat": "^6.4.2", "react-router-dom-v5-compat": "^6.4.2",
@ -189,6 +210,27 @@
"@babel/runtime": "^7.17.2" "@babel/runtime": "^7.17.2"
} }
}, },
"apps/admin-ui/node_modules/react-i18next": {
"version": "12.0.0",
"resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-12.0.0.tgz",
"integrity": "sha512-/O7N6aIEAl1FaWZBNvhdIo9itvF/MO/nRKr9pYqRc9LhuC1u21SlfwpiYQqvaeNSEW3g3qUXLREOWMt+gxrWbg==",
"dependencies": {
"@babel/runtime": "^7.14.5",
"html-parse-stringify": "^3.0.1"
},
"peerDependencies": {
"i18next": ">= 19.0.0",
"react": ">= 16.8.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
}
},
"libs/keycloak-js": { "libs/keycloak-js": {
"version": "999.0.0-dev", "version": "999.0.0-dev",
"license": "Apache-2.0", "license": "Apache-2.0",
@ -9105,29 +9147,6 @@
"url": "https://github.com/sponsors/typicode" "url": "https://github.com/sponsors/typicode"
} }
}, },
"node_modules/i18next": {
"version": "21.10.0",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-21.10.0.tgz",
"integrity": "sha512-YeuIBmFsGjUfO3qBmMOc0rQaun4mIpGKET5WDwvu8lU7gvwpcariZLNtL0Fzj+zazcHUrlXHiptcFhBMFaxzfg==",
"funding": [
{
"type": "individual",
"url": "https://locize.com"
},
{
"type": "individual",
"url": "https://locize.com/i18next.html"
},
{
"type": "individual",
"url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
}
],
"peer": true,
"dependencies": {
"@babel/runtime": "^7.17.2"
}
},
"node_modules/i18next-http-backend": { "node_modules/i18next-http-backend": {
"version": "1.4.4", "version": "1.4.4",
"license": "MIT", "license": "MIT",
@ -11853,26 +11872,6 @@
"react": "^16.8.0 || ^17" "react": "^16.8.0 || ^17"
} }
}, },
"node_modules/react-i18next": {
"version": "11.18.6",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.14.5",
"html-parse-stringify": "^3.0.1"
},
"peerDependencies": {
"i18next": ">= 19.0.0",
"react": ">= 16.8.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
}
},
"node_modules/react-is": { "node_modules/react-is": {
"version": "16.13.1", "version": "16.13.1",
"license": "MIT" "license": "MIT"
@ -17950,7 +17949,7 @@
"i18next-http-backend": "^1.4.4", "i18next-http-backend": "^1.4.4",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-i18next": "^11.18.6", "react-i18next": "^12.0.0",
"react-router": "^6.4.1", "react-router": "^6.4.1",
"react-router-dom": "^6.4.1", "react-router-dom": "^6.4.1",
"vite": "^3.1.8", "vite": "^3.1.8",
@ -17965,6 +17964,15 @@
"@babel/runtime": "^7.17.2" "@babel/runtime": "^7.17.2"
} }
}, },
"react-i18next": {
"version": "12.0.0",
"resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-12.0.0.tgz",
"integrity": "sha512-/O7N6aIEAl1FaWZBNvhdIo9itvF/MO/nRKr9pYqRc9LhuC1u21SlfwpiYQqvaeNSEW3g3qUXLREOWMt+gxrWbg==",
"requires": {
"@babel/runtime": "^7.14.5",
"html-parse-stringify": "^3.0.1"
}
},
"react-router": { "react-router": {
"version": "6.4.2", "version": "6.4.2",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.4.2.tgz", "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.4.2.tgz",
@ -18063,7 +18071,7 @@
"react-error-boundary": "^3.1.4", "react-error-boundary": "^3.1.4",
"react-flow-renderer": "^9.7.4", "react-flow-renderer": "^9.7.4",
"react-hook-form": "^6.15.8", "react-hook-form": "^6.15.8",
"react-i18next": "^11.18.6", "react-i18next": "^12.0.0",
"react-router": "^5.3.4", "react-router": "^5.3.4",
"react-router-dom": "^5.3.4", "react-router-dom": "^5.3.4",
"react-router-dom-v5-compat": "^6.4.2", "react-router-dom-v5-compat": "^6.4.2",
@ -18084,6 +18092,15 @@
"requires": { "requires": {
"@babel/runtime": "^7.17.2" "@babel/runtime": "^7.17.2"
} }
},
"react-i18next": {
"version": "12.0.0",
"resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-12.0.0.tgz",
"integrity": "sha512-/O7N6aIEAl1FaWZBNvhdIo9itvF/MO/nRKr9pYqRc9LhuC1u21SlfwpiYQqvaeNSEW3g3qUXLREOWMt+gxrWbg==",
"requires": {
"@babel/runtime": "^7.14.5",
"html-parse-stringify": "^3.0.1"
}
} }
} }
}, },
@ -21027,15 +21044,6 @@
"version": "8.0.1", "version": "8.0.1",
"dev": true "dev": true
}, },
"i18next": {
"version": "21.10.0",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-21.10.0.tgz",
"integrity": "sha512-YeuIBmFsGjUfO3qBmMOc0rQaun4mIpGKET5WDwvu8lU7gvwpcariZLNtL0Fzj+zazcHUrlXHiptcFhBMFaxzfg==",
"peer": true,
"requires": {
"@babel/runtime": "^7.17.2"
}
},
"i18next-http-backend": { "i18next-http-backend": {
"version": "1.4.4", "version": "1.4.4",
"requires": { "requires": {
@ -22800,13 +22808,6 @@
"version": "6.15.8", "version": "6.15.8",
"requires": {} "requires": {}
}, },
"react-i18next": {
"version": "11.18.6",
"requires": {
"@babel/runtime": "^7.14.5",
"html-parse-stringify": "^3.0.1"
}
},
"react-is": { "react-is": {
"version": "16.13.1" "version": "16.13.1"
}, },