modern-monaco 0.3.8 → 0.4.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.
@@ -5477,7 +5477,7 @@ var JSONHover = class {
5477
5477
  };
5478
5478
  function toMarkdown(plain) {
5479
5479
  if (plain) {
5480
- return plain.trim().replace(/[\\`*_{}[\]()<>#+\-.!]/g, "\\$&").replace(/([ \t]+)/g, (_match, g1) => "&nbsp;".repeat(g1.length)).replace(/\n/g, "\\\n");
5480
+ return plain.trim().replace(/[\\`*_{}[\]()<>#+\-.!]/g, "\\$&").replace(/(^ +)/mg, (_match, g1) => "&nbsp;".repeat(g1.length)).replace(/( {2,})/g, (_match, g1) => " " + "&nbsp;".repeat(g1.length - 1)).replace(/(\t+)/g, (_match, g1) => "&nbsp;".repeat(g1.length * 4)).replace(/\n/g, "\\\n");
5481
5481
  }
5482
5482
  return void 0;
5483
5483
  }
@@ -7011,7 +7011,7 @@ var descriptions = {
7011
7011
  maxProperties: t("The maximum number of properties an object can have. Inclusive."),
7012
7012
  minProperties: t("The minimum number of properties an object can have. Inclusive."),
7013
7013
  required: t("An array of strings that lists the names of all properties required on this object."),
7014
- additionalProperties: t("Either a schema or a boolean. If a schema, used to validate all properties not matched by 'properties', 'propertyNames', or 'patternProperties'. If false, any properties not defined by the adajacent keywords will cause this schema to fail."),
7014
+ additionalProperties: t("Either a schema or a boolean. If a schema, used to validate all properties not matched by 'properties', 'propertyNames', or 'patternProperties'. If false, any properties not defined by the adjacent keywords will cause this schema to fail."),
7015
7015
  definitions: t("Not used for validation. Place subschemas here that you wish to reference inline with $ref."),
7016
7016
  properties: t("A map of property names to schemas for each property."),
7017
7017
  patternProperties: t("A map of regular expressions on property names to schemas for matching properties."),