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.
@@ -133,20 +133,19 @@
133
133
  if (browsers.length === 0) {
134
134
  return null;
135
135
  }
136
- return browsers
137
- .map(b => {
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 += exports.browserNames[name];
142
+ let result = exports.browserNames[name];
143
+ if (version) {
144
+ result += ' ' + version;
145
+ }
146
+ entries.push(result);
144
147
  }
145
- if (version) {
146
- result += ' ' + version;
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-2",
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": "^7.18.0",
21
- "@typescript-eslint/parser": "^7.13.1",
22
- "@vscode/web-custom-data": "^0.4.13",
23
- "eslint": "^8.57.1",
24
- "js-beautify": "^1.15.1",
25
- "mocha": "^10.8.2",
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.7.2"
28
+ "typescript": "^5.8.2"
29
29
  },
30
30
  "dependencies": {
31
31
  "@vscode/l10n": "^0.0.18",