Martin Aeschlimann
fa4ed5ccae
Improve error message for UTF-8 with BOM ( #150 )
2022-09-26 16:05:02 +02:00
Martin Aeschlimann
12275e448a
Make maxLength & minLength aware of code points ( #147 )
2022-07-14 13:48:03 +02:00
Martin Aeschlimann
e8f32c7db0
Use JSON schema test suite ( #146 )
...
* schema suite
* more
* add ignpre list
2022-07-13 20:07:07 +02:00
Aiday Marlen Kyzy
a13a29d471
Adding the option.keepLines inside the format function returned by `getLanguageService` ( #145 )
...
* Adding the option.keepLines inside the format function returned by `getLanguageService`
* update dependencies & remove UTF-8 BOM & prepare 5.1.0
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-07-12 07:02:11 +02:00
Artin
eb58f9d323
feat: support number const ( #141 )
...
* feat: support number const
* test: add testcase
* handle const where we handle enum
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-07-11 23:03:35 +02:00
Pete Gonzalez
d1c8c8d6a0
Don't report "Duplicate object key" when "//" is used for comments ( #144 )
...
* Suppress the ErrorCode.DuplicateKey validation for "//" keys
* Add a unit test for "//" keys
2022-06-30 14:08:32 +02:00
Martin Aeschlimann
2fdce937c7
add branchProtection settings ( #136 )
2022-06-30 14:01:50 +02:00
Martin Aeschlimann
75b060ae6e
Merge pull request #140 from microsoft/aeschli/fixchangelog
...
fix change log
2022-05-18 15:58:50 +02:00
Martin Aeschlimann
295968273f
fix change log
2022-05-18 15:52:10 +02:00
Martin Aeschlimann
5c32bc59c5
Merge pull request #139 from microsoft/aeschli/updateversions
...
update to 5.0.0
2022-05-17 13:29:47 +02:00
Martin Aeschlimann
214b0c0002
Merge pull request #138 from microsoft/aeschli/unsupportedSchemaWarnings
...
improved schema warnings
2022-05-17 13:29:23 +02:00
Martin Aeschlimann
87acc36c2b
5.0.0
2022-05-17 13:27:54 +02:00
Martin Aeschlimann
198c440f23
remove missing imports
2022-05-17 12:29:07 +02:00
Martin Aeschlimann
84130c30fd
improved schema warnings
2022-05-17 12:25:09 +02:00
Martin Aeschlimann
798ed1e82b
update versions, prepare 5.0.0
2022-05-17 10:44:40 +02:00
Martin Aeschlimann
86050bf0c4
Merge pull request #134 from microsoft/users/GitHubPolicyService/90bdaeaa-3bfe-43d9-8352-6e9cff9fb9e6
...
Adding Microsoft SECURITY.MD
2022-05-17 10:12:36 +02:00
microsoft-github-policy-service[bot]
d4bcc07cb0
Microsoft mandatory file
2022-05-16 22:00:42 +00:00
Martin Aeschlimann
dde4ebfecf
Merge pull request #133 from microsoft/aeschli/unevaluatedProperties
...
Adopt new JSON schema draft properties (2019-09 & 2020-12)
2022-05-13 17:36:41 +02:00
Martin Aeschlimann
051b46296c
use node 16 for travis
2022-05-13 17:34:06 +02:00
Martin Aeschlimann
c5e86f42e3
support $anchor
2022-05-13 16:13:45 +02:00
Martin Aeschlimann
56aa9db31a
support $defs
2022-05-13 15:45:01 +02:00
Martin Aeschlimann
7e085407aa
support dependentRequired & dependentSchemas
2022-05-13 15:43:05 +02:00
Martin Aeschlimann
f6267255bf
update traverseNodes
2022-05-13 14:57:20 +02:00
Martin Aeschlimann
f1ab4a8b65
support 'deprecated'
2022-05-13 14:37:03 +02:00
Martin Aeschlimann
6ce1f2e271
minContains & maxContains
2022-05-13 13:43:23 +02:00
Martin Aeschlimann
83104e249d
support additionalItems & prefixItems
2022-05-13 12:07:48 +02:00
Martin Aeschlimann
b29e9b2b5d
unevaluatedItems
2022-05-12 08:21:54 +02:00
Martin Aeschlimann
1db7a6cc2b
Support unevaluatedProperties
2022-05-10 16:52:12 +02:00
Martin Aeschlimann
5775d0e1b6
4.2.1
2022-03-18 18:00:50 +01:00
Martin Aeschlimann
75f6608d8b
update dependencies
2022-03-18 17:59:28 +01:00
Martin Aeschlimann
99507a62ee
the url should not be encoded to load schema file. Fixes microsoft/vscode#145182
2022-03-16 15:21:47 +01:00
Martin Aeschlimann
b54c913d69
4.2.0
2022-01-25 18:05:40 +01:00
Martin Aeschlimann
fd23090184
fix $ref '' can not be resolved
2022-01-25 18:05:17 +01:00
Martin Aeschlimann
20fc1121bf
4.2.0-next.3
2022-01-24 22:52:26 +01:00
Martin Aeschlimann
b530f6135c
update dependencies
2022-01-24 22:50:27 +01:00
Martin Aeschlimann
bc390a2dff
separate collecting anchors from resolving
2021-12-30 14:57:37 +01:00
Martin Aeschlimann
df2bd7fcef
Fix resolving refs in external refs. Fixes #121
2021-12-29 16:18:18 +01:00
Martin Aeschlimann
c552a8a5a2
schema tests: use await & deepStrictEqual
2021-12-29 14:27:35 +01:00
Martin Aeschlimann
6a2881c984
4.2.0-next.2
2021-11-29 16:22:28 +01:00
Martin Aeschlimann
9c25bb0858
email regex: avoid escaped `-`
2021-11-29 16:19:41 +01:00
Martin Aeschlimann
98cf9e0689
Merge pull request #107 from mati-o/fix-ref-to-id
...
Fix $ref to $id
2021-11-29 16:06:40 +01:00
Martin Aeschlimann
e244bcfd26
update change log
2021-11-29 16:04:07 +01:00
Martin Aeschlimann
9d65fa79f0
Merge branch 'main' into fix-ref-to-id
2021-11-29 15:50:40 +01:00
Martin Aeschlimann
a4cc9252d0
rename SchemaHandle.url to uri
2021-11-29 15:44:40 +01:00
Martin Aeschlimann
b4c3512923
store resolved ids in parentHandle.anchors
2021-11-29 15:34:04 +01:00
Martin Aeschlimann
7d9158a27a
Merge pull request #118 from gjsjohnmurray/add-formats
...
validate hostname, ipv4 and ipv6 formats (#100 )
2021-11-29 13:33:34 +01:00
gjsjohnmurray
583380e8e3
validate hostname, ipv4 and ipv6 formats ( #100 )
2021-11-25 00:37:16 +00:00
Martin Aeschlimann
386122c7f0
4.2.0-next.1
2021-11-18 14:22:59 +01:00
Martin Aeschlimann
988c9efed3
getSchemaURIsForResource: fix for relative paths
2021-11-18 14:22:41 +01:00
Martin Aeschlimann
443dcfe4e6
4.2.0-next.0
2021-11-17 15:56:21 +01:00