diff --git a/package-lock.json b/package-lock.json index a5d7ab424c..ecd0618ab1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -316,22 +316,68 @@ } }, "@aws-amplify/auth": { - "version": "4.6.17", - "resolved": "https://registry.npmjs.org/@aws-amplify/auth/-/auth-4.6.17.tgz", - "integrity": "sha512-KIWHP6qODphwtzyJ6jmcSQewH0a8dOOsQ35OtAALwmPNEaftGmoUjm8wMHAtyH3EwWv1iknhPwMVzmGylr+l1A==", + "version": "5.6.6", + "resolved": "https://registry.npmjs.org/@aws-amplify/auth/-/auth-5.6.6.tgz", + "integrity": "sha512-v4qiOTW7dTObEoHPjQMl0diL+E7KKk6HrKd1O+roE9f93U1ZDbcIkeY5Yih+I/U8VbS+hQ5D9oHyFbeLZWsDcg==", "requires": { - "@aws-amplify/cache": "4.0.66", - "@aws-amplify/core": "4.7.15", - "amazon-cognito-identity-js": "5.2.14", - "crypto-js": "^4.1.1" - } - }, - "@aws-amplify/cache": { - "version": "4.0.66", - "resolved": "https://registry.npmjs.org/@aws-amplify/cache/-/cache-4.0.66.tgz", - "integrity": "sha512-dG5TSx1VbUMnIchqwoT+Pa5W+PdPTZVcXfg/4bjpv0HJ0s3LUeYMI93cpQGg0DlegKNvwV5Ib+B7UqXlWp/JEQ==", - "requires": { - "@aws-amplify/core": "4.7.15" + "@aws-amplify/core": "5.8.6", + "amazon-cognito-identity-js": "6.3.7", + "buffer": "4.9.2", + "tslib": "^1.8.0", + "url": "0.11.0" + }, + "dependencies": { + "@aws-amplify/core": { + "version": "5.8.6", + "resolved": "https://registry.npmjs.org/@aws-amplify/core/-/core-5.8.6.tgz", + "integrity": "sha512-fDu4aduCagJb8uwQd+S0FBhuYgCgnpwfRsmO0/t01h68JR+KS3Cny0pQa7Qzk6cW/HY3rtPLELOqbdF6doA6oA==", + "requires": { + "@aws-crypto/sha256-js": "1.2.2", + "@aws-sdk/client-cloudwatch-logs": "3.6.1", + "@aws-sdk/types": "3.6.1", + "@aws-sdk/util-hex-encoding": "3.6.1", + "@types/node-fetch": "2.6.4", + "isomorphic-unfetch": "^3.0.0", + "react-native-url-polyfill": "^1.3.0", + "tslib": "^1.8.0", + "universal-cookie": "^4.0.4", + "zen-observable-ts": "0.8.19" + } + }, + "@aws-crypto/sha256-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-1.2.2.tgz", + "integrity": "sha512-Nr1QJIbW/afYYGzYvrF70LtaHrIRtd4TNAglX8BvlfxJLZ45SAmueIKYl5tWoNBPzp65ymXGFK0Bb1vZUpuc9g==", + "requires": { + "@aws-crypto/util": "^1.2.2", + "@aws-sdk/types": "^3.1.0", + "tslib": "^1.11.1" + } + }, + "buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha512-kbailJa29QrtXnxgq+DdCEGlbTeYM2eJUxsz6vjZavrCYPMIFHMKQmSKYAIuUK2i7hgPm28a8piX5NTUtM/LKQ==", + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + } } }, "@aws-amplify/core": { @@ -12690,17 +12736,27 @@ "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==" }, "amazon-cognito-identity-js": { - "version": "5.2.14", - "resolved": "https://registry.npmjs.org/amazon-cognito-identity-js/-/amazon-cognito-identity-js-5.2.14.tgz", - "integrity": "sha512-9LMgLZfbypbbGTpARQ+QqglE09b1MWti11NXhcD/wPom0uhU/L90dfmUOpTwknz//eE6/dGYf004mJucWzrfxQ==", + "version": "6.3.7", + "resolved": "https://registry.npmjs.org/amazon-cognito-identity-js/-/amazon-cognito-identity-js-6.3.7.tgz", + "integrity": "sha512-tSjnM7KyAeOZ7UMah+oOZ6cW4Gf64FFcc7BE2l7MTcp7ekAPrXaCbpcW2xEpH1EiDS4cPcAouHzmCuc2tr72vQ==", "requires": { + "@aws-crypto/sha256-js": "1.2.2", "buffer": "4.9.2", - "crypto-js": "^4.1.1", "fast-base64-decode": "^1.0.0", "isomorphic-unfetch": "^3.0.0", "js-cookie": "^2.2.1" }, "dependencies": { + "@aws-crypto/sha256-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-1.2.2.tgz", + "integrity": "sha512-Nr1QJIbW/afYYGzYvrF70LtaHrIRtd4TNAglX8BvlfxJLZ45SAmueIKYl5tWoNBPzp65ymXGFK0Bb1vZUpuc9g==", + "requires": { + "@aws-crypto/util": "^1.2.2", + "@aws-sdk/types": "^3.1.0", + "tslib": "^1.11.1" + } + }, "buffer": { "version": "4.9.2", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", diff --git a/package.json b/package.json index 002b4d129d..b52ca40368 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "dependencies": { "@ant-design/colors": "^6.0.0", "@ant-design/icons": "^4.2.1", - "@aws-amplify/auth": "^4.3.18", + "@aws-amplify/auth": "^5.6.6", "@aws-amplify/core": "^4.3.10", "@aws-sdk/client-cognito-identity": "^3.11.0", "@aws-sdk/client-cognito-identity-provider": "^3.11.0",