aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackages/anastasis-core/bin/anastasis-ts-reducer.js7
-rw-r--r--packages/anastasis-core/package.json1
-rw-r--r--packages/anastasis-core/src/cli-entry.ts8
-rwxr-xr-xpackages/taler-wallet-cli/bin/taler-wallet-cli.mjs12
-rw-r--r--packages/taler-wallet-cli/package.json1
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts2
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/testrunner.ts6
-rw-r--r--packages/taler-wallet-core/package.json2
8 files changed, 2 insertions, 37 deletions
diff --git a/packages/anastasis-core/bin/anastasis-ts-reducer.js b/packages/anastasis-core/bin/anastasis-ts-reducer.js
index 9e1120516..37d3eaace 100755
--- a/packages/anastasis-core/bin/anastasis-ts-reducer.js
+++ b/packages/anastasis-core/bin/anastasis-ts-reducer.js
@@ -1,13 +1,6 @@
#!/usr/bin/env node
async function r() {
- try {
- (await import("source-map-support")).install();
- } catch (e) {
- console.warn("can't load souremaps");
- // Do nothing.
- }
-
(await import("../dist/anastasis-cli.js")).reducerCliMain();
}
diff --git a/packages/anastasis-core/package.json b/packages/anastasis-core/package.json
index aa9e66cf2..33d7898eb 100644
--- a/packages/anastasis-core/package.json
+++ b/packages/anastasis-core/package.json
@@ -19,7 +19,6 @@
"devDependencies": {
"ava": "^4.3.3",
"rimraf": "^3.0.2",
- "source-map-support": "^0.5.21",
"typescript": "^4.8.4"
},
"dependencies": {
diff --git a/packages/anastasis-core/src/cli-entry.ts b/packages/anastasis-core/src/cli-entry.ts
index 151b47f2b..8eea42a18 100644
--- a/packages/anastasis-core/src/cli-entry.ts
+++ b/packages/anastasis-core/src/cli-entry.ts
@@ -1,14 +1,6 @@
import { reducerCliMain } from "./cli.js";
async function r() {
- try {
- // @ts-ignore
- (await import("source-map-support")).install();
- } catch (e) {
- console.warn("can't load souremaps, please install source-map-support");
- // Do nothing.
- }
-
reducerCliMain();
}
diff --git a/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs b/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs
index a06b0f637..e3378471c 100755
--- a/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs
+++ b/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs
@@ -16,16 +16,4 @@
*/
import { main } from '../dist/taler-wallet-cli.mjs';
-import { createRequire } from "module";
-const require = createRequire(import.meta.url);
-
-const doLog = process.env["TALER_DEBUG_SOURCEMAPS"] == "1";
-
-try {
- require("source-map-support");
- doLog && console.error("source map support installed");
-} catch (e) {
- // Do nothing.
- doLog && console.error("source map support not installed", e);
-}
main();
diff --git a/packages/taler-wallet-cli/package.json b/packages/taler-wallet-cli/package.json
index c25923121..455c5d0cb 100644
--- a/packages/taler-wallet-cli/package.json
+++ b/packages/taler-wallet-cli/package.json
@@ -48,7 +48,6 @@
"@gnu-taler/taler-util": "workspace:*",
"@gnu-taler/taler-wallet-core": "workspace:*",
"axios": "^0.27.2",
- "source-map-support": "^0.5.21",
"tslib": "^2.4.0"
}
}
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts b/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts
index a3c076515..f0b4ac8c9 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts
@@ -35,6 +35,7 @@ import {
ExchangesListResponse,
URL,
TalerErrorCode,
+ j2s,
} from "@gnu-taler/taler-util";
import {
FaultInjectedExchangeService,
@@ -129,6 +130,7 @@ export async function runExchangeManagementTest(
WalletApiOperation.ListExchanges,
{},
);
+ console.log("exchanges list:", j2s(exchangesList));
t.assertTrue(exchangesList.exchanges.length === 0);
// Try before fault is injected
diff --git a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts
index c75cff7c0..1cbb549ff 100644
--- a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts
@@ -450,12 +450,6 @@ if (runTestInstrStr && process.argv.includes("__TWCLI_TESTWORKER")) {
process.exit(3);
});
- try {
- require("source-map-support").install();
- } catch (e) {
- // Do nothing.
- }
-
const runTest = async () => {
let testMain: TestMainFunction | undefined;
for (const t of allTests) {
diff --git a/packages/taler-wallet-core/package.json b/packages/taler-wallet-core/package.json
index 39b63919e..8a9e55ce9 100644
--- a/packages/taler-wallet-core/package.json
+++ b/packages/taler-wallet-core/package.json
@@ -55,7 +55,6 @@
"po2json": "^0.4.5",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
- "source-map-resolve": "^0.6.0",
"typedoc": "^0.23.16",
"typescript": "^4.8.4"
},
@@ -66,7 +65,6 @@
"axios": "^0.27.2",
"big-integer": "^1.6.51",
"fflate": "^0.7.4",
- "source-map-support": "^0.5.21",
"tslib": "^2.4.0"
},
"ava": {