vscode-json-languageservice 5.0.0 → 5.1.0

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +5 -2
  2. package/lib/esm/jsonContributions.d.ts +17 -17
  3. package/lib/esm/jsonContributions.js +1 -1
  4. package/lib/esm/jsonLanguageService.d.ts +29 -29
  5. package/lib/esm/jsonLanguageService.js +66 -66
  6. package/lib/esm/jsonLanguageTypes.d.ts +280 -279
  7. package/lib/esm/jsonLanguageTypes.js +46 -46
  8. package/lib/esm/jsonSchema.d.ts +89 -89
  9. package/lib/esm/jsonSchema.js +1 -1
  10. package/lib/esm/parser/jsonParser.js +1218 -1214
  11. package/lib/esm/services/configuration.js +528 -528
  12. package/lib/esm/services/jsonCompletion.js +924 -918
  13. package/lib/esm/services/jsonDocumentSymbols.js +267 -267
  14. package/lib/esm/services/jsonFolding.js +120 -120
  15. package/lib/esm/services/jsonHover.js +109 -109
  16. package/lib/esm/services/jsonLinks.js +72 -72
  17. package/lib/esm/services/jsonSchemaService.js +586 -586
  18. package/lib/esm/services/jsonSelectionRanges.js +61 -61
  19. package/lib/esm/services/jsonValidation.js +151 -151
  20. package/lib/esm/utils/colors.js +68 -68
  21. package/lib/esm/utils/glob.js +124 -124
  22. package/lib/esm/utils/json.js +42 -42
  23. package/lib/esm/utils/objects.js +68 -68
  24. package/lib/esm/utils/strings.js +64 -64
  25. package/lib/umd/jsonContributions.d.ts +17 -17
  26. package/lib/umd/jsonContributions.js +12 -12
  27. package/lib/umd/jsonLanguageService.d.ts +29 -29
  28. package/lib/umd/jsonLanguageService.js +94 -90
  29. package/lib/umd/jsonLanguageTypes.d.ts +280 -279
  30. package/lib/umd/jsonLanguageTypes.js +94 -93
  31. package/lib/umd/jsonSchema.d.ts +89 -89
  32. package/lib/umd/jsonSchema.js +12 -12
  33. package/lib/umd/parser/jsonParser.js +1247 -1243
  34. package/lib/umd/services/configuration.js +541 -541
  35. package/lib/umd/services/jsonCompletion.js +938 -932
  36. package/lib/umd/services/jsonDocumentSymbols.js +281 -281
  37. package/lib/umd/services/jsonFolding.js +134 -134
  38. package/lib/umd/services/jsonHover.js +123 -123
  39. package/lib/umd/services/jsonLinks.js +86 -86
  40. package/lib/umd/services/jsonSchemaService.js +602 -602
  41. package/lib/umd/services/jsonSelectionRanges.js +75 -75
  42. package/lib/umd/services/jsonValidation.js +165 -165
  43. package/lib/umd/utils/colors.js +84 -84
  44. package/lib/umd/utils/glob.js +138 -138
  45. package/lib/umd/utils/json.js +56 -56
  46. package/lib/umd/utils/objects.js +87 -87
  47. package/lib/umd/utils/strings.js +82 -82
  48. package/package.json +6 -6
@@ -1,89 +1,89 @@
1
- export declare type JSONSchemaRef = JSONSchema | boolean;
2
- export interface JSONSchema {
3
- id?: string;
4
- $id?: string;
5
- $schema?: string;
6
- type?: string | string[];
7
- title?: string;
8
- default?: any;
9
- definitions?: {
10
- [name: string]: JSONSchema;
11
- };
12
- description?: string;
13
- properties?: JSONSchemaMap;
14
- patternProperties?: JSONSchemaMap;
15
- additionalProperties?: JSONSchemaRef;
16
- minProperties?: number;
17
- maxProperties?: number;
18
- dependencies?: JSONSchemaMap | {
19
- [prop: string]: string[];
20
- };
21
- items?: JSONSchemaRef | JSONSchemaRef[];
22
- minItems?: number;
23
- maxItems?: number;
24
- uniqueItems?: boolean;
25
- additionalItems?: JSONSchemaRef;
26
- pattern?: string;
27
- minLength?: number;
28
- maxLength?: number;
29
- minimum?: number;
30
- maximum?: number;
31
- exclusiveMinimum?: boolean | number;
32
- exclusiveMaximum?: boolean | number;
33
- multipleOf?: number;
34
- required?: string[];
35
- $ref?: string;
36
- anyOf?: JSONSchemaRef[];
37
- allOf?: JSONSchemaRef[];
38
- oneOf?: JSONSchemaRef[];
39
- not?: JSONSchemaRef;
40
- enum?: any[];
41
- format?: string;
42
- const?: any;
43
- contains?: JSONSchemaRef;
44
- propertyNames?: JSONSchemaRef;
45
- examples?: any[];
46
- $comment?: string;
47
- if?: JSONSchemaRef;
48
- then?: JSONSchemaRef;
49
- else?: JSONSchemaRef;
50
- unevaluatedProperties?: boolean | JSONSchemaRef;
51
- unevaluatedItems?: boolean | JSONSchemaRef;
52
- minContains?: number;
53
- maxContains?: number;
54
- deprecated?: boolean;
55
- dependentRequired?: {
56
- [prop: string]: string[];
57
- };
58
- dependentSchemas?: JSONSchemaMap;
59
- $defs?: {
60
- [name: string]: JSONSchema;
61
- };
62
- $anchor?: string;
63
- $recursiveRef?: string;
64
- $recursiveAnchor?: string;
65
- $vocabulary?: any;
66
- prefixItems?: JSONSchemaRef[];
67
- $dynamicRef?: string;
68
- $dynamicAnchor?: string;
69
- defaultSnippets?: {
70
- label?: string;
71
- description?: string;
72
- markdownDescription?: string;
73
- body?: any;
74
- bodyText?: string;
75
- }[];
76
- errorMessage?: string;
77
- patternErrorMessage?: string;
78
- deprecationMessage?: string;
79
- enumDescriptions?: string[];
80
- markdownEnumDescriptions?: string[];
81
- markdownDescription?: string;
82
- doNotSuggest?: boolean;
83
- suggestSortText?: string;
84
- allowComments?: boolean;
85
- allowTrailingCommas?: boolean;
86
- }
87
- export interface JSONSchemaMap {
88
- [name: string]: JSONSchemaRef;
89
- }
1
+ export declare type JSONSchemaRef = JSONSchema | boolean;
2
+ export interface JSONSchema {
3
+ id?: string;
4
+ $id?: string;
5
+ $schema?: string;
6
+ type?: string | string[];
7
+ title?: string;
8
+ default?: any;
9
+ definitions?: {
10
+ [name: string]: JSONSchema;
11
+ };
12
+ description?: string;
13
+ properties?: JSONSchemaMap;
14
+ patternProperties?: JSONSchemaMap;
15
+ additionalProperties?: JSONSchemaRef;
16
+ minProperties?: number;
17
+ maxProperties?: number;
18
+ dependencies?: JSONSchemaMap | {
19
+ [prop: string]: string[];
20
+ };
21
+ items?: JSONSchemaRef | JSONSchemaRef[];
22
+ minItems?: number;
23
+ maxItems?: number;
24
+ uniqueItems?: boolean;
25
+ additionalItems?: JSONSchemaRef;
26
+ pattern?: string;
27
+ minLength?: number;
28
+ maxLength?: number;
29
+ minimum?: number;
30
+ maximum?: number;
31
+ exclusiveMinimum?: boolean | number;
32
+ exclusiveMaximum?: boolean | number;
33
+ multipleOf?: number;
34
+ required?: string[];
35
+ $ref?: string;
36
+ anyOf?: JSONSchemaRef[];
37
+ allOf?: JSONSchemaRef[];
38
+ oneOf?: JSONSchemaRef[];
39
+ not?: JSONSchemaRef;
40
+ enum?: any[];
41
+ format?: string;
42
+ const?: any;
43
+ contains?: JSONSchemaRef;
44
+ propertyNames?: JSONSchemaRef;
45
+ examples?: any[];
46
+ $comment?: string;
47
+ if?: JSONSchemaRef;
48
+ then?: JSONSchemaRef;
49
+ else?: JSONSchemaRef;
50
+ unevaluatedProperties?: boolean | JSONSchemaRef;
51
+ unevaluatedItems?: boolean | JSONSchemaRef;
52
+ minContains?: number;
53
+ maxContains?: number;
54
+ deprecated?: boolean;
55
+ dependentRequired?: {
56
+ [prop: string]: string[];
57
+ };
58
+ dependentSchemas?: JSONSchemaMap;
59
+ $defs?: {
60
+ [name: string]: JSONSchema;
61
+ };
62
+ $anchor?: string;
63
+ $recursiveRef?: string;
64
+ $recursiveAnchor?: string;
65
+ $vocabulary?: any;
66
+ prefixItems?: JSONSchemaRef[];
67
+ $dynamicRef?: string;
68
+ $dynamicAnchor?: string;
69
+ defaultSnippets?: {
70
+ label?: string;
71
+ description?: string;
72
+ markdownDescription?: string;
73
+ body?: any;
74
+ bodyText?: string;
75
+ }[];
76
+ errorMessage?: string;
77
+ patternErrorMessage?: string;
78
+ deprecationMessage?: string;
79
+ enumDescriptions?: string[];
80
+ markdownEnumDescriptions?: string[];
81
+ markdownDescription?: string;
82
+ doNotSuggest?: boolean;
83
+ suggestSortText?: string;
84
+ allowComments?: boolean;
85
+ allowTrailingCommas?: boolean;
86
+ }
87
+ export interface JSONSchemaMap {
88
+ [name: string]: JSONSchemaRef;
89
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};