@manuscripts/transform 4.3.14 → 4.3.15

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.
@@ -1110,11 +1110,11 @@ class JATSExporter {
1110
1110
  const $aff = this.createElement('aff', '', {
1111
1111
  id: normalizeID(affiliation.attrs.id),
1112
1112
  });
1113
+ const label = affiliationLabels.get(affiliation.attrs.id);
1114
+ if (label) {
1115
+ this.appendElement($aff, 'label', String(label));
1116
+ }
1113
1117
  const affiliationParts = [
1114
- {
1115
- value: affiliationLabels.get(affiliation.attrs.id),
1116
- tag: 'label',
1117
- },
1118
1118
  {
1119
1119
  value: affiliation.attrs.department,
1120
1120
  tag: 'institution',
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "4.3.14";
4
+ exports.VERSION = "4.3.15";
@@ -1070,11 +1070,11 @@ export class JATSExporter {
1070
1070
  const $aff = this.createElement('aff', '', {
1071
1071
  id: normalizeID(affiliation.attrs.id),
1072
1072
  });
1073
+ const label = affiliationLabels.get(affiliation.attrs.id);
1074
+ if (label) {
1075
+ this.appendElement($aff, 'label', String(label));
1076
+ }
1073
1077
  const affiliationParts = [
1074
- {
1075
- value: affiliationLabels.get(affiliation.attrs.id),
1076
- tag: 'label',
1077
- },
1078
1078
  {
1079
1079
  value: affiliation.attrs.department,
1080
1080
  tag: 'institution',
@@ -1 +1 @@
1
- export const VERSION = "4.3.14";
1
+ export const VERSION = "4.3.15";
@@ -1 +1 @@
1
- export declare const VERSION = "4.3.14";
1
+ export declare const VERSION = "4.3.15";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/transform",
3
3
  "description": "ProseMirror transformer for Manuscripts applications",
4
- "version": "4.3.14",
4
+ "version": "4.3.15",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",