trm-core 9.10.4 → 9.10.6

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 RegestaItalia
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) 2023 RegestaItalia
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
package/README.md CHANGED
@@ -1,55 +1,55 @@
1
- # <a href="https://docs.trmregistry.com/"><img src="https://docs.trmregistry.com/logo.png" height="40" alt="TRM"></a>
2
-
3
- [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-1.3.0-4baaaa.svg)](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
4
- [![Core License](https://img.shields.io/github/license/RegestaItalia/trm-core)](https://github.com/RegestaItalia/trm-core)
5
- [![Core Latest version](https://img.shields.io/npm/v/trm-core)](https://www.npmjs.com/package/trm-core)
6
- [![Core Installs](https://img.shields.io/npm/dt/trm-core)](https://www.npmjs.com/package/trm-core)
7
- [![View Code Wiki](https://assets.codewiki.google/readme-badge/static.svg)](https://codewiki.google/github.com/regestaitalia/trm-docs)
8
-
9
- | 🚀 This project is funded and maintained by 🏦 | 🔗 |
10
- |-------------------------------------------------|----------------------------------------------------------------|
11
- | Regesta S.p.A. | [https://www.regestaitalia.eu/](https://www.regestaitalia.eu/) |
12
- | Clarex S.r.l. | [https://www.clarex.it/](https://www.clarex.it/) |
13
-
14
- [trm-core](https://www.npmjs.com/package/trm-core) is the server-side component of TRM.
15
-
16
- 🚚 **TRM (Transport Request Manager)** is a package manager inspired solution built leveraging CTS that simplifies SAP ABAP transports.
17
-
18
- <p align="center">
19
- <img src="https://docs.trmregistry.com/logo.png" alt="TRM Logo" />
20
- </p>
21
-
22
- TRM introduces **package-based software delivery** to the SAP ecosystem, bringing with it semantic versioning, dependency management, and automated deployment activities.
23
-
24
- # Requirements
25
-
26
- - [Node >=22.12.0](https://github.com/nodejs/node/releases/tag/v22.12.0)
27
-
28
- # Documentation
29
-
30
- Full documentation can be seen at [https://docs.trmregistry.com/](https://docs.trmregistry.com).
31
-
32
- # Usage
33
-
34
- `trm-core` is a low-level library and is **not intended to be used directly** by end users.
35
-
36
- In order to interact with SAP systems, `trm-core` must be consumed by a compatible client implementation.
37
-
38
- ## CLI Client
39
-
40
- Install the official CLI client via npm:
41
-
42
- ```bash
43
- npm install trm-client -g
44
- ```
45
-
46
- # Contributing
47
- Like every other TRM open-source projects, contributions are always welcomed ❤️.
48
-
49
- Make sure to open an issue first.
50
-
51
- Contributions will be merged upon approval.
52
-
53
- [Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
54
-
55
- [<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
1
+ # <a href="https://docs.trmregistry.com/"><img src="https://docs.trmregistry.com/logo.png" height="40" alt="TRM"></a>
2
+
3
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-1.3.0-4baaaa.svg)](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
4
+ [![Core License](https://img.shields.io/github/license/RegestaItalia/trm-core)](https://github.com/RegestaItalia/trm-core)
5
+ [![Core Latest version](https://img.shields.io/npm/v/trm-core)](https://www.npmjs.com/package/trm-core)
6
+ [![Core Installs](https://img.shields.io/npm/dt/trm-core)](https://www.npmjs.com/package/trm-core)
7
+ [![View Code Wiki](https://assets.codewiki.google/readme-badge/static.svg)](https://codewiki.google/github.com/regestaitalia/trm-docs)
8
+
9
+ | 🚀 This project is funded and maintained by 🏦 | 🔗 |
10
+ |-------------------------------------------------|----------------------------------------------------------------|
11
+ | Regesta S.p.A. | [https://www.regestaitalia.eu/](https://www.regestaitalia.eu/) |
12
+ | Clarex S.r.l. | [https://www.clarex.it/](https://www.clarex.it/) |
13
+
14
+ [trm-core](https://www.npmjs.com/package/trm-core) is the server-side component of TRM.
15
+
16
+ 🚚 **TRM (Transport Request Manager)** is a package manager inspired solution built leveraging CTS that simplifies SAP ABAP transports.
17
+
18
+ <p align="center">
19
+ <img src="https://docs.trmregistry.com/logo.png" alt="TRM Logo" />
20
+ </p>
21
+
22
+ TRM introduces **package-based software delivery** to the SAP ecosystem, bringing with it semantic versioning, dependency management, and automated deployment activities.
23
+
24
+ # Requirements
25
+
26
+ - [Node >=22.12.0](https://github.com/nodejs/node/releases/tag/v22.12.0)
27
+
28
+ # Documentation
29
+
30
+ Full documentation can be seen at [https://docs.trmregistry.com/](https://docs.trmregistry.com).
31
+
32
+ # Usage
33
+
34
+ `trm-core` is a low-level library and is **not intended to be used directly** by end users.
35
+
36
+ In order to interact with SAP systems, `trm-core` must be consumed by a compatible client implementation.
37
+
38
+ ## CLI Client
39
+
40
+ Install the official CLI client via npm:
41
+
42
+ ```bash
43
+ npm install trm-client -g
44
+ ```
45
+
46
+ # Contributing
47
+ Like every other TRM open-source projects, contributions are always welcomed ❤️.
48
+
49
+ Make sure to open an issue first.
50
+
51
+ Contributions will be merged upon approval.
52
+
53
+ [Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
54
+
55
+ [<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
package/changelog.txt CHANGED
@@ -1,395 +1,403 @@
1
- trm-core changelog
2
- =================
3
-
4
- Legend
5
- ------
6
- * : fixed
7
- ! : changed
8
- + : added
9
- - : removed
10
-
11
- 2026-07-29 v9.10.4
12
- -------------------
13
- ! postinstall script execution
14
- ! registry protocol update
15
-
16
- 2026-07-29 v9.10.3
17
- -------------------
18
- * rest refresh transport desc in tms
19
- * rest read transport status
20
-
21
- 2026-07-29 v9.10.2
22
- -------------------
23
- * rest delete from tms
24
-
25
- 2026-07-23 v9.10.1
26
- -------------------
27
- + node package for bundled solutions
28
-
29
- 2026-07-22 v9.10.0
30
- -------------------
31
- + changelog publish support
32
- ! trm-registry-types ^2.4.0
33
- + async publish
34
-
35
- 2026-07-20 v9.9.0
36
- -------------------
37
- * rest package update
38
- + error message on unauthenticated publish in public registry
39
- ! trm-server ^6.4.1
40
-
41
- 2026-07-20 v9.8.5
42
- -------------------
43
- ! audit
44
-
45
- 2026-07-05 v9.8.4
46
- -------------------
47
- * trm-rest install (temporary package)
48
- ! moved transport install generation as final step of install
49
- ! trm-registry-types ^2.2.0
50
-
51
- 2026-07-05 v9.8.3
52
- -------------------
53
- * rest client get installed packages
54
-
55
- 2026-07-05 v9.8.2
56
- -------------------
57
- * rest client response parsing
58
-
59
- 2026-07-05 v9.8.1
60
- -------------------
61
- - uuid dependency
62
-
63
- 2026-06-15 v9.8.0
64
- -------------------
65
- ! guard table read result fields order
66
- ! sanitize package contents from registry
67
-
68
- 2026-05-26 v9.7.0
69
- -------------------
70
- * install of trm-server and trm-rest
71
- ! trm-commons ^5.0.0
72
-
73
- 2026-05-08 v9.5.1
74
- -------------------
75
- * install of trm-server and trm-rest
76
-
77
- 2026-05-07 v9.5.0
78
- -------------------
79
- * avoid usage of r3trans when entries are provided by registry
80
- ! registry return type on publish
81
- ! trm-commons ^4.2.0
82
-
83
- 2026-04-29 v9.4.0
84
- -------------------
85
- ! trm-commons ^4.1.0
86
- * upgrade of trm-server/trm-rest post /ATRM/ package replacements
87
- ! usage of temporary packages instead of namespace
88
- ! avoid usage of r3trans when entries are provided by registry
89
-
90
- 2026-04-21 v9.3.0
91
- -------------------
92
- * avoid useless transport unpack for reading transport number
93
- ! usage with devc transport import when replacements are like original
94
- * ignore namespace import error when doesnt exist
95
- + optional filter installed packages
96
- - optional log parameter
97
- * install transport update in table
98
- + confirm overwrite on dirty package
99
- ! trm-server ^6.1.0
100
- ! trm-commons ^4.0.0
101
- ! node-r3trans ^2.0.2
102
-
103
- 2026-04-21 v9.1.0
104
- -------------------
105
- ! abstract registry log for downloads
106
- ! abstract registry contents endpoint (wip)
107
- ! skip usage of r3trans when registry provides content (wip)
108
-
109
- 2026-04-14 v9.0.0
110
- -------------------
111
- ! moved to namespace /ATRM/
112
- ! trm-commons ^3.7.1
113
- * polling progress bar
114
- * transport icon
115
- ! release check before TADIR transport (in publish)
116
- - sap entries in transport documentation
117
- ! release on transport install
118
- ! multiple customizing transports allowed
119
-
120
- 2026-03-11 v8.5.3
121
- -------------------
122
- + refresh transport text in cg3z
123
-
124
- 2026-03-11 v8.5.2
125
- -------------------
126
- + check transport existance in cg3y
127
-
128
- 2026-03-10 v8.5.1
129
- -------------------
130
- + stateless indicator in system connector
131
-
132
- 2026-03-09 v8.5.0
133
- -------------------
134
- + cg3z/cg3y actions
135
- + warning that indicates a process that should not be stopped
136
- * rest reconnect
137
-
138
- 2026-03-05 v8.4.4
139
- -------------------
140
- ! removed emoji in transport log
141
-
142
- 2026-03-04 v8.4.3
143
- -------------------
144
- ! temp: progress bar glue
145
-
146
- 2026-03-04 v8.4.2
147
- -------------------
148
- ! temp: progress bar in package dependency detection
149
-
150
- 2026-03-03 v8.4.1
151
- -------------------
152
- * rfc debug logger hide buffers
153
-
154
- 2026-03-03 v8.4.0
155
- -------------------
156
- * print message on install
157
- ! removed buffer from registry debug log output
158
- ! added manifest to all trm transports
159
- ! package replacement uses installed package namespace (if in update)
160
- ! trm-server ^5.2.0
161
- + import status logging
162
- ! pass global npm path to avoid useless calls
163
-
164
- 2026-02-17 v8.3.1
165
- -------------------
166
- + temp change to timeout (waiting for proper change)
167
-
168
- 2026-02-17 v8.3.0
169
- -------------------
170
- * npm global path
171
-
172
- 2026-02-17 v8.2.3
173
- -------------------
174
- * find dependencies in publish action
175
-
176
- 2026-02-17 v8.2.2
177
- -------------------
178
- * customer package indicator
179
-
180
- 2026-02-17 v8.2.1
181
- -------------------
182
- ! object dependency structure
183
-
184
- 2026-02-11 v8.2.0
185
- -------------------
186
- ! dependency detection moved to trm-server
187
- ! trm-server ^5.1.0
188
- ! package.json detection
189
-
190
- 2025-11-16 v8.1.4
191
- -------------------
192
- + execute trm-server post activities if necessary
193
-
194
- 2025-11-15 v8.1.3
195
- -------------------
196
- * multiple dependencies detected for same object
197
-
198
- 2025-11-07 v8.1.2
199
- -------------------
200
- - encode uri in registry endpoint
201
- + placeholder for lockfile parsing
202
-
203
- 2025-11-04 v8.1.1
204
- -------------------
205
- + moved lock file generation to core
206
- + lock file can be used to determine dependency version
207
- + package visibility to test publish endpoint
208
- + release tags
209
- ! getPackageHierarchy ignore multiple roots in setDevclass method
210
-
211
- 2025-10-30 v8.0.2
212
- -------------------
213
- * fix no dependency detection comparison with latest release
214
-
215
- 2025-10-24 v8.0.1
216
- -------------------
217
- * fix transport relevant for dependency detection issue
218
-
219
- 2025-10-21 v8.0.0
220
- -------------------
221
- ! implement registry v2
222
- - misuse of integrity
223
- * error messages on publish rollback
224
- ! trm-registry-types ^2.0.0
225
- ! transport rc read
226
- ! get workbench method
227
- + handle install transport for same package local/remote
228
- ! manifest.json keys order
229
-
230
- 2025-10-01 v7.5.5
231
- -------------------
232
- ! trm-commons ^3.4.2
233
-
234
- 2025-10-01 v7.5.4
235
- -------------------
236
- ! trm-commons ^3.4.0
237
-
238
- 2025-09-24 v7.5.3
239
- -------------------
240
- ! trm-commons ^3.3.2
241
-
242
- 2025-09-16 v7.5.2
243
- -------------------
244
- + DOMA senvi parser
245
-
246
- 2025-09-03 v7.5.1
247
- -------------------
248
- ! trm-commons ^3.2.0
249
-
250
- 2025-09-03 v7.5.0
251
- -------------------
252
- ! trm-commons ^3.1.0
253
- * npm global path
254
- + rfc closeConnection method
255
- ! private/protected methods/attributes
256
-
257
- 2025-08-27 v7.4.6
258
- -------------------
259
- * template manifest values
260
-
261
- 2025-08-17 v7.4.5
262
- -------------------
263
- ! node-r3trans ^2.0.1
264
- * r3trans options in getContent method
265
-
266
- 2025-07-30 v7.4.4
267
- -------------------
268
- ! node-r3trans ^2.0.0
269
-
270
- 2025-07-30 v7.4.3
271
- -------------------
272
- ! trm-commons ^2.0.0 as peer dependency
273
-
274
- 2025-07-29 v7.4.2
275
- -------------------
276
- ! enforce node engine >=22.12.0 with post install script
277
- ! protocol-registry ^2.0.0
278
-
279
- 2025-07-29 7.4.1
280
- -------------------
281
- ! trm-commons ^2.0.0
282
-
283
- 2025-07-29 7.4.0
284
- -------------------
285
- - dependency install doesn't ask for cust/lang/package replacements anymore if not needed
286
- ! install asks for cust/lang/package replacements when not provided by default parameter
287
- ! import logger shows package name
288
- ! trm-commons ^1.1.0
289
- ! trm-server ^5.0.0
290
- ! set/overwrite dependencies with or without automatic detection
291
- + manifest template for post activities, trm dependency and sap entries
292
- * local package install
293
-
294
- 2025-07-08 v7.3.0
295
- -------------------
296
- + enforce node engine ^22.12.0 with post install script
297
- * install package hierarchy
298
-
299
- 2025-06-04 v7.2.1
300
- -------------------
301
- * inquirer/logger prefix on install dependency
302
- + removed useless wb transport find on package first install
303
-
304
- 2025-06-03 v7.2.0
305
- -------------------
306
- * find dependency with custom object not found without devc reference
307
-
308
- 2025-06-03 v7.1.0
309
- -------------------
310
- * change tr owner on install tr update
311
-
312
- 2025-06-03 v7.0.0
313
- -------------------
314
- ! trm-server ^4.0.0
315
- + change tr owner on install tr update
316
-
317
- 2025-05-29 v6.9.1
318
- -------------------
319
- * remote function for updating server
320
- + confirm if objects exists but no root sap package found
321
-
322
- 2025-05-29 v6.9.0
323
- -------------------
324
- ! check server api auth before install and publish
325
- ! trm-server ^3.1.0
326
- ! read wb transport from package
327
-
328
- 2025-05-27 v6.8.0
329
- -------------------
330
- ! on install transport update, check tasks before add object attempt
331
- * commit before post activity run on RFC
332
- * post activity error log
333
- + node-rfc #327 -> device or resource busy, added workaround
334
-
335
- 2025-05-20 v6.7.1
336
- -------------------
337
- ! get installed packages from backend with trm-server version check
338
-
339
- 2025-05-14 v6.7.0
340
- -------------------
341
- ! trm-server ^3.0.0
342
- * abapgit ignored objects
343
- + post activity pre check
344
- + get installed packages from backend where possible
345
- + regen SAPLZTRM before post activity
346
- * rest sap-client
347
- + keep track of post activities based on latest release
348
-
349
- 2025-05-08 v6.6.0
350
- -------------------
351
- * no integrity with trm-server/trm-rest dependency allowed
352
- ! REST Client and RFC Client error generic -> specific
353
- ! REST Client error xml body parsing with title as message
354
- ! trm-server ^2.2.2
355
-
356
- 2025-05-08 v6.5.1
357
- -------------------
358
- ! rest error handling
359
-
360
- 2025-05-05 v6.5.0
361
- -------------------
362
- ! trm-commons ^1.0.0
363
- * upgrade trm-server fixes
364
- * core package.json location find
365
-
366
- 2025-04-28 v6.4.1
367
- -------------------
368
-
369
- ! node-r3trans ^1.5.0
370
-
371
- 2025-04-28 v6.4.0
372
- -------------------
373
-
374
- + post activities in abap manifest
375
- * return exception type for REST client
376
-
377
- 2025-02-06 v6.3.0
378
- -------------------
379
-
380
- * upgrading package remove previous ZTRM comments in workbench (import) transport
381
- + fetch package remote content
382
- * fix translation transport generation
383
- + move trm package dependencies to core
384
- + transport migration on overwrite
385
- ! DEVC, CUST and LANG are now TRM relevant
386
- * root superpackage on devc tr import blank
387
- + clear state on package install (remove from skipped transports)
388
- + add abapgit source code to TRM artifact
389
- + skip ignored objects listed in .abapgit.xml
390
- + add namespace in manifest
391
- ! abstract registry for custom implementation
392
- + add file system registry for local publish and install
393
- + add post activities
394
- ! cache transports in dependency detection for performance issues on big packages
395
- * check object existance before install
1
+ trm-core changelog
2
+ =================
3
+
4
+ Legend
5
+ ------
6
+ * : fixed
7
+ ! : changed
8
+ + : added
9
+ - : removed
10
+
11
+ 2026-09-23 v9.10.6
12
+ -------------------
13
+ ! trm-commons ^5.1.0
14
+
15
+ 2026-07-29 v9.10.5
16
+ -------------------
17
+ + allow self signed certificates in rest client
18
+
19
+ 2026-07-29 v9.10.4
20
+ -------------------
21
+ ! postinstall script execution
22
+ ! registry protocol update
23
+
24
+ 2026-07-29 v9.10.3
25
+ -------------------
26
+ * rest refresh transport desc in tms
27
+ * rest read transport status
28
+
29
+ 2026-07-29 v9.10.2
30
+ -------------------
31
+ * rest delete from tms
32
+
33
+ 2026-07-23 v9.10.1
34
+ -------------------
35
+ + node package for bundled solutions
36
+
37
+ 2026-07-22 v9.10.0
38
+ -------------------
39
+ + changelog publish support
40
+ ! trm-registry-types ^2.4.0
41
+ + async publish
42
+
43
+ 2026-07-20 v9.9.0
44
+ -------------------
45
+ * rest package update
46
+ + error message on unauthenticated publish in public registry
47
+ ! trm-server ^6.4.1
48
+
49
+ 2026-07-20 v9.8.5
50
+ -------------------
51
+ ! audit
52
+
53
+ 2026-07-05 v9.8.4
54
+ -------------------
55
+ * trm-rest install (temporary package)
56
+ ! moved transport install generation as final step of install
57
+ ! trm-registry-types ^2.2.0
58
+
59
+ 2026-07-05 v9.8.3
60
+ -------------------
61
+ * rest client get installed packages
62
+
63
+ 2026-07-05 v9.8.2
64
+ -------------------
65
+ * rest client response parsing
66
+
67
+ 2026-07-05 v9.8.1
68
+ -------------------
69
+ - uuid dependency
70
+
71
+ 2026-06-15 v9.8.0
72
+ -------------------
73
+ ! guard table read result fields order
74
+ ! sanitize package contents from registry
75
+
76
+ 2026-05-26 v9.7.0
77
+ -------------------
78
+ * install of trm-server and trm-rest
79
+ ! trm-commons ^5.0.0
80
+
81
+ 2026-05-08 v9.5.1
82
+ -------------------
83
+ * install of trm-server and trm-rest
84
+
85
+ 2026-05-07 v9.5.0
86
+ -------------------
87
+ * avoid usage of r3trans when entries are provided by registry
88
+ ! registry return type on publish
89
+ ! trm-commons ^4.2.0
90
+
91
+ 2026-04-29 v9.4.0
92
+ -------------------
93
+ ! trm-commons ^4.1.0
94
+ * upgrade of trm-server/trm-rest post /ATRM/ package replacements
95
+ ! usage of temporary packages instead of namespace
96
+ ! avoid usage of r3trans when entries are provided by registry
97
+
98
+ 2026-04-21 v9.3.0
99
+ -------------------
100
+ * avoid useless transport unpack for reading transport number
101
+ ! usage with devc transport import when replacements are like original
102
+ * ignore namespace import error when doesnt exist
103
+ + optional filter installed packages
104
+ - optional log parameter
105
+ * install transport update in table
106
+ + confirm overwrite on dirty package
107
+ ! trm-server ^6.1.0
108
+ ! trm-commons ^4.0.0
109
+ ! node-r3trans ^2.0.2
110
+
111
+ 2026-04-21 v9.1.0
112
+ -------------------
113
+ ! abstract registry log for downloads
114
+ ! abstract registry contents endpoint (wip)
115
+ ! skip usage of r3trans when registry provides content (wip)
116
+
117
+ 2026-04-14 v9.0.0
118
+ -------------------
119
+ ! moved to namespace /ATRM/
120
+ ! trm-commons ^3.7.1
121
+ * polling progress bar
122
+ * transport icon
123
+ ! release check before TADIR transport (in publish)
124
+ - sap entries in transport documentation
125
+ ! release on transport install
126
+ ! multiple customizing transports allowed
127
+
128
+ 2026-03-11 v8.5.3
129
+ -------------------
130
+ + refresh transport text in cg3z
131
+
132
+ 2026-03-11 v8.5.2
133
+ -------------------
134
+ + check transport existance in cg3y
135
+
136
+ 2026-03-10 v8.5.1
137
+ -------------------
138
+ + stateless indicator in system connector
139
+
140
+ 2026-03-09 v8.5.0
141
+ -------------------
142
+ + cg3z/cg3y actions
143
+ + warning that indicates a process that should not be stopped
144
+ * rest reconnect
145
+
146
+ 2026-03-05 v8.4.4
147
+ -------------------
148
+ ! removed emoji in transport log
149
+
150
+ 2026-03-04 v8.4.3
151
+ -------------------
152
+ ! temp: progress bar glue
153
+
154
+ 2026-03-04 v8.4.2
155
+ -------------------
156
+ ! temp: progress bar in package dependency detection
157
+
158
+ 2026-03-03 v8.4.1
159
+ -------------------
160
+ * rfc debug logger hide buffers
161
+
162
+ 2026-03-03 v8.4.0
163
+ -------------------
164
+ * print message on install
165
+ ! removed buffer from registry debug log output
166
+ ! added manifest to all trm transports
167
+ ! package replacement uses installed package namespace (if in update)
168
+ ! trm-server ^5.2.0
169
+ + import status logging
170
+ ! pass global npm path to avoid useless calls
171
+
172
+ 2026-02-17 v8.3.1
173
+ -------------------
174
+ + temp change to timeout (waiting for proper change)
175
+
176
+ 2026-02-17 v8.3.0
177
+ -------------------
178
+ * npm global path
179
+
180
+ 2026-02-17 v8.2.3
181
+ -------------------
182
+ * find dependencies in publish action
183
+
184
+ 2026-02-17 v8.2.2
185
+ -------------------
186
+ * customer package indicator
187
+
188
+ 2026-02-17 v8.2.1
189
+ -------------------
190
+ ! object dependency structure
191
+
192
+ 2026-02-11 v8.2.0
193
+ -------------------
194
+ ! dependency detection moved to trm-server
195
+ ! trm-server ^5.1.0
196
+ ! package.json detection
197
+
198
+ 2025-11-16 v8.1.4
199
+ -------------------
200
+ + execute trm-server post activities if necessary
201
+
202
+ 2025-11-15 v8.1.3
203
+ -------------------
204
+ * multiple dependencies detected for same object
205
+
206
+ 2025-11-07 v8.1.2
207
+ -------------------
208
+ - encode uri in registry endpoint
209
+ + placeholder for lockfile parsing
210
+
211
+ 2025-11-04 v8.1.1
212
+ -------------------
213
+ + moved lock file generation to core
214
+ + lock file can be used to determine dependency version
215
+ + package visibility to test publish endpoint
216
+ + release tags
217
+ ! getPackageHierarchy ignore multiple roots in setDevclass method
218
+
219
+ 2025-10-30 v8.0.2
220
+ -------------------
221
+ * fix no dependency detection comparison with latest release
222
+
223
+ 2025-10-24 v8.0.1
224
+ -------------------
225
+ * fix transport relevant for dependency detection issue
226
+
227
+ 2025-10-21 v8.0.0
228
+ -------------------
229
+ ! implement registry v2
230
+ - misuse of integrity
231
+ * error messages on publish rollback
232
+ ! trm-registry-types ^2.0.0
233
+ ! transport rc read
234
+ ! get workbench method
235
+ + handle install transport for same package local/remote
236
+ ! manifest.json keys order
237
+
238
+ 2025-10-01 v7.5.5
239
+ -------------------
240
+ ! trm-commons ^3.4.2
241
+
242
+ 2025-10-01 v7.5.4
243
+ -------------------
244
+ ! trm-commons ^3.4.0
245
+
246
+ 2025-09-24 v7.5.3
247
+ -------------------
248
+ ! trm-commons ^3.3.2
249
+
250
+ 2025-09-16 v7.5.2
251
+ -------------------
252
+ + DOMA senvi parser
253
+
254
+ 2025-09-03 v7.5.1
255
+ -------------------
256
+ ! trm-commons ^3.2.0
257
+
258
+ 2025-09-03 v7.5.0
259
+ -------------------
260
+ ! trm-commons ^3.1.0
261
+ * npm global path
262
+ + rfc closeConnection method
263
+ ! private/protected methods/attributes
264
+
265
+ 2025-08-27 v7.4.6
266
+ -------------------
267
+ * template manifest values
268
+
269
+ 2025-08-17 v7.4.5
270
+ -------------------
271
+ ! node-r3trans ^2.0.1
272
+ * r3trans options in getContent method
273
+
274
+ 2025-07-30 v7.4.4
275
+ -------------------
276
+ ! node-r3trans ^2.0.0
277
+
278
+ 2025-07-30 v7.4.3
279
+ -------------------
280
+ ! trm-commons ^2.0.0 as peer dependency
281
+
282
+ 2025-07-29 v7.4.2
283
+ -------------------
284
+ ! enforce node engine >=22.12.0 with post install script
285
+ ! protocol-registry ^2.0.0
286
+
287
+ 2025-07-29 7.4.1
288
+ -------------------
289
+ ! trm-commons ^2.0.0
290
+
291
+ 2025-07-29 7.4.0
292
+ -------------------
293
+ - dependency install doesn't ask for cust/lang/package replacements anymore if not needed
294
+ ! install asks for cust/lang/package replacements when not provided by default parameter
295
+ ! import logger shows package name
296
+ ! trm-commons ^1.1.0
297
+ ! trm-server ^5.0.0
298
+ ! set/overwrite dependencies with or without automatic detection
299
+ + manifest template for post activities, trm dependency and sap entries
300
+ * local package install
301
+
302
+ 2025-07-08 v7.3.0
303
+ -------------------
304
+ + enforce node engine ^22.12.0 with post install script
305
+ * install package hierarchy
306
+
307
+ 2025-06-04 v7.2.1
308
+ -------------------
309
+ * inquirer/logger prefix on install dependency
310
+ + removed useless wb transport find on package first install
311
+
312
+ 2025-06-03 v7.2.0
313
+ -------------------
314
+ * find dependency with custom object not found without devc reference
315
+
316
+ 2025-06-03 v7.1.0
317
+ -------------------
318
+ * change tr owner on install tr update
319
+
320
+ 2025-06-03 v7.0.0
321
+ -------------------
322
+ ! trm-server ^4.0.0
323
+ + change tr owner on install tr update
324
+
325
+ 2025-05-29 v6.9.1
326
+ -------------------
327
+ * remote function for updating server
328
+ + confirm if objects exists but no root sap package found
329
+
330
+ 2025-05-29 v6.9.0
331
+ -------------------
332
+ ! check server api auth before install and publish
333
+ ! trm-server ^3.1.0
334
+ ! read wb transport from package
335
+
336
+ 2025-05-27 v6.8.0
337
+ -------------------
338
+ ! on install transport update, check tasks before add object attempt
339
+ * commit before post activity run on RFC
340
+ * post activity error log
341
+ + node-rfc #327 -> device or resource busy, added workaround
342
+
343
+ 2025-05-20 v6.7.1
344
+ -------------------
345
+ ! get installed packages from backend with trm-server version check
346
+
347
+ 2025-05-14 v6.7.0
348
+ -------------------
349
+ ! trm-server ^3.0.0
350
+ * abapgit ignored objects
351
+ + post activity pre check
352
+ + get installed packages from backend where possible
353
+ + regen SAPLZTRM before post activity
354
+ * rest sap-client
355
+ + keep track of post activities based on latest release
356
+
357
+ 2025-05-08 v6.6.0
358
+ -------------------
359
+ * no integrity with trm-server/trm-rest dependency allowed
360
+ ! REST Client and RFC Client error generic -> specific
361
+ ! REST Client error xml body parsing with title as message
362
+ ! trm-server ^2.2.2
363
+
364
+ 2025-05-08 v6.5.1
365
+ -------------------
366
+ ! rest error handling
367
+
368
+ 2025-05-05 v6.5.0
369
+ -------------------
370
+ ! trm-commons ^1.0.0
371
+ * upgrade trm-server fixes
372
+ * core package.json location find
373
+
374
+ 2025-04-28 v6.4.1
375
+ -------------------
376
+
377
+ ! node-r3trans ^1.5.0
378
+
379
+ 2025-04-28 v6.4.0
380
+ -------------------
381
+
382
+ + post activities in abap manifest
383
+ * return exception type for REST client
384
+
385
+ 2025-02-06 v6.3.0
386
+ -------------------
387
+
388
+ * upgrading package remove previous ZTRM comments in workbench (import) transport
389
+ + fetch package remote content
390
+ * fix translation transport generation
391
+ + move trm package dependencies to core
392
+ + transport migration on overwrite
393
+ ! DEVC, CUST and LANG are now TRM relevant
394
+ * root superpackage on devc tr import blank
395
+ + clear state on package install (remove from skipped transports)
396
+ + add abapgit source code to TRM artifact
397
+ + skip ignored objects listed in .abapgit.xml
398
+ + add namespace in manifest
399
+ ! abstract registry for custom implementation
400
+ + add file system registry for local publish and install
401
+ + add post activities
402
+ ! cache transports in dependency detection for performance issues on big packages
403
+ * check object existance before install
@@ -45,23 +45,23 @@ exports.setChangelog = {
45
45
  when: (hash) => {
46
46
  return hash.editChangelog;
47
47
  },
48
- default: `${context.rawInput.packageData.name} changelog
49
- =================
50
-
51
- Legend
52
- ------
53
- \`\`\`
54
- * : fixed
55
- ! : changed
56
- + : added
57
- - : removed
58
- \`\`\`
59
-
60
- ${new Date().toISOString().split('T')[0]} v${context.runtime.trmPackage.manifest.version}
61
- -------------------
62
- \`\`\`
63
- ...
64
- \`\`\`
48
+ default: `${context.rawInput.packageData.name} changelog
49
+ =================
50
+
51
+ Legend
52
+ ------
53
+ \`\`\`
54
+ * : fixed
55
+ ! : changed
56
+ + : added
57
+ - : removed
58
+ \`\`\`
59
+
60
+ ${new Date().toISOString().split('T')[0]} v${context.runtime.trmPackage.manifest.version}
61
+ -------------------
62
+ \`\`\`
63
+ ...
64
+ \`\`\`
65
65
  `
66
66
  }])).changelog;
67
67
  }
@@ -48,6 +48,7 @@ const FormData = __importStar(require("form-data"));
48
48
  const trm_commons_1 = require("trm-commons");
49
49
  const _1 = require(".");
50
50
  const parse_multipart_data_1 = require("parse-multipart-data");
51
+ const https_1 = require("https");
51
52
  const AXIOS_CTX = "RestServer";
52
53
  class RESTClient {
53
54
  constructor(endpoint, rfcdest, _login, _cLangu) {
@@ -67,6 +68,9 @@ class RESTClient {
67
68
  password: this._login.passwd
68
69
  },
69
70
  timeout: 30000,
71
+ httpsAgent: new https_1.Agent({
72
+ rejectUnauthorized: false
73
+ })
70
74
  }, AXIOS_CTX);
71
75
  }
72
76
  open() {
package/package.json CHANGED
@@ -1,92 +1,92 @@
1
- {
2
- "name": "trm-core",
3
- "version": "9.10.4",
4
- "description": "TRM (Transport Request Manager) Core",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "files": [
8
- "changelog.txt",
9
- "dist",
10
- "!dist/test.js",
11
- "!dist/test.js.map",
12
- "!dist/test.d.ts",
13
- "!dist/.env",
14
- "!dist/dev_rfc.log"
15
- ],
16
- "scripts": {
17
- "cleanBuild": "rimraf dist/",
18
- "build": "npm run cleanBuild && tsc --sourceMap false",
19
- "prepublishOnly": "npm run build",
20
- "postinstall": "node -e \"if (require('fs').existsSync('dist/scripts/checkEngine.js')) require('child_process').execFileSync(process.execPath, ['dist/scripts/checkEngine.js'], { stdio: 'inherit' })\""
21
- },
22
- "keywords": [
23
- "trm",
24
- "abap"
25
- ],
26
- "homepage": "https://www.trmregistry.com",
27
- "repository": {
28
- "type": "git",
29
- "url": "git+https://github.com/RegestaItalia/trm-core.git"
30
- },
31
- "author": {
32
- "name": "Simone Gaffurini",
33
- "email": "simone.gaffurini@regestaitalia.it"
34
- },
35
- "license": "MIT",
36
- "trmDependencies": {
37
- "trm-server": "^6.4.1"
38
- },
39
- "dependencies": {
40
- "@esm2cjs/normalize-url": "^8.0.0",
41
- "@inquirer/prompts": "^7.8.1",
42
- "@simonegaffurini/sammarksworkflow": "^1.3.2-fork",
43
- "@xmldom/xmldom": "^0.9.8",
44
- "adm-zip": "^0.6.0",
45
- "axios": "^1.7.9",
46
- "chalk": "^4.1.2",
47
- "dotenv": "^17.2.2",
48
- "email-validator": "^2.0.4",
49
- "express": "^4.18.2",
50
- "get-root-path": "^3.0.1",
51
- "get-stack-trace": "^3.1.1",
52
- "lodash": "^4.17.21",
53
- "luxon": "^3.7.2",
54
- "minimatch": "^10.2.6",
55
- "node-cache": "^5.1.2",
56
- "node-html-parser": "^7.0.1",
57
- "node-r3trans": "^2.0.3",
58
- "object-keys-normalizer": "^1.0.1",
59
- "opener": "^1.5.2",
60
- "parse-multipart-data": "^1.5.0",
61
- "protocol-registry": "^2.0.0",
62
- "semver": "^7.5.4",
63
- "semver-sort": "^1.0.0",
64
- "spdx-license-ids": "^3.0.13",
65
- "trm-registry-types": "^2.4.0",
66
- "xml-beautify": "^1.2.3",
67
- "xml-js": "^1.6.11"
68
- },
69
- "peerDependencies": {
70
- "trm-commons": "^5.0.1"
71
- },
72
- "devDependencies": {
73
- "@types/adm-zip": "^0.5.0",
74
- "@types/debug": "^4.1.12",
75
- "@types/express": "^4.17.17",
76
- "@types/inquirer": "^9.0.3",
77
- "@types/lodash": "^4.14.202",
78
- "@types/luxon": "^3.7.1",
79
- "@types/node": "^20.4.4",
80
- "@types/opener": "^1.4.0",
81
- "@types/semver": "^7.5.0",
82
- "@types/semver-sort": "^0.0.1",
83
- "@types/stack-trace": "^0.0.33",
84
- "rimraf": "^6.0.1",
85
- "trm-commons": "^5.0.0",
86
- "ts-node": "^10.9.2",
87
- "typescript": "^5.8.2"
88
- },
89
- "engines": {
90
- "node": ">=22.12.0"
91
- }
92
- }
1
+ {
2
+ "name": "trm-core",
3
+ "version": "9.10.6",
4
+ "description": "TRM (Transport Request Manager) Core",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "changelog.txt",
9
+ "dist",
10
+ "!dist/test.js",
11
+ "!dist/test.js.map",
12
+ "!dist/test.d.ts",
13
+ "!dist/.env",
14
+ "!dist/dev_rfc.log"
15
+ ],
16
+ "scripts": {
17
+ "cleanBuild": "rimraf dist/",
18
+ "build": "npm run cleanBuild && tsc --sourceMap false",
19
+ "prepublishOnly": "npm run build",
20
+ "postinstall": "node -e \"if (require('fs').existsSync('dist/scripts/checkEngine.js')) require('child_process').execFileSync(process.execPath, ['dist/scripts/checkEngine.js'], { stdio: 'inherit' })\""
21
+ },
22
+ "keywords": [
23
+ "trm",
24
+ "abap"
25
+ ],
26
+ "homepage": "https://www.trmregistry.com",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/RegestaItalia/trm-core.git"
30
+ },
31
+ "author": {
32
+ "name": "Simone Gaffurini",
33
+ "email": "simone.gaffurini@regestaitalia.it"
34
+ },
35
+ "license": "MIT",
36
+ "trmDependencies": {
37
+ "trm-server": "^6.4.1"
38
+ },
39
+ "dependencies": {
40
+ "@esm2cjs/normalize-url": "^8.0.0",
41
+ "@inquirer/prompts": "^7.8.1",
42
+ "@simonegaffurini/sammarksworkflow": "^1.3.2-fork",
43
+ "@xmldom/xmldom": "^0.9.8",
44
+ "adm-zip": "^0.6.0",
45
+ "axios": "^1.7.9",
46
+ "chalk": "^4.1.2",
47
+ "dotenv": "^17.2.2",
48
+ "email-validator": "^2.0.4",
49
+ "express": "^4.18.2",
50
+ "get-root-path": "^3.0.1",
51
+ "get-stack-trace": "^3.1.1",
52
+ "lodash": "^4.17.21",
53
+ "luxon": "^3.7.2",
54
+ "minimatch": "^10.2.6",
55
+ "node-cache": "^5.1.2",
56
+ "node-html-parser": "^7.0.1",
57
+ "node-r3trans": "^2.0.3",
58
+ "object-keys-normalizer": "^1.0.1",
59
+ "opener": "^1.5.2",
60
+ "parse-multipart-data": "^1.5.0",
61
+ "protocol-registry": "^2.0.0",
62
+ "semver": "^7.5.4",
63
+ "semver-sort": "^1.0.0",
64
+ "spdx-license-ids": "^3.0.13",
65
+ "trm-registry-types": "^2.4.0",
66
+ "xml-beautify": "^1.2.3",
67
+ "xml-js": "^1.6.11"
68
+ },
69
+ "peerDependencies": {
70
+ "trm-commons": "^5.1.0"
71
+ },
72
+ "devDependencies": {
73
+ "@types/adm-zip": "^0.5.0",
74
+ "@types/debug": "^4.1.12",
75
+ "@types/express": "^4.17.17",
76
+ "@types/inquirer": "^9.0.3",
77
+ "@types/lodash": "^4.14.202",
78
+ "@types/luxon": "^3.7.1",
79
+ "@types/node": "^20.4.4",
80
+ "@types/opener": "^1.4.0",
81
+ "@types/semver": "^7.5.0",
82
+ "@types/semver-sort": "^0.0.1",
83
+ "@types/stack-trace": "^0.0.33",
84
+ "rimraf": "^6.0.1",
85
+ "trm-commons": "^5.1.0",
86
+ "ts-node": "^10.9.2",
87
+ "typescript": "^5.8.2"
88
+ },
89
+ "engines": {
90
+ "node": ">=22.12.0"
91
+ }
92
+ }