@atlaskit/adf-utils 19.0.20 → 19.0.21

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,11 @@
1
1
  # @atlaskit/adf-utils
2
2
 
3
+ ## 19.0.21
4
+
5
+ ### Patch Changes
6
+
7
+ - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224) [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) - ED-22219: adf-schema updated to 35.5.2
8
+
3
9
  ## 19.0.20
4
10
 
5
11
  ### Patch Changes
@@ -14,6 +14,11 @@ var _default = exports.default = {
14
14
  type: 'array',
15
15
  items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
16
16
  minItems: 1
17
+ },
18
+ marks: {
19
+ type: 'array',
20
+ items: [['dataConsumer', 'fragment']],
21
+ optional: true
17
22
  }
18
23
  }
19
24
  };
@@ -8,6 +8,11 @@ export default {
8
8
  type: 'array',
9
9
  items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
10
10
  minItems: 1
11
+ },
12
+ marks: {
13
+ type: 'array',
14
+ items: [['dataConsumer', 'fragment']],
15
+ optional: true
11
16
  }
12
17
  }
13
18
  };
@@ -8,6 +8,11 @@ export default {
8
8
  type: 'array',
9
9
  items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
10
10
  minItems: 1
11
+ },
12
+ marks: {
13
+ type: 'array',
14
+ items: [['dataConsumer', 'fragment']],
15
+ optional: true
11
16
  }
12
17
  }
13
18
  };
@@ -9,6 +9,11 @@ declare const _default: {
9
9
  items: string[][];
10
10
  minItems: number;
11
11
  };
12
+ marks: {
13
+ type: string;
14
+ items: string[][];
15
+ optional: boolean;
16
+ };
12
17
  };
13
18
  };
14
19
  export default _default;
@@ -9,6 +9,11 @@ declare const _default: {
9
9
  items: string[][];
10
10
  minItems: number;
11
11
  };
12
+ marks: {
13
+ type: string;
14
+ items: string[][];
15
+ optional: boolean;
16
+ };
12
17
  };
13
18
  };
14
19
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "19.0.20",
3
+ "version": "19.0.21",
4
4
  "description": "Set of utilities to traverse, modify and create ADF documents.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "generate:spec": "rm -rf ./src/validator/specs/ && yarn json-schema-generator --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/adf-schema": "^35.5.1",
44
+ "@atlaskit/adf-schema": "^35.5.2",
45
45
  "@atlaskit/codemod-utils": "^4.2.0",
46
46
  "@babel/runtime": "^7.0.0"
47
47
  },
package/tsconfig.json CHANGED
@@ -1,39 +1,7 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.json",
3
3
  "compilerOptions": {
4
- "baseUrl": "./",
5
- "paths": {
6
- "@atlaskit/codemod-utils": [
7
- "../../monorepo-tooling/codemod-utils/src/index.ts"
8
- ],
9
- "@atlaskit/adf-utils/builders": [
10
- "src/builders.ts"
11
- ],
12
- "@atlaskit/adf-utils/empty-adf": [
13
- "src/empty-adf.ts"
14
- ],
15
- "@atlaskit/adf-utils/scrub": [
16
- "src/scrub.ts"
17
- ],
18
- "@atlaskit/adf-utils/transforms": [
19
- "src/transforms.ts"
20
- ],
21
- "@atlaskit/adf-utils/traverse": [
22
- "src/traverse.ts"
23
- ],
24
- "@atlaskit/adf-utils/validator": [
25
- "src/validator.ts"
26
- ],
27
- "@atlaskit/adf-utils/types": [
28
- "src/types/index.ts"
29
- ],
30
- "@atlaskit/adf-utils/validatorTypes": [
31
- "src/types/validatorTypes.ts"
32
- ],
33
- "@atlaskit/adf-utils": [
34
- "./src"
35
- ]
36
- }
4
+ "baseUrl": "./"
37
5
  },
38
6
  "include": [
39
7
  "./src/**/*.ts",