diff --git a/package.json b/package.json index 3da78ddefa..3900c2877f 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "flow": "^0.2.3", "flow-bin": "^0.95.1", "flow-typed": "^3.2.1", - "formik": "^1.5.1", + "formik": "^2.0.0", "history": "^4.6.3", "hls.js": "^0.14.0", "isomorphic-fetch": "^2.2.1", diff --git a/yarn.lock b/yarn.lock index 5e5d510bf2..49db95ed1d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2342,6 +2342,16 @@ __metadata: languageName: node linkType: hard +"@types/hoist-non-react-statics@npm:^3.3.1": + version: 3.3.5 + resolution: "@types/hoist-non-react-statics@npm:3.3.5" + dependencies: + "@types/react": "*" + hoist-non-react-statics: ^3.3.0 + checksum: b645b062a20cce6ab1245ada8274051d8e2e0b2ee5c6bd58215281d0ec6dae2f26631af4e2e7c8abe238cdcee73fcaededc429eef569e70908f82d0cc0ea31d7 + languageName: node + linkType: hard + "@types/http-cache-semantics@npm:*": version: 4.0.4 resolution: "@types/http-cache-semantics@npm:4.0.4" @@ -2404,6 +2414,23 @@ __metadata: languageName: node linkType: hard +"@types/prop-types@npm:*": + version: 15.7.12 + resolution: "@types/prop-types@npm:15.7.12" + checksum: ac16cc3d0a84431ffa5cfdf89579ad1e2269549f32ce0c769321fdd078f84db4fbe1b461ed5a1a496caf09e637c0e367d600c541435716a55b1d9713f5035dfe + languageName: node + linkType: hard + +"@types/react@npm:*": + version: 18.3.5 + resolution: "@types/react@npm:18.3.5" + dependencies: + "@types/prop-types": "*" + csstype: ^3.0.2 + checksum: 63d2ff473b348c902b68c20be55d2c5124d078c4336c2d1778f316c27789ed596657e8e714022ce14fb24994b0960fc64c913e629bb0bf85815355b0c31eb46b + languageName: node + linkType: hard + "@types/responselike@npm:^1.0.0": version: 1.0.3 resolution: "@types/responselike@npm:1.0.3" @@ -3135,13 +3162,6 @@ __metadata: languageName: node linkType: hard -"asap@npm:~2.0.3": - version: 2.0.6 - resolution: "asap@npm:2.0.6" - checksum: b296c92c4b969e973260e47523207cd5769abd27c245a68c26dc7a0fe8053c55bb04360237cb51cab1df52be939da77150ace99ad331fb7fb13b3423ed73ff3d - languageName: node - linkType: hard - "asn1.js@npm:^5.0.1": version: 5.4.1 resolution: "asn1.js@npm:5.4.1" @@ -4138,13 +4158,6 @@ __metadata: languageName: node linkType: hard -"core-js@npm:^1.0.0": - version: 1.2.7 - resolution: "core-js@npm:1.2.7" - checksum: 0b76371bfa98708351cde580f9287e2360d2209920e738ae950ae74ad08639a2e063541020bf666c28778956fc356ed9fe56d962129c88a87a6a4a0612526c75 - languageName: node - linkType: hard - "core-js@npm:^2.6.5": version: 2.6.12 resolution: "core-js@npm:2.6.12" @@ -4202,19 +4215,6 @@ __metadata: languageName: node linkType: hard -"create-react-context@npm:^0.2.2": - version: 0.2.3 - resolution: "create-react-context@npm:0.2.3" - dependencies: - fbjs: ^0.8.0 - gud: ^1.0.0 - peerDependencies: - prop-types: ^15.0.0 - react: ^0.14.0 || ^15.0.0 || ^16.0.0 - checksum: c48829815c90dc8fcd80a1542c70920fe9a1ba18c5f226de42f2494a82701fc5ca5197a64a412dcf1bf6e54b9ea603a8d14ad38df7870ed798490a505b38ac89 - languageName: node - linkType: hard - "cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -5782,21 +5782,6 @@ __metadata: languageName: node linkType: hard -"fbjs@npm:^0.8.0": - version: 0.8.18 - resolution: "fbjs@npm:0.8.18" - dependencies: - core-js: ^1.0.0 - isomorphic-fetch: ^2.1.1 - loose-envify: ^1.0.0 - object-assign: ^4.1.0 - promise: ^7.1.1 - setimmediate: ^1.0.5 - ua-parser-js: ^0.7.30 - checksum: 668731b946a765908c9cbe51d5160f973abb78004b3d122587c3e930e3e1ddcc0ce2b17f2a8637dc9d733e149aa580f8d3035a35cc2d3bc78b78f1b19aab90e2 - languageName: node - linkType: hard - "fetch-mock@npm:^5.12.1": version: 5.13.1 resolution: "fetch-mock@npm:5.13.1" @@ -6111,22 +6096,21 @@ __metadata: languageName: node linkType: hard -"formik@npm:^1.5.1": - version: 1.5.8 - resolution: "formik@npm:1.5.8" +"formik@npm:^2.0.0": + version: 2.4.6 + resolution: "formik@npm:2.4.6" dependencies: - create-react-context: ^0.2.2 + "@types/hoist-non-react-statics": ^3.3.1 deepmerge: ^2.1.1 hoist-non-react-statics: ^3.3.0 - lodash: ^4.17.14 - lodash-es: ^4.17.14 - prop-types: ^15.6.1 + lodash: ^4.17.21 + lodash-es: ^4.17.21 react-fast-compare: ^2.0.1 tiny-warning: ^1.0.2 - tslib: ^1.9.3 + tslib: ^2.0.0 peerDependencies: - react: ">=15" - checksum: db6b2d8233cd45fa16b1bec5464f7096e5fd4eaaa37fc4f89d1f54d1120fe90cce0a0b1932f3830141dfd2f0f32b3b466cd232b28b3ca7936cd190d468bf6d6b + react: ">=16.8.0" + checksum: ed0ff8eca11b3c4b5564a6ae5650cb124820d239ece9a7cb3d526ff8ce3d8f9fb992e2f78ef0666e65b7c05c944a91cc98a736e806e424019d6aac8bee313a42 languageName: node linkType: hard @@ -7618,7 +7602,7 @@ __metadata: languageName: node linkType: hard -"isomorphic-fetch@npm:^2.1.1, isomorphic-fetch@npm:^2.2.1": +"isomorphic-fetch@npm:^2.2.1": version: 2.2.1 resolution: "isomorphic-fetch@npm:2.2.1" dependencies: @@ -8098,7 +8082,7 @@ __metadata: languageName: node linkType: hard -"lodash-es@npm:^4.17.14, lodash-es@npm:^4.2.1": +"lodash-es@npm:^4.17.21, lodash-es@npm:^4.2.1": version: 4.17.21 resolution: "lodash-es@npm:4.17.21" checksum: 05cbffad6e2adbb331a4e16fbd826e7faee403a1a04873b82b42c0f22090f280839f85b95393f487c1303c8a3d2a010048bf06151a6cbe03eee4d388fb0a12d2 @@ -8266,7 +8250,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.0.0, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.2.1, lodash@npm:^4.3.0, lodash@npm:^4.7.0": +"lodash@npm:^4.0.0, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.2.1, lodash@npm:^4.3.0, lodash@npm:^4.7.0": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -8852,7 +8836,7 @@ __metadata: flow: ^0.2.3 flow-bin: ^0.95.1 flow-typed: ^3.2.1 - formik: ^1.5.1 + formik: ^2.0.0 history: ^4.6.3 hls.js: ^0.14.0 isomorphic-fetch: ^2.2.1 @@ -10027,15 +10011,6 @@ __metadata: languageName: node linkType: hard -"promise@npm:^7.1.1": - version: 7.3.1 - resolution: "promise@npm:7.3.1" - dependencies: - asap: ~2.0.3 - checksum: 475bb069130179fbd27ed2ab45f26d8862376a137a57314cf53310bdd85cc986a826fd585829be97ebc0aaf10e9d8e68be1bfe5a4a0364144b1f9eedfa940cf1 - languageName: node - linkType: hard - "prop-types-exact@npm:^1.2.0": version: 1.2.5 resolution: "prop-types-exact@npm:1.2.5" @@ -11403,7 +11378,7 @@ __metadata: languageName: node linkType: hard -"setimmediate@npm:^1.0.5, setimmediate@npm:~1.0.4": +"setimmediate@npm:~1.0.4": version: 1.0.5 resolution: "setimmediate@npm:1.0.5" checksum: c9a6f2c5b51a2dabdc0247db9c46460152ffc62ee139f3157440bd48e7c59425093f42719ac1d7931f054f153e2d26cf37dfeb8da17a794a58198a2705e527fd @@ -12461,6 +12436,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.0.0": + version: 2.7.0 + resolution: "tslib@npm:2.7.0" + checksum: 1606d5c89f88d466889def78653f3aab0f88692e80bb2066d090ca6112ae250ec1cfa9dbfaab0d17b60da15a4186e8ec4d893801c67896b277c17374e36e1d28 + languageName: node + linkType: hard + "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -12640,7 +12622,7 @@ __metadata: languageName: node linkType: hard -"ua-parser-js@npm:^0.7.24, ua-parser-js@npm:^0.7.30": +"ua-parser-js@npm:^0.7.24": version: 0.7.38 resolution: "ua-parser-js@npm:0.7.38" checksum: e9cbf26c0029746b1be4672280b4a88183787297a90b645a30a79bafde3c46542c7d80df9007092f7d76f80181da7ad9722af7f0d87c7df706de3ab833e69384