Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#167)
Browse files Browse the repository at this point in the history
* chore(deps): update all non-major dependencies

* format

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Giacomo Tagliabue <[email protected]>
  • Loading branch information
3 people authored May 10, 2021
1 parent 6c7de10 commit 71f0d01
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 94 deletions.
10 changes: 5 additions & 5 deletions packages/graphql-explorer-html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"@4c/tsconfig": "^0.3.1",
"@babel/preset-typescript": "^7.13.0",
"@types/lodash": "^4.14.168",
"@types/react": "^17.0.4",
"@types/react": "^17.0.5",
"@types/react-dom": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint-config-4catalyzer-react": "^1.0.13",
"eslint-config-4catalyzer-typescript": "^3.0.3",
"eslint-config-prettier": "^7.2.0",
Expand All @@ -55,10 +55,10 @@
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^5.2.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"prettier": "^2.3.0",
"webpack": "^5.36.2",
"webpack-atoms": "^15.0.1",
"webpack-cli": "^4.6.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
Expand Down
5 changes: 2 additions & 3 deletions packages/graphql-explorer-html/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ function App() {

const schemaState = useSchema(connectionParams);
const [schema, setSchema] = useState<GraphQLSchema>();
const [state, setState] = useState<'error' | 'loading' | 'resolved'>(
'loading',
);
const [state, setState] =
useState<'error' | 'loading' | 'resolved'>('loading');
const handleSubmitConnection = useCallback(
(params) => {
setState('loading');
Expand Down
6 changes: 3 additions & 3 deletions packages/graphql-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@4c/prettier-config": "^1.1.0",
"@4c/tsconfig": "^0.3.1",
"@babel/preset-typescript": "^7.13.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint-config-4catalyzer-jest": "^2.0.10",
"eslint-config-4catalyzer-react": "^1.0.13",
"eslint-config-4catalyzer-typescript": "^3.0.3",
Expand All @@ -62,7 +62,7 @@
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"node-sass": "^5.0.0",
"prettier": "^2.2.1",
"prettier": "^2.3.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"travis-deploy-once": "^5.0.11"
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-explorer/src/forms/FormField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const FormField = React.forwardRef(
// eslint-disable-next-line no-underscore-dangle
(schema as any)._whitelist && (schema as any)._whitelist.list;

const { Component, field } = (schema.meta() as unknown) as SchemaMeta;
const { Component, field } = schema.meta() as unknown as SchemaMeta;
let Input: React.ElementType<any> | undefined = as || Component;

if (!Input) {
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql-explorer/src/forms/FormFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function NestedFormFields({
schema: yup.ObjectSchema<any>;
fieldName: string;
}) {
const gqlType = ((schema.meta() as unknown) as SchemaMeta).field.type;
const gqlType = (schema.meta() as unknown as SchemaMeta).field.type;
const isRequired = gqlType instanceof GraphQLNonNull;

const [expanded, setExpanded] = useState(isRequired);
Expand Down Expand Up @@ -113,7 +113,7 @@ export default function FormFields({ schema }: FormFieldsProps) {
// eslint-disable-next-line no-param-reassign
field = resolveLazy(field);
// schema.meta() is undefined for root objects
const { Component } = (field.meta() as unknown) as SchemaMeta;
const { Component } = field.meta() as unknown as SchemaMeta;

// we use the array and nested helpers only if a component is not specified
if (!Component) {
Expand Down
16 changes: 8 additions & 8 deletions packages/graphql-explorer/src/ui/PanelContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ function PanelContainer({
[panelId, pushPanel],
);

const onclosePanel = useCallback(() => closePanel(panelId), [
closePanel,
panelId,
]);
const onclosePanel = useCallback(
() => closePanel(panelId),
[closePanel, panelId],
);

const onCloseChildPanel = useCallback(() => closeChildPanel(panelId), [
panelId,
closeChildPanel,
]);
const onCloseChildPanel = useCallback(
() => closeChildPanel(panelId),
[panelId, closeChildPanel],
);

return (
<div className="ge-Panel-container">
Expand Down
5 changes: 2 additions & 3 deletions packages/graphql-explorer/src/ui/Panels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ function usePanelState(initialPanel: React.ReactNode) {
}

export default function Panels({ colWidth = '40rem', initialPanel }: Props) {
const { panels, pushPanel, closePanel, closeChildPanel } = usePanelState(
initialPanel,
);
const { panels, pushPanel, closePanel, closeChildPanel } =
usePanelState(initialPanel);

const numCols = panels.length;
const gridTemplateColumns = Array.from(Array(numCols))
Expand Down
137 changes: 68 additions & 69 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3005,10 +3005,10 @@
dependencies:
"@types/react" "*"

"@types/react@*", "@types/react@>=16.14.0", "@types/react@>=16.9.11", "@types/react@>=16.9.35", "@types/react@^17.0.3", "@types/react@^17.0.4":
version "17.0.4"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.4.tgz#a67c6f7a460d2660e950d9ccc1c2f18525c28220"
integrity sha512-onz2BqScSFMoTRdJUZUDD/7xrusM8hBA2Fktk2qgaTYPCgPvWnDEgkrOs8hhPUf2jfcIXkJ5yK6VfYormJS3Jw==
"@types/react@*", "@types/react@>=16.14.0", "@types/react@>=16.9.11", "@types/react@>=16.9.35", "@types/react@^17.0.3", "@types/react@^17.0.5":
version "17.0.5"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.5.tgz#3d887570c4489011f75a3fc8f965bf87d09a1bea"
integrity sha512-bj4biDB9ZJmGAYTWSKJly6bMr4BLUiBrx9ujiJEoP9XIDY9CTaPGxE5QWN/1WjpPLzYF7/jRNnV2nNxNe970sw==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
Expand Down Expand Up @@ -3111,74 +3111,74 @@
resolved "https://registry.yarnpkg.com/@types/zen-observable/-/zen-observable-0.8.0.tgz#8b63ab7f1aa5321248aad5ac890a485656dcea4d"
integrity sha512-te5lMAWii1uEJ4FwLjzdlbw3+n0FZNOvFXHxQDKeT0dilh7HOzdMzV2TrJVUzq8ep7J4Na8OUYPRLSQkJHAlrg==

"@typescript-eslint/eslint-plugin@^4.22.0":
version "4.22.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz#3d5f29bb59e61a9dba1513d491b059e536e16dbc"
integrity sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA==
"@typescript-eslint/eslint-plugin@^4.22.1":
version "4.22.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.1.tgz#6bcdbaa4548553ab861b4e5f34936ead1349a543"
integrity sha512-kVTAghWDDhsvQ602tHBc6WmQkdaYbkcTwZu+7l24jtJiYvm9l+/y/b2BZANEezxPDiX5MK2ZecE+9BFi/YJryw==
dependencies:
"@typescript-eslint/experimental-utils" "4.22.0"
"@typescript-eslint/scope-manager" "4.22.0"
"@typescript-eslint/experimental-utils" "4.22.1"
"@typescript-eslint/scope-manager" "4.22.1"
debug "^4.1.1"
functional-red-black-tree "^1.0.1"
lodash "^4.17.15"
regexpp "^3.0.0"
semver "^7.3.2"
tsutils "^3.17.1"

"@typescript-eslint/[email protected].0", "@typescript-eslint/experimental-utils@^4.0.1":
version "4.22.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.0.tgz#68765167cca531178e7b650a53456e6e0bef3b1f"
integrity sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg==
"@typescript-eslint/[email protected].1", "@typescript-eslint/experimental-utils@^4.0.1":
version "4.22.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.1.tgz#3938a5c89b27dc9a39b5de63a62ab1623ab27497"
integrity sha512-svYlHecSMCQGDO2qN1v477ax/IDQwWhc7PRBiwAdAMJE7GXk5stF4Z9R/8wbRkuX/5e9dHqbIWxjeOjckK3wLQ==
dependencies:
"@types/json-schema" "^7.0.3"
"@typescript-eslint/scope-manager" "4.22.0"
"@typescript-eslint/types" "4.22.0"
"@typescript-eslint/typescript-estree" "4.22.0"
"@typescript-eslint/scope-manager" "4.22.1"
"@typescript-eslint/types" "4.22.1"
"@typescript-eslint/typescript-estree" "4.22.1"
eslint-scope "^5.0.0"
eslint-utils "^2.0.0"

"@typescript-eslint/parser@^4.22.0", "@typescript-eslint/parser@^4.9.0":
version "4.22.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.22.0.tgz#e1637327fcf796c641fe55f73530e90b16ac8fe8"
integrity sha512-z/bGdBJJZJN76nvAY9DkJANYgK3nlRstRRi74WHm3jjgf2I8AglrSY+6l7ogxOmn55YJ6oKZCLLy+6PW70z15Q==
"@typescript-eslint/parser@^4.22.1", "@typescript-eslint/parser@^4.9.0":
version "4.22.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.22.1.tgz#a95bda0fd01d994a15fc3e99dc984294f25c19cc"
integrity sha512-l+sUJFInWhuMxA6rtirzjooh8cM/AATAe3amvIkqKFeMzkn85V+eLzb1RyuXkHak4dLfYzOmF6DXPyflJvjQnw==
dependencies:
"@typescript-eslint/scope-manager" "4.22.0"
"@typescript-eslint/types" "4.22.0"
"@typescript-eslint/typescript-estree" "4.22.0"
"@typescript-eslint/scope-manager" "4.22.1"
"@typescript-eslint/types" "4.22.1"
"@typescript-eslint/typescript-estree" "4.22.1"
debug "^4.1.1"

"@typescript-eslint/[email protected].0":
version "4.22.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.22.0.tgz#ed411545e61161a8d702e703a4b7d96ec065b09a"
integrity sha512-OcCO7LTdk6ukawUM40wo61WdeoA7NM/zaoq1/2cs13M7GyiF+T4rxuA4xM+6LeHWjWbss7hkGXjFDRcKD4O04Q==
"@typescript-eslint/[email protected].1":
version "4.22.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.22.1.tgz#5bb357f94f9cd8b94e6be43dd637eb73b8f355b4"
integrity sha512-d5bAiPBiessSmNi8Amq/RuLslvcumxLmyhf1/Xa9IuaoFJ0YtshlJKxhlbY7l2JdEk3wS0EnmnfeJWSvADOe0g==
dependencies:
"@typescript-eslint/types" "4.22.0"
"@typescript-eslint/visitor-keys" "4.22.0"
"@typescript-eslint/types" "4.22.1"
"@typescript-eslint/visitor-keys" "4.22.1"

"@typescript-eslint/[email protected].0":
version "4.22.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.22.0.tgz#0ca6fde5b68daf6dba133f30959cc0688c8dd0b6"
integrity sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA==
"@typescript-eslint/[email protected].1":
version "4.22.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.22.1.tgz#bf99c6cec0b4a23d53a61894816927f2adad856a"
integrity sha512-2HTkbkdAeI3OOcWbqA8hWf/7z9c6gkmnWNGz0dKSLYLWywUlkOAQ2XcjhlKLj5xBFDf8FgAOF5aQbnLRvgNbCw==

"@typescript-eslint/[email protected].0":
version "4.22.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz#b5d95d6d366ff3b72f5168c75775a3e46250d05c"
integrity sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg==
"@typescript-eslint/[email protected].1":
version "4.22.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.1.tgz#dca379eead8cdfd4edc04805e83af6d148c164f9"
integrity sha512-p3We0pAPacT+onSGM+sPR+M9CblVqdA9F1JEdIqRVlxK5Qth4ochXQgIyb9daBomyQKAXbygxp1aXQRV0GC79A==
dependencies:
"@typescript-eslint/types" "4.22.0"
"@typescript-eslint/visitor-keys" "4.22.0"
"@typescript-eslint/types" "4.22.1"
"@typescript-eslint/visitor-keys" "4.22.1"
debug "^4.1.1"
globby "^11.0.1"
is-glob "^4.0.1"
semver "^7.3.2"
tsutils "^3.17.1"

"@typescript-eslint/[email protected].0":
version "4.22.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.0.tgz#169dae26d3c122935da7528c839f42a8a42f6e47"
integrity sha512-nnMu4F+s4o0sll6cBSsTeVsT4cwxB7zECK3dFxzEjPBii9xLpq4yqqsy/FU5zMfan6G60DKZSCXAa3sHJZrcYw==
"@typescript-eslint/[email protected].1":
version "4.22.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.1.tgz#6045ae25a11662c671f90b3a403d682dfca0b7a6"
integrity sha512-WPkOrIRm+WCLZxXQHCi+WG8T2MMTUFR70rWjdWYddLT7cEfb2P4a3O/J2U1FBVsSFTocXLCoXWY6MZGejeStvQ==
dependencies:
"@typescript-eslint/types" "4.22.0"
"@typescript-eslint/types" "4.22.1"
eslint-visitor-keys "^2.0.0"

"@ungap/global-this@^0.4.2":
Expand Down Expand Up @@ -3307,22 +3307,22 @@
"@webassemblyjs/ast" "1.11.0"
"@xtuc/long" "4.2.2"

"@webpack-cli/configtest@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.0.2.tgz#2a20812bfb3a2ebb0b27ee26a52eeb3e3f000836"
integrity sha512-3OBzV2fBGZ5TBfdW50cha1lHDVf9vlvRXnjpVbJBa20pSZQaSkMJZiwA8V2vD9ogyeXn8nU5s5A6mHyf5jhMzA==
"@webpack-cli/configtest@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.0.3.tgz#204bcff87cda3ea4810881f7ea96e5f5321b87b9"
integrity sha512-WQs0ep98FXX2XBAfQpRbY0Ma6ADw8JR6xoIkaIiJIzClGOMqVRvPCWqndTxf28DgFopWan0EKtHtg/5W1h0Zkw==

"@webpack-cli/info@^1.2.3":
version "1.2.3"
resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.2.3.tgz#ef819d10ace2976b6d134c7c823a3e79ee31a92c"
integrity sha512-lLek3/T7u40lTqzCGpC6CAbY6+vXhdhmwFRxZLMnRm6/sIF/7qMpT8MocXCRQfz0JAh63wpbXLMnsQ5162WS7Q==
"@webpack-cli/info@^1.2.4":
version "1.2.4"
resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.2.4.tgz#7381fd41c9577b2d8f6c2594fad397ef49ad5573"
integrity sha512-ogE2T4+pLhTTPS/8MM3IjHn0IYplKM4HbVNMCWA9N4NrdPzunwenpCsqKEXyejMfRu6K8mhauIPYf8ZxWG5O6g==
dependencies:
envinfo "^7.7.3"

"@webpack-cli/serve@^1.3.1":
version "1.3.1"
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.3.1.tgz#911d1b3ff4a843304b9c3bacf67bb34672418441"
integrity sha512-0qXvpeYO6vaNoRBI52/UsbcaBydJCggoBBnIo/ovQQdn6fug0BgwsjorV1hVS7fMqGVTZGcVxv8334gjmbj5hw==
"@webpack-cli/serve@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.4.0.tgz#f84fd07bcacefe56ce762925798871092f0f228e"
integrity sha512-xgT/HqJ+uLWGX+Mzufusl3cgjAcnqYYskaB7o0vRcwOEfuu6hMzSILQpnIzFMGsTaeaX4Nnekl+6fadLbl1/Vg==

"@wry/context@^0.5.2":
version "0.5.2"
Expand Down Expand Up @@ -12352,10 +12352,10 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"

prettier@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
prettier@^2.2.1, prettier@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"
integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==

pretty-error@^2.1.1:
version "2.1.1"
Expand Down Expand Up @@ -15354,18 +15354,17 @@ webpack-atoms@^15.0.1:
less "^3.12.2"
less-loader "^7.0.2"

webpack-cli@^4.6.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.6.0.tgz#27ae86bfaec0cf393fcfd58abdc5a229ad32fd16"
integrity sha512-9YV+qTcGMjQFiY7Nb1kmnupvb1x40lfpj8pwdO/bom+sQiP4OBMKjHq29YQrlDWDPZO9r/qWaRRywKaRDKqBTA==
webpack-cli@^4.7.0:
version "4.7.0"
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.7.0.tgz#3195a777f1f802ecda732f6c95d24c0004bc5a35"
integrity sha512-7bKr9182/sGfjFm+xdZSwgQuFjgEcy0iCTIBxRUeteJ2Kr8/Wz0qNJX+jw60LU36jApt4nmMkep6+W5AKhok6g==
dependencies:
"@discoveryjs/json-ext" "^0.5.0"
"@webpack-cli/configtest" "^1.0.2"
"@webpack-cli/info" "^1.2.3"
"@webpack-cli/serve" "^1.3.1"
"@webpack-cli/configtest" "^1.0.3"
"@webpack-cli/info" "^1.2.4"
"@webpack-cli/serve" "^1.4.0"
colorette "^1.2.1"
commander "^7.0.0"
enquirer "^2.3.6"
execa "^5.0.0"
fastest-levenshtein "^1.0.12"
import-local "^3.0.2"
Expand Down

0 comments on commit 71f0d01

Please sign in to comment.