trm-core 4.1.0 → 4.1.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.
@@ -87,7 +87,7 @@ class TrmArtifact {
87
87
  throw new Error(`Couldn't locate dist folder.`);
88
88
  }
89
89
  const zipEntries = this._zip.getEntries();
90
- const aTransportEntries = zipEntries.filter(o => o.entryName.trim().toLowerCase().startsWith(`${distFolder}/`));
90
+ const aTransportEntries = zipEntries.filter(o => (new RegExp(`^${distFolder}(/|\\)`)).test(o.entryName.trim().toLowerCase()));
91
91
  var aResult = [];
92
92
  const r3trans = new node_r3trans_1.R3trans({
93
93
  tempDirPath: tmpFolder
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-core",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
4
4
  "description": "TRM (Transport Request Manager) Core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",