From 98d08129cf762bba7ade0f5ec45b731258d6061a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 6 Jun 2024 15:07:19 -0400 Subject: [PATCH] Adjust to new hover behviour for enum Signed-off-by: David Thompson --- package.json | 4 ++-- test/schemaProvider.test.ts | 2 +- yarn.lock | 30 +++++++++++++++--------------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index b499a5c3..7e04a1bf 100644 --- a/package.json +++ b/package.json @@ -299,6 +299,6 @@ "vscode-nls": "^3.2.1", "vscode-uri": "^2.0.3", "whatwg-fetch": "^3.6.2", - "yaml-language-server": "next" + "yaml-language-server": "1.15.0" } -} \ No newline at end of file +} diff --git a/test/schemaProvider.test.ts b/test/schemaProvider.test.ts index 56ea0a6c..81e57b76 100644 --- a/test/schemaProvider.test.ts +++ b/test/schemaProvider.test.ts @@ -31,7 +31,7 @@ describe('Tests for schema provider feature', () => { await vscode.window.showTextDocument(hoverUri); await testHover(hoverUri, new vscode.Position(0, 3), [ { - contents: ['A stringy string string'], + contents: ['A stringy string string\n\nAllowed Values:\n\n* `test`\n'], }, ]); diff --git a/yarn.lock b/yarn.lock index 23664ddd..955bda7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3709,16 +3709,16 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4" - integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg== - prettier@2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== +prettier@2.8.7: + version "2.8.7" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.7.tgz#bb79fc8729308549d28fe3a98fce73d2c0656450" + integrity sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw== + private@~0.1.5: version "0.1.8" resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" @@ -4927,10 +4927,10 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml-language-server@next: - version "1.13.1-762209c.0" - resolved "https://registry.yarnpkg.com/yaml-language-server/-/yaml-language-server-1.13.1-762209c.0.tgz#b61c02843c67701a8dc84202e38b045b4546ad8b" - integrity sha512-ws5qAIqcZbP+J5qNhvZ0JfkdpaUzpJl1UrHM/3POTPkpBZDQRdlbdpxYypT48xelTTxMe3uXy9SV6dLQYVv7YA== +yaml-language-server@1.15.0: + version "1.15.0" + resolved "https://registry.yarnpkg.com/yaml-language-server/-/yaml-language-server-1.15.0.tgz#3bd36f1f7fd74e63b591e5148df992c7327be05a" + integrity sha512-N47AqBDCMQmh6mBLmI6oqxryHRzi33aPFPsJhYy3VTUGCdLHYjGh4FZzpUjRlphaADBBkDmnkM/++KNIOHi5Rw== dependencies: ajv "^8.11.0" lodash "4.17.21" @@ -4941,14 +4941,14 @@ yaml-language-server@next: vscode-languageserver-types "^3.16.0" vscode-nls "^5.0.0" vscode-uri "^3.0.2" - yaml "2.2.1" + yaml "2.2.2" optionalDependencies: - prettier "2.0.5" + prettier "2.8.7" -yaml@2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.2.1.tgz#3014bf0482dcd15147aa8e56109ce8632cd60ce4" - integrity sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw== +yaml@2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.2.2.tgz#ec551ef37326e6d42872dad1970300f8eb83a073" + integrity sha512-CBKFWExMn46Foo4cldiChEzn7S7SRV+wqiluAb6xmueD/fGyRHIhX8m14vVGgeFWjN540nKCNVj6P21eQjgTuA== yargs-parser@20.2.4: version "20.2.4"