aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-11-04 17:02:56 +0100
committerFlorian Dold <florian@dold.me>2021-11-04 17:02:56 +0100
commit4aa813babeb9052da4a249c3fff7a5663345ea70 (patch)
tree2165bbc980bb909838122112c8a1db98f775724d /packages
parent6d6679e33849d551b9da07d5058dc09c474c66b7 (diff)
update dependencies
Diffstat (limited to 'packages')
-rw-r--r--packages/anastasis-core/src/index.ts3
-rw-r--r--packages/anastasis-webui/package.json44
2 files changed, 24 insertions, 23 deletions
diff --git a/packages/anastasis-core/src/index.ts b/packages/anastasis-core/src/index.ts
index 4c8ac0d31..c1a6d3ff0 100644
--- a/packages/anastasis-core/src/index.ts
+++ b/packages/anastasis-core/src/index.ts
@@ -707,7 +707,7 @@ async function requestTruth(
if (solveRequest) {
let respHash: string;
switch (truth.escrow_type) {
- case ChallengeType.Question:
+ case ChallengeType.Question: {
if ("answer" in solveRequest) {
respHash = await secureAnswerHash(
solveRequest.answer,
@@ -718,6 +718,7 @@ async function requestTruth(
throw Error("unsupported answer request");
}
break;
+ }
case ChallengeType.Email:
case ChallengeType.Sms:
case ChallengeType.Post:
diff --git a/packages/anastasis-webui/package.json b/packages/anastasis-webui/package.json
index ebb61aecb..10efa17c2 100644
--- a/packages/anastasis-webui/package.json
+++ b/packages/anastasis-webui/package.json
@@ -25,40 +25,40 @@
"dependencies": {
"@gnu-taler/taler-util": "workspace:^0.8.3",
"anastasis-core": "workspace:^0.0.1",
- "date-fns": "2.22.1",
+ "date-fns": "2.25.0",
"jed": "1.1.1",
- "preact": "^10.3.1",
- "preact-render-to-string": "^5.1.4",
+ "preact": "^10.5.15",
+ "preact-render-to-string": "^5.1.19",
"preact-router": "^3.2.1",
"qrcode-generator": "^1.4.4"
},
"devDependencies": {
"@creativebulma/bulma-tooltip": "^1.2.0",
- "@storybook/addon-a11y": "^6.2.9",
- "@storybook/addon-actions": "^6.2.9",
- "@storybook/addon-essentials": "^6.2.9",
- "@storybook/addon-links": "^6.2.9",
- "@storybook/preact": "^6.2.9",
+ "@storybook/addon-a11y": "^6.3.12",
+ "@storybook/addon-actions": "^6.3.12",
+ "@storybook/addon-essentials": "^6.3.12",
+ "@storybook/addon-links": "^6.3.12",
+ "@storybook/preact": "^6.3.12",
"@storybook/preset-scss": "^1.0.3",
- "@types/enzyme": "^3.10.5",
- "@types/jest": "^26.0.8",
- "@typescript-eslint/eslint-plugin": "^2.25.0",
- "@typescript-eslint/parser": "^2.25.0",
+ "@types/enzyme": "^3.10.10",
+ "@types/jest": "^27.0.2",
+ "@typescript-eslint/eslint-plugin": "^5.3.0",
+ "@typescript-eslint/parser": "^5.3.0",
"bulma": "^0.9.3",
"bulma-checkbox": "^1.1.1",
"bulma-radio": "^1.1.1",
"enzyme": "^3.11.0",
- "enzyme-adapter-preact-pure": "^3.1.0",
- "eslint": "^6.8.0",
- "eslint-config-preact": "^1.1.1",
- "jest": "^26.2.2",
- "jest-preset-preact": "^4.0.2",
+ "enzyme-adapter-preact-pure": "^3.2.0",
+ "eslint": "^8.1.0",
+ "eslint-config-preact": "^1.2.0",
+ "jest": "^27.3.1",
+ "jest-preset-preact": "^4.0.5",
"jssha": "^3.2.0",
- "preact-cli": "^3.2.2",
- "sass": "1.32.13",
- "sass-loader": "^10.1.1",
- "sirv-cli": "^1.0.0-next.3",
- "typescript": "^3.7.5"
+ "preact-cli": "^3.3.1",
+ "sass": "1.43.4",
+ "sass-loader": "^10",
+ "sirv-cli": "^1.0.14",
+ "typescript": "^4.4.4"
},
"jest": {
"preset": "jest-preset-preact",