@manuscripts/track-changes-plugin 1.8.7-LEAN-4145.0 → 1.8.7-LEAN-4145.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.
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.trackReplaceAroundStep = void 0;
26
+ exports.trackReplaceAroundStep = exports.fakef = void 0;
27
27
  const prosemirror_model_1 = require("prosemirror-model");
28
28
  const actions_1 = require("../actions");
29
29
  const setFragmentAsInserted_1 = require("../compute/setFragmentAsInserted");
@@ -31,6 +31,10 @@ const deleteAndMergeSplitNodes_1 = require("../mutate/deleteAndMergeSplitNodes")
31
31
  const logger_1 = require("../utils/logger");
32
32
  const trackUtils = __importStar(require("../utils/track-utils"));
33
33
  const track_utils_1 = require("../utils/track-utils");
34
+ function fakef() {
35
+ return 0;
36
+ }
37
+ exports.fakef = fakef;
34
38
  function preserveDataTrackedFromPreviousStep(newTr, step, newStep) {
35
39
  const prevDoc = newTr.docs[newTr.docs.length - 2];
36
40
  if (prevDoc && (step.slice.openEnd || step.slice.openStart)) {
@@ -5,6 +5,9 @@ import { deleteAndMergeSplitNodes } from '../mutate/deleteAndMergeSplitNodes';
5
5
  import { log } from '../utils/logger';
6
6
  import * as trackUtils from '../utils/track-utils';
7
7
  import { isLiftStep, isWrapStep } from '../utils/track-utils';
8
+ export function fakef() {
9
+ return 0;
10
+ }
8
11
  function preserveDataTrackedFromPreviousStep(newTr, step, newStep) {
9
12
  const prevDoc = newTr.docs[newTr.docs.length - 2];
10
13
  if (prevDoc && (step.slice.openEnd || step.slice.openStart)) {
@@ -3,4 +3,5 @@ import type { EditorState, Transaction } from 'prosemirror-state';
3
3
  import { ReplaceAroundStep } from 'prosemirror-transform';
4
4
  import { ChangeStep } from '../types/step';
5
5
  import { NewEmptyAttrs, TrTrackingContext } from '../types/track';
6
+ export declare function fakef(): number;
6
7
  export declare function trackReplaceAroundStep(step: ReplaceAroundStep, oldState: EditorState, tr: Transaction, newTr: Transaction, attrs: NewEmptyAttrs, currentStepDoc: PMNode, trContext: TrTrackingContext): ChangeStep[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/track-changes-plugin",
3
- "version": "1.8.7-LEAN-4145.0",
3
+ "version": "1.8.7-LEAN-4145.1",
4
4
  "author": "Atypon Systems LLC",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/Atypon-OpenSource/manuscripts-track-changes-plugin",