Unverified Commit 890245e7 authored by renovate[bot]'s avatar renovate[bot] Committed by GitHub
Browse files

housekeeping: yup to ^0.32.8 (#739)

parent 0504a9a7
Showing with 42 additions and 29 deletions
+42 -29
......@@ -30,7 +30,7 @@
"@emotion/react": "^11.0.0",
"@emotion/styled": "^11.0.0",
"@hookform/devtools": "^2.2.1",
"@hookform/resolvers": "^1.0.0",
"@hookform/resolvers": "2.0.0-beta.3",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.43",
......@@ -49,7 +49,7 @@
"react-router-dom": "^6.0.0-beta",
"styled-components": "^5.1.1",
"superstruct": "~0.13.0",
"yup": "^0.31.0"
"yup": "^0.32.8"
},
"devDependencies": {
"@clutch-sh/tools": "^1.0.0-beta"
......
......@@ -13,7 +13,7 @@ import {
} from "@material-ui/core";
import ChevronRightIcon from "@material-ui/icons/ChevronRight";
import _ from "lodash";
import type { Schema } from "yup";
import type { BaseSchema } from "yup";
import { object } from "yup";
import { useWizardContext } from "../Contexts";
......@@ -23,7 +23,7 @@ interface RowData {
input?: {
key?: string;
type?: string;
validation?: Schema<unknown>;
validation?: BaseSchema<unknown>;
};
name: string;
value: unknown;
......
......@@ -27,7 +27,6 @@
"@types/react": "^16.9.20",
"@types/react-dom": "^16.9.5",
"@types/styled-components": "^5.1.1",
"@types/yup": "^0.29.3",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"babel-eslint": "^10.0.3",
......
......@@ -30,7 +30,7 @@
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-is": "^16.8.0",
"yup": "^0.31.0"
"yup": "^0.32.8"
},
"devDependencies": {
"@clutch-sh/tools": "^1.0.0-beta"
......
......@@ -13,6 +13,7 @@ import { useDataLayout } from "@clutch-sh/data-layout";
import type { WizardChild } from "@clutch-sh/wizard";
import { Wizard, WizardStep } from "@clutch-sh/wizard";
import { number, ref } from "yup";
import type Reference from "yup/lib/Reference";
import type { ConfirmChild, ResolverChild, WorkflowProps } from ".";
......@@ -61,7 +62,9 @@ const GroupDetails: React.FC<WizardChild> = () => {
input: {
type: "number",
key: "size.max",
validation: number().integer().min(ref("Min Size")),
validation: number()
.integer()
.min(ref("Min Size") as Reference<number>),
},
},
{
......@@ -70,7 +73,9 @@ const GroupDetails: React.FC<WizardChild> = () => {
input: {
type: "number",
key: "size.desired",
validation: number().integer().min(ref("Min Size")),
validation: number()
.integer()
.min(ref("Min Size") as Reference<number>),
},
},
{ name: "Availability Zone", value: group.zones },
......
......@@ -34,7 +34,7 @@
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-is": "^16.8.0",
"yup": "^0.31.0"
"yup": "^0.32.8"
},
"devDependencies": {
"@clutch-sh/tools": "^1.0.0-beta"
......
......@@ -29,7 +29,7 @@
"react-dom": "^16.8.0",
"react-is": "^16.8.0",
"react-router-dom": "^6.0.0-beta",
"yup": "^0.31.0"
"yup": "^0.32.8"
},
"devDependencies": {
"@clutch-sh/tools": "^1.0.0-beta"
......
......@@ -29,7 +29,7 @@
"lodash": "4.17.20",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"yup": "^0.31.0"
"yup": "^0.32.8"
},
"devDependencies": {
"@clutch-sh/tools": "^1.0.0-beta"
......
......@@ -17,6 +17,7 @@ import type { WizardChild } from "@clutch-sh/wizard";
import { Wizard, WizardStep } from "@clutch-sh/wizard";
import _ from "lodash";
import { number, ref } from "yup";
import type Reference from "yup/lib/Reference";
import type { ConfirmChild, ResolverChild, WorkflowProps } from ".";
......@@ -85,7 +86,9 @@ const HPADetails: React.FC<WizardChild> = () => {
input: {
type: "number",
key: "sizing.maxReplicas",
validation: number().integer().min(ref("Min Size")),
validation: number()
.integer()
.min(ref("Min Size") as Reference<number>),
},
},
{ name: "Cluster", value: hpa.cluster },
......
......@@ -24,13 +24,13 @@
"@clutch-sh/experimentation": "^1.0.0-beta",
"@clutch-sh/wizard": "^1.0.0-beta",
"@emotion/styled": "^11.0.0",
"@hookform/resolvers": "^1.0.0",
"@hookform/resolvers": "2.0.0-beta.3",
"@material-ui/core": "^4.11.0",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-hook-form": "^6.9.2",
"react-router-dom": "^6.0.0-beta",
"yup": "^0.31.0"
"yup": "^0.32.8"
},
"devDependencies": {
"@clutch-sh/tools": "^1.0.0-beta"
......
......@@ -30,7 +30,7 @@
"react-dom": "^16.8.0",
"react-hook-form": "^5.7.2",
"react-is": "^16.8.0",
"yup": "^0.31.0"
"yup": "^0.32.8"
},
"devDependencies": {
"@clutch-sh/tools": "^1.0.0-beta"
......
......@@ -1809,10 +1809,10 @@
lodash "^4.17.15"
react-simple-animate "^3.3.8"
 
"@hookform/resolvers@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@hookform/resolvers/-/resolvers-1.0.0.tgz#ad924cb846343fe0a42addcf0b055c4f9aa2dcb9"
integrity sha512-YzBq6ZFw/uWGa3rXBNSHqnsE4hDXLrzdboDxPRKGjYHVzs1dBxjvELftP8iTmRPqP32VjnbVfUktX1CQ6Y7sog==
"@hookform/resolvers@2.0.0-beta.3":
version "2.0.0-beta.3"
resolved "https://registry.yarnpkg.com/@hookform/resolvers/-/resolvers-2.0.0-beta.3.tgz#6a13cecb8d261fee9fc53564e3e4ef6212148f16"
integrity sha512-sOP+IX7TglN34WbMVt8eRqWgnXAQcvFc4XUU6x3bIiIjTkjV5L3N7sBjff2Ln4QPTMYnmdXaZV2Yf5WxOiC5YQ==
 
"@icons/material@^0.2.4":
version "0.2.4"
......@@ -4229,6 +4229,11 @@
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.162.tgz#65d78c397e0d883f44afbf1f7ba9867022411470"
integrity sha512-alvcho1kRUnnD1Gcl4J+hK0eencvzq9rmzvFPRmP5rPHx9VVsJj6bKLTATPVf9ktgv4ujzh7T+XWKp+jhuODig==
 
"@types/lodash@^4.14.165":
version "4.14.168"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.168.tgz#fe24632e79b7ade3f132891afff86caa5e5ce008"
integrity sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==
"@types/long@^4.0.1":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.1.tgz#459c65fa1867dafe6a8f322c4c51695663cc55e9"
......@@ -4512,11 +4517,6 @@
dependencies:
"@types/yargs-parser" "*"
 
"@types/yup@^0.29.3":
version "0.29.8"
resolved "https://registry.yarnpkg.com/@types/yup/-/yup-0.29.8.tgz#83db15735987db9fe5a38772a0fb9500e3c5bf39"
integrity sha512-MBSp62AjB1KrSOI3gX9GekddXU5YYQAVA93+aSl78biBqoSzxg876aQY2KJK5Gnfbpqq7O2cadVX5kPAtBqIXw==
"@typescript-eslint/eslint-plugin@^4.13.0", "@typescript-eslint/eslint-plugin@^4.5.0":
version "4.13.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.13.0.tgz#5f580ea520fa46442deb82c038460c3dd3524bb6"
......@@ -14063,6 +14063,11 @@ nan@^2.12.1:
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.2.tgz#f5376400695168f4cc694ac9393d0c9585eeea19"
integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==
 
nanoclone@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/nanoclone/-/nanoclone-0.2.1.tgz#dd4090f8f1a110d26bb32c49ed2f5b9235209ed4"
integrity sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==
nanoid@^3.1.20:
version "3.1.20"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.20.tgz#badc263c6b1dcf14b71efaa85f6ab4c1d6cfc788"
......@@ -20339,14 +20344,16 @@ yauzl@^2.10.0:
buffer-crc32 "~0.2.3"
fd-slicer "~1.1.0"
 
yup@^0.31.0:
version "0.31.0"
resolved "https://registry.yarnpkg.com/yup/-/yup-0.31.0.tgz#e882ab42940a15a980ab8d9cc19f2489418253d2"
integrity sha512-t4nFalWdyIZW2n9wgJVracCe/VPbFmh0/fKaKz40gxcZHCZPOhm4akWYg08t0OOiBhV5xvqLY+fnqzCnLh+ItQ==
yup@^0.32.8:
version "0.32.8"
resolved "https://registry.yarnpkg.com/yup/-/yup-0.32.8.tgz#16e4a949a86a69505abf99fd0941305ac9adfc39"
integrity sha512-SZulv5FIZ9d5H99EN5tRCRPXL0eyoYxWIP1AacCrjC9d4DfP13J1dROdKGfpfRHT3eQB6/ikBl5jG21smAfCkA==
dependencies:
"@babel/runtime" "^7.10.5"
"@types/lodash" "^4.14.165"
lodash "^4.17.20"
lodash-es "^4.17.11"
nanoclone "^0.2.1"
property-expr "^2.0.4"
toposort "^2.0.2"
 
......
......@@ -20,7 +20,6 @@ LINKED_PACKAGES=(
"@types/react"
"@types/react-dom"
"@types/styled-components"
"@types/yup"
"typescript"
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment