vscode-css-languageservice 6.3.3-2 → 6.3.3
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.
- package/lib/esm/beautify/beautify-css.js +1 -1
- package/lib/esm/cssLanguageTypes.d.ts +11 -0
- package/lib/esm/data/webCustomData.js +5944 -806
- package/lib/esm/languageFacts/entry.js +9 -10
- package/lib/umd/beautify/beautify-css.js +1 -1
- package/lib/umd/cssLanguageTypes.d.ts +11 -0
- package/lib/umd/data/webCustomData.js +5944 -806
- package/lib/umd/languageFacts/entry.js +9 -10
- package/package.json +8 -8
|
@@ -133,20 +133,19 @@
|
|
|
133
133
|
if (browsers.length === 0) {
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
let result = '';
|
|
136
|
+
const entries = [];
|
|
137
|
+
for (const b of browsers) {
|
|
139
138
|
const matches = b.match(/([A-Z]+)(\d+)?/);
|
|
140
139
|
const name = matches[1];
|
|
141
140
|
const version = matches[2];
|
|
142
141
|
if (name in exports.browserNames) {
|
|
143
|
-
result
|
|
142
|
+
let result = exports.browserNames[name];
|
|
143
|
+
if (version) {
|
|
144
|
+
result += ' ' + version;
|
|
145
|
+
}
|
|
146
|
+
entries.push(result);
|
|
144
147
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
148
|
-
return result;
|
|
149
|
-
})
|
|
150
|
-
.join(', ');
|
|
148
|
+
}
|
|
149
|
+
return entries.join(', ');
|
|
151
150
|
}
|
|
152
151
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vscode-css-languageservice",
|
|
3
|
-
"version": "6.3.3
|
|
3
|
+
"version": "6.3.3",
|
|
4
4
|
"description": "Language service for CSS, LESS and SCSS",
|
|
5
5
|
"main": "./lib/umd/cssLanguageService.js",
|
|
6
6
|
"typings": "./lib/umd/cssLanguageService",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/mocha": "^10.0.10",
|
|
19
19
|
"@types/node": "18.x",
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
21
|
-
"@typescript-eslint/parser": "^
|
|
22
|
-
"@vscode/web-custom-data": "^0.
|
|
23
|
-
"eslint": "^
|
|
24
|
-
"js-beautify": "^1.15.
|
|
25
|
-
"mocha": "^
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "^8.27.0",
|
|
21
|
+
"@typescript-eslint/parser": "^8.27.0",
|
|
22
|
+
"@vscode/web-custom-data": "^0.5.0",
|
|
23
|
+
"eslint": "^9.23.0",
|
|
24
|
+
"js-beautify": "^1.15.4",
|
|
25
|
+
"mocha": "^11.1.0",
|
|
26
26
|
"rimraf": "^6.0.1",
|
|
27
27
|
"source-map-support": "^0.5.21",
|
|
28
|
-
"typescript": "^5.
|
|
28
|
+
"typescript": "^5.8.2"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@vscode/l10n": "^0.0.18",
|