trm-core 6.1.0 → 6.1.1

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.
@@ -617,11 +617,11 @@ class Manifest {
617
617
  }
618
618
  static stringKeywordsToArray(sKeywords) {
619
619
  if (sKeywords) {
620
- sKeywords.split(',').map(s => {
620
+ return sKeywords.split(',').map(s => {
621
621
  if (s) {
622
622
  return s.trim();
623
623
  }
624
- });
624
+ }).filter(k => k !== undefined);
625
625
  }
626
626
  else {
627
627
  return [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-core",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "TRM (Transport Request Manager) Core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",