mirror of
https://github.com/apache/superset.git
synced 2026-08-12 11:11:01 +00:00
chore(deps): bump query-string from 6.14.1 to 9.3.1 in /superset-frontend (#37545)
Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: hainenber <dotronghai96@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
co-authored by
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
hainenber
parent
b968d1095c
commit
b7b9bfd3fe
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
import { ThemeProvider } from '@apache-superset/core/ui';
|
||||
import { parse, stringify } from 'query-string';
|
||||
import querystring from 'query-string';
|
||||
import { BrowserRouter as Router } from 'react-router-dom';
|
||||
import { QueryParamProvider } from 'use-query-params';
|
||||
import { ReactRouter5Adapter } from 'use-query-params/adapters/react-router-5';
|
||||
@@ -32,9 +32,9 @@ export function ProviderWrapper(props: any) {
|
||||
<QueryParamProvider
|
||||
adapter={ReactRouter5Adapter}
|
||||
options={{
|
||||
searchStringToObject: parse,
|
||||
searchStringToObject: querystring.parse,
|
||||
objectToSearchString: (object: Record<string, any>) =>
|
||||
stringify(object, { encode: false }),
|
||||
querystring.stringify(object, { encode: false }),
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user