@atlaskit/adf-schema 40.0.1 → 40.0.2

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-schema
2
2
 
3
+ ## 40.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 32c5913: Remove forwards compatability check in JSOn schema
8
+
3
9
  ## 40.0.1
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "40.0.1",
3
+ "version": "40.0.2",
4
4
  "description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "@atlassian/adf-schema-json": "^1.16.0",
50
50
  "@atlassian/feature-flags-test-utils": "^0.2.0",
51
- "@atlaskit/adf-schema-generator": "^1.28.0",
51
+ "@atlaskit/adf-schema-generator": "^1.28.1",
52
52
  "@atlaskit/adf-utils": "^19.2.2",
53
53
  "@atlaskit/codemod-utils": "^4.2.4",
54
54
  "@babel/cli": "^7.22.9",
@@ -44,23 +44,9 @@ test('ADF DSL to JSON Schema backwards compatibility for full schema', () => {
44
44
  expect(nextSchema).toBeBackwardsCompatibleWith(currentSchema);
45
45
  });
46
46
 
47
- test('JSON Schema to ADF DSL backwards compatibility for full schema', () => {
48
- // eslint-disable-next-line @typescript-eslint/no-var-requires
49
- const currentSchema = require('../../../json-schema/v1/full.json');
50
- const nextSchema = adfToJSON(adfNode, true);
51
- expect(currentSchema).toBeBackwardsCompatibleWith(nextSchema);
52
- });
53
-
54
47
  test('ADF DSL to JSON Schema backwards compatibility for stage0 schema', () => {
55
48
  // eslint-disable-next-line @typescript-eslint/no-var-requires
56
49
  const currentSchema = require('../../../json-schema/v1/stage-0.json');
57
50
  const nextSchema = adfToJSON(adfNode);
58
51
  expect(nextSchema).toBeBackwardsCompatibleWith(currentSchema);
59
52
  });
60
-
61
- test('JSON Schema to ADF DSL backwards compatibility for stage0 schema', () => {
62
- // eslint-disable-next-line @typescript-eslint/no-var-requires
63
- const currentSchema = require('../../../json-schema/v1/stage-0.json');
64
- const nextSchema = adfToJSON(adfNode);
65
- expect(currentSchema).toBeBackwardsCompatibleWith(nextSchema);
66
- });