vscode-html-languageservice
Advanced tools
Comparing version 5.1.1 to 5.1.2
// copied from js-beautify/js/lib/beautify-css.js | ||
// version: 1.14.9 | ||
// version: 1.14.11 | ||
/* AUTO-GENERATED. DO NOT MODIFY. */ | ||
@@ -1283,3 +1283,3 @@ /* | ||
// we have a variable or pseudo-class, add it and insert one space before continuing | ||
variable = this.eatString(": ").replace(/\s$/, ''); | ||
variable = this.eatString(": ").replace(/\s+$/, ''); | ||
this.print_string(variable); | ||
@@ -1289,4 +1289,2 @@ this._output.space_before_token = true; | ||
variable = variable.replace(/\s$/, ''); | ||
// might be sass variable | ||
@@ -1311,3 +1309,3 @@ if (parenLevel === 0 && variable.indexOf(':') !== -1) { | ||
// we have a variable or pseudo-class, add it and insert one space before continuing | ||
variableOrRule = this.eatString(": ").replace(/\s$/, ''); | ||
variableOrRule = this.eatString(": ").replace(/\s+$/, ''); | ||
this.print_string(variableOrRule); | ||
@@ -1317,4 +1315,2 @@ this._output.space_before_token = true; | ||
variableOrRule = variableOrRule.replace(/\s$/, ''); | ||
// might be less variable | ||
@@ -1321,0 +1317,0 @@ if (parenLevel === 0 && variableOrRule.indexOf(':') !== -1) { |
// copied from js-beautify/js/lib/beautify-css.js | ||
// version: 1.14.9 | ||
// version: 1.14.11 | ||
/* AUTO-GENERATED. DO NOT MODIFY. */ | ||
@@ -1286,3 +1286,3 @@ /* | ||
// we have a variable or pseudo-class, add it and insert one space before continuing | ||
variable = this.eatString(": ").replace(/\s$/, ''); | ||
variable = this.eatString(": ").replace(/\s+$/, ''); | ||
this.print_string(variable); | ||
@@ -1292,4 +1292,2 @@ this._output.space_before_token = true; | ||
variable = variable.replace(/\s$/, ''); | ||
// might be sass variable | ||
@@ -1314,3 +1312,3 @@ if (parenLevel === 0 && variable.indexOf(':') !== -1) { | ||
// we have a variable or pseudo-class, add it and insert one space before continuing | ||
variableOrRule = this.eatString(": ").replace(/\s$/, ''); | ||
variableOrRule = this.eatString(": ").replace(/\s+$/, ''); | ||
this.print_string(variableOrRule); | ||
@@ -1320,4 +1318,2 @@ this._output.space_before_token = true; | ||
variableOrRule = variableOrRule.replace(/\s$/, ''); | ||
// might be less variable | ||
@@ -1324,0 +1320,0 @@ if (parenLevel === 0 && variableOrRule.indexOf(':') !== -1) { |
{ | ||
"name": "vscode-html-languageservice", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "Language service for HTML", | ||
@@ -18,15 +18,15 @@ "main": "./lib/umd/htmlLanguageService.js", | ||
"devDependencies": { | ||
"@types/mocha": "^10.0.3", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "16.x", | ||
"@typescript-eslint/eslint-plugin": "^6.9.0", | ||
"@typescript-eslint/parser": "^6.9.0", | ||
"@vscode/web-custom-data": "^0.4.8", | ||
"eslint": "^8.52.0", | ||
"js-beautify": "^1.14.9", | ||
"@typescript-eslint/eslint-plugin": "^6.19.1", | ||
"@typescript-eslint/parser": "^6.19.1", | ||
"@vscode/web-custom-data": "^0.4.9", | ||
"eslint": "^8.56.0", | ||
"js-beautify": "^1.14.11", | ||
"mocha": "^10.2.0", | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.2.2" | ||
"typescript": "^5.3.3" | ||
}, | ||
"dependencies": { | ||
"@vscode/l10n": "^0.0.16", | ||
"@vscode/l10n": "^0.0.18", | ||
"vscode-languageserver-textdocument": "^1.0.11", | ||
@@ -45,8 +45,8 @@ "vscode-languageserver-types": "^3.17.5", | ||
"lint": "eslint src/**/*.ts", | ||
"install-types-next": "yarn add vscode-languageserver-types@next -f -S && yarn add vscode-languageserver-textdocument@next -f -S", | ||
"install-types-next": "npm i vscode-languageserver-types@next -f -S && npm i vscode-languageserver-textdocument@next -f -S", | ||
"copy-jsbeautify": "node ./build/copy-jsbeautify.js", | ||
"update-jsbeautify": "yarn add js-beautify && node ./build/update-jsbeautify.js", | ||
"update-jsbeautify-next": "yarn add js-beautify@next && node ./build/update-jsbeautify.js", | ||
"update-data": "yarn add @vscode/web-custom-data -D && node ./build/generateData.js" | ||
"update-jsbeautify": "npm i js-beautify && node ./build/update-jsbeautify.js", | ||
"update-jsbeautify-next": "npm i js-beautify@next && node ./build/update-jsbeautify.js", | ||
"update-data": "npm i @vscode/web-custom-data -D && node ./build/generateData.js" | ||
} | ||
} |
@@ -18,3 +18,3 @@ # vscode-html-languageservice | ||
- *doHover* provides hover information at a given location. | ||
- *format* formats the code at the given range. | ||
@@ -27,3 +27,3 @@ - *findDocumentLinks* finds all links in the document. | ||
For the complete API see [htmlLanguageService.ts](./src/htmlLanguageService.ts) and [htmlLanguageTypes.ts](./src/htmlLanguageTypes.ts) | ||
For the complete API see [htmlLanguageService.ts](./src/htmlLanguageService.ts) and [htmlLanguageTypes.ts](./src/htmlLanguageTypes.ts) | ||
@@ -38,4 +38,4 @@ Installation | ||
- clone this repo, run yarn | ||
- `yarn test` to compile and run tests | ||
- clone this repo, run `npm i`` | ||
- `npm test` to compile and run tests | ||
@@ -55,4 +55,4 @@ | ||
- link the folder of the `vscode-html-languageservice` repo to `vscode/extensions/html-language-features/server` to run VSCode with the latest changes from that folder: | ||
- cd `vscode-html-languageservice`, `yarn link` | ||
- cd `vscode/extensions/html-language-features/server`, `yarn link vscode-html-languageservice` | ||
- cd `vscode-html-languageservice`, `npm link` | ||
- cd `vscode/extensions/html-language-features/server`, `npm link vscode-html-languageservice` | ||
- run VSCode out of source (`vscode/scripts/code.sh|bat`) and open a `.html` file | ||
@@ -59,0 +59,0 @@ - in VSCode window that is open on the `vscode-html-languageservice` sources, run command `Debug: Attach to Node process` and pick the `code-oss` process with the `html-language-features` path |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1575989
33042
+ Added@vscode/l10n@0.0.18(transitive)
- Removed@vscode/l10n@0.0.16(transitive)
Updated@vscode/l10n@^0.0.18