trm-client 4.2.0 → 4.3.0

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,16 @@ Legend
8
8
  + : added
9
9
  - : removed
10
10
 
11
+ 2025-04-28 v4.3.0
12
+ -------------------
13
+
14
+ ! trm-core ^6.4.1
15
+
16
+ 2025-04-23 v4.2.1
17
+ -------------------
18
+
19
+ * node-r3trans version read
20
+
11
21
  2025-02-26 v4.2.0
12
22
  -------------------
13
23
 
@@ -21,10 +21,10 @@ const path_1 = __importDefault(require("path"));
21
21
  const get_root_path_1 = require("get-root-path");
22
22
  const chalk_1 = __importDefault(require("chalk"));
23
23
  const semver_1 = require("semver");
24
- const _getDependencyVersion = (moduleName) => {
24
+ const _getDependencyVersion = (moduleName, rootModule = 'trm-client') => {
25
25
  var file;
26
26
  try {
27
- file = (0, fs_1.readFileSync)(path_1.default.join(get_root_path_1.rootPath, `/node_modules/trm-client/node_modules/${moduleName}/package.json`));
27
+ file = (0, fs_1.readFileSync)(path_1.default.join(get_root_path_1.rootPath, `/node_modules/${rootModule}/node_modules/${moduleName}/package.json`));
28
28
  }
29
29
  catch (e) {
30
30
  file = (0, fs_1.readFileSync)(path_1.default.join(get_root_path_1.rootPath, `/node_modules/${moduleName}/package.json`));
@@ -76,7 +76,7 @@ function info(commandArgs) {
76
76
  const trmDependenciesInstances = commons_1.CommandContext.trmDependencies;
77
77
  const trmMissingDependencies = commons_1.CommandContext.missingTrmDependencies;
78
78
  const nodeRfcVersion = _getNodeRfcVersion(npmGlobal);
79
- const nodeR3transVersion = _getDependencyVersion("node-r3trans");
79
+ const nodeR3transVersion = _getDependencyVersion("node-r3trans", "trm-core");
80
80
  const packages = yield commons_1.CommandContext.getSystemPackages();
81
81
  const trmRest = packages.find(o => o.compareName("trm-rest") && o.compareRegistry(new trm_core_1.Registry(trm_core_1.PUBLIC_RESERVED_KEYWORD)));
82
82
  var clientDependenciesTree = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-client",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "description": "TRM (Transport Request Manager) Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -45,7 +45,7 @@
45
45
  "ini": "^4.1.1",
46
46
  "node-html-parser": "^6.1.13",
47
47
  "semver": "^7.5.4",
48
- "trm-core": "^6.3.0",
48
+ "trm-core": "^6.4.1",
49
49
  "trm-registry-types": "^1.2.0",
50
50
  "xml2js": "^0.6.2"
51
51
  },