From ac3cfa8aaa430df2b73e51a6b6f0916f1f6f6382 Mon Sep 17 00:00:00 2001 From: thaddmt <68032955+thaddmt@users.noreply.github.com> Date: Fri, 15 Sep 2023 12:40:42 -0700 Subject: [PATCH] fix(liveness): add missing liveness dependencies (#4446) * fix(liveness): add missing liveness dependencies * Create loud-dodos-confess.md --- .changeset/loud-dodos-confess.md | 5 ++ packages/react-liveness/package.json | 3 + yarn.lock | 83 +++++++++++++++++++++++----- 3 files changed, 76 insertions(+), 15 deletions(-) create mode 100644 .changeset/loud-dodos-confess.md diff --git a/.changeset/loud-dodos-confess.md b/.changeset/loud-dodos-confess.md new file mode 100644 index 00000000000..0ede2ff83c8 --- /dev/null +++ b/.changeset/loud-dodos-confess.md @@ -0,0 +1,5 @@ +--- +"@aws-amplify/ui-react-liveness": patch +--- + +fix(liveness): add missing liveness dependencies diff --git a/packages/react-liveness/package.json b/packages/react-liveness/package.json index 1da5651c876..0656307d5d7 100644 --- a/packages/react-liveness/package.json +++ b/packages/react-liveness/package.json @@ -51,7 +51,10 @@ "@aws-amplify/ui": "5.8.0", "@aws-amplify/ui-react": "5.3.0", "@aws-sdk/client-rekognitionstreaming": "3.398.0", + "@aws-sdk/util-format-url": "^3.410.0", "@smithy/eventstream-serde-browser": "^2.0.4", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", "@tensorflow-models/blazeface": "0.0.7", "@tensorflow/tfjs-backend-cpu": "3.11.0", "@tensorflow/tfjs-backend-wasm": "3.11.0", diff --git a/yarn.lock b/yarn.lock index ffb9db130d9..e6c44b6369a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2913,6 +2913,14 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@aws-sdk/types@3.410.0": + version "3.410.0" + resolved "https://registry.npmjs.org/@aws-sdk/types/-/types-3.410.0.tgz#8c293e3763acb64c68f5752359523c3a40e5eb88" + integrity sha512-D7iaUCszv/v04NDaZUmCmekamy6VD/lKozm/3gS9+dkfU6cC2CsNoUfPV8BlV6dPdw0oWgF91am3I1stdvfVrQ== + dependencies: + "@smithy/types" "^2.3.0" + tslib "^2.5.0" + "@aws-sdk/types@3.6.1": version "3.6.1" resolved "https://registry.npmjs.org/@aws-sdk/types/-/types-3.6.1.tgz#00686db69e998b521fcd4a5f81ef0960980f80c4" @@ -3108,6 +3116,16 @@ "@aws-sdk/types" "3.6.1" tslib "^1.8.0" +"@aws-sdk/util-format-url@^3.410.0": + version "3.410.0" + resolved "https://registry.npmjs.org/@aws-sdk/util-format-url/-/util-format-url-3.410.0.tgz#80600d2c8c17c21c01879d1d74cc7092e1b60199" + integrity sha512-ftxPYq7RBxJMQrOCJARx8+sQccmG+6y7mm9JzfXOHOfS1aWnYQizTitJ7PMA8p90xrUAFQ2CmjT0jaEGWg5VGQ== + dependencies: + "@aws-sdk/types" "3.410.0" + "@smithy/querystring-builder" "^2.0.6" + "@smithy/types" "^2.3.0" + tslib "^2.5.0" + "@aws-sdk/util-hex-encoding@3.186.0": version "3.186.0" resolved "https://registry.npmjs.org/@aws-sdk/util-hex-encoding/-/util-hex-encoding-3.186.0.tgz#7ed58b923997c6265f4dce60c8704237edb98895" @@ -5434,9 +5452,9 @@ integrity sha512-chTnjxV3vryL75N90wJIMdMafXmZoO2JgNJLYpsfcALL2/IQrRiny3vM9DgD5RDCSt1LNloMtb7rGey9YWxCsA== "@cypress/request@^2.88.11", "@cypress/request@^3.0.0": - version "3.0.0" - resolved "https://registry.npmjs.org/@cypress/request/-/request-3.0.0.tgz#7f58dfda087615ed4e6aab1b25fffe7630d6dd85" - integrity sha512-GKFCqwZwMYmL3IBoNeR2MM1SnxRIGERsQOTWeQKoYBt2JLqcqiy7JXqO894FLrpjZYqGxW92MNwRH2BN56obdQ== + version "3.0.1" + resolved "https://registry.npmjs.org/@cypress/request/-/request-3.0.1.tgz#72d7d5425236a2413bd3d8bb66d02d9dc3168960" + integrity sha512-TWivJlJi8ZDx2wGOw1dbLuHJKUYX7bWySw377nlnGOW3hP9/MUKIsEdXT/YngWxVdgNCHRBmFlBipE+5/2ZZlQ== dependencies: aws-sign2 "~0.7.0" aws4 "^1.8.0" @@ -5451,7 +5469,7 @@ json-stringify-safe "~5.0.1" mime-types "~2.1.19" performance-now "^2.1.0" - qs "~6.10.3" + qs "6.10.4" safe-buffer "^5.1.2" tough-cookie "^4.1.3" tunnel-agent "^0.6.0" @@ -7855,6 +7873,17 @@ "@smithy/util-base64" "^2.0.0" tslib "^2.5.0" +"@smithy/fetch-http-handler@^2.1.3": + version "2.1.3" + resolved "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.3.tgz#574a40085aef25edb60607dcdd6873549bd9e4c2" + integrity sha512-kUg+Ey4mJeR/3+Ponuhb1rsmsfZRwjCLvC+WcPgeI+ittretEzuWAPN+9anD0HJEoApVjHpndzxPtlncbCUJDQ== + dependencies: + "@smithy/protocol-http" "^3.0.3" + "@smithy/querystring-builder" "^2.0.7" + "@smithy/types" "^2.3.1" + "@smithy/util-base64" "^2.0.0" + tslib "^2.5.0" + "@smithy/hash-node@^1.0.1": version "1.0.2" resolved "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-1.0.2.tgz#dc65203a348d29e45c493ead3e772e4f7dfb5bc0" @@ -8075,6 +8104,14 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" +"@smithy/protocol-http@^3.0.3": + version "3.0.3" + resolved "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.3.tgz#4f79cd1354db860b98d1c4f5d6ab180cefe0132d" + integrity sha512-UGfmQNdijlFV+UzgdRyfe05S5vLDdcdkvNcxhGvQ+Er7TjUkZSxjukQB9VXtT8oTHztgOMX74DDlPBsVzZR5Pg== + dependencies: + "@smithy/types" "^2.3.1" + tslib "^2.5.0" + "@smithy/querystring-builder@^1.0.2": version "1.0.2" resolved "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-1.0.2.tgz#ce861f6cbd14792c83aa19b4967a19923bd0706e" @@ -8093,6 +8130,15 @@ "@smithy/util-uri-escape" "^2.0.0" tslib "^2.5.0" +"@smithy/querystring-builder@^2.0.6", "@smithy/querystring-builder@^2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.7.tgz#576d0a9fa5a2ae4305cbc38bb6facbcf4243acdc" + integrity sha512-RPHnqt4iH1Kwp1Zbf4gJI88hZiynEZjE5hEWJNBmKqCe1Q6v7HBLtaovTaiuYaMEmPyb2KxOi3lISAdT6uuPqw== + dependencies: + "@smithy/types" "^2.3.1" + "@smithy/util-uri-escape" "^2.0.0" + tslib "^2.5.0" + "@smithy/querystring-parser@^1.0.2": version "1.0.2" resolved "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-1.0.2.tgz#559d09c46b21e6fbda71e95deda4bcd8a46bdecc" @@ -8197,6 +8243,13 @@ dependencies: tslib "^2.5.0" +"@smithy/types@^2.3.0", "@smithy/types@^2.3.1": + version "2.3.1" + resolved "https://registry.npmjs.org/@smithy/types/-/types-2.3.1.tgz#25e8c353ee7a8611488a2cd41811c5a32a9dbcdc" + integrity sha512-cS48e4Yawb6pGakj7DBJUIPFIkqnUWyXTe2ndPRNagD73b6kEJqTc8bhTyfUve0A+sijK256UKE0J1juAfCeDA== + dependencies: + tslib "^2.5.0" + "@smithy/url-parser@^1.0.1", "@smithy/url-parser@^1.0.2": version "1.0.2" resolved "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-1.0.2.tgz#fb59be6f2283399443d9e7afe08ebf63b3c266bb" @@ -13106,9 +13159,9 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001228, can integrity sha512-gMhDyXGItTHipJj2ApIvR+iVB5hd0KP3svMWWXDvZOmjzJJassGLMfxRkQCSYgGd2gtdL/ReeiyvMSFD1Ss6Mw== caniuse-lite@^1.0.30001314: - version "1.0.30001524" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001524.tgz#1e14bce4f43c41a7deaeb5ebfe86664fe8dadb80" - integrity sha512-Jj917pJtYg9HSJBF95HVX3Cdr89JUyLT4IZ8SvM5aDRni95swKgYi3TgYLH5hnGfPE/U1dg6IfZ50UsIlLkwSA== + version "1.0.30001534" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001534.tgz#f24a9b2a6d39630bac5c132b5dff89b39a12e7dd" + integrity sha512-vlPVrhsCS7XaSh2VvWluIQEzVhefrUQcEsQWSS5A5V+dM07uv1qHeQzAOTGIMy9i3e9bH15+muvI/UHojVgS/Q== caniuse-lite@^1.0.30001517: version "1.0.30001521" @@ -26230,6 +26283,13 @@ qrcode@1.5.0: pngjs "^5.0.0" yargs "^15.3.1" +qs@6.10.4: + version "6.10.4" + resolved "https://registry.npmjs.org/qs/-/qs-6.10.4.tgz#6a3003755add91c0ec9eacdc5f878b034e73f9e7" + integrity sha512-OQiU+C+Ds5qiH91qh/mg0w+8nwQuLjM4F4M/PbmhDOoYehPh+Fb0bDjtR1sOvy7YKxvj28Y/M0PhP5uVX0kB+g== + dependencies: + side-channel "^1.0.4" + qs@6.11.0: version "6.11.0" resolved "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" @@ -26244,13 +26304,6 @@ qs@^6.6.0: dependencies: side-channel "^1.0.4" -qs@~6.10.3: - version "6.10.5" - resolved "https://registry.npmjs.org/qs/-/qs-6.10.5.tgz#974715920a80ff6a262264acd2c7e6c2a53282b4" - integrity sha512-O5RlPh0VFtR78y79rgcgKK4wbAI0C5zGVLztOIdpWX6ep368q5Hv6XRxDvXuZ9q3C6v+e3n8UfZZJw7IIG27eQ== - dependencies: - side-channel "^1.0.4" - query-string@^7.1.0: version "7.1.3" resolved "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz#a1cf90e994abb113a325804a972d98276fe02328" @@ -28015,7 +28068,7 @@ semver@7.3.8, semver@7.5.4, semver@7.x, semver@^7.0.0, semver@^7.1.1, semver@^7. semver@7.5.3: version "7.5.3" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e" + resolved "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e" integrity sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ== dependencies: lru-cache "^6.0.0"