@atlaskit/editor-jira-transformer 8.3.15 → 8.3.17
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 +43 -30
- package/dist/cjs/collapse-whitespace.js +1 -2
- package/dist/cjs/index.js +2 -3
- package/dist/cjs/utils.js +1 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-jira-transformer
|
|
2
2
|
|
|
3
|
+
## 8.3.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379) [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 8.3.16
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#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
|
|
15
|
+
|
|
3
16
|
## 8.3.15
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -16,20 +29,20 @@
|
|
|
16
29
|
|
|
17
30
|
### Patch Changes
|
|
18
31
|
|
|
19
|
-
- [`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete adf-schema from AFE and rely on npm package for adf-schema
|
|
32
|
+
- [#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
|
|
20
33
|
- [`4b4dcfe0bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b4dcfe0bba) - Delete adf-schema, use published version
|
|
21
34
|
|
|
22
35
|
## 8.3.12
|
|
23
36
|
|
|
24
37
|
### Patch Changes
|
|
25
38
|
|
|
26
|
-
- [`33cb07de05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33cb07de05f) - change adf-schema to fixed versioning
|
|
39
|
+
- [#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
|
|
27
40
|
|
|
28
41
|
## 8.3.11
|
|
29
42
|
|
|
30
43
|
### Patch Changes
|
|
31
44
|
|
|
32
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
45
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
33
46
|
- Updated dependencies
|
|
34
47
|
|
|
35
48
|
## 8.3.10
|
|
@@ -54,19 +67,19 @@
|
|
|
54
67
|
|
|
55
68
|
### Patch Changes
|
|
56
69
|
|
|
57
|
-
- [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
|
|
70
|
+
- [#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
|
|
58
71
|
|
|
59
72
|
## 8.3.6
|
|
60
73
|
|
|
61
74
|
### Patch Changes
|
|
62
75
|
|
|
63
|
-
- [`93f5f1a9839`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93f5f1a9839) - [ED-18161] Move transformer tests to their dedicated transformers packages to avoid circular dependencies
|
|
76
|
+
- [#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
|
|
64
77
|
|
|
65
78
|
## 8.3.5
|
|
66
79
|
|
|
67
80
|
### Patch Changes
|
|
68
81
|
|
|
69
|
-
- [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
|
|
82
|
+
- [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241) [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
|
|
70
83
|
|
|
71
84
|
## 8.3.4
|
|
72
85
|
|
|
@@ -78,26 +91,26 @@
|
|
|
78
91
|
|
|
79
92
|
### Patch Changes
|
|
80
93
|
|
|
81
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
94
|
+
- [#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
|
|
82
95
|
|
|
83
96
|
## 8.3.2
|
|
84
97
|
|
|
85
98
|
### Patch Changes
|
|
86
99
|
|
|
87
|
-
- [`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
|
|
100
|
+
- [#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
|
|
88
101
|
- Updated dependencies
|
|
89
102
|
|
|
90
103
|
## 8.3.1
|
|
91
104
|
|
|
92
105
|
### Patch Changes
|
|
93
106
|
|
|
94
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
107
|
+
- [#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`
|
|
95
108
|
|
|
96
109
|
## 8.3.0
|
|
97
110
|
|
|
98
111
|
### Minor Changes
|
|
99
112
|
|
|
100
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
113
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
101
114
|
|
|
102
115
|
### Patch Changes
|
|
103
116
|
|
|
@@ -107,14 +120,14 @@
|
|
|
107
120
|
|
|
108
121
|
### Patch Changes
|
|
109
122
|
|
|
110
|
-
- [`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"
|
|
123
|
+
- [#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"
|
|
111
124
|
- Updated dependencies
|
|
112
125
|
|
|
113
126
|
## 8.2.5
|
|
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.2.4
|
|
@@ -139,13 +152,13 @@
|
|
|
139
152
|
|
|
140
153
|
### Patch Changes
|
|
141
154
|
|
|
142
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
155
|
+
- [#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`
|
|
143
156
|
|
|
144
157
|
## 8.2.0
|
|
145
158
|
|
|
146
159
|
### Minor Changes
|
|
147
160
|
|
|
148
|
-
- [`1f99f6b79d3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f99f6b79d3) - Support media inline for jira transformer and minor schema changes
|
|
161
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`1f99f6b79d3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f99f6b79d3) - Support media inline for jira transformer and minor schema changes
|
|
149
162
|
|
|
150
163
|
### Patch Changes
|
|
151
164
|
|
|
@@ -155,7 +168,7 @@
|
|
|
155
168
|
|
|
156
169
|
### Patch Changes
|
|
157
170
|
|
|
158
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
171
|
+
- [#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`.
|
|
159
172
|
|
|
160
173
|
## 8.1.29
|
|
161
174
|
|
|
@@ -173,20 +186,20 @@
|
|
|
173
186
|
|
|
174
187
|
### Patch Changes
|
|
175
188
|
|
|
176
|
-
- [`6f4c0380224`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6f4c0380224) - Update the @atlaskit/editor-jira-transformer to use emotion instead of styled and also updated the dependencies
|
|
189
|
+
- [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`6f4c0380224`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6f4c0380224) - Update the @atlaskit/editor-jira-transformer to use emotion instead of styled and also updated the dependencies
|
|
177
190
|
- Updated dependencies
|
|
178
191
|
|
|
179
192
|
## 8.1.26
|
|
180
193
|
|
|
181
194
|
### Patch Changes
|
|
182
195
|
|
|
183
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
196
|
+
- [#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
|
|
184
197
|
|
|
185
198
|
## 8.1.25
|
|
186
199
|
|
|
187
200
|
### Patch Changes
|
|
188
201
|
|
|
189
|
-
- [`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
|
|
202
|
+
- [#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
|
|
190
203
|
|
|
191
204
|
@atlaskit/adf-schema/schema-bitbucket for:
|
|
192
205
|
|
|
@@ -244,14 +257,14 @@
|
|
|
244
257
|
|
|
245
258
|
### Patch Changes
|
|
246
259
|
|
|
247
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13753 Updated editor-common import entries.
|
|
260
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13753 Updated editor-common import entries.
|
|
248
261
|
- Updated dependencies
|
|
249
262
|
|
|
250
263
|
## 8.1.20
|
|
251
264
|
|
|
252
265
|
### Patch Changes
|
|
253
266
|
|
|
254
|
-
- [`d2ff410796a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2ff410796a) - Fix jira-transformer
|
|
267
|
+
- [#16711](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16711) [`d2ff410796a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2ff410796a) - Fix jira-transformer
|
|
255
268
|
|
|
256
269
|
## 8.1.19
|
|
257
270
|
|
|
@@ -263,7 +276,7 @@
|
|
|
263
276
|
|
|
264
277
|
### Patch Changes
|
|
265
278
|
|
|
266
|
-
- [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) - ED-11632: Bump prosemirror packages;
|
|
279
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) - ED-11632: Bump prosemirror packages;
|
|
267
280
|
|
|
268
281
|
- prosmirror-commands 1.1.4 -> 1.1.11,
|
|
269
282
|
- prosemirror-model 1.11.0 -> 1.14.3,
|
|
@@ -325,7 +338,7 @@
|
|
|
325
338
|
|
|
326
339
|
### Patch Changes
|
|
327
340
|
|
|
328
|
-
- [`58b170725be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58b170725be) - Renamed @atlaskit/editor-test-helpers/schema-builder to @atlaskit/editor-test-helpers/doc-builder
|
|
341
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`58b170725be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58b170725be) - Renamed @atlaskit/editor-test-helpers/schema-builder to @atlaskit/editor-test-helpers/doc-builder
|
|
329
342
|
- Updated dependencies
|
|
330
343
|
|
|
331
344
|
## 8.1.8
|
|
@@ -356,27 +369,27 @@
|
|
|
356
369
|
|
|
357
370
|
### Patch Changes
|
|
358
371
|
|
|
359
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
372
|
+
- [#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
|
|
360
373
|
|
|
361
374
|
## 8.1.3
|
|
362
375
|
|
|
363
376
|
### Patch Changes
|
|
364
377
|
|
|
365
|
-
- [`0175a00afc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0175a00afc) - [ED-10670] Update prosemirror-model type to use posAtIndex methods
|
|
378
|
+
- [#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
|
|
366
379
|
- Updated dependencies
|
|
367
380
|
|
|
368
381
|
## 8.1.2
|
|
369
382
|
|
|
370
383
|
### Patch Changes
|
|
371
384
|
|
|
372
|
-
- [`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
|
|
385
|
+
- [#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
|
|
373
386
|
- Updated dependencies
|
|
374
387
|
|
|
375
388
|
## 8.1.1
|
|
376
389
|
|
|
377
390
|
### Patch Changes
|
|
378
391
|
|
|
379
|
-
- [`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.
|
|
392
|
+
- [#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.
|
|
380
393
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
381
394
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
382
395
|
|
|
@@ -384,7 +397,7 @@
|
|
|
384
397
|
|
|
385
398
|
### Minor Changes
|
|
386
399
|
|
|
387
|
-
- [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump ProseMirror packages
|
|
400
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump ProseMirror packages
|
|
388
401
|
|
|
389
402
|
Read more: https://product-fabric.atlassian.net/wiki/spaces/E/pages/1671956531/2020-08
|
|
390
403
|
|
|
@@ -402,7 +415,7 @@
|
|
|
402
415
|
|
|
403
416
|
### Patch Changes
|
|
404
417
|
|
|
405
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
418
|
+
- [#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
|
|
406
419
|
|
|
407
420
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
408
421
|
to prevent duplicates of tslib being bundled.
|
|
@@ -411,7 +424,7 @@
|
|
|
411
424
|
|
|
412
425
|
### Patch Changes
|
|
413
426
|
|
|
414
|
-
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
427
|
+
- [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393) [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
415
428
|
|
|
416
429
|
## 8.0.2
|
|
417
430
|
|
|
@@ -429,7 +442,7 @@
|
|
|
429
442
|
|
|
430
443
|
### Major Changes
|
|
431
444
|
|
|
432
|
-
- [`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.
|
|
445
|
+
- [#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.
|
|
433
446
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
434
447
|
|
|
435
448
|
### Patch Changes
|
|
@@ -7,5 +7,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _collapseWhitespace = _interopRequireDefault(require("collapse-whitespace"));
|
|
9
9
|
var collapseWhitespace = _collapseWhitespace.default;
|
|
10
|
-
var _default = collapseWhitespace;
|
|
11
|
-
exports.default = _default;
|
|
10
|
+
var _default = exports.default = collapseWhitespace;
|
package/dist/cjs/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _schemaJira = require("@atlaskit/adf-schema/schema-jira");
|
|
|
15
15
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
16
16
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
17
17
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
18
|
-
var JIRATransformer = /*#__PURE__*/function () {
|
|
18
|
+
var JIRATransformer = exports.JIRATransformer = /*#__PURE__*/function () {
|
|
19
19
|
function JIRATransformer(schema, customEncoders, mediaContextInfo) {
|
|
20
20
|
(0, _classCallCheck2.default)(this, JIRATransformer);
|
|
21
21
|
this.schema = schema;
|
|
@@ -509,5 +509,4 @@ var JIRATransformer = /*#__PURE__*/function () {
|
|
|
509
509
|
}
|
|
510
510
|
}]);
|
|
511
511
|
return JIRATransformer;
|
|
512
|
-
}();
|
|
513
|
-
exports.JIRATransformer = JIRATransformer;
|
|
512
|
+
}();
|
package/dist/cjs/utils.js
CHANGED
|
@@ -47,7 +47,7 @@ function ensureBlocks(fragment, schema, nodeType) {
|
|
|
47
47
|
/**
|
|
48
48
|
* This function will convert all content to inline nodes
|
|
49
49
|
*/
|
|
50
|
-
var ensureInline = function ensureInline(schema, content, supportedMarks) {
|
|
50
|
+
var ensureInline = exports.ensureInline = function ensureInline(schema, content, supportedMarks) {
|
|
51
51
|
var result = [];
|
|
52
52
|
content.forEach(function (node) {
|
|
53
53
|
if (node.isInline) {
|
|
@@ -62,7 +62,6 @@ var ensureInline = function ensureInline(schema, content, supportedMarks) {
|
|
|
62
62
|
});
|
|
63
63
|
return _model.Fragment.fromArray(result);
|
|
64
64
|
};
|
|
65
|
-
exports.ensureInline = ensureInline;
|
|
66
65
|
function convert(content, node, schema) {
|
|
67
66
|
// text
|
|
68
67
|
if (node.nodeType === Node.TEXT_NODE) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-jira-transformer",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.17",
|
|
4
4
|
"description": "Editor JIRA transformer's",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/adf-schema": "^
|
|
36
|
-
"@atlaskit/editor-common": "^76.
|
|
35
|
+
"@atlaskit/adf-schema": "^33.2.3",
|
|
36
|
+
"@atlaskit/editor-common": "^76.22.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"collapse-whitespace": "^1.1.6"
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@atlaskit/activity": "^1.0.1",
|
|
46
|
-
"@atlaskit/editor-core": "^
|
|
46
|
+
"@atlaskit/editor-core": "^189.3.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
48
|
-
"@atlaskit/editor-test-helpers": "^18.
|
|
48
|
+
"@atlaskit/editor-test-helpers": "^18.14.0",
|
|
49
49
|
"@atlaskit/theme": "^12.6.0",
|
|
50
50
|
"@atlaskit/util-data-test": "^17.8.0",
|
|
51
51
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|