vscode-json-languageservice 4.2.0 → 4.2.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.
|
@@ -576,7 +576,7 @@ var idCounter = 0;
|
|
|
576
576
|
function normalizeId(id) {
|
|
577
577
|
// remove trailing '#', normalize drive capitalization
|
|
578
578
|
try {
|
|
579
|
-
return URI.parse(id).toString();
|
|
579
|
+
return URI.parse(id).toString(true);
|
|
580
580
|
}
|
|
581
581
|
catch (e) {
|
|
582
582
|
return id;
|
|
@@ -585,7 +585,7 @@ function normalizeId(id) {
|
|
|
585
585
|
function normalizeResourceForMatching(resource) {
|
|
586
586
|
// remove queries and fragments, normalize drive capitalization
|
|
587
587
|
try {
|
|
588
|
-
return URI.parse(resource).with({ fragment: null, query: null }).toString();
|
|
588
|
+
return URI.parse(resource).with({ fragment: null, query: null }).toString(true);
|
|
589
589
|
}
|
|
590
590
|
catch (e) {
|
|
591
591
|
return resource;
|
|
@@ -588,7 +588,7 @@
|
|
|
588
588
|
function normalizeId(id) {
|
|
589
589
|
// remove trailing '#', normalize drive capitalization
|
|
590
590
|
try {
|
|
591
|
-
return vscode_uri_1.URI.parse(id).toString();
|
|
591
|
+
return vscode_uri_1.URI.parse(id).toString(true);
|
|
592
592
|
}
|
|
593
593
|
catch (e) {
|
|
594
594
|
return id;
|
|
@@ -597,7 +597,7 @@
|
|
|
597
597
|
function normalizeResourceForMatching(resource) {
|
|
598
598
|
// remove queries and fragments, normalize drive capitalization
|
|
599
599
|
try {
|
|
600
|
-
return vscode_uri_1.URI.parse(resource).with({ fragment: null, query: null }).toString();
|
|
600
|
+
return vscode_uri_1.URI.parse(resource).with({ fragment: null, query: null }).toString(true);
|
|
601
601
|
}
|
|
602
602
|
catch (e) {
|
|
603
603
|
return resource;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vscode-json-languageservice",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"description": "Language service for JSON",
|
|
5
5
|
"main": "./lib/umd/jsonLanguageService.js",
|
|
6
6
|
"typings": "./lib/umd/jsonLanguageService",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/mocha": "^9.1.0",
|
|
19
19
|
"@types/node": "^10.12.21",
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
21
|
-
"@typescript-eslint/parser": "^5.
|
|
22
|
-
"eslint": "^8.
|
|
23
|
-
"mocha": "^9.2.
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
|
21
|
+
"@typescript-eslint/parser": "^5.15.0",
|
|
22
|
+
"eslint": "^8.11.0",
|
|
23
|
+
"mocha": "^9.2.2",
|
|
24
24
|
"rimraf": "^3.0.2",
|
|
25
25
|
"typescript": "^4.5.5"
|
|
26
26
|
},
|