@atlaskit/editor-json-transformer 8.10.9 → 8.10.11
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 +56 -44
- package/dist/cjs/index.js +3 -5
- package/dist/cjs/markOverrideRules.js +2 -3
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,35 @@
|
|
|
1
1
|
# @atlaskit/editor-json-transformer
|
|
2
2
|
|
|
3
|
+
## 8.10.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#42277](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42277) [`7e381f8dd7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e381f8dd7a) - Enrol @atlaskit/editor-json-transformer to push model in JFE
|
|
8
|
+
|
|
9
|
+
## 8.10.10
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749) [`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect yarn changeset to packages, upgrade adf-schema
|
|
14
|
+
|
|
3
15
|
## 8.10.9
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete adf-schema from AFE and rely on npm package for adf-schema
|
|
19
|
+
- [#39481](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39481) [`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete adf-schema from AFE and rely on npm package for adf-schema
|
|
8
20
|
- [`4b4dcfe0bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b4dcfe0bba) - Delete adf-schema, use published version
|
|
9
21
|
|
|
10
22
|
## 8.10.8
|
|
11
23
|
|
|
12
24
|
### Patch Changes
|
|
13
25
|
|
|
14
|
-
- [`33cb07de05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33cb07de05f) - change adf-schema to fixed versioning
|
|
26
|
+
- [#38976](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38976) [`33cb07de05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33cb07de05f) - change adf-schema to fixed versioning
|
|
15
27
|
|
|
16
28
|
## 8.10.7
|
|
17
29
|
|
|
18
30
|
### Patch Changes
|
|
19
31
|
|
|
20
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
32
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
21
33
|
|
|
22
34
|
## 8.10.6
|
|
23
35
|
|
|
@@ -35,31 +47,31 @@
|
|
|
35
47
|
|
|
36
48
|
### Patch Changes
|
|
37
49
|
|
|
38
|
-
- [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
|
|
50
|
+
- [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785) [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
|
|
39
51
|
|
|
40
52
|
## 8.10.3
|
|
41
53
|
|
|
42
54
|
### Patch Changes
|
|
43
55
|
|
|
44
|
-
- [`1bfa8537fae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1bfa8537fae) - [ED-18163] Removed last circular dependencies by moving transformer tests to their related transformers and removing an unused dependency
|
|
56
|
+
- [#37004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37004) [`1bfa8537fae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1bfa8537fae) - [ED-18163] Removed last circular dependencies by moving transformer tests to their related transformers and removing an unused dependency
|
|
45
57
|
|
|
46
58
|
## 8.10.2
|
|
47
59
|
|
|
48
60
|
### Patch Changes
|
|
49
61
|
|
|
50
|
-
- [`93f5f1a9839`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93f5f1a9839) - [ED-18161] Move transformer tests to their dedicated transformers packages to avoid circular dependencies
|
|
62
|
+
- [#36798](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36798) [`93f5f1a9839`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93f5f1a9839) - [ED-18161] Move transformer tests to their dedicated transformers packages to avoid circular dependencies
|
|
51
63
|
|
|
52
64
|
## 8.10.1
|
|
53
65
|
|
|
54
66
|
### Patch Changes
|
|
55
67
|
|
|
56
|
-
- [`700074a0830`](https://bitbucket.org/atlassian/atlassian-frontend/commits/700074a0830) - [ux] ED-18027 Upgrades editor-markdown-transformer to latest version.
|
|
68
|
+
- [#36816](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36816) [`700074a0830`](https://bitbucket.org/atlassian/atlassian-frontend/commits/700074a0830) - [ux] ED-18027 Upgrades editor-markdown-transformer to latest version.
|
|
57
69
|
|
|
58
70
|
## 8.10.0
|
|
59
71
|
|
|
60
72
|
### Minor Changes
|
|
61
73
|
|
|
62
|
-
- [`65fe45e0cc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65fe45e0cc0) - Promoted border mark to full schema and add border support for email renderer
|
|
74
|
+
- [#36134](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36134) [`65fe45e0cc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65fe45e0cc0) - Promoted border mark to full schema and add border support for email renderer
|
|
63
75
|
|
|
64
76
|
### Patch Changes
|
|
65
77
|
|
|
@@ -69,7 +81,7 @@
|
|
|
69
81
|
|
|
70
82
|
### Patch Changes
|
|
71
83
|
|
|
72
|
-
- [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
|
|
84
|
+
- [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241) [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
|
|
73
85
|
|
|
74
86
|
## 8.9.5
|
|
75
87
|
|
|
@@ -81,31 +93,31 @@
|
|
|
81
93
|
|
|
82
94
|
### Patch Changes
|
|
83
95
|
|
|
84
|
-
- [`8f67b856676`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f67b856676) - [ED-18156] Remove circular dependency cycles for editor-json-transformer & editor-bitbucket-transformer
|
|
96
|
+
- [#34898](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34898) [`8f67b856676`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f67b856676) - [ED-18156] Remove circular dependency cycles for editor-json-transformer & editor-bitbucket-transformer
|
|
85
97
|
|
|
86
98
|
## 8.9.3
|
|
87
99
|
|
|
88
100
|
### Patch Changes
|
|
89
101
|
|
|
90
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
102
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
91
103
|
|
|
92
104
|
## 8.9.2
|
|
93
105
|
|
|
94
106
|
### Patch Changes
|
|
95
107
|
|
|
96
|
-
- [`a142ba1aa28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a142ba1aa28) - [ED17172] Bump prosemirror-model to 1.16.0 and prosemirror-view to 1.23.7 and removed work-arounds for fixed issues
|
|
108
|
+
- [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771) [`a142ba1aa28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a142ba1aa28) - [ED17172] Bump prosemirror-model to 1.16.0 and prosemirror-view to 1.23.7 and removed work-arounds for fixed issues
|
|
97
109
|
|
|
98
110
|
## 8.9.1
|
|
99
111
|
|
|
100
112
|
### Patch Changes
|
|
101
113
|
|
|
102
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
114
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
103
115
|
|
|
104
116
|
## 8.9.0
|
|
105
117
|
|
|
106
118
|
### Minor Changes
|
|
107
119
|
|
|
108
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
120
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
109
121
|
|
|
110
122
|
### Patch Changes
|
|
111
123
|
|
|
@@ -115,20 +127,20 @@
|
|
|
115
127
|
|
|
116
128
|
### Patch Changes
|
|
117
129
|
|
|
118
|
-
- [`0ffb55018c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ffb55018c9) - Revert "[ED-17172] Bumped prosemirror-view from 1.23.2 to 1.23.7 and removed work-around for fixed issues"
|
|
130
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004) [`0ffb55018c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ffb55018c9) - Revert "[ED-17172] Bumped prosemirror-view from 1.23.2 to 1.23.7 and removed work-around for fixed issues"
|
|
119
131
|
|
|
120
132
|
## 8.8.4
|
|
121
133
|
|
|
122
134
|
### Patch Changes
|
|
123
135
|
|
|
124
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
136
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
125
137
|
- Updated dependencies
|
|
126
138
|
|
|
127
139
|
## 8.8.3
|
|
128
140
|
|
|
129
141
|
### Patch Changes
|
|
130
142
|
|
|
131
|
-
- [`43cb4da169a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43cb4da169a) - Refactored filterNull to use a for loop rather than reduce
|
|
143
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`43cb4da169a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43cb4da169a) - Refactored filterNull to use a for loop rather than reduce
|
|
132
144
|
- [`3e03d26ca36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3e03d26ca36) - [ESS-3031] Added the capability to parse ADF documents for the stage-0 schema
|
|
133
145
|
- Updated dependencies
|
|
134
146
|
|
|
@@ -136,19 +148,19 @@
|
|
|
136
148
|
|
|
137
149
|
### Patch Changes
|
|
138
150
|
|
|
139
|
-
- [`fbbfaba77c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbbfaba77c9) - ED-13997 Fixed unhandled exception in encodeNode function
|
|
151
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`fbbfaba77c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbbfaba77c9) - ED-13997 Fixed unhandled exception in encodeNode function
|
|
140
152
|
|
|
141
153
|
## 8.8.1
|
|
142
154
|
|
|
143
155
|
### Patch Changes
|
|
144
156
|
|
|
145
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
157
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
146
158
|
|
|
147
159
|
## 8.8.0
|
|
148
160
|
|
|
149
161
|
### Minor Changes
|
|
150
162
|
|
|
151
|
-
- [`f6129bf0223`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6129bf0223) - Add support for media inline
|
|
163
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`f6129bf0223`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6129bf0223) - Add support for media inline
|
|
152
164
|
|
|
153
165
|
### Patch Changes
|
|
154
166
|
|
|
@@ -158,26 +170,26 @@
|
|
|
158
170
|
|
|
159
171
|
### Patch Changes
|
|
160
172
|
|
|
161
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
173
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
162
174
|
|
|
163
175
|
## 8.7.6
|
|
164
176
|
|
|
165
177
|
### Patch Changes
|
|
166
178
|
|
|
167
|
-
- [`01c4d8fb95a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/01c4d8fb95a) - ED-13895 update editor json transformer to emotion
|
|
179
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`01c4d8fb95a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/01c4d8fb95a) - ED-13895 update editor json transformer to emotion
|
|
168
180
|
- Updated dependencies
|
|
169
181
|
|
|
170
182
|
## 8.7.5
|
|
171
183
|
|
|
172
184
|
### Patch Changes
|
|
173
185
|
|
|
174
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
186
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
175
187
|
|
|
176
188
|
## 8.7.4
|
|
177
189
|
|
|
178
190
|
### Patch Changes
|
|
179
191
|
|
|
180
|
-
- [`b29ce16dad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b29ce16dad8) - [ED-14606] Move bitbucket schema, confluence schema, jira schema, and default schema from @atlaskit/adf-schema to their own entry points. These new entry points are as follows
|
|
192
|
+
- [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033) [`b29ce16dad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b29ce16dad8) - [ED-14606] Move bitbucket schema, confluence schema, jira schema, and default schema from @atlaskit/adf-schema to their own entry points. These new entry points are as follows
|
|
181
193
|
|
|
182
194
|
@atlaskit/adf-schema/schema-bitbucket for:
|
|
183
195
|
|
|
@@ -223,7 +235,7 @@
|
|
|
223
235
|
|
|
224
236
|
### Patch Changes
|
|
225
237
|
|
|
226
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13025 Bump prosemirror-view 1.23.1 -> 1.23.2
|
|
238
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13025 Bump prosemirror-view 1.23.1 -> 1.23.2
|
|
227
239
|
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13753 Updated editor-common import entries.
|
|
228
240
|
- Updated dependencies
|
|
229
241
|
|
|
@@ -231,13 +243,13 @@
|
|
|
231
243
|
|
|
232
244
|
### Patch Changes
|
|
233
245
|
|
|
234
|
-
- [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
246
|
+
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475) [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
235
247
|
|
|
236
248
|
## 8.7.0
|
|
237
249
|
|
|
238
250
|
### Minor Changes
|
|
239
251
|
|
|
240
|
-
- [`b230f366971`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b230f366971) - [ED-14008] Bump prosemirror-view from 1.20.2 to 1.23.1
|
|
252
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`b230f366971`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b230f366971) - [ED-14008] Bump prosemirror-view from 1.20.2 to 1.23.1
|
|
241
253
|
- [`8bbb96540ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8bbb96540ea) - Add "fragment" mark to stage0 ADF schema
|
|
242
254
|
|
|
243
255
|
### Patch Changes
|
|
@@ -256,14 +268,14 @@
|
|
|
256
268
|
|
|
257
269
|
### Patch Changes
|
|
258
270
|
|
|
259
|
-
- [`2aef13b22d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2aef13b22d8) - ED-12604: add localId for tables and dataConsumer mark for extensions in full schema
|
|
271
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`2aef13b22d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2aef13b22d8) - ED-12604: add localId for tables and dataConsumer mark for extensions in full schema
|
|
260
272
|
- Updated dependencies
|
|
261
273
|
|
|
262
274
|
## 8.6.5
|
|
263
275
|
|
|
264
276
|
### Patch Changes
|
|
265
277
|
|
|
266
|
-
- [`55e64e9e8d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55e64e9e8d6) - COLLAB-754: remove react peerDependency
|
|
278
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`55e64e9e8d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55e64e9e8d6) - COLLAB-754: remove react peerDependency
|
|
267
279
|
|
|
268
280
|
## 8.6.4
|
|
269
281
|
|
|
@@ -275,7 +287,7 @@
|
|
|
275
287
|
|
|
276
288
|
### Patch Changes
|
|
277
289
|
|
|
278
|
-
- [`566f674ac8f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/566f674ac8f) - _Removes_ `allowReferentiality` & `UNSAFE_allowDataConsumer` props from editor props.
|
|
290
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`566f674ac8f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/566f674ac8f) - _Removes_ `allowReferentiality` & `UNSAFE_allowDataConsumer` props from editor props.
|
|
279
291
|
These can now be toggled via the feature flags prop, e.g.
|
|
280
292
|
|
|
281
293
|
```tsx
|
|
@@ -299,14 +311,14 @@
|
|
|
299
311
|
|
|
300
312
|
### Patch Changes
|
|
301
313
|
|
|
302
|
-
- [`653093877f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/653093877f8) - Update data-consumer behaviour for json transforming
|
|
314
|
+
- [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756) [`653093877f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/653093877f8) - Update data-consumer behaviour for json transforming
|
|
303
315
|
- Updated dependencies
|
|
304
316
|
|
|
305
317
|
## 8.6.0
|
|
306
318
|
|
|
307
319
|
### Minor Changes
|
|
308
320
|
|
|
309
|
-
- [`9c36253ed5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c36253ed5e) - ED-10216 Add sanitizeNode into @atlaskit/editor-json-transformer
|
|
321
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`9c36253ed5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c36253ed5e) - ED-10216 Add sanitizeNode into @atlaskit/editor-json-transformer
|
|
310
322
|
|
|
311
323
|
### Patch Changes
|
|
312
324
|
|
|
@@ -317,7 +329,7 @@
|
|
|
317
329
|
|
|
318
330
|
### Minor Changes
|
|
319
331
|
|
|
320
|
-
- [`96219e933e9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96219e933e9) - Update json transformer for improving data-consumer support
|
|
332
|
+
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083) [`96219e933e9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96219e933e9) - Update json transformer for improving data-consumer support
|
|
321
333
|
|
|
322
334
|
### Patch Changes
|
|
323
335
|
|
|
@@ -334,27 +346,27 @@
|
|
|
334
346
|
|
|
335
347
|
### Patch Changes
|
|
336
348
|
|
|
337
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
349
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
338
350
|
|
|
339
351
|
## 8.4.3
|
|
340
352
|
|
|
341
353
|
### Patch Changes
|
|
342
354
|
|
|
343
|
-
- [`0175a00afc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0175a00afc) - [ED-10670] Update prosemirror-model type to use posAtIndex methods
|
|
355
|
+
- [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228) [`0175a00afc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0175a00afc) - [ED-10670] Update prosemirror-model type to use posAtIndex methods
|
|
344
356
|
- Updated dependencies
|
|
345
357
|
|
|
346
358
|
## 8.4.2
|
|
347
359
|
|
|
348
360
|
### Patch Changes
|
|
349
361
|
|
|
350
|
-
- [`703752d487`](https://bitbucket.org/atlassian/atlassian-frontend/commits/703752d487) - ED-10647 Remove caret from prosemirror-model, prosemirror-keymap, prosemirror-state, prosemirror-transform to lock them down to an explicit version
|
|
362
|
+
- [#5860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5860) [`703752d487`](https://bitbucket.org/atlassian/atlassian-frontend/commits/703752d487) - ED-10647 Remove caret from prosemirror-model, prosemirror-keymap, prosemirror-state, prosemirror-transform to lock them down to an explicit version
|
|
351
363
|
- Updated dependencies
|
|
352
364
|
|
|
353
365
|
## 8.4.1
|
|
354
366
|
|
|
355
367
|
### Patch Changes
|
|
356
368
|
|
|
357
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
369
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
358
370
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
359
371
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
360
372
|
|
|
@@ -362,7 +374,7 @@
|
|
|
362
374
|
|
|
363
375
|
### Minor Changes
|
|
364
376
|
|
|
365
|
-
- [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump ProseMirror packages
|
|
377
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump ProseMirror packages
|
|
366
378
|
|
|
367
379
|
Read more: https://product-fabric.atlassian.net/wiki/spaces/E/pages/1671956531/2020-08
|
|
368
380
|
|
|
@@ -374,7 +386,7 @@
|
|
|
374
386
|
|
|
375
387
|
### Minor Changes
|
|
376
388
|
|
|
377
|
-
- [`795d4f1c8e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/795d4f1c8e) - ED-9832 Handle repeating mark overrides
|
|
389
|
+
- [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424) [`795d4f1c8e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/795d4f1c8e) - ED-9832 Handle repeating mark overrides
|
|
378
390
|
- [`e4114d7053`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4114d7053) - ED-9607 - Preserve Unsupported Node attributes
|
|
379
391
|
|
|
380
392
|
### Patch Changes
|
|
@@ -385,7 +397,7 @@
|
|
|
385
397
|
|
|
386
398
|
### Patch Changes
|
|
387
399
|
|
|
388
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
400
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
389
401
|
|
|
390
402
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
391
403
|
to prevent duplicates of tslib being bundled.
|
|
@@ -394,7 +406,7 @@
|
|
|
394
406
|
|
|
395
407
|
### Minor Changes
|
|
396
408
|
|
|
397
|
-
- [`d55f8066fd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d55f8066fd) - ED-9569 Preserve unsupported mark attribute and value
|
|
409
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`d55f8066fd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d55f8066fd) - ED-9569 Preserve unsupported mark attribute and value
|
|
398
410
|
|
|
399
411
|
### Patch Changes
|
|
400
412
|
|
|
@@ -405,7 +417,7 @@
|
|
|
405
417
|
|
|
406
418
|
### Minor Changes
|
|
407
419
|
|
|
408
|
-
- [`b7c4fc3b08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7c4fc3b08) - Preseve unsupported mark from getting lost
|
|
420
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`b7c4fc3b08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7c4fc3b08) - Preseve unsupported mark from getting lost
|
|
409
421
|
|
|
410
422
|
### Patch Changes
|
|
411
423
|
|
|
@@ -415,7 +427,7 @@
|
|
|
415
427
|
|
|
416
428
|
### Major Changes
|
|
417
429
|
|
|
418
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
430
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
419
431
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
420
432
|
|
|
421
433
|
### Patch Changes
|
|
@@ -438,7 +450,7 @@
|
|
|
438
450
|
|
|
439
451
|
### Patch Changes
|
|
440
452
|
|
|
441
|
-
- [`a6db2efbe3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a6db2efbe3) - Change imports to comply with Atlassian conventions- Updated dependencies
|
|
453
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`a6db2efbe3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a6db2efbe3) - Change imports to comply with Atlassian conventions- Updated dependencies
|
|
442
454
|
|
|
443
455
|
## 7.0.11
|
|
444
456
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -20,12 +20,11 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
20
20
|
function _toPrimitive(input, hint) { if (_typeof3(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof3(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
21
21
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
22
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
|
-
var SchemaStage = /*#__PURE__*/function (SchemaStage) {
|
|
23
|
+
var SchemaStage = exports.SchemaStage = /*#__PURE__*/function (SchemaStage) {
|
|
24
24
|
SchemaStage["FINAL"] = "final";
|
|
25
25
|
SchemaStage["STAGE_0"] = "stage0";
|
|
26
26
|
return SchemaStage;
|
|
27
27
|
}({});
|
|
28
|
-
exports.SchemaStage = SchemaStage;
|
|
29
28
|
var isType = function isType(type) {
|
|
30
29
|
return function (node) {
|
|
31
30
|
return node.type.name === type;
|
|
@@ -176,7 +175,7 @@ var getUnwrappedNodeAttributes = function getUnwrappedNodeAttributes(node, mark,
|
|
|
176
175
|
}
|
|
177
176
|
return attributes;
|
|
178
177
|
};
|
|
179
|
-
var JSONTransformer = /*#__PURE__*/function () {
|
|
178
|
+
var JSONTransformer = exports.JSONTransformer = /*#__PURE__*/function () {
|
|
180
179
|
function JSONTransformer() {
|
|
181
180
|
(0, _classCallCheck2.default)(this, JSONTransformer);
|
|
182
181
|
}
|
|
@@ -223,5 +222,4 @@ var JSONTransformer = /*#__PURE__*/function () {
|
|
|
223
222
|
}
|
|
224
223
|
}]);
|
|
225
224
|
return JSONTransformer;
|
|
226
|
-
}();
|
|
227
|
-
exports.JSONTransformer = JSONTransformer;
|
|
225
|
+
}();
|
|
@@ -14,7 +14,7 @@ var defaultDoNotAllowOverrideBehaviour = {
|
|
|
14
14
|
return false;
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
|
-
var markOverrideRuleFor = function markOverrideRuleFor(type) {
|
|
17
|
+
var markOverrideRuleFor = exports.markOverrideRuleFor = function markOverrideRuleFor(type) {
|
|
18
18
|
switch (type) {
|
|
19
19
|
case 'link':
|
|
20
20
|
case 'em':
|
|
@@ -33,5 +33,4 @@ var markOverrideRuleFor = function markOverrideRuleFor(type) {
|
|
|
33
33
|
default:
|
|
34
34
|
return defaultDoNotAllowOverrideBehaviour;
|
|
35
35
|
}
|
|
36
|
-
};
|
|
37
|
-
exports.markOverrideRuleFor = markOverrideRuleFor;
|
|
36
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-json-transformer",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.11",
|
|
4
4
|
"description": "JSON transformer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"team": "Editor: ADF",
|
|
27
27
|
"inPublicMirror": true,
|
|
28
28
|
"releaseModel": "continuous",
|
|
29
|
+
"productPushConsumption": [
|
|
30
|
+
"jira"
|
|
31
|
+
],
|
|
29
32
|
"website": {
|
|
30
33
|
"name": "Editor Json Transformer"
|
|
31
34
|
}
|
|
@@ -37,7 +40,7 @@
|
|
|
37
40
|
"./types": "./src/types.ts"
|
|
38
41
|
},
|
|
39
42
|
"dependencies": {
|
|
40
|
-
"@atlaskit/adf-schema": "^
|
|
43
|
+
"@atlaskit/adf-schema": "^32.0.0",
|
|
41
44
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
42
45
|
"@babel/runtime": "^7.0.0",
|
|
43
46
|
"lodash": "^4.17.21"
|