@manuscripts/transform 4.3.31 → 4.3.33

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.
@@ -574,7 +574,7 @@ class JATSExporter {
574
574
  return cross.attrs.label ?? '';
575
575
  }
576
576
  const rid = rids[0];
577
- const text = cross.attrs.label ?? this.labelTargets.get(rid)?.label;
577
+ const text = cross.attrs.label || this.labelTargets.get(rid)?.label;
578
578
  const target = (0, prosemirror_utils_1.findChildrenByAttr)(this.manuscriptNode, (attrs) => attrs.id === rid)[0]?.node;
579
579
  if (!target) {
580
580
  return text ?? '';
@@ -13,6 +13,7 @@
13
13
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
+ *
16
17
  */
17
18
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
19
  if (k2 === undefined) k2 = k;
@@ -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.31";
4
+ exports.VERSION = "4.3.33";
@@ -534,7 +534,7 @@ export class JATSExporter {
534
534
  return cross.attrs.label ?? '';
535
535
  }
536
536
  const rid = rids[0];
537
- const text = cross.attrs.label ?? this.labelTargets.get(rid)?.label;
537
+ const text = cross.attrs.label || this.labelTargets.get(rid)?.label;
538
538
  const target = findChildrenByAttr(this.manuscriptNode, (attrs) => attrs.id === rid)[0]?.node;
539
539
  if (!target) {
540
540
  return text ?? '';
@@ -12,6 +12,7 @@
12
12
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
+ *
15
16
  */
16
17
  import { Schema } from 'prosemirror-model';
17
18
  import { bold, code, italic, smallcaps, strikethrough, styled, subscript, superscript, tracked_delete, tracked_insert, underline, } from './marks';
@@ -1 +1 @@
1
- export const VERSION = "4.3.31";
1
+ export const VERSION = "4.3.33";
@@ -12,6 +12,7 @@
12
12
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
+ *
15
16
  */
16
17
  import { Schema } from 'prosemirror-model';
17
18
  import { Marks, Nodes } from './types';
@@ -1 +1 @@
1
- export declare const VERSION = "4.3.31";
1
+ export declare const VERSION = "4.3.33";
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.31",
4
+ "version": "4.3.33",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",