From ef5479deeee426e217af14ba7357308cee90254e Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Thu, 28 Dec 2023 12:57:00 +0100 Subject: [PATCH] Improve stack trace mapping --- package-lock.json | 46 +++++++++++++++++++++++++++++++++------------- package.json | 2 +- 2 files changed, 34 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index b201396..db51bb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.4.0", "license": "MIT", "dependencies": { - "@mochify/mochify": "^0.5.0", + "@mochify/mochify": "^0.5.1", "yargs": "^16.2.0" }, "bin": { @@ -458,18 +458,19 @@ } }, "node_modules/@mochify/mochify": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@mochify/mochify/-/mochify-0.5.0.tgz", - "integrity": "sha512-jvD1txlnYskGDeHac5X6d9+JG3AHv7n5TR29uHWKtcIK2ZC+vQyfDN5UX+XuxCbtmLAh6zyT4SlYflyedRfFtA==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@mochify/mochify/-/mochify-0.5.1.tgz", + "integrity": "sha512-LKWQ0uou6uPrjaM3t/fnlH9yHeitwZQ3lEzxdjPz7SdnbJETbZ5+9lSUmwfLhGrg4K4fx4L2R7brmGdstXXiAA==", "dependencies": { - "convert-source-map": "^1.1.3", + "convert-source-map": "^2.0.0", "deepmerge": "^4.2.2", "execa": "^5.1.1", "glob": "^10.3.10", "lilconfig": "^3.0.0", "mime": "^2.5.2", "mocha": "^10.2.0", - "source-map": "^0.5.7", + "source-map": "^0.7.4", + "stacktrace-parser": "^0.1.10", "string-argv": "^0.3.1" }, "engines": { @@ -1682,9 +1683,9 @@ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "node_modules/convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==" }, "node_modules/core-util-is": { "version": "1.0.3", @@ -5764,11 +5765,11 @@ "dev": true }, "node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", "engines": { - "node": ">=0.10.0" + "node": ">= 8" } }, "node_modules/spdx-exceptions": { @@ -5805,6 +5806,25 @@ "node": ">= 10.x" } }, + "node_modules/stacktrace-parser": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz", + "integrity": "sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==", + "dependencies": { + "type-fest": "^0.7.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/stacktrace-parser/node_modules/type-fest": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz", + "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==", + "engines": { + "node": ">=8" + } + }, "node_modules/streamx": { "version": "2.15.6", "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.6.tgz", diff --git a/package.json b/package.json index acee0e5..0c0329d 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "ignore": "node_modules/**" }, "dependencies": { - "@mochify/mochify": "^0.5.0", + "@mochify/mochify": "^0.5.1", "yargs": "^16.2.0" }, "devDependencies": {