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.
- package/README.md +54 -7
- package/dist/cache.mjs +51 -24
- package/dist/core.mjs +6 -47
- package/dist/editor-core.mjs +1360 -6215
- package/dist/index.mjs +1 -1
- package/dist/lsp/client.mjs +39 -4
- package/dist/lsp/css/setup.mjs +11 -3
- package/dist/lsp/css/worker.mjs +13465 -2467
- package/dist/lsp/html/setup.mjs +44 -32
- package/dist/lsp/html/worker.mjs +43 -34
- package/dist/lsp/json/setup.mjs +2582 -109
- package/dist/lsp/json/worker.mjs +2 -2
- package/dist/lsp/typescript/libs.mjs +107 -99
- package/dist/lsp/typescript/setup.mjs +2553 -108
- package/dist/lsp/typescript/worker.mjs +2623 -88
- package/dist/shiki.mjs +3659 -3999
- package/dist/workspace.mjs +34 -29
- package/package.json +13 -13
- package/types/lsp.d.ts +69 -10
- package/types/textmate.d.ts +2 -2
- package/types/vscode.d.ts +6 -0
- package/types/workspace.d.ts +1 -1
package/dist/lsp/json/worker.mjs
CHANGED
|
@@ -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(/(
|
|
5480
|
+
return plain.trim().replace(/[\\`*_{}[\]()<>#+\-.!]/g, "\\$&").replace(/(^ +)/mg, (_match, g1) => " ".repeat(g1.length)).replace(/( {2,})/g, (_match, g1) => " " + " ".repeat(g1.length - 1)).replace(/(\t+)/g, (_match, g1) => " ".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
|
|
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."),
|