trm-client 7.4.1 → 7.4.3
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.txt
CHANGED
|
@@ -8,6 +8,15 @@ Legend
|
|
|
8
8
|
+ : added
|
|
9
9
|
- : removed
|
|
10
10
|
|
|
11
|
+
2026-03-04 v7.4.3
|
|
12
|
+
-------------------
|
|
13
|
+
! trm-core ^8.4.2
|
|
14
|
+
* find-dependencies devclass name
|
|
15
|
+
|
|
16
|
+
2026-03-04 v7.4.2
|
|
17
|
+
-------------------
|
|
18
|
+
* fix cache expiry
|
|
19
|
+
|
|
11
20
|
2026-03-03 v7.4.1
|
|
12
21
|
-------------------
|
|
13
22
|
! trm-core ^8.4.1
|
|
@@ -27,7 +27,6 @@ class FindDependencies extends AbstractCommand_1.AbstractCommand {
|
|
|
27
27
|
}
|
|
28
28
|
handler() {
|
|
29
29
|
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
-
trm_commons_1.Logger.loading(`Searching for dependencies in package "${this.args.sapPackage.toUpperCase()}"...`);
|
|
31
30
|
const dependencies = yield trm_core_1.SystemConnector.getPackageDependencies(this.args.sapPackage.toUpperCase(), true, true);
|
|
32
31
|
const trmPackageDependencies = dependencies.trmPackageDependencies;
|
|
33
32
|
const sapPackageDependencies = dependencies.abapPackageDependencies.filter(o => !o.isCustomerPackage);
|
|
@@ -52,7 +51,7 @@ class FindDependencies extends AbstractCommand_1.AbstractCommand {
|
|
|
52
51
|
text: `Customer packages (${custPackageDependencies.length})`,
|
|
53
52
|
children: custPackageDependencies.map(o => {
|
|
54
53
|
return {
|
|
55
|
-
text: `${o.abapPackage}`,
|
|
54
|
+
text: `${o.abapPackage.devclass}`,
|
|
56
55
|
children: o.entries.map(t => {
|
|
57
56
|
return {
|
|
58
57
|
text: t.tableName,
|
|
@@ -173,12 +173,14 @@ class GlobalContext {
|
|
|
173
173
|
}
|
|
174
174
|
setGlobalNpmPathInternal() {
|
|
175
175
|
const globalNpmPathCache = this._cache.globalNpmPath;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
trm_commons_1.Logger.log(`Npm global modules path set to ${path}`, true);
|
|
180
|
-
this.setCache('globalNpmPath', path);
|
|
176
|
+
const isValid = !!globalNpmPathCache && !!globalNpmPathCache.ts && (Date.now() - globalNpmPathCache.ts) < this.getSettings().npmGlobalPathCheckCache * 1000;
|
|
177
|
+
if (isValid) {
|
|
178
|
+
return globalNpmPathCache.data;
|
|
181
179
|
}
|
|
180
|
+
trm_commons_1.Logger.loading(`Cache expired, setting npm global modules path...`, true);
|
|
181
|
+
const path = (0, trm_commons_1.getGlobalNodeModules)();
|
|
182
|
+
trm_commons_1.Logger.log(`Npm global modules path set to ${path}`, true);
|
|
183
|
+
this.setCache('globalNpmPath', path);
|
|
182
184
|
}
|
|
183
185
|
getSettingsInternal() {
|
|
184
186
|
const defaultSettings = this.getDefaultSettings();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trm-client",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.3",
|
|
4
4
|
"description": "TRM (Transport Request Manager) Client",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"lodash": "^4.17.21",
|
|
48
48
|
"semver": "^7.7.4",
|
|
49
49
|
"trm-commons": "^3.5.1",
|
|
50
|
-
"trm-core": "^8.4.
|
|
50
|
+
"trm-core": "^8.4.2",
|
|
51
51
|
"trm-registry-types": "^2.1.0",
|
|
52
52
|
"xml2js": "^0.6.2"
|
|
53
53
|
},
|