diff --git a/package.json b/package.json index e28f1df..b205e06 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "typescript": "^4.0.0" }, "dependencies": { - "emmet": "^2.3.0", + "emmet": "^2.4.2", "jsonc-parser": "^2.3.0", "vscode-languageserver-textdocument": "^1.0.1", "vscode-languageserver-types": "^3.15.1", diff --git a/src/test/expand.test.ts b/src/test/expand.test.ts index b4fc9d8..6b4d66c 100644 --- a/src/test/expand.test.ts +++ b/src/test/expand.test.ts @@ -127,8 +127,8 @@ describe('Expand Abbreviations', () => { testCountCompletions('html', 'body', 1); // https://github.com/microsoft/vscode/issues/115839 - testExpandWithCompletion('css', 'bgc', 'background-color: #${1:fff};'); - testExpandWithCompletion('sass', 'bgc', 'background-color: #${1:fff}'); + testExpandWithCompletion('css', 'bgc', 'background-color: ${1:#fff};'); + testExpandWithCompletion('sass', 'bgc', 'background-color: ${1:#fff}'); // https://github.com/microsoft/vscode/issues/115854 testCountCompletions('sass', 'bkco', 0); diff --git a/yarn.lock b/yarn.lock index 1cbbc3a..8c1be15 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,24 +2,24 @@ # yarn lockfile v1 -"@emmetio/abbreviation@^2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@emmetio/abbreviation/-/abbreviation-2.2.3.tgz#2b3c0383c1a4652f677d5b56fb3f1616fe16ef10" - integrity sha512-87pltuCPt99aL+y9xS6GPZ+Wmmyhll2WXH73gG/xpGcQ84DRnptBsI2r0BeIQ0EB/SQTOe2ANPqFqj3Rj5FOGA== +"@emmetio/abbreviation@^2.3.1": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@emmetio/abbreviation/-/abbreviation-2.3.1.tgz#b5ec06b9629ec63292f3a378e716dcb3071924ea" + integrity sha512-QXgYlXZGprqb6aCBJPPWVBN/Jb69khJF73GGJkOk//PoMgSbPGuaHn1hCRolctnzlBHjCIC6Om97Pw46/1A23g== dependencies: - "@emmetio/scanner" "^1.0.0" + "@emmetio/scanner" "^1.0.2" -"@emmetio/css-abbreviation@^2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@emmetio/css-abbreviation/-/css-abbreviation-2.1.4.tgz#90362e8a1122ce3b76f6c3157907d30182f53f54" - integrity sha512-qk9L60Y+uRtM5CPbB0y+QNl/1XKE09mSO+AhhSauIfr2YOx/ta3NJw2d8RtCFxgzHeRqFRr8jgyzThbu+MZ4Uw== +"@emmetio/css-abbreviation@^2.1.6": + version "2.1.6" + resolved "https://registry.yarnpkg.com/@emmetio/css-abbreviation/-/css-abbreviation-2.1.6.tgz#f37f7ffb8d76efc40d3629739758531bbe810d7b" + integrity sha512-bvuPogt0OvwcILRg+ZD/oej1H72xwOhUDPWOmhCWLJrZZ8bMTazsWnvw8a8noaaVqUhOE9PsC0tYgGVv5N7fsw== dependencies: - "@emmetio/scanner" "^1.0.0" + "@emmetio/scanner" "^1.0.2" -"@emmetio/scanner@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@emmetio/scanner/-/scanner-1.0.0.tgz#065b2af6233fe7474d44823e3deb89724af42b5f" - integrity sha512-8HqW8EVqjnCmWXVpqAOZf+EGESdkR27odcMMMGefgKXtar00SoYNSryGv//TELI4T3QFsECo78p+0lmalk/CFA== +"@emmetio/scanner@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@emmetio/scanner/-/scanner-1.0.2.tgz#ee96ecb9f9cfa5f7a876a13011ae74ee06e9100d" + integrity sha512-1ESCGgXRgn1r29hRmz8K0G4Ywr5jDWezMgRnICComBCWmg3znLWU8+tmakuM1og1Vn4W/sauvlABl/oq2pve8w== "@types/mocha@^9.1.0": version "9.1.0" @@ -172,13 +172,13 @@ diff@5.0.0: resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== -emmet@^2.3.0: - version "2.3.6" - resolved "https://registry.yarnpkg.com/emmet/-/emmet-2.3.6.tgz#1d93c1ac03164da9ddf74864c1f341ed6ff6c336" - integrity sha512-pLS4PBPDdxuUAmw7Me7+TcHbykTsBKN/S9XJbUOMFQrNv9MoshzyMFK/R57JBm94/6HSL4vHnDeEmxlC82NQ4A== +emmet@^2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/emmet/-/emmet-2.4.2.tgz#686983e7b8623ad582fc9fbb6515b17d195c0394" + integrity sha512-YgmsMkhUgzhJMgH5noGudfxqrQn1bapvF0y7C1e7A0jWFImsRrrvVslzyZz0919NED/cjFOpVWx7c973V+2S/w== dependencies: - "@emmetio/abbreviation" "^2.2.3" - "@emmetio/css-abbreviation" "^2.1.4" + "@emmetio/abbreviation" "^2.3.1" + "@emmetio/css-abbreviation" "^2.1.6" emoji-regex@^8.0.0: version "8.0.0"