@atlaskit/editor-json-transformer 8.10.8 → 8.10.10
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 -43
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/sanitize/remove-marks.js +2 -2
- package/dist/cjs/sanitize/sanitize-node.js +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/sanitize/remove-marks.js +2 -2
- package/dist/esm/sanitize/sanitize-node.js +2 -2
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,29 @@
|
|
|
1
1
|
# @atlaskit/editor-json-transformer
|
|
2
2
|
|
|
3
|
+
## 8.10.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
|
|
9
|
+
## 8.10.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
- [`4b4dcfe0bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b4dcfe0bba) - Delete adf-schema, use published version
|
|
15
|
+
|
|
3
16
|
## 8.10.8
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
6
19
|
|
|
7
|
-
- [`33cb07de05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33cb07de05f) - change adf-schema to fixed versioning
|
|
20
|
+
- [#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
|
|
8
21
|
|
|
9
22
|
## 8.10.7
|
|
10
23
|
|
|
11
24
|
### Patch Changes
|
|
12
25
|
|
|
13
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
26
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
14
27
|
|
|
15
28
|
## 8.10.6
|
|
16
29
|
|
|
@@ -28,31 +41,31 @@
|
|
|
28
41
|
|
|
29
42
|
### Patch Changes
|
|
30
43
|
|
|
31
|
-
- [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
|
|
44
|
+
- [#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
|
|
32
45
|
|
|
33
46
|
## 8.10.3
|
|
34
47
|
|
|
35
48
|
### Patch Changes
|
|
36
49
|
|
|
37
|
-
- [`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
|
|
50
|
+
- [#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
|
|
38
51
|
|
|
39
52
|
## 8.10.2
|
|
40
53
|
|
|
41
54
|
### Patch Changes
|
|
42
55
|
|
|
43
|
-
- [`93f5f1a9839`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93f5f1a9839) - [ED-18161] Move transformer tests to their dedicated transformers packages to avoid circular dependencies
|
|
56
|
+
- [#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
|
|
44
57
|
|
|
45
58
|
## 8.10.1
|
|
46
59
|
|
|
47
60
|
### Patch Changes
|
|
48
61
|
|
|
49
|
-
- [`700074a0830`](https://bitbucket.org/atlassian/atlassian-frontend/commits/700074a0830) - [ux] ED-18027 Upgrades editor-markdown-transformer to latest version.
|
|
62
|
+
- [#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.
|
|
50
63
|
|
|
51
64
|
## 8.10.0
|
|
52
65
|
|
|
53
66
|
### Minor Changes
|
|
54
67
|
|
|
55
|
-
- [`65fe45e0cc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65fe45e0cc0) - Promoted border mark to full schema and add border support for email renderer
|
|
68
|
+
- [#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
|
|
56
69
|
|
|
57
70
|
### Patch Changes
|
|
58
71
|
|
|
@@ -62,7 +75,7 @@
|
|
|
62
75
|
|
|
63
76
|
### Patch Changes
|
|
64
77
|
|
|
65
|
-
- [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
|
|
78
|
+
- [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241) [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
|
|
66
79
|
|
|
67
80
|
## 8.9.5
|
|
68
81
|
|
|
@@ -74,31 +87,31 @@
|
|
|
74
87
|
|
|
75
88
|
### Patch Changes
|
|
76
89
|
|
|
77
|
-
- [`8f67b856676`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f67b856676) - [ED-18156] Remove circular dependency cycles for editor-json-transformer & editor-bitbucket-transformer
|
|
90
|
+
- [#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
|
|
78
91
|
|
|
79
92
|
## 8.9.3
|
|
80
93
|
|
|
81
94
|
### Patch Changes
|
|
82
95
|
|
|
83
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
96
|
+
- [#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
|
|
84
97
|
|
|
85
98
|
## 8.9.2
|
|
86
99
|
|
|
87
100
|
### Patch Changes
|
|
88
101
|
|
|
89
|
-
- [`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
|
|
102
|
+
- [#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
|
|
90
103
|
|
|
91
104
|
## 8.9.1
|
|
92
105
|
|
|
93
106
|
### Patch Changes
|
|
94
107
|
|
|
95
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
108
|
+
- [#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`
|
|
96
109
|
|
|
97
110
|
## 8.9.0
|
|
98
111
|
|
|
99
112
|
### Minor Changes
|
|
100
113
|
|
|
101
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
114
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
102
115
|
|
|
103
116
|
### Patch Changes
|
|
104
117
|
|
|
@@ -108,20 +121,20 @@
|
|
|
108
121
|
|
|
109
122
|
### Patch Changes
|
|
110
123
|
|
|
111
|
-
- [`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"
|
|
124
|
+
- [#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"
|
|
112
125
|
|
|
113
126
|
## 8.8.4
|
|
114
127
|
|
|
115
128
|
### Patch Changes
|
|
116
129
|
|
|
117
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
130
|
+
- [#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
|
|
118
131
|
- Updated dependencies
|
|
119
132
|
|
|
120
133
|
## 8.8.3
|
|
121
134
|
|
|
122
135
|
### Patch Changes
|
|
123
136
|
|
|
124
|
-
- [`43cb4da169a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43cb4da169a) - Refactored filterNull to use a for loop rather than reduce
|
|
137
|
+
- [#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
|
|
125
138
|
- [`3e03d26ca36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3e03d26ca36) - [ESS-3031] Added the capability to parse ADF documents for the stage-0 schema
|
|
126
139
|
- Updated dependencies
|
|
127
140
|
|
|
@@ -129,19 +142,19 @@
|
|
|
129
142
|
|
|
130
143
|
### Patch Changes
|
|
131
144
|
|
|
132
|
-
- [`fbbfaba77c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbbfaba77c9) - ED-13997 Fixed unhandled exception in encodeNode function
|
|
145
|
+
- [#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
|
|
133
146
|
|
|
134
147
|
## 8.8.1
|
|
135
148
|
|
|
136
149
|
### Patch Changes
|
|
137
150
|
|
|
138
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
151
|
+
- [#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`
|
|
139
152
|
|
|
140
153
|
## 8.8.0
|
|
141
154
|
|
|
142
155
|
### Minor Changes
|
|
143
156
|
|
|
144
|
-
- [`f6129bf0223`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6129bf0223) - Add support for media inline
|
|
157
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`f6129bf0223`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6129bf0223) - Add support for media inline
|
|
145
158
|
|
|
146
159
|
### Patch Changes
|
|
147
160
|
|
|
@@ -151,26 +164,26 @@
|
|
|
151
164
|
|
|
152
165
|
### Patch Changes
|
|
153
166
|
|
|
154
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
167
|
+
- [#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`.
|
|
155
168
|
|
|
156
169
|
## 8.7.6
|
|
157
170
|
|
|
158
171
|
### Patch Changes
|
|
159
172
|
|
|
160
|
-
- [`01c4d8fb95a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/01c4d8fb95a) - ED-13895 update editor json transformer to emotion
|
|
173
|
+
- [#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
|
|
161
174
|
- Updated dependencies
|
|
162
175
|
|
|
163
176
|
## 8.7.5
|
|
164
177
|
|
|
165
178
|
### Patch Changes
|
|
166
179
|
|
|
167
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
180
|
+
- [#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
|
|
168
181
|
|
|
169
182
|
## 8.7.4
|
|
170
183
|
|
|
171
184
|
### Patch Changes
|
|
172
185
|
|
|
173
|
-
- [`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
|
|
186
|
+
- [#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
|
|
174
187
|
|
|
175
188
|
@atlaskit/adf-schema/schema-bitbucket for:
|
|
176
189
|
|
|
@@ -216,7 +229,7 @@
|
|
|
216
229
|
|
|
217
230
|
### Patch Changes
|
|
218
231
|
|
|
219
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13025 Bump prosemirror-view 1.23.1 -> 1.23.2
|
|
232
|
+
- [#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
|
|
220
233
|
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13753 Updated editor-common import entries.
|
|
221
234
|
- Updated dependencies
|
|
222
235
|
|
|
@@ -224,13 +237,13 @@
|
|
|
224
237
|
|
|
225
238
|
### Patch Changes
|
|
226
239
|
|
|
227
|
-
- [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
240
|
+
- [#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
|
|
228
241
|
|
|
229
242
|
## 8.7.0
|
|
230
243
|
|
|
231
244
|
### Minor Changes
|
|
232
245
|
|
|
233
|
-
- [`b230f366971`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b230f366971) - [ED-14008] Bump prosemirror-view from 1.20.2 to 1.23.1
|
|
246
|
+
- [#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
|
|
234
247
|
- [`8bbb96540ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8bbb96540ea) - Add "fragment" mark to stage0 ADF schema
|
|
235
248
|
|
|
236
249
|
### Patch Changes
|
|
@@ -249,14 +262,14 @@
|
|
|
249
262
|
|
|
250
263
|
### Patch Changes
|
|
251
264
|
|
|
252
|
-
- [`2aef13b22d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2aef13b22d8) - ED-12604: add localId for tables and dataConsumer mark for extensions in full schema
|
|
265
|
+
- [#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
|
|
253
266
|
- Updated dependencies
|
|
254
267
|
|
|
255
268
|
## 8.6.5
|
|
256
269
|
|
|
257
270
|
### Patch Changes
|
|
258
271
|
|
|
259
|
-
- [`55e64e9e8d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55e64e9e8d6) - COLLAB-754: remove react peerDependency
|
|
272
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`55e64e9e8d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55e64e9e8d6) - COLLAB-754: remove react peerDependency
|
|
260
273
|
|
|
261
274
|
## 8.6.4
|
|
262
275
|
|
|
@@ -268,7 +281,7 @@
|
|
|
268
281
|
|
|
269
282
|
### Patch Changes
|
|
270
283
|
|
|
271
|
-
- [`566f674ac8f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/566f674ac8f) - _Removes_ `allowReferentiality` & `UNSAFE_allowDataConsumer` props from editor props.
|
|
284
|
+
- [#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.
|
|
272
285
|
These can now be toggled via the feature flags prop, e.g.
|
|
273
286
|
|
|
274
287
|
```tsx
|
|
@@ -292,14 +305,14 @@
|
|
|
292
305
|
|
|
293
306
|
### Patch Changes
|
|
294
307
|
|
|
295
|
-
- [`653093877f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/653093877f8) - Update data-consumer behaviour for json transforming
|
|
308
|
+
- [#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
|
|
296
309
|
- Updated dependencies
|
|
297
310
|
|
|
298
311
|
## 8.6.0
|
|
299
312
|
|
|
300
313
|
### Minor Changes
|
|
301
314
|
|
|
302
|
-
- [`9c36253ed5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c36253ed5e) - ED-10216 Add sanitizeNode into @atlaskit/editor-json-transformer
|
|
315
|
+
- [#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
|
|
303
316
|
|
|
304
317
|
### Patch Changes
|
|
305
318
|
|
|
@@ -310,7 +323,7 @@
|
|
|
310
323
|
|
|
311
324
|
### Minor Changes
|
|
312
325
|
|
|
313
|
-
- [`96219e933e9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96219e933e9) - Update json transformer for improving data-consumer support
|
|
326
|
+
- [#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
|
|
314
327
|
|
|
315
328
|
### Patch Changes
|
|
316
329
|
|
|
@@ -327,27 +340,27 @@
|
|
|
327
340
|
|
|
328
341
|
### Patch Changes
|
|
329
342
|
|
|
330
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
343
|
+
- [#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
|
|
331
344
|
|
|
332
345
|
## 8.4.3
|
|
333
346
|
|
|
334
347
|
### Patch Changes
|
|
335
348
|
|
|
336
|
-
- [`0175a00afc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0175a00afc) - [ED-10670] Update prosemirror-model type to use posAtIndex methods
|
|
349
|
+
- [#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
|
|
337
350
|
- Updated dependencies
|
|
338
351
|
|
|
339
352
|
## 8.4.2
|
|
340
353
|
|
|
341
354
|
### Patch Changes
|
|
342
355
|
|
|
343
|
-
- [`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
|
|
356
|
+
- [#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
|
|
344
357
|
- Updated dependencies
|
|
345
358
|
|
|
346
359
|
## 8.4.1
|
|
347
360
|
|
|
348
361
|
### Patch Changes
|
|
349
362
|
|
|
350
|
-
- [`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.
|
|
363
|
+
- [#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.
|
|
351
364
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
352
365
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
353
366
|
|
|
@@ -355,7 +368,7 @@
|
|
|
355
368
|
|
|
356
369
|
### Minor Changes
|
|
357
370
|
|
|
358
|
-
- [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump ProseMirror packages
|
|
371
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump ProseMirror packages
|
|
359
372
|
|
|
360
373
|
Read more: https://product-fabric.atlassian.net/wiki/spaces/E/pages/1671956531/2020-08
|
|
361
374
|
|
|
@@ -367,7 +380,7 @@
|
|
|
367
380
|
|
|
368
381
|
### Minor Changes
|
|
369
382
|
|
|
370
|
-
- [`795d4f1c8e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/795d4f1c8e) - ED-9832 Handle repeating mark overrides
|
|
383
|
+
- [#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
|
|
371
384
|
- [`e4114d7053`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4114d7053) - ED-9607 - Preserve Unsupported Node attributes
|
|
372
385
|
|
|
373
386
|
### Patch Changes
|
|
@@ -378,7 +391,7 @@
|
|
|
378
391
|
|
|
379
392
|
### Patch Changes
|
|
380
393
|
|
|
381
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
394
|
+
- [#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
|
|
382
395
|
|
|
383
396
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
384
397
|
to prevent duplicates of tslib being bundled.
|
|
@@ -387,7 +400,7 @@
|
|
|
387
400
|
|
|
388
401
|
### Minor Changes
|
|
389
402
|
|
|
390
|
-
- [`d55f8066fd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d55f8066fd) - ED-9569 Preserve unsupported mark attribute and value
|
|
403
|
+
- [#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
|
|
391
404
|
|
|
392
405
|
### Patch Changes
|
|
393
406
|
|
|
@@ -398,7 +411,7 @@
|
|
|
398
411
|
|
|
399
412
|
### Minor Changes
|
|
400
413
|
|
|
401
|
-
- [`b7c4fc3b08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7c4fc3b08) - Preseve unsupported mark from getting lost
|
|
414
|
+
- [#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
|
|
402
415
|
|
|
403
416
|
### Patch Changes
|
|
404
417
|
|
|
@@ -408,7 +421,7 @@
|
|
|
408
421
|
|
|
409
422
|
### Major Changes
|
|
410
423
|
|
|
411
|
-
- [`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.
|
|
424
|
+
- [#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.
|
|
412
425
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
413
426
|
|
|
414
427
|
### Patch Changes
|
|
@@ -431,7 +444,7 @@
|
|
|
431
444
|
|
|
432
445
|
### Patch Changes
|
|
433
446
|
|
|
434
|
-
- [`a6db2efbe3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a6db2efbe3) - Change imports to comply with Atlassian conventions- Updated dependencies
|
|
447
|
+
- [#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
|
|
435
448
|
|
|
436
449
|
## 7.0.11
|
|
437
450
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -18,8 +18,8 @@ var _markOverrideRules = require("./markOverrideRules");
|
|
|
18
18
|
var _sanitizeNode = require("./sanitize/sanitize-node");
|
|
19
19
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof3(key) === "symbol" ? key : String(key); }
|
|
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
|
-
function ownKeys(
|
|
22
|
-
function _objectSpread(
|
|
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
|
+
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
23
|
var SchemaStage = /*#__PURE__*/function (SchemaStage) {
|
|
24
24
|
SchemaStage["FINAL"] = "final";
|
|
25
25
|
SchemaStage["STAGE_0"] = "stage0";
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.removeMarks = removeMarks;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
-
function ownKeys(
|
|
10
|
-
function _objectSpread(
|
|
9
|
+
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; }
|
|
10
|
+
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; }
|
|
11
11
|
function removeMarks(node) {
|
|
12
12
|
var newNode = _objectSpread({}, node);
|
|
13
13
|
delete newNode.marks;
|
|
@@ -8,8 +8,8 @@ exports.sanitizeNode = sanitizeNode;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _traverse = require("@atlaskit/adf-utils/traverse");
|
|
10
10
|
var _removeMarks = require("./remove-marks");
|
|
11
|
-
function ownKeys(
|
|
12
|
-
function _objectSpread(
|
|
11
|
+
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; }
|
|
12
|
+
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; }
|
|
13
13
|
function sanitizeNode(json) {
|
|
14
14
|
var sanitizedJSON = (0, _traverse.traverse)(json, {
|
|
15
15
|
text: function text(node) {
|
package/dist/esm/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
5
5
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
6
6
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
7
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
|
-
function ownKeys(
|
|
9
|
-
function _objectSpread(
|
|
8
|
+
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; }
|
|
9
|
+
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) { _defineProperty(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; }
|
|
10
10
|
import isEqual from 'lodash/isEqual';
|
|
11
11
|
import { codeBlockToJSON, dataConsumerToJSON, expandToJSON, fragmentToJSON, linkToJSON, mediaSingleToJSON, mediaToJSON, mentionToJSON, tableToJSON, toJSONTableCell, toJSONTableHeader } from '@atlaskit/adf-schema';
|
|
12
12
|
import { getSchemaBasedOnStage } from '@atlaskit/adf-schema/schema-default';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
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; }
|
|
3
|
+
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) { _defineProperty(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; }
|
|
4
4
|
export function removeMarks(node) {
|
|
5
5
|
var newNode = _objectSpread({}, node);
|
|
6
6
|
delete newNode.marks;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
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; }
|
|
3
|
+
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) { _defineProperty(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; }
|
|
4
4
|
import { traverse } from '@atlaskit/adf-utils/traverse';
|
|
5
5
|
import { removeMarks } from './remove-marks';
|
|
6
6
|
export function sanitizeNode(json) {
|
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.10",
|
|
4
4
|
"description": "JSON transformer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"atlaskit:src": "src/index.ts",
|
|
25
25
|
"atlassian": {
|
|
26
|
-
"team": "Editor",
|
|
26
|
+
"team": "Editor: ADF",
|
|
27
27
|
"inPublicMirror": true,
|
|
28
28
|
"releaseModel": "continuous",
|
|
29
29
|
"website": {
|
|
@@ -37,14 +37,13 @@
|
|
|
37
37
|
"./types": "./src/types.ts"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@atlaskit/adf-schema": "
|
|
40
|
+
"@atlaskit/adf-schema": "^32.0.0",
|
|
41
41
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"lodash": "^4.17.21"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
47
|
-
"@atlaskit/editor-test-helpers": "^18.11.0",
|
|
48
47
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
49
48
|
"react": "^16.8.0",
|
|
50
49
|
"typescript": "~4.9.5"
|