mirror of
https://github.com/apache/superset.git
synced 2026-05-29 20:29:34 +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:
@@ -28,7 +28,7 @@ import { ThemeController } from 'src/theme/ThemeController';
|
||||
import type { ThemeStorage } from '@apache-superset/core/ui';
|
||||
import { store } from 'src/views/store';
|
||||
import { ReactRouter5Adapter } from 'use-query-params/adapters/react-router-5';
|
||||
import { parse, stringify } from 'query-string';
|
||||
import querystring from 'query-string';
|
||||
|
||||
/**
|
||||
* In-memory implementation of ThemeStorage interface for embedded contexts.
|
||||
@@ -72,9 +72,9 @@ export const EmbeddedContextProviders: React.FC = ({ children }) => {
|
||||
<QueryParamProvider
|
||||
adapter={ReactRouter5Adapter}
|
||||
options={{
|
||||
searchStringToObject: parse,
|
||||
searchStringToObject: querystring.parse,
|
||||
objectToSearchString: (object: Record<string, any>) =>
|
||||
stringify(object, { encode: false }),
|
||||
querystring.stringify(object, { encode: false }),
|
||||
}}
|
||||
>
|
||||
{RootContextProviderExtension ? (
|
||||
|
||||
Reference in New Issue
Block a user