Граф коммитов

589 Коммитов

Автор SHA1 Сообщение Дата
Martin Aeschlimann e87ed1afb4
add getLanguageStatus 2021-11-17 15:55:46 +01:00
Martin Aeschlimann 338d55069a
optimize onResourceChange 2021-11-17 11:52:04 +01:00
Martin Aeschlimann 53bcfbf5d5
Merge pull request #117 from Relequestual/patch-2
Say JSON Schema draft 2020-12 is not yet supported
2021-11-17 10:20:06 +01:00
Martin Aeschlimann 29ceb8815c
Merge branch 'main' into fix-ref-to-id 2021-11-17 10:03:16 +01:00
Martin Aeschlimann d5ce22374d
fix refs in tests 2021-11-16 09:46:48 +01:00
Martin Aeschlimann 6962401a64
Use set instead of array 2021-11-16 09:28:01 +01:00
Martin Aeschlimann f7386b4516
add test for resolving external $ref to already resolved schema 2021-11-16 09:09:25 +01:00
Martin Aeschlimann ee8407b7e0
use set instead of array 2021-11-16 09:00:15 +01:00
Martin Aeschlimann 8edf71ed0d
schema tests: equal -> strictEqual 2021-11-16 08:58:14 +01:00
Mati O 7d970dda10 Fix multi-level $refs recursion 2021-11-15 22:03:43 +02:00
Martin Aeschlimann d4038b2d1f
schema tests: replace then with await 2021-11-15 17:09:06 +01:00
Martin Aeschlimann 1d66301822
uncomment pattern tests again 2021-11-15 16:47:24 +01:00
Martin Aeschlimann 70d64f7d7b
tests for $ref resolution across schemas 2021-11-15 16:16:45 +01:00
Mati O 871713ca4c Fix `Resolving $refs 3` - match id and schema key 2021-11-13 13:09:48 +02:00
Martin Aeschlimann 30f0b94218
4.1.10 2021-11-12 15:35:26 +01:00
Martin Aeschlimann de73b8b67e
[json] editor stops validating: Invalid regular expression. For microsoft/vscode#137054 2021-11-12 15:27:10 +01:00
Ben Hutton e9e42db055
Say JSON Schema draft 2020-12 is not yet supported
Fixes https://github.com/microsoft/vscode-json-languageservice/issues/116
2021-11-12 09:35:38 +00:00
Martin Aeschlimann e74eb10638
Update .travis.yml 2021-10-25 18:14:07 +02:00
Martin Aeschlimann 32977b099d
Wrong npm constraint in package.json ?. Fixes #99 2021-10-25 16:53:25 +02:00
Martin Aeschlimann c5407a0c13
4.1.9 2021-10-25 16:35:22 +02:00
Martin Aeschlimann f7184b36ed
Merge pull request #111 from jgraettinger/main
interpret `pattern`/`patternProperties` regex as Unicode
2021-10-20 11:02:10 +02:00
Johnny ba5b09a5a7 interpret `pattern`/`patternProperties` regex as Unicode
This was under-specified in previous JSON schema drafts.

As of 2020-12, patterns are defined as Unicode:
https://json-schema.org/draft/2020-12/json-schema-core.html#regex

Issue #103
2021-10-19 19:45:39 +00:00
Martin Aeschlimann 6a3406c5f4
Can't use basic string as schema URI. Fixes microsoft/monaco-editor#2683 2021-10-08 10:51:48 +02:00
Mati O 2c9db44c2c Implement subschema $id resolution 2021-10-01 19:24:27 +03:00
Mati O 53c444a4e0 wip 2021-10-01 11:35:27 +03:00
Mati O eee61a8f81 Fix spaces to tabs 2021-09-29 13:21:00 +03:00
Mati O d3f6309edc Fix tabs 2021-09-29 13:19:09 +03:00
Mati O 4272f188d1 Fix $ref to local $id 2021-09-29 13:05:57 +03:00
Martin Aeschlimann 971dc54088
update dev dependencies 2021-09-27 20:55:11 +02:00
Martin Aeschlimann 2659a52b12
4.1.8 2021-09-27 20:26:05 +02:00
Martin Aeschlimann ca20445c18
Merge pull request #105 from dsherret/clear-json-schema-service-local-single-resource-cache
fix: clear `JsonSchemaService` local single resource cache on schema change
2021-09-27 20:24:09 +02:00
David Sherret 00044078af fix: clear `JsonSchemaService` local single resource cache on schema change 2021-09-05 12:45:37 -04:00
Martin Aeschlimann 33d7532b2d
remove schema title (for microsoft/vscode#131676) 2021-08-26 15:27:39 +02:00
Martin Aeschlimann 42fe736a0a
4.1.7 2021-08-16 15:54:29 +02:00
Martin Aeschlimann 991ca557f6
reexport more LSP types 2021-08-16 15:54:07 +02:00
Martin Aeschlimann c49bf14a13
4.1.6 2021-07-16 16:59:31 +02:00
Martin Aeschlimann fe11690352
changelog 2021-07-16 16:59:20 +02:00
Martin Aeschlimann 3c8b871f8e
replace minimatch with globregexp 2021-07-16 16:55:49 +02:00
Martin Aeschlimann a2df725dde
4.1.5 2021-06-28 20:15:11 +02:00
Martin Aeschlimann b842d49676
improve fileMatch spec 2021-05-31 22:03:03 +02:00
Martin Aeschlimann a0a7e02636
4.1.4 2021-05-12 17:23:27 +02:00
Martin Aeschlimann d3160a7ac3
allowComments not working when DocumentLanguageSettings present 2021-05-12 17:16:24 +02:00
Martin Aeschlimann 2562a52c39
4.1.3 2021-05-04 15:53:42 +02:00
Martin Aeschlimann f2f617aa60
minimatch has issues with directories starting with dot. For microsoft/vscode#122466 2021-05-04 15:53:22 +02:00
Martin Aeschlimann a6e0d0361d 4.1.2 2021-04-26 23:48:41 +02:00
Martin Aeschlimann cd100be930 4.1.1 2021-04-26 23:45:03 +02:00
Martin Aeschlimann d12e65c7ca
problems loading refs with minus in URI schema name. Fixes microsoft/vscode#115419 2021-04-26 23:42:31 +02:00
Martin Aeschlimann d95a1d71c8
4.1.0 2021-04-24 12:36:12 +02:00
Martin Aeschlimann eb27224b6a
Merge pull request #93 from mifieldxu/main
improved glob matching using minimatch
2021-04-24 03:22:34 -07:00
Martin Aeschlimann abd55da52a
update spec and changelog 2021-04-24 11:53:55 +02:00