@atlaskit/editor-plugin-show-diff 6.2.14 → 6.2.16
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.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/pm-plugins/NodeViewSerializer.js +3 -3
- package/dist/es2019/pm-plugins/NodeViewSerializer.js +3 -3
- package/dist/esm/pm-plugins/NodeViewSerializer.js +3 -3
- package/dist/types/pm-plugins/NodeViewSerializer.d.ts +1 -1
- package/dist/types/pm-plugins/calculateDiff/groupChangesByBlock.d.ts +1 -1
- package/dist/types/pm-plugins/decorations/createChangedRowDecorationWidgets.d.ts +1 -1
- package/dist/types/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/NodeViewSerializer.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/calculateDiff/groupChangesByBlock.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/decorations/createChangedRowDecorationWidgets.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/main.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-show-diff
|
|
2
2
|
|
|
3
|
+
## 6.2.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7b7c52dff5d7d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b7c52dff5d7d) -
|
|
8
|
+
Fix eslint violations for type import syntax
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 6.2.15
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.2.14
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -137,7 +137,7 @@ var NodeViewSerializer = exports.NodeViewSerializer = /*#__PURE__*/function () {
|
|
|
137
137
|
// Iteratively populate children
|
|
138
138
|
this.appendChildNodes(targetNode.children, contentDOM);
|
|
139
139
|
return dom;
|
|
140
|
-
} catch (
|
|
140
|
+
} catch (_unused) {
|
|
141
141
|
return null;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -153,7 +153,7 @@ var NodeViewSerializer = exports.NodeViewSerializer = /*#__PURE__*/function () {
|
|
|
153
153
|
}
|
|
154
154
|
try {
|
|
155
155
|
return this.serializer.serializeNode(node);
|
|
156
|
-
} catch (
|
|
156
|
+
} catch (_unused2) {
|
|
157
157
|
return null;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
@@ -169,7 +169,7 @@ var NodeViewSerializer = exports.NodeViewSerializer = /*#__PURE__*/function () {
|
|
|
169
169
|
}
|
|
170
170
|
try {
|
|
171
171
|
return this.serializer.serializeFragment(fragment);
|
|
172
|
-
} catch (
|
|
172
|
+
} catch (_unused3) {
|
|
173
173
|
return null;
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -120,7 +120,7 @@ export class NodeViewSerializer {
|
|
|
120
120
|
// Iteratively populate children
|
|
121
121
|
this.appendChildNodes(targetNode.children, contentDOM);
|
|
122
122
|
return dom;
|
|
123
|
-
} catch
|
|
123
|
+
} catch {
|
|
124
124
|
return null;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -134,7 +134,7 @@ export class NodeViewSerializer {
|
|
|
134
134
|
}
|
|
135
135
|
try {
|
|
136
136
|
return this.serializer.serializeNode(node);
|
|
137
|
-
} catch
|
|
137
|
+
} catch {
|
|
138
138
|
return null;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
@@ -148,7 +148,7 @@ export class NodeViewSerializer {
|
|
|
148
148
|
}
|
|
149
149
|
try {
|
|
150
150
|
return this.serializer.serializeFragment(fragment);
|
|
151
|
-
} catch
|
|
151
|
+
} catch {
|
|
152
152
|
return null;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -130,7 +130,7 @@ export var NodeViewSerializer = /*#__PURE__*/function () {
|
|
|
130
130
|
// Iteratively populate children
|
|
131
131
|
this.appendChildNodes(targetNode.children, contentDOM);
|
|
132
132
|
return dom;
|
|
133
|
-
} catch (
|
|
133
|
+
} catch (_unused) {
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
@@ -146,7 +146,7 @@ export var NodeViewSerializer = /*#__PURE__*/function () {
|
|
|
146
146
|
}
|
|
147
147
|
try {
|
|
148
148
|
return this.serializer.serializeNode(node);
|
|
149
|
-
} catch (
|
|
149
|
+
} catch (_unused2) {
|
|
150
150
|
return null;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
@@ -162,7 +162,7 @@ export var NodeViewSerializer = /*#__PURE__*/function () {
|
|
|
162
162
|
}
|
|
163
163
|
try {
|
|
164
164
|
return this.serializer.serializeFragment(fragment);
|
|
165
|
-
} catch (
|
|
165
|
+
} catch (_unused3) {
|
|
166
166
|
return null;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
|
|
2
2
|
import type { Node as PMNode, Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Change } from 'prosemirror-changeset';
|
|
2
2
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
/**
|
|
4
4
|
* Groups all changes that fall within the same top-level block (direct child of doc)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Change } from 'prosemirror-changeset';
|
|
2
|
-
import {
|
|
2
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import { Decoration } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { ColorScheme } from '../../showDiffPluginType';
|
|
5
5
|
import type { NodeViewSerializer } from '../NodeViewSerializer';
|
|
@@ -5,7 +5,7 @@ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
|
5
5
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
6
6
|
import { Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform';
|
|
7
7
|
import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
8
|
-
import {
|
|
8
|
+
import type { DiffParams, DiffType, ShowDiffPlugin } from '../showDiffPluginType';
|
|
9
9
|
export declare const showDiffPluginKey: PluginKey<ShowDiffPluginState>;
|
|
10
10
|
export type ShowDiffPluginState = {
|
|
11
11
|
activeIndex?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
|
|
2
2
|
import type { Node as PMNode, Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Change } from 'prosemirror-changeset';
|
|
2
2
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
/**
|
|
4
4
|
* Groups all changes that fall within the same top-level block (direct child of doc)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Change } from 'prosemirror-changeset';
|
|
2
|
-
import {
|
|
2
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import { Decoration } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { ColorScheme } from '../../showDiffPluginType';
|
|
5
5
|
import type { NodeViewSerializer } from '../NodeViewSerializer';
|
|
@@ -5,7 +5,7 @@ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
|
5
5
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
6
6
|
import { Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform';
|
|
7
7
|
import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
8
|
-
import {
|
|
8
|
+
import type { DiffParams, DiffType, ShowDiffPlugin } from '../showDiffPluginType';
|
|
9
9
|
export declare const showDiffPluginKey: PluginKey<ShowDiffPluginState>;
|
|
10
10
|
export type ShowDiffPluginState = {
|
|
11
11
|
activeIndex?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-show-diff",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.16",
|
|
4
4
|
"description": "ShowDiff plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
35
35
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
37
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
37
|
+
"@atlaskit/tmp-editor-statsig": "^58.0.0",
|
|
38
38
|
"@atlaskit/tokens": "^12.0.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
40
|
"lodash": "^4.17.21",
|