trm-core 6.1.2 → 6.1.4

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.
@@ -367,11 +367,14 @@ class Manifest {
367
367
  delete author.email;
368
368
  }
369
369
  }
370
+ else {
371
+ delete author.email;
372
+ }
370
373
  aAuthors[i] = author;
371
374
  }
372
375
  catch (e) { }
373
376
  }
374
- aAuthors = aAuthors.filter(o => !o.name && !o.email);
377
+ aAuthors = aAuthors.filter(o => !(!o.name && !o.email));
375
378
  manifestClone.authors = Array.from(new Map(aAuthors.map(o => [`${o.name}${o.email}`, o])).values());
376
379
  if (manifestClone.authors.length === 0) {
377
380
  delete manifestClone.authors;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-core",
3
- "version": "6.1.2",
3
+ "version": "6.1.4",
4
4
  "description": "TRM (Transport Request Manager) Core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",