@atlaskit/editor-json-transformer 8.10.13 → 8.10.15

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-json-transformer
2
2
 
3
+ ## 8.10.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
8
+
9
+ ## 8.10.14
10
+
11
+ ### Patch Changes
12
+
13
+ - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417) [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971 Upgrade adf-schema package to ^34.0.0
14
+
3
15
  ## 8.10.13
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-json-transformer",
3
- "version": "8.10.13",
3
+ "version": "8.10.15",
4
4
  "description": "JSON transformer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  "./types": "./src/types.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@atlaskit/adf-schema": "^33.2.3",
43
+ "@atlaskit/adf-schema": "^34.0.1",
44
44
  "@atlaskit/adf-utils": "^19.0.0",
45
45
  "@atlaskit/editor-prosemirror": "1.1.0",
46
46
  "@babel/runtime": "^7.0.0",
@@ -1,52 +0,0 @@
1
- ## API Report File for "@atlaskit/editor-json-transformer"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import type { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
8
-
9
- // @public (undocumented)
10
- export type JSONDocNode = {
11
- version: number;
12
- type: 'doc';
13
- content: JSONNode[];
14
- };
15
-
16
- // @public (undocumented)
17
- export type JSONNode = {
18
- type: string;
19
- attrs?: object;
20
- content?: Array<JSONNode | undefined>;
21
- marks?: any[];
22
- text?: string;
23
- };
24
-
25
- // @public (undocumented)
26
- export class JSONTransformer implements Transformer_2<JSONDocNode> {
27
- // (undocumented)
28
- encode(node: Node_2): JSONDocNode;
29
- encodeNode(node: Node_2): JSONNode;
30
- // (undocumented)
31
- parse(content: JSONDocNode, stage?: SchemaStage): Node_2;
32
- }
33
-
34
- // @public (undocumented)
35
- export enum SchemaStage {
36
- // (undocumented)
37
- FINAL = "final",
38
- // (undocumented)
39
- STAGE_0 = "stage0"
40
- }
41
-
42
- // @public (undocumented)
43
- interface Transformer_2<T> {
44
- // (undocumented)
45
- encode(node: Node_2): T;
46
- // (undocumented)
47
- parse(content: T): Node_2;
48
- }
49
-
50
- // (No @packageDocumentation comment for this package)
51
-
52
- ```