chore:(deps): bump prettier from 2.3.0 to 2.3.1 in /explorer (#17785)
* chore:(deps): bump prettier from 2.3.0 to 2.3.1 in /explorer Bumps [prettier](https://github.com/prettier/prettier) from 2.3.0 to 2.3.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.3.0...2.3.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix formatting Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
14
explorer/package-lock.json
generated
14
explorer/package-lock.json
generated
@ -40,7 +40,7 @@
|
|||||||
"cross-fetch": "^3.1.4",
|
"cross-fetch": "^3.1.4",
|
||||||
"humanize-duration-ts": "^2.1.1",
|
"humanize-duration-ts": "^2.1.1",
|
||||||
"node-sass": "^5.0.0",
|
"node-sass": "^5.0.0",
|
||||||
"prettier": "^2.3.0",
|
"prettier": "^2.3.1",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-chartjs-2": "^2.11.2",
|
"react-chartjs-2": "^2.11.2",
|
||||||
"react-countup": "^4.3.3",
|
"react-countup": "^4.3.3",
|
||||||
@ -18573,9 +18573,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/prettier": {
|
"node_modules/prettier": {
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz",
|
||||||
"integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==",
|
"integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==",
|
||||||
"bin": {
|
"bin": {
|
||||||
"prettier": "bin-prettier.js"
|
"prettier": "bin-prettier.js"
|
||||||
},
|
},
|
||||||
@ -39868,9 +39868,9 @@
|
|||||||
"integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
|
"integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz",
|
||||||
"integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w=="
|
"integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA=="
|
||||||
},
|
},
|
||||||
"pretty-bytes": {
|
"pretty-bytes": {
|
||||||
"version": "5.6.0",
|
"version": "5.6.0",
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
"cross-fetch": "^3.1.4",
|
"cross-fetch": "^3.1.4",
|
||||||
"humanize-duration-ts": "^2.1.1",
|
"humanize-duration-ts": "^2.1.1",
|
||||||
"node-sass": "^5.0.0",
|
"node-sass": "^5.0.0",
|
||||||
"prettier": "^2.3.0",
|
"prettier": "^2.3.1",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-chartjs-2": "^2.11.2",
|
"react-chartjs-2": "^2.11.2",
|
||||||
"react-countup": "^4.3.3",
|
"react-countup": "^4.3.3",
|
||||||
|
@ -46,8 +46,9 @@ function reconcile(
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const StateContext = React.createContext<State | undefined>(undefined);
|
export const StateContext = React.createContext<State | undefined>(undefined);
|
||||||
export const DispatchContext =
|
export const DispatchContext = React.createContext<Dispatch | undefined>(
|
||||||
React.createContext<Dispatch | undefined>(undefined);
|
undefined
|
||||||
|
);
|
||||||
|
|
||||||
type RewardsProviderProps = { children: React.ReactNode };
|
type RewardsProviderProps = { children: React.ReactNode };
|
||||||
|
|
||||||
|
@ -119,8 +119,9 @@ function parseQuery(query: URLSearchParams): Cluster {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type SetShowModal = React.Dispatch<React.SetStateAction<boolean>>;
|
type SetShowModal = React.Dispatch<React.SetStateAction<boolean>>;
|
||||||
const ModalContext =
|
const ModalContext = React.createContext<[boolean, SetShowModal] | undefined>(
|
||||||
React.createContext<[boolean, SetShowModal] | undefined>(undefined);
|
undefined
|
||||||
|
);
|
||||||
const StateContext = React.createContext<State | undefined>(undefined);
|
const StateContext = React.createContext<State | undefined>(undefined);
|
||||||
const DispatchContext = React.createContext<Dispatch | undefined>(undefined);
|
const DispatchContext = React.createContext<Dispatch | undefined>(undefined);
|
||||||
|
|
||||||
|
@ -53,8 +53,7 @@ const initialDashboardInfo: DashboardInfo = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
type SetActive = React.Dispatch<React.SetStateAction<boolean>>;
|
type SetActive = React.Dispatch<React.SetStateAction<boolean>>;
|
||||||
const StatsProviderContext =
|
const StatsProviderContext = React.createContext<
|
||||||
React.createContext<
|
|
||||||
| {
|
| {
|
||||||
setActive: SetActive;
|
setActive: SetActive;
|
||||||
setTimedOut: Function;
|
setTimedOut: Function;
|
||||||
@ -62,15 +61,17 @@ const StatsProviderContext =
|
|||||||
active: boolean;
|
active: boolean;
|
||||||
}
|
}
|
||||||
| undefined
|
| undefined
|
||||||
>(undefined);
|
>(undefined);
|
||||||
|
|
||||||
type DashboardState = { info: DashboardInfo };
|
type DashboardState = { info: DashboardInfo };
|
||||||
const DashboardContext =
|
const DashboardContext = React.createContext<DashboardState | undefined>(
|
||||||
React.createContext<DashboardState | undefined>(undefined);
|
undefined
|
||||||
|
);
|
||||||
|
|
||||||
type PerformanceState = { info: PerformanceInfo };
|
type PerformanceState = { info: PerformanceInfo };
|
||||||
const PerformanceContext =
|
const PerformanceContext = React.createContext<PerformanceState | undefined>(
|
||||||
React.createContext<PerformanceState | undefined>(undefined);
|
undefined
|
||||||
|
);
|
||||||
|
|
||||||
type Props = { children: React.ReactNode };
|
type Props = { children: React.ReactNode };
|
||||||
export function SolanaClusterStatsProvider({ children }: Props) {
|
export function SolanaClusterStatsProvider({ children }: Props) {
|
||||||
|
@ -19,8 +19,9 @@ type State = Cache.State<Details>;
|
|||||||
type Dispatch = Cache.Dispatch<Details>;
|
type Dispatch = Cache.Dispatch<Details>;
|
||||||
|
|
||||||
export const StateContext = React.createContext<State | undefined>(undefined);
|
export const StateContext = React.createContext<State | undefined>(undefined);
|
||||||
export const DispatchContext =
|
export const DispatchContext = React.createContext<Dispatch | undefined>(
|
||||||
React.createContext<Dispatch | undefined>(undefined);
|
undefined
|
||||||
|
);
|
||||||
|
|
||||||
type DetailsProviderProps = { children: React.ReactNode };
|
type DetailsProviderProps = { children: React.ReactNode };
|
||||||
export function DetailsProvider({ children }: DetailsProviderProps) {
|
export function DetailsProvider({ children }: DetailsProviderProps) {
|
||||||
|
Reference in New Issue
Block a user