Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/adf-schema-generator

Package Overview
Dependencies
Maintainers
0
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/adf-schema-generator - npm Package Compare versions

Comparing version 1.38.3 to 1.38.4

6

CHANGELOG.md
# @atlaskit/adf-schema-generator
## 1.38.3
## 1.38.4
### Patch Changes
- 162fff6: Remove exception for uniqueId on codeBlock and allow property on validator and json schema.
- 0ad17eb: Remove DSL inconsistency for code block with text with new no mark text variant - no functionality changes.
Added: `text_with_no_marks` variant

@@ -50,34 +50,2 @@ "use strict";

function fixCommonCompatibilityIssues(json) {
// @DSLCompatibilityException: codeblock has a variant pattern instead of a normal node pattern
// This is probably an expanded reference to the inline code node, a variant of text node
// To remove this exception, we must update the JSON Schema to use a reference here instead
json.definitions.codeBlock_node.properties.content.items = {
allOf: [{
$ref: '#/definitions/text_node'
}, {
type: 'object',
properties: {
marks: {
type: 'array',
maxItems: 0
}
},
additionalProperties: true
}]
};
json.definitions.codeBlock_root_only_node.properties.content.items = {
allOf: [{
$ref: '#/definitions/text_node'
}, {
type: 'object',
properties: {
marks: {
type: 'array',
maxItems: 0
}
},
additionalProperties: true
}]
};
// Extra properties

@@ -84,0 +52,0 @@ // @DSLCompatibilityException Despite being oneplus, doc has no minItems field

@@ -29,34 +29,2 @@ import { traverse } from '../../traverse';

function fixCommonCompatibilityIssues(json) {
// @DSLCompatibilityException: codeblock has a variant pattern instead of a normal node pattern
// This is probably an expanded reference to the inline code node, a variant of text node
// To remove this exception, we must update the JSON Schema to use a reference here instead
json.definitions.codeBlock_node.properties.content.items = {
allOf: [{
$ref: '#/definitions/text_node'
}, {
type: 'object',
properties: {
marks: {
type: 'array',
maxItems: 0
}
},
additionalProperties: true
}]
};
json.definitions.codeBlock_root_only_node.properties.content.items = {
allOf: [{
$ref: '#/definitions/text_node'
}, {
type: 'object',
properties: {
marks: {
type: 'array',
maxItems: 0
}
},
additionalProperties: true
}]
};
// Extra properties

@@ -63,0 +31,0 @@ // @DSLCompatibilityException Despite being oneplus, doc has no minItems field

@@ -42,34 +42,2 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";

function fixCommonCompatibilityIssues(json) {
// @DSLCompatibilityException: codeblock has a variant pattern instead of a normal node pattern
// This is probably an expanded reference to the inline code node, a variant of text node
// To remove this exception, we must update the JSON Schema to use a reference here instead
json.definitions.codeBlock_node.properties.content.items = {
allOf: [{
$ref: '#/definitions/text_node'
}, {
type: 'object',
properties: {
marks: {
type: 'array',
maxItems: 0
}
},
additionalProperties: true
}]
};
json.definitions.codeBlock_root_only_node.properties.content.items = {
allOf: [{
$ref: '#/definitions/text_node'
}, {
type: 'object',
properties: {
marks: {
type: 'array',
maxItems: 0
}
},
additionalProperties: true
}]
};
// Extra properties

@@ -76,0 +44,0 @@ // @DSLCompatibilityException Despite being oneplus, doc has no minItems field

{
"name": "@atlaskit/adf-schema-generator",
"version": "1.38.3",
"version": "1.38.4",
"description": "Generates ADF and PM schemas",

@@ -5,0 +5,0 @@ "repository": "https://bitbucket.org/atlassian/adf-schema",

@@ -66,40 +66,2 @@ import type { ADFNode } from '../../adfNode';

function fixCommonCompatibilityIssues(json: JSONSchema4) {
// @DSLCompatibilityException: codeblock has a variant pattern instead of a normal node pattern
// This is probably an expanded reference to the inline code node, a variant of text node
// To remove this exception, we must update the JSON Schema to use a reference here instead
json.definitions.codeBlock_node.properties.content.items = {
allOf: [
{
$ref: '#/definitions/text_node',
},
{
type: 'object',
properties: {
marks: {
type: 'array',
maxItems: 0,
},
},
additionalProperties: true,
},
],
};
json.definitions.codeBlock_root_only_node.properties.content.items = {
allOf: [
{
$ref: '#/definitions/text_node',
},
{
type: 'object',
properties: {
marks: {
type: 'array',
maxItems: 0,
},
},
additionalProperties: true,
},
],
};
// Extra properties

@@ -106,0 +68,0 @@ // @DSLCompatibilityException Despite being oneplus, doc has no minItems field

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc