Skip to content

Commit

Permalink
1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenisx committed Mar 29, 2022
1 parent c205107 commit 851a4c1
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 64 deletions.
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"intellisense"
],
"description": "Intellisense support for CSS Variables",
"version": "1.3.0",
"version": "1.4.0",
"publisher": "phoenisx",
"license": "MIT",
"homepage": "https://github.com/willofindie/vscode-cssvar",
Expand Down Expand Up @@ -126,41 +126,41 @@
"test": "cross-env NODE_ENV=production jest"
},
"devDependencies": {
"@babel/core": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/preset-typescript": "^7.13.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-commonjs": "^18.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@types/css": "^0.0.31",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.22",
"@types/lodash": "^4.14.168",
"@types/node": "^12.11.7",
"@types/vscode": "^1.46.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"@types/glob": "^7.2.0",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.180",
"@types/node": "^12.20.47",
"@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"babel-jest": "^26.6.3",
"cross-env": "^7.0.3",
"esbuild": "^0.14.25",
"eslint": "^7.19.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-prettier": "^3.3.1",
"esbuild": "^0.14.28",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^24.7.0",
"eslint-plugin-prettier": "^3.4.1",
"husky": "^5.2.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"lodash": "^4.17.21",
"postcss-scss": "^4.0.3",
"prettier": "^2.2.1",
"prettier": "^2.6.1",
"rimraf": "^3.0.2",
"rollup": "^2.43.0",
"rollup": "^2.70.1",
"rollup-plugin-esbuild": "^4.8.2",
"typescript": "^4.1.3"
"typescript": "^4.6.3"
},
"dependencies": {
"culori": "^2.0.3",
"fast-glob": "^3.2.5",
"postcss": "^8.2.8"
"fast-glob": "^3.2.11",
"postcss": "^8.4.12"
},
"lint-staged": {
"*.{ts,tsx}": [
Expand Down
167 changes: 126 additions & 41 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/completion-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export class CssCompletionProvider implements CompletionItemProvider {
position: Position
): Promise<CompletionList | null> {
const firstInLine = new Position(position.line, 0);
const language: SupportedLanguageIds = document.languageId as SupportedLanguageIds;
const language: SupportedLanguageIds =
document.languageId as SupportedLanguageIds;

/**
* VSCode auto-fills extra characters post our current cursor position sometimes
Expand Down

0 comments on commit 851a4c1

Please sign in to comment.