mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
Update dependency react-bootstrap-typeahead to v6 (#2356)
* Update dependency react-bootstrap-typeahead to v6 Signed-off-by: Renovate Bot <bot@renovateapp.com> * Fixed used typeahead types Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> Signed-off-by: Renovate Bot <bot@renovateapp.com> Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
7628ed975a
commit
237cb7b158
3 changed files with 33 additions and 106 deletions
|
@ -109,7 +109,7 @@
|
||||||
"next": "12.3.0",
|
"next": "12.3.0",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-bootstrap": "1.6.6",
|
"react-bootstrap": "1.6.6",
|
||||||
"react-bootstrap-typeahead": "5.2.2",
|
"react-bootstrap-typeahead": "6.0.0",
|
||||||
"react-diff-viewer": "3.1.1",
|
"react-diff-viewer": "3.1.1",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"react-i18next": "11.18.6",
|
"react-i18next": "11.18.6",
|
||||||
|
@ -151,7 +151,6 @@
|
||||||
"@types/mermaid": "8.2.9",
|
"@types/mermaid": "8.2.9",
|
||||||
"@types/node": "18.0.0",
|
"@types/node": "18.0.0",
|
||||||
"@types/react": "18.0.19",
|
"@types/react": "18.0.19",
|
||||||
"@types/react-bootstrap-typeahead": "5.1.8",
|
|
||||||
"@types/react-dom": "18.0.6",
|
"@types/react-dom": "18.0.6",
|
||||||
"@types/sass": "1.43.1",
|
"@types/sass": "1.43.1",
|
||||||
"@types/testing-library__jest-dom": "5.14.5",
|
"@types/testing-library__jest-dom": "5.14.5",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: AGPL-3.0-only
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
*/
|
*/
|
||||||
|
@ -9,6 +9,7 @@ import { useApplicationState } from '../../../hooks/common/use-application-state
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import { Typeahead } from 'react-bootstrap-typeahead'
|
import { Typeahead } from 'react-bootstrap-typeahead'
|
||||||
import { useHistoryToolbarState } from './toolbar-context/use-history-toolbar-state'
|
import { useHistoryToolbarState } from './toolbar-context/use-history-toolbar-state'
|
||||||
|
import type { Option } from 'react-bootstrap-typeahead/types/types'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Renders an input field that filters history entries by selected tags.
|
* Renders an input field that filters history entries by selected tags.
|
||||||
|
@ -28,10 +29,10 @@ export const TagSelectionInput: React.FC = () => {
|
||||||
}, [historyEntries])
|
}, [historyEntries])
|
||||||
|
|
||||||
const onChange = useCallback(
|
const onChange = useCallback(
|
||||||
(selectedTags: string[]) => {
|
(selectedTags: Option[]) => {
|
||||||
setHistoryToolbarState((state) => ({
|
setHistoryToolbarState((state) => ({
|
||||||
...state,
|
...state,
|
||||||
selectedTags
|
selectedTags: selectedTags as string[]
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
[setHistoryToolbarState]
|
[setHistoryToolbarState]
|
||||||
|
|
129
yarn.lock
129
yarn.lock
|
@ -1968,7 +1968,6 @@ __metadata:
|
||||||
"@types/mermaid": 8.2.9
|
"@types/mermaid": 8.2.9
|
||||||
"@types/node": 18.0.0
|
"@types/node": 18.0.0
|
||||||
"@types/react": 18.0.19
|
"@types/react": 18.0.19
|
||||||
"@types/react-bootstrap-typeahead": 5.1.8
|
|
||||||
"@types/react-dom": 18.0.6
|
"@types/react-dom": 18.0.6
|
||||||
"@types/sass": 1.43.1
|
"@types/sass": 1.43.1
|
||||||
"@types/testing-library__jest-dom": 5.14.5
|
"@types/testing-library__jest-dom": 5.14.5
|
||||||
|
@ -2041,7 +2040,7 @@ __metadata:
|
||||||
prettier: 2.7.1
|
prettier: 2.7.1
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
react-bootstrap: 1.6.6
|
react-bootstrap: 1.6.6
|
||||||
react-bootstrap-typeahead: 5.2.2
|
react-bootstrap-typeahead: 6.0.0
|
||||||
react-diff-viewer: 3.1.1
|
react-diff-viewer: 3.1.1
|
||||||
react-dom: 18.2.0
|
react-dom: 18.2.0
|
||||||
react-i18next: 11.18.6
|
react-i18next: 11.18.6
|
||||||
|
@ -2128,19 +2127,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@hypnosphi/create-react-context@npm:^0.3.1":
|
|
||||||
version: 0.3.1
|
|
||||||
resolution: "@hypnosphi/create-react-context@npm:0.3.1"
|
|
||||||
dependencies:
|
|
||||||
gud: ^1.0.0
|
|
||||||
warning: ^4.0.3
|
|
||||||
peerDependencies:
|
|
||||||
prop-types: ^15.0.0
|
|
||||||
react: ">=0.14.0"
|
|
||||||
checksum: d2f069a562e138057aa067e1483e28cea3193bbacd33ca9528131f31e656939cfeb552af760b3be437d3a8074315a8854fc6d5d89878e2746618ad930c817122
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@istanbuljs/load-nyc-config@npm:^1.0.0":
|
"@istanbuljs/load-nyc-config@npm:^1.0.0":
|
||||||
version: 1.1.0
|
version: 1.1.0
|
||||||
resolution: "@istanbuljs/load-nyc-config@npm:1.1.0"
|
resolution: "@istanbuljs/load-nyc-config@npm:1.1.0"
|
||||||
|
@ -2839,7 +2825,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@popperjs/core@npm:^2.8.6":
|
"@popperjs/core@npm:^2.10.2, @popperjs/core@npm:^2.8.6":
|
||||||
version: 2.11.6
|
version: 2.11.6
|
||||||
resolution: "@popperjs/core@npm:2.11.6"
|
resolution: "@popperjs/core@npm:2.11.6"
|
||||||
checksum: 47fb328cec1924559d759b48235c78574f2d71a8a6c4c03edb6de5d7074078371633b91e39bbf3f901b32aa8af9b9d8f82834856d2f5737a23475036b16817f0
|
checksum: 47fb328cec1924559d759b48235c78574f2d71a8a6c4c03edb6de5d7074078371633b91e39bbf3f901b32aa8af9b9d8f82834856d2f5737a23475036b16817f0
|
||||||
|
@ -3869,15 +3855,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/react-bootstrap-typeahead@npm:5.1.8":
|
|
||||||
version: 5.1.8
|
|
||||||
resolution: "@types/react-bootstrap-typeahead@npm:5.1.8"
|
|
||||||
dependencies:
|
|
||||||
"@types/react": "*"
|
|
||||||
checksum: 46ed6a3117eaf87358d2e58501df623cd77b2ad9464eb829f0fd80d5901b65fae1acc25ec12c87516fdb4f81d67bd0ac018cf77ee631867482e9cbe34bdd07fb
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@types/react-dom@npm:18.0.6, @types/react-dom@npm:^18.0.0":
|
"@types/react-dom@npm:18.0.6, @types/react-dom@npm:^18.0.0":
|
||||||
version: 18.0.6
|
version: 18.0.6
|
||||||
resolution: "@types/react-dom@npm:18.0.6"
|
resolution: "@types/react-dom@npm:18.0.6"
|
||||||
|
@ -6811,20 +6788,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"deep-equal@npm:^1.1.1":
|
|
||||||
version: 1.1.1
|
|
||||||
resolution: "deep-equal@npm:1.1.1"
|
|
||||||
dependencies:
|
|
||||||
is-arguments: ^1.0.4
|
|
||||||
is-date-object: ^1.0.1
|
|
||||||
is-regex: ^1.0.4
|
|
||||||
object-is: ^1.0.1
|
|
||||||
object-keys: ^1.1.1
|
|
||||||
regexp.prototype.flags: ^1.2.0
|
|
||||||
checksum: f92686f2c5bcdf714a75a5fa7a9e47cb374a8ec9307e717b8d1ce61f56a75aaebf5619c2a12b8087a705b5a2f60d0292c35f8b58cb1f72e3268a3a15cab9f78d
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"deep-extend@npm:^0.6.0":
|
"deep-extend@npm:^0.6.0":
|
||||||
version: 0.6.0
|
version: 0.6.0
|
||||||
resolution: "deep-extend@npm:0.6.0"
|
resolution: "deep-extend@npm:0.6.0"
|
||||||
|
@ -8427,13 +8390,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"gud@npm:^1.0.0":
|
|
||||||
version: 1.0.0
|
|
||||||
resolution: "gud@npm:1.0.0"
|
|
||||||
checksum: 3e2eb37cf794364077c18f036d6aa259c821c7fd188f2b7935cb00d589d82a41e0ebb1be809e1a93679417f62f1ad0513e745c3cf5329596e489aef8c5e5feae
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"gzip-size@npm:^6.0.0":
|
"gzip-size@npm:^6.0.0":
|
||||||
version: 6.0.0
|
version: 6.0.0
|
||||||
resolution: "gzip-size@npm:6.0.0"
|
resolution: "gzip-size@npm:6.0.0"
|
||||||
|
@ -8824,16 +8780,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"is-arguments@npm:^1.0.4":
|
|
||||||
version: 1.1.1
|
|
||||||
resolution: "is-arguments@npm:1.1.1"
|
|
||||||
dependencies:
|
|
||||||
call-bind: ^1.0.2
|
|
||||||
has-tostringtag: ^1.0.0
|
|
||||||
checksum: 7f02700ec2171b691ef3e4d0e3e6c0ba408e8434368504bb593d0d7c891c0dbfda6d19d30808b904a6cb1929bca648c061ba438c39f296c2a8ca083229c49f27
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"is-arrayish@npm:^0.2.1":
|
"is-arrayish@npm:^0.2.1":
|
||||||
version: 0.2.1
|
version: 0.2.1
|
||||||
resolution: "is-arrayish@npm:0.2.1"
|
resolution: "is-arrayish@npm:0.2.1"
|
||||||
|
@ -8996,7 +8942,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"is-regex@npm:^1.0.4, is-regex@npm:^1.1.4":
|
"is-regex@npm:^1.1.4":
|
||||||
version: 1.1.4
|
version: 1.1.4
|
||||||
resolution: "is-regex@npm:1.1.4"
|
resolution: "is-regex@npm:1.1.4"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -10881,16 +10827,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"object-is@npm:^1.0.1":
|
|
||||||
version: 1.1.5
|
|
||||||
resolution: "object-is@npm:1.1.5"
|
|
||||||
dependencies:
|
|
||||||
call-bind: ^1.0.2
|
|
||||||
define-properties: ^1.1.3
|
|
||||||
checksum: 989b18c4cba258a6b74dc1d74a41805c1a1425bce29f6cabb50dcb1a6a651ea9104a1b07046739a49a5bb1bc49727bcb00efd5c55f932f6ea04ec8927a7901fe
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"object-keys@npm:^1.1.1":
|
"object-keys@npm:^1.1.1":
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
resolution: "object-keys@npm:1.1.1"
|
resolution: "object-keys@npm:1.1.1"
|
||||||
|
@ -11190,13 +11126,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"popper.js@npm:^1.14.4":
|
|
||||||
version: 1.16.1
|
|
||||||
resolution: "popper.js@npm:1.16.1"
|
|
||||||
checksum: c56ae5001ec50a77ee297a8061a0221d99d25c7348d2e6bcd3e45a0d0f32a1fd81bca29d46cb0d4bdf13efb77685bd6a0ce93f9eb3c608311a461f945fffedbe
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"postcss@npm:8.4.14":
|
"postcss@npm:8.4.14":
|
||||||
version: 8.4.14
|
version: 8.4.14
|
||||||
resolution: "postcss@npm:8.4.14"
|
resolution: "postcss@npm:8.4.14"
|
||||||
|
@ -11360,7 +11289,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"prop-types@npm:^15.5.8, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
|
"prop-types@npm:^15.5.8, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
|
||||||
version: 15.8.1
|
version: 15.8.1
|
||||||
resolution: "prop-types@npm:15.8.1"
|
resolution: "prop-types@npm:15.8.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -11455,25 +11384,26 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"react-bootstrap-typeahead@npm:5.2.2":
|
"react-bootstrap-typeahead@npm:6.0.0":
|
||||||
version: 5.2.2
|
version: 6.0.0
|
||||||
resolution: "react-bootstrap-typeahead@npm:5.2.2"
|
resolution: "react-bootstrap-typeahead@npm:6.0.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime": ^7.14.6
|
"@babel/runtime": ^7.14.6
|
||||||
|
"@popperjs/core": ^2.10.2
|
||||||
"@restart/hooks": ^0.4.0
|
"@restart/hooks": ^0.4.0
|
||||||
classnames: ^2.2.0
|
classnames: ^2.2.0
|
||||||
fast-deep-equal: ^3.1.1
|
fast-deep-equal: ^3.1.1
|
||||||
invariant: ^2.2.1
|
invariant: ^2.2.1
|
||||||
lodash.debounce: ^4.0.8
|
lodash.debounce: ^4.0.8
|
||||||
prop-types: ^15.5.8
|
prop-types: ^15.5.8
|
||||||
react-overlays: ^5.1.0
|
react-overlays: ^5.2.0
|
||||||
react-popper: ^1.0.0
|
react-popper: ^2.2.5
|
||||||
scroll-into-view-if-needed: ^2.2.20
|
scroll-into-view-if-needed: ^2.2.20
|
||||||
warning: ^4.0.1
|
warning: ^4.0.1
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ">=16.8.0"
|
react: ">=16.8.0"
|
||||||
react-dom: ">=16.8.0"
|
react-dom: ">=16.8.0"
|
||||||
checksum: 041691d241b4520dce52f541a774c209f542bcffb580ee24a7fbb56f66058526437685002d0a8992f3215a321b408b79180c1791feb899f8457669e0c3a83ec0
|
checksum: 491170136c2c5d16417e44663fbbfb84507719b788426d10823118489ce48d1f9d99688b9370d9bbc341542b4a2ab7ad3638b82202d807d3cfd28bca0667fb11
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
@ -11534,6 +11464,13 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"react-fast-compare@npm:^3.0.1":
|
||||||
|
version: 3.2.0
|
||||||
|
resolution: "react-fast-compare@npm:3.2.0"
|
||||||
|
checksum: 8ef272c825ae329f61633ce4ce7f15aa5b84e5214d88bc0823880236e03e985a13195befa2c7a4eda7db3b017dc7985729152d88445823f652403cf36c2b86aa
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"react-i18next@npm:11.18.6":
|
"react-i18next@npm:11.18.6":
|
||||||
version: 11.18.6
|
version: 11.18.6
|
||||||
resolution: "react-i18next@npm:11.18.6"
|
resolution: "react-i18next@npm:11.18.6"
|
||||||
|
@ -11580,7 +11517,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"react-overlays@npm:^5.1.0, react-overlays@npm:^5.1.2":
|
"react-overlays@npm:^5.1.2, react-overlays@npm:^5.2.0":
|
||||||
version: 5.2.0
|
version: 5.2.0
|
||||||
resolution: "react-overlays@npm:5.2.0"
|
resolution: "react-overlays@npm:5.2.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -11599,20 +11536,17 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"react-popper@npm:^1.0.0":
|
"react-popper@npm:^2.2.5":
|
||||||
version: 1.3.11
|
version: 2.3.0
|
||||||
resolution: "react-popper@npm:1.3.11"
|
resolution: "react-popper@npm:2.3.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime": ^7.1.2
|
react-fast-compare: ^3.0.1
|
||||||
"@hypnosphi/create-react-context": ^0.3.1
|
|
||||||
deep-equal: ^1.1.1
|
|
||||||
popper.js: ^1.14.4
|
|
||||||
prop-types: ^15.6.1
|
|
||||||
typed-styles: ^0.0.7
|
|
||||||
warning: ^4.0.2
|
warning: ^4.0.2
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: 0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0
|
"@popperjs/core": ^2.0.0
|
||||||
checksum: a0f5994f5799f1c7364498f74df123dd2561fff4ae834b10fdcca74d9a8e159b523ed1f0708db33bad606933ab4f0d5ce9c90e48cbb671bf30016c890f3c7ea4
|
react: ^16.8.0 || ^17 || ^18
|
||||||
|
react-dom: ^16.8.0 || ^17 || ^18
|
||||||
|
checksum: 837111c98738011c69b3069a464ea5bdcbf487105b6148e8faf90cb7337e134edb1b98b8824322941c378756cca30a15c18c25f558e53b85ed5762fa0dc8e6b2
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
@ -11812,7 +11746,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"regexp.prototype.flags@npm:^1.2.0, regexp.prototype.flags@npm:^1.4.1, regexp.prototype.flags@npm:^1.4.3":
|
"regexp.prototype.flags@npm:^1.4.1, regexp.prototype.flags@npm:^1.4.3":
|
||||||
version: 1.4.3
|
version: 1.4.3
|
||||||
resolution: "regexp.prototype.flags@npm:1.4.3"
|
resolution: "regexp.prototype.flags@npm:1.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -13147,13 +13081,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typed-styles@npm:^0.0.7":
|
|
||||||
version: 0.0.7
|
|
||||||
resolution: "typed-styles@npm:0.0.7"
|
|
||||||
checksum: 36a6ad6bee008c15ddb8c2425eaf9aee37d2841985b4c44406ea4cf57080a9c30b6f9f3feb842ac952354733ac53299ee44f68d83f734486e8344d413f8c8c0d
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"typescript@npm:4.8.3":
|
"typescript@npm:4.8.3":
|
||||||
version: 4.8.3
|
version: 4.8.3
|
||||||
resolution: "typescript@npm:4.8.3"
|
resolution: "typescript@npm:4.8.3"
|
||||||
|
|
Loading…
Reference in a new issue