update dependencies to fix rollup issue
This commit is contained in:
parent
6e98854411
commit
dc040ba41c
@ -8,9 +8,9 @@
|
||||
"check": "pnpm run --filter '{packages}' --if-present test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@linaria/esbuild": "^3.0.0-beta.13",
|
||||
"@linaria/shaker": "^3.0.0-beta.13",
|
||||
"esbuild": "^0.12.29",
|
||||
"prettier": "^2.4.1"
|
||||
"@linaria/esbuild": "^3.0.0-beta.15",
|
||||
"@linaria/shaker": "^3.0.0-beta.15",
|
||||
"esbuild": "^0.14.10",
|
||||
"prettier": "^2.5.1"
|
||||
}
|
||||
}
|
||||
|
@ -22,18 +22,18 @@
|
||||
"@rollup/plugin-node-resolve": "^13.0.6",
|
||||
"ava": "^3.15.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.59.0",
|
||||
"rollup": "^2.63.0",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"source-map-support": "^0.5.19",
|
||||
"typescript": "^4.4.4"
|
||||
"source-map-support": "^0.5.21",
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gnu-taler/taler-util": "workspace:*",
|
||||
"fetch-ponyfill": "^7.1.0",
|
||||
"fflate": "^0.6.0",
|
||||
"fflate": "^0.7.2",
|
||||
"hash-wasm": "^4.9.0",
|
||||
"node-fetch": "^3.0.0",
|
||||
"tslib": "^2.1.0"
|
||||
"node-fetch": "^3.1.0",
|
||||
"tslib": "^2.3.1"
|
||||
},
|
||||
"ava": {
|
||||
"files": [
|
||||
|
@ -26,10 +26,10 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@gnu-taler/taler-util": "workspace:*",
|
||||
"@gnu-taler/anastasis-core": "workspace:*",
|
||||
"@gnu-taler/taler-util": "workspace:*",
|
||||
"base64-inline-loader": "1.1.1",
|
||||
"date-fns": "2.25.0",
|
||||
"date-fns": "2.28.0",
|
||||
"jed": "1.1.1",
|
||||
"preact": "^10.5.15",
|
||||
"preact-render-to-string": "^5.1.19",
|
||||
@ -44,7 +44,7 @@
|
||||
"@storybook/addon-links": "^6.3.12",
|
||||
"@storybook/preact": "^6.3.12",
|
||||
"@storybook/preset-scss": "^1.0.3",
|
||||
"@types/enzyme": "^3.10.10",
|
||||
"@types/enzyme": "^3.10.11",
|
||||
"@typescript-eslint/eslint-plugin": "^5.3.0",
|
||||
"@typescript-eslint/parser": "^5.3.0",
|
||||
"bulma": "^0.9.3",
|
||||
@ -59,6 +59,6 @@
|
||||
"sass": "1.32.13",
|
||||
"sass-loader": "^10",
|
||||
"sirv-cli": "^1.0.14",
|
||||
"typescript": "^4.4.4"
|
||||
"typescript": "^4.5.4"
|
||||
}
|
||||
}
|
||||
|
@ -19,16 +19,16 @@
|
||||
"@rollup/plugin-commonjs": "^17.1.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^11.2.0",
|
||||
"@types/node": "^14.14.22",
|
||||
"@types/node": "^17.0.8",
|
||||
"ava": "^3.15.0",
|
||||
"esm": "^3.2.25",
|
||||
"prettier": "^2.2.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.37.1",
|
||||
"typescript": "^4.1.3"
|
||||
"rollup": "^2.63.0",
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"tslib": "^2.1.0"
|
||||
"tslib": "^2.3.1"
|
||||
},
|
||||
"ava": {
|
||||
"require": [
|
||||
|
@ -267,7 +267,7 @@ export interface IDBCursor {
|
||||
/**
|
||||
* Returns the IDBObjectStore or IDBIndex the cursor was opened from.
|
||||
*/
|
||||
readonly source: IDBObjectStore | IDBIndex;
|
||||
readonly source: IDBObjectStore | IDBIndex | IDBCursor;
|
||||
/**
|
||||
* Advances the cursor through the next count records in range.
|
||||
*/
|
||||
@ -820,7 +820,7 @@ export interface IDBTransaction extends EventTarget {
|
||||
/**
|
||||
* If the transaction was aborted, returns the error (a DOMException) providing the reason.
|
||||
*/
|
||||
readonly error: DOMException;
|
||||
readonly error: DOMException | null;
|
||||
/**
|
||||
* Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.
|
||||
*/
|
||||
@ -836,6 +836,7 @@ export interface IDBTransaction extends EventTarget {
|
||||
* Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.
|
||||
*/
|
||||
abort(): void;
|
||||
commit(): void;
|
||||
/**
|
||||
* Returns an IDBObjectStore in the transaction's scope.
|
||||
*/
|
||||
|
@ -46,7 +46,7 @@ export const validateKeyPath = (
|
||||
if (myKeyPath.length >= 1 && validIdentifierRegex.test(myKeyPath)) {
|
||||
return;
|
||||
}
|
||||
} catch (err) {
|
||||
} catch (err: any) {
|
||||
throw new SyntaxError(err.message);
|
||||
}
|
||||
if (myKeyPath.indexOf(" ") >= 0) {
|
||||
|
@ -11,9 +11,9 @@
|
||||
"compile": "tsc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^4.1.3"
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/node": "^14.14.22"
|
||||
"@types/node": "^17.0.8"
|
||||
}
|
||||
}
|
||||
|
@ -32,17 +32,17 @@
|
||||
"pretty": "prettier --write src"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^14.14.22",
|
||||
"@types/node": "^17.0.8",
|
||||
"ava": "^3.15.0",
|
||||
"esbuild": "^0.9.2",
|
||||
"esbuild": "^0.14.10",
|
||||
"prettier": "^2.2.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"typescript": "^4.2.3"
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"big-integer": "^1.6.48",
|
||||
"big-integer": "^1.6.51",
|
||||
"jed": "^1.1.1",
|
||||
"tslib": "^2.1.0"
|
||||
"tslib": "^2.3.1"
|
||||
},
|
||||
"ava": {
|
||||
"files": [
|
||||
|
@ -34,21 +34,21 @@
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^11.1.0",
|
||||
"@rollup/plugin-replace": "^2.3.4",
|
||||
"@types/node": "^14.14.22",
|
||||
"@types/node": "^17.0.8",
|
||||
"prettier": "^2.2.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.37.1",
|
||||
"rollup": "^2.63.0",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"typedoc": "^0.20.16",
|
||||
"typescript": "^4.1.3"
|
||||
"typedoc": "^0.22.10",
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gnu-taler/taler-util": "workspace:*",
|
||||
"@gnu-taler/taler-wallet-core": "workspace:*",
|
||||
"axios": "^0.21.1",
|
||||
"axios": "^0.24.0",
|
||||
"cancellationtoken": "^2.2.0",
|
||||
"source-map-support": "^0.5.19",
|
||||
"tslib": "^2.1.0"
|
||||
"source-map-support": "^0.5.21",
|
||||
"tslib": "^2.3.1"
|
||||
}
|
||||
}
|
@ -1609,7 +1609,7 @@ export namespace MerchantPrivateApi {
|
||||
const baseUrl = merchantService.makeInstanceBaseUrl(instanceName);
|
||||
let url = new URL("private/orders", baseUrl);
|
||||
const resp = await axios.post(url.href, req, {
|
||||
headers: withAuthorization,
|
||||
headers: withAuthorization as Record<string, string>,
|
||||
});
|
||||
return codecForPostOrderResponse().decode(resp.data);
|
||||
}
|
||||
@ -1626,7 +1626,9 @@ export namespace MerchantPrivateApi {
|
||||
if (query.sessionId) {
|
||||
reqUrl.searchParams.set("session_id", query.sessionId);
|
||||
}
|
||||
const resp = await axios.get(reqUrl.href, { headers: withAuthorization });
|
||||
const resp = await axios.get(reqUrl.href, {
|
||||
headers: withAuthorization as Record<string, string>,
|
||||
});
|
||||
return codecForMerchantOrderPrivateStatusResponse().decode(resp.data);
|
||||
}
|
||||
|
||||
|
@ -39,40 +39,39 @@
|
||||
"devDependencies": {
|
||||
"@ava/typescript": "^1.1.1",
|
||||
"@gnu-taler/pogen": "workspace:*",
|
||||
"@microsoft/api-extractor": "^7.13.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.14.0",
|
||||
"@typescript-eslint/parser": "^4.14.0",
|
||||
"ava": "^3.15.0",
|
||||
"eslint": "^7.18.0",
|
||||
"eslint-config-airbnb-typescript": "^12.0.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-react": "^7.22.0",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"eslint": "^8.6.0",
|
||||
"eslint-config-airbnb-typescript": "^16.1.0",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||||
"eslint-plugin-react": "^7.28.0",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"jed": "^1.1.1",
|
||||
"nyc": "^15.1.0",
|
||||
"po2json": "^0.4.5",
|
||||
"prettier": "^2.2.1",
|
||||
"prettier": "^2.5.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.38",
|
||||
"rollup": "^2.63.0",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"source-map-resolve": "^0.6.0",
|
||||
"typedoc": "^0.20.16",
|
||||
"typescript": "^4.4.4"
|
||||
"typedoc": "^0.22.10",
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gnu-taler/idb-bridge": "workspace:*",
|
||||
"@gnu-taler/taler-util": "workspace:*",
|
||||
"@types/node": "^14.14.22",
|
||||
"axios": "^0.21.1",
|
||||
"big-integer": "^1.6.48",
|
||||
"fflate": "^0.6.0",
|
||||
"source-map-support": "^0.5.19",
|
||||
"tslib": "^2.1.0"
|
||||
"@types/node": "^17.0.8",
|
||||
"axios": "^0.24.0",
|
||||
"big-integer": "^1.6.51",
|
||||
"fflate": "^0.7.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"tslib": "^2.3.1"
|
||||
},
|
||||
"ava": {
|
||||
"files": [
|
||||
"lib/**/*test.*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,17 +31,17 @@
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^11.1.0",
|
||||
"@rollup/plugin-replace": "^2.3.4",
|
||||
"@types/node": "^14.14.22",
|
||||
"@types/node": "^17.0.8",
|
||||
"prettier": "^2.2.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.43.0",
|
||||
"rollup": "^2.63.0",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"typescript": "^4.2.3"
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gnu-taler/taler-wallet-core": "workspace:*",
|
||||
"@gnu-taler/taler-util": "workspace:*",
|
||||
"tslib": "^2.1.0"
|
||||
"@gnu-taler/taler-wallet-core": "workspace:*",
|
||||
"tslib": "^2.3.1"
|
||||
}
|
||||
}
|
||||
|
@ -20,12 +20,12 @@
|
||||
"dependencies": {
|
||||
"@gnu-taler/taler-util": "workspace:*",
|
||||
"@gnu-taler/taler-wallet-core": "workspace:*",
|
||||
"date-fns": "^2.22.1",
|
||||
"date-fns": "^2.28.0",
|
||||
"history": "4.10.1",
|
||||
"preact": "^10.5.13",
|
||||
"preact-router": "^3.2.1",
|
||||
"qrcode-generator": "^1.4.4",
|
||||
"tslib": "^2.1.0"
|
||||
"tslib": "^2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.13.16",
|
||||
@ -48,10 +48,10 @@
|
||||
"@storybook/preact": "6.4.9",
|
||||
"@testing-library/preact": "^2.0.1",
|
||||
"@testing-library/preact-hooks": "^1.1.0",
|
||||
"@types/chrome": "^0.0.128",
|
||||
"@types/chrome": "^0.0.174",
|
||||
"@types/history": "^4.7.8",
|
||||
"@types/mocha": "^9.0.0",
|
||||
"@types/node": "^14.14.22",
|
||||
"@types/node": "^17.0.8",
|
||||
"ava": "3.15.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"babel-plugin-transform-react-jsx": "^6.24.1",
|
||||
@ -60,13 +60,13 @@
|
||||
"preact-cli": "^3.0.5",
|
||||
"preact-render-to-string": "^5.1.19",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.37.1",
|
||||
"rollup": "^2.63.0",
|
||||
"rollup-plugin-css-only": "^3.1.0",
|
||||
"rollup-plugin-ignore": "^1.0.9",
|
||||
"rollup-plugin-ignore": "^1.0.10",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"storybook-dark-mode": "^1.0.8",
|
||||
"typescript": "^4.1.3"
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"nyc": {
|
||||
"include": [
|
||||
|
@ -239,8 +239,8 @@ function makeSyncWalletRedirect(
|
||||
}
|
||||
|
||||
export type MessageFromBackend = {
|
||||
type: NotificationType
|
||||
}
|
||||
type: NotificationType;
|
||||
};
|
||||
|
||||
async function reinitWallet(): Promise<void> {
|
||||
if (currentWallet) {
|
||||
|
4060
pnpm-lock.yaml
4060
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user