@appland/appmap 3.163.1 → 3.163.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@appland/appmap-v3.163.2](https://github.com/getappmap/appmap-js/compare/@appland/appmap-v3.163.1...@appland/appmap-v3.163.2) (2024-09-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Create history dir if it does not exist ([75fc426](https://github.com/getappmap/appmap-js/commit/75fc426dd1d22202d799bb74267c4c8e366d62d1)), closes [#1973](https://github.com/getappmap/appmap-js/issues/1973)
|
|
7
|
+
|
|
1
8
|
# [@appland/appmap-v3.163.1](https://github.com/getappmap/appmap-js/compare/@appland/appmap-v3.163.0...@appland/appmap-v3.163.1) (2024-09-03)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -28,13 +28,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.loadThread = exports.initializeHistory = void 0;
|
|
30
30
|
const os_1 = require("os");
|
|
31
|
+
const fs_1 = require("fs");
|
|
31
32
|
const history_1 = __importStar(require("./history"));
|
|
32
33
|
const thread_1 = __importDefault(require("./thread"));
|
|
33
34
|
const path_1 = require("path");
|
|
34
35
|
const console_1 = require("console");
|
|
35
36
|
const configuration_1 = __importDefault(require("../../configuration"));
|
|
36
37
|
function initializeHistory() {
|
|
37
|
-
|
|
38
|
+
const historyDir = (0, path_1.join)((0, os_1.homedir)(), '.appmap', 'navie', 'history');
|
|
39
|
+
if (!(0, fs_1.existsSync)(historyDir)) {
|
|
40
|
+
(0, fs_1.mkdirSync)(historyDir, { recursive: true });
|
|
41
|
+
}
|
|
42
|
+
return new history_1.default(historyDir);
|
|
38
43
|
}
|
|
39
44
|
exports.initializeHistory = initializeHistory;
|
|
40
45
|
async function loadThread(history, threadId) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"historyHelper.js","sourceRoot":"","sources":["../../../../src/rpc/explain/navie/historyHelper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA6B;AAC7B,qDAAuD;AACvD,sDAA8B;AAC9B,+BAA4B;AAC5B,qCAA+B;AAC/B,wEAAgD;AAEhD,SAAgB,iBAAiB;IAC/B,
|
|
1
|
+
{"version":3,"file":"historyHelper.js","sourceRoot":"","sources":["../../../../src/rpc/explain/navie/historyHelper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA6B;AAC7B,2BAA2C;AAC3C,qDAAuD;AACvD,sDAA8B;AAC9B,+BAA4B;AAC5B,qCAA+B;AAC/B,wEAAgD;AAEhD,SAAgB,iBAAiB;IAC/B,MAAM,UAAU,GAAG,IAAA,WAAI,EAAC,IAAA,YAAO,GAAE,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IAClE,IAAI,CAAC,IAAA,eAAU,EAAC,UAAU,CAAC,EAAE;QAC3B,IAAA,cAAS,EAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;KAC5C;IACD,OAAO,IAAI,iBAAO,CAAC,UAAU,CAAC,CAAC;AACjC,CAAC;AAND,8CAMC;AACM,KAAK,UAAU,UAAU,CAAC,OAAgB,EAAE,QAAgB;IACjE,IAAI,MAAc,CAAC;IAEnB,IAAI;QACF,MAAM,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACvC;IAAC,OAAO,CAAC,EAAE;QACV,IAAI,CAAC,YAAY,2BAAiB,EAAE;YAClC,IAAA,cAAI,EAAC,sCAAsC,QAAQ,qBAAqB,CAAC,CAAC;YAC1E,MAAM,kBAAkB,GAAG,IAAA,uBAAa,GAAE,CAAC,kBAAkB,CAAC;YAC9D,MAAM,GAAG,IAAI,gBAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,EAAE,EAAE,kBAAkB,CAAC,CAAC;SAC/D;aAAM;YACL,MAAM,CAAC,CAAC;SACT;KACF;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAhBD,gCAgBC"}
|