bump typescript version

This commit is contained in:
Florian Dold 2023-06-06 11:54:37 +02:00
parent 1458272f3c
commit 1befd39671
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
19 changed files with 668 additions and 372 deletions

View File

@ -59,7 +59,7 @@
"postcss": "^8.4.23", "postcss": "^8.4.23",
"postcss-cli": "^10.1.0", "postcss-cli": "^10.1.0",
"tailwindcss": "^3.3.2", "tailwindcss": "^3.3.2",
"typescript": "4.9.4" "typescript": "5.1.3"
}, },
"pogen": { "pogen": {
"domain": "aml-backoffice" "domain": "aml-backoffice"

View File

@ -19,7 +19,7 @@
"devDependencies": { "devDependencies": {
"ava": "^4.3.3", "ava": "^4.3.3",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typescript": "^4.9.4" "typescript": "^5.1.3"
}, },
"dependencies": { "dependencies": {
"@gnu-taler/taler-util": "workspace:*", "@gnu-taler/taler-util": "workspace:*",
@ -27,7 +27,7 @@
"fflate": "^0.7.4", "fflate": "^0.7.4",
"hash-wasm": "^4.9.0", "hash-wasm": "^4.9.0",
"node-fetch": "^3.2.0", "node-fetch": "^3.2.0",
"tslib": "^2.4.0" "tslib": "^2.5.3"
}, },
"ava": { "ava": {
"files": [ "files": [

View File

@ -18,8 +18,8 @@
"@gnu-taler/taler-util": "workspace:*", "@gnu-taler/taler-util": "workspace:*",
"@gnu-taler/web-util": "workspace:*", "@gnu-taler/web-util": "workspace:*",
"date-fns": "2.29.2", "date-fns": "2.29.2",
"jssha": "^3.3.0",
"jed": "1.1.1", "jed": "1.1.1",
"jssha": "^3.3.0",
"preact": "10.11.3", "preact": "10.11.3",
"preact-router": "^3.2.1", "preact-router": "^3.2.1",
"qrcode-generator": "^1.4.4" "qrcode-generator": "^1.4.4"
@ -37,14 +37,14 @@
}, },
"devDependencies": { "devDependencies": {
"@creativebulma/bulma-tooltip": "^1.2.0", "@creativebulma/bulma-tooltip": "^1.2.0",
"@types/mocha": "^9.0.0",
"@types/chai": "^4.3.0", "@types/chai": "^4.3.0",
"chai": "^4.3.6", "@types/mocha": "^9.0.0",
"bulma": "^0.9.3", "bulma": "^0.9.3",
"bulma-checkbox": "^1.1.1", "bulma-checkbox": "^1.1.1",
"bulma-radio": "^1.1.1", "bulma-radio": "^1.1.1",
"chai": "^4.3.6",
"mocha": "^9.2.0", "mocha": "^9.2.0",
"sass": "1.56.1", "sass": "1.56.1",
"typescript": "^4.9.4" "typescript": "^5.1.3"
} }
} }

View File

@ -60,7 +60,7 @@
"po2json": "^0.4.5", "po2json": "^0.4.5",
"preact-render-to-string": "^5.2.6", "preact-render-to-string": "^5.2.6",
"sass": "1.56.1", "sass": "1.56.1",
"typescript": "4.9.4" "typescript": "5.1.3"
}, },
"pogen": { "pogen": {
"domain": "bank" "domain": "bank"

View File

@ -27,10 +27,10 @@
"esm": "^3.2.25", "esm": "^3.2.25",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typescript": "^4.9.4" "typescript": "^5.1.3"
}, },
"dependencies": { "dependencies": {
"tslib": "^2.4.0" "tslib": "^2.5.3"
}, },
"ava": { "ava": {
"require": [ "require": [

View File

@ -65,7 +65,7 @@
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"sirv-cli": "^1.0.11", "sirv-cli": "^1.0.11",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"tslib": "2.4.0", "tslib": "2.5.3",
"typescript": "4.9.4" "typescript": "5.1.3"
} }
} }

View File

@ -75,8 +75,8 @@
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"sass": "1.56.1", "sass": "1.56.1",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"typedoc": "^0.20.36", "typedoc": "^0.24.8",
"typescript": "4.9.4" "typescript": "5.1.3"
}, },
"pogen": { "pogen": {
"domain": "taler-merchant-backoffice" "domain": "taler-merchant-backoffice"

View File

@ -12,7 +12,7 @@
}, },
"devDependencies": { "devDependencies": {
"po2json": "^0.4.5", "po2json": "^0.4.5",
"typescript": "^4.9.4" "typescript": "^5.1.3"
}, },
"dependencies": { "dependencies": {
"@types/node": "^18.11.17", "@types/node": "^18.11.17",

View File

@ -35,12 +35,12 @@
"esbuild": "^0.17.7", "esbuild": "^0.17.7",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typescript": "^4.9.4" "typescript": "^5.1.3"
}, },
"dependencies": { "dependencies": {
"@gnu-taler/taler-util": "workspace:*", "@gnu-taler/taler-util": "workspace:*",
"@gnu-taler/taler-wallet-core": "workspace:*", "@gnu-taler/taler-wallet-core": "workspace:*",
"axios": "^0.27.2", "axios": "^0.27.2",
"tslib": "^2.4.0" "tslib": "^2.5.3"
} }
} }

View File

@ -64,13 +64,13 @@
"esbuild": "^0.17.7", "esbuild": "^0.17.7",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typescript": "^4.9.4" "typescript": "^5.1.3"
}, },
"dependencies": { "dependencies": {
"big-integer": "^1.6.51", "big-integer": "^1.6.51",
"fflate": "^0.7.4", "fflate": "^0.7.4",
"jed": "^1.1.1", "jed": "^1.1.1",
"tslib": "^2.4.0" "tslib": "^2.5.3"
}, },
"ava": { "ava": {
"files": [ "files": [

View File

@ -34,12 +34,12 @@
"@types/node": "^18.11.17", "@types/node": "^18.11.17",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typedoc": "^0.23.16", "typedoc": "^0.24.8",
"typescript": "^4.9.4" "typescript": "^5.1.3"
}, },
"dependencies": { "dependencies": {
"@gnu-taler/taler-util": "workspace:*", "@gnu-taler/taler-util": "workspace:*",
"@gnu-taler/taler-wallet-core": "workspace:*", "@gnu-taler/taler-wallet-core": "workspace:*",
"tslib": "^2.4.0" "tslib": "^2.5.3"
} }
} }

View File

@ -1259,15 +1259,14 @@ advancedCli
.subcommand("runPendingOpt", "run-pending", { .subcommand("runPendingOpt", "run-pending", {
help: "Run pending operations.", help: "Run pending operations.",
}) })
.flag("forceNow", ["-f", "--force-now"])
.action(async (args) => { .action(async (args) => {
await withLocalWallet(args, async (wallet) => { await withLocalWallet(args, async (wallet) => {
await wallet.ws.runPending(args.runPendingOpt.forceNow); await wallet.ws.runPending();
}); });
}); });
advancedCli advancedCli
.subcommand("", "pending", { help: "Show pending operations." }) .subcommand("pending", "pending", { help: "Show pending operations." })
.action(async (args) => { .action(async (args) => {
await withWallet(args, async (wallet) => { await withWallet(args, async (wallet) => {
const pending = await wallet.client.call( const pending = await wallet.client.call(

View File

@ -50,7 +50,7 @@
} }
}, },
"devDependencies": { "devDependencies": {
"@ava/typescript": "^3.0.1", "@ava/typescript": "^4.0.0",
"@gnu-taler/pogen": "workspace:*", "@gnu-taler/pogen": "workspace:*",
"@typescript-eslint/eslint-plugin": "^5.36.1", "@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1", "@typescript-eslint/parser": "^5.36.1",
@ -66,8 +66,8 @@
"po2json": "^0.4.5", "po2json": "^0.4.5",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typedoc": "^0.23.16", "typedoc": "^0.24.8",
"typescript": "^4.9.4" "typescript": "^5.1.3"
}, },
"dependencies": { "dependencies": {
"@gnu-taler/idb-bridge": "workspace:*", "@gnu-taler/idb-bridge": "workspace:*",
@ -76,7 +76,7 @@
"axios": "^0.27.2", "axios": "^0.27.2",
"big-integer": "^1.6.51", "big-integer": "^1.6.51",
"fflate": "^0.7.4", "fflate": "^0.7.4",
"tslib": "^2.4.0" "tslib": "^2.5.3"
}, },
"ava": { "ava": {
"files": [ "files": [

View File

@ -192,7 +192,6 @@ const txOrder: { [t in TransactionType]: number } = {
[TransactionType.Refund]: 8, [TransactionType.Refund]: 8,
[TransactionType.Deposit]: 9, [TransactionType.Deposit]: 9,
[TransactionType.Refresh]: 10, [TransactionType.Refresh]: 10,
[TransactionType.Tip]: 11,
[TransactionType.InternalWithdrawal]: 12, [TransactionType.InternalWithdrawal]: 12,
}; };

View File

@ -36,6 +36,6 @@
"@gnu-taler/idb-bridge": "workspace:*", "@gnu-taler/idb-bridge": "workspace:*",
"@gnu-taler/taler-util": "workspace:*", "@gnu-taler/taler-util": "workspace:*",
"@gnu-taler/taler-wallet-core": "workspace:*", "@gnu-taler/taler-wallet-core": "workspace:*",
"tslib": "^2.4.0" "tslib": "^2.5.3"
} }
} }

View File

@ -30,7 +30,7 @@
"preact": "10.11.3", "preact": "10.11.3",
"preact-router": "3.2.1", "preact-router": "3.2.1",
"qrcode-generator": "^1.4.4", "qrcode-generator": "^1.4.4",
"tslib": "^2.4.0" "tslib": "^2.5.3"
}, },
"eslintConfig": { "eslintConfig": {
"plugins": [ "plugins": [
@ -65,7 +65,7 @@
"preact-cli": "^3.3.5", "preact-cli": "^3.3.5",
"preact-render-to-string": "^5.1.19", "preact-render-to-string": "^5.1.19",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typescript": "4.9.4" "typescript": "5.1.3"
}, },
"nyc": { "nyc": {
"include": [ "include": [

View File

@ -106,7 +106,6 @@ export function useComponentState({
if (showingPrivacy) { if (showingPrivacy) {
return { return {
status: "showing-privacy", status: "showing-privacy",
error: undefined,
onClose: { onClose: {
onClick: pushAlertOnError(async () => setShowingPrivacy(undefined)), onClick: pushAlertOnError(async () => setShowingPrivacy(undefined)),
}, },
@ -116,7 +115,6 @@ export function useComponentState({
if (showingTos) { if (showingTos) {
return { return {
status: "showing-tos", status: "showing-tos",
error: undefined,
onClose: { onClose: {
onClick: pushAlertOnError(async () => setShowingTos(undefined)), onClick: pushAlertOnError(async () => setShowingTos(undefined)),
}, },

View File

@ -57,8 +57,8 @@
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"sass": "1.56.1", "sass": "1.56.1",
"swr": "2.0.3", "swr": "2.0.3",
"tslib": "^2.4.0", "tslib": "^2.5.3",
"typescript": "^4.9.4", "typescript": "^5.1.3",
"ws": "7.4.5" "ws": "7.4.5"
}, },
"dependencies": { "dependencies": {

File diff suppressed because it is too large Load Diff