vovk 3.0.0-draft.327 → 3.0.0-draft.328

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.
@@ -105,11 +105,11 @@ function formatWithDescriptions(value, schema, rootSchema, comment, stripQuotes,
105
105
  // Add top-level description for objects
106
106
  if (isTopLevel && schema.type === 'object' && schema.description) {
107
107
  const descLines = schema.description.split('\n');
108
- formattedEntries.push(`${indentStr}${comment} -----`);
108
+ formattedEntries.push(`${indentStr} ${comment} -----`);
109
109
  descLines.forEach((line) => {
110
- formattedEntries.push(`${indentStr}${comment} ${line.trim()}`);
110
+ formattedEntries.push(`${indentStr} ${comment} ${line.trim()}`);
111
111
  });
112
- formattedEntries.push(`${indentStr}${comment} -----`);
112
+ formattedEntries.push(`${indentStr} ${comment} -----`);
113
113
  }
114
114
  entries.forEach(([key, val], index) => {
115
115
  const propSchema = schema.properties?.[key] || {};
@@ -122,7 +122,7 @@ function formatWithDescriptions(value, schema, rootSchema, comment, stripQuotes,
122
122
  if (resolvedPropSchema.description) {
123
123
  const descLines = resolvedPropSchema.description.split('\n');
124
124
  descLines.forEach((line) => {
125
- formattedEntries.push(`${indentStr}${comment} ${line.trim()}`);
125
+ formattedEntries.push(`${indentStr} ${comment} ${line.trim()}`);
126
126
  });
127
127
  }
128
128
  // Format the key
@@ -105,11 +105,11 @@ function formatWithDescriptions(value, schema, rootSchema, comment, stripQuotes,
105
105
  // Add top-level description for objects
106
106
  if (isTopLevel && schema.type === 'object' && schema.description) {
107
107
  const descLines = schema.description.split('\n');
108
- formattedEntries.push(`${indentStr}${comment} -----`);
108
+ formattedEntries.push(`${indentStr} ${comment} -----`);
109
109
  descLines.forEach((line) => {
110
- formattedEntries.push(`${indentStr}${comment} ${line.trim()}`);
110
+ formattedEntries.push(`${indentStr} ${comment} ${line.trim()}`);
111
111
  });
112
- formattedEntries.push(`${indentStr}${comment} -----`);
112
+ formattedEntries.push(`${indentStr} ${comment} -----`);
113
113
  }
114
114
  entries.forEach(([key, val], index) => {
115
115
  const propSchema = schema.properties?.[key] || {};
@@ -122,7 +122,7 @@ function formatWithDescriptions(value, schema, rootSchema, comment, stripQuotes,
122
122
  if (resolvedPropSchema.description) {
123
123
  const descLines = resolvedPropSchema.description.split('\n');
124
124
  descLines.forEach((line) => {
125
- formattedEntries.push(`${indentStr}${comment} ${line.trim()}`);
125
+ formattedEntries.push(`${indentStr} ${comment} ${line.trim()}`);
126
126
  });
127
127
  }
128
128
  // Format the key
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk",
3
- "version": "3.0.0-draft.327",
3
+ "version": "3.0.0-draft.328",
4
4
  "main": "./cjs/index.js",
5
5
  "module": "./mjs/index.js",
6
6
  "types": "./mjs/index.d.ts",