@atlaskit/adf-utils 19.0.0 → 19.0.1

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,12 @@
1
1
  # @atlaskit/adf-utils
2
2
 
3
+ ## 19.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`30d82d3462c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30d82d3462c) - [ED-19175] add missing support for the unsupportedBlock in table related nodes
8
+ - Updated dependencies
9
+
3
10
  ## 19.0.0
4
11
 
5
12
  ### Major Changes
@@ -36,7 +36,8 @@ var _default = {
36
36
  content: {
37
37
  type: 'array',
38
38
  items: ['tableRow'],
39
- minItems: 1
39
+ minItems: 1,
40
+ allowUnsupportedBlock: true
40
41
  },
41
42
  marks: {
42
43
  type: 'array',
@@ -12,7 +12,8 @@ var _default = {
12
12
  },
13
13
  content: {
14
14
  type: 'array',
15
- items: [['tableCell', 'tableHeader']]
15
+ items: [['tableCell', 'tableHeader']],
16
+ allowUnsupportedBlock: true
16
17
  }
17
18
  }
18
19
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "19.0.0",
3
+ "version": "19.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -30,7 +30,8 @@ export default {
30
30
  content: {
31
31
  type: 'array',
32
32
  items: ['tableRow'],
33
- minItems: 1
33
+ minItems: 1,
34
+ allowUnsupportedBlock: true
34
35
  },
35
36
  marks: {
36
37
  type: 'array',
@@ -6,7 +6,8 @@ export default {
6
6
  },
7
7
  content: {
8
8
  type: 'array',
9
- items: [['tableCell', 'tableHeader']]
9
+ items: [['tableCell', 'tableHeader']],
10
+ allowUnsupportedBlock: true
10
11
  }
11
12
  }
12
13
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "19.0.0",
3
+ "version": "19.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -30,7 +30,8 @@ export default {
30
30
  content: {
31
31
  type: 'array',
32
32
  items: ['tableRow'],
33
- minItems: 1
33
+ minItems: 1,
34
+ allowUnsupportedBlock: true
34
35
  },
35
36
  marks: {
36
37
  type: 'array',
@@ -6,7 +6,8 @@ export default {
6
6
  },
7
7
  content: {
8
8
  type: 'array',
9
- items: [['tableCell', 'tableHeader']]
9
+ items: [['tableCell', 'tableHeader']],
10
+ allowUnsupportedBlock: true
10
11
  }
11
12
  }
12
13
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "19.0.0",
3
+ "version": "19.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -31,6 +31,7 @@ declare const _default: {
31
31
  type: string;
32
32
  items: string[];
33
33
  minItems: number;
34
+ allowUnsupportedBlock: boolean;
34
35
  };
35
36
  marks: {
36
37
  type: string;
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  content: {
8
8
  type: string;
9
9
  items: string[][];
10
+ allowUnsupportedBlock: boolean;
10
11
  };
11
12
  };
12
13
  };
@@ -31,6 +31,7 @@ declare const _default: {
31
31
  type: string;
32
32
  items: string[];
33
33
  minItems: number;
34
+ allowUnsupportedBlock: boolean;
34
35
  };
35
36
  marks: {
36
37
  type: string;
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  content: {
8
8
  type: string;
9
9
  items: string[][];
10
+ allowUnsupportedBlock: boolean;
10
11
  };
11
12
  };
12
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "19.0.0",
3
+ "version": "19.0.1",
4
4
  "description": "Set of utilities to traverse, modify and create ADF documents.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,15 +38,14 @@
38
38
  "./validatorTypes": "./src/types/validatorTypes.ts"
39
39
  },
40
40
  "scripts": {
41
- "generate:spec": "rm -rf ./src/validator/specs/ && ../json-schema-generator/bin.js --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
41
+ "generate:spec": "rm -rf ./src/validator/specs/ && ../json-schema-generator/bin/json-schema-generator.js --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/adf-schema": "^26.0.0",
44
+ "@atlaskit/adf-schema": "^27.0.0",
45
45
  "@atlaskit/codemod-utils": "^4.2.0",
46
46
  "@babel/runtime": "^7.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@atlaskit/docs": "*",
50
49
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
51
50
  "jscodeshift": "^0.13.0",
52
51
  "react": "^16.8.0",