diff --git a/e2e/package-lock.json b/e2e/package-lock.json index 01f0fb8..7a353cd 100644 --- a/e2e/package-lock.json +++ b/e2e/package-lock.json @@ -10,19 +10,19 @@ "license": "ISC", "dependencies": { "@styled/typescript-styled-plugin": "file:./..", - "typescript": "^4.9.3" + "typescript": "^5.3.3" } }, "..": { "name": "@styled/typescript-styled-plugin", - "version": "0.19.0", + "version": "1.0.1", "license": "MIT", "dependencies": { - "typescript-template-language-service-decorator": "^2.3.1", - "vscode-css-languageservice": "^6.2.1", - "vscode-emmet-helper": "^2.6.4", - "vscode-languageserver-textdocument": "^1.0.7", - "vscode-languageserver-types": "^3.17.2" + "@vscode/emmet-helper": "^2.9.2", + "typescript-template-language-service-decorator": "^2.3.2", + "vscode-css-languageservice": "^6.2.11", + "vscode-languageserver-textdocument": "^1.0.11", + "vscode-languageserver-types": "^3.17.5" }, "devDependencies": { "@types/chai": "^4.3.4", @@ -36,7 +36,7 @@ "glob": "^8.0.3", "mocha": "^10.1.0", "prettier": "^2.8.0", - "typescript": "^4.9.3" + "typescript": "^5.3.3" } }, "../node_modules/@babel/helper-validator-identifier": { @@ -112,11 +112,6 @@ "has-flag": "^3.0.0" } }, - "../node_modules/@emmetio/extract-abbreviation": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@emmetio/extract-abbreviation/-/extract-abbreviation-0.1.6.tgz", - "integrity": "sha512-Ce3xE2JvTSEbASFbRbA1gAIcMcZWdS2yUYRaQbeM0nbOzaZrUYfa3ePtcriYRZOZmr+CkKA+zbjhvTpIOAYVcw==" - }, "../node_modules/@eslint/eslintrc": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.0.tgz", @@ -1199,11 +1194,6 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, - "../node_modules/jsonc-parser": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-1.0.3.tgz", - "integrity": "sha512-hk/69oAeaIzchq/v3lS50PXuzn5O2ynldopMC+SWBql7J2WtdptfB9dy8Y7+Og5rPkTCpn83zTiO8FMcqlXJ/g==" - }, "../node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -1795,16 +1785,6 @@ "vscode-uri": "^3.0.2" } }, - "../node_modules/vscode-emmet-helper": { - "version": "1.2.11", - "resolved": "https://registry.npmjs.org/vscode-emmet-helper/-/vscode-emmet-helper-1.2.11.tgz", - "integrity": "sha512-ms6/Z9TfNbjXS8r/KgbGxrNrFlu4RcIfVJxTZ2yFi0K4gn+Ka9X1+8cXvb5+5IOBGUrOsPjR0BuefdDkG+CKbQ==", - "dependencies": { - "@emmetio/extract-abbreviation": "0.1.6", - "jsonc-parser": "^1.0.0", - "vscode-languageserver-types": "^3.6.0-next.1" - } - }, "../node_modules/vscode-languageserver-textdocument": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.1.tgz", @@ -1992,15 +1972,15 @@ "link": true }, "node_modules/typescript": { - "version": "4.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz", - "integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } } }, @@ -2013,18 +1993,18 @@ "@types/node": "^18.11.9", "@typescript-eslint/eslint-plugin": "^5.6.0", "@typescript-eslint/parser": "^5.6.0", + "@vscode/emmet-helper": "^2.9.2", "chai": "^4.3.7", "eslint": "^8.28.0", "eslint-plugin-prettier": "^4.2.1", "glob": "^8.0.3", "mocha": "^10.1.0", "prettier": "^2.8.0", - "typescript": "^4.9.3", - "typescript-template-language-service-decorator": "^2.3.1", - "vscode-css-languageservice": "^6.2.1", - "vscode-emmet-helper": "^2.6.4", - "vscode-languageserver-textdocument": "^1.0.7", - "vscode-languageserver-types": "^3.17.2" + "typescript": "^5.3.3", + "typescript-template-language-service-decorator": "^2.3.2", + "vscode-css-languageservice": "^6.2.11", + "vscode-languageserver-textdocument": "^1.0.11", + "vscode-languageserver-types": "^3.17.5" }, "dependencies": { "@babel/helper-validator-identifier": { @@ -2102,11 +2082,6 @@ } } }, - "@emmetio/extract-abbreviation": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@emmetio/extract-abbreviation/-/extract-abbreviation-0.1.6.tgz", - "integrity": "sha512-Ce3xE2JvTSEbASFbRbA1gAIcMcZWdS2yUYRaQbeM0nbOzaZrUYfa3ePtcriYRZOZmr+CkKA+zbjhvTpIOAYVcw==" - }, "@eslint/eslintrc": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.0.tgz", @@ -3205,11 +3180,6 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, - "jsonc-parser": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-1.0.3.tgz", - "integrity": "sha512-hk/69oAeaIzchq/v3lS50PXuzn5O2ynldopMC+SWBql7J2WtdptfB9dy8Y7+Og5rPkTCpn83zTiO8FMcqlXJ/g==" - }, "levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -3804,15 +3774,6 @@ "vscode-uri": "^3.0.2" } }, - "vscode-emmet-helper": { - "version": "https://registry.npmjs.org/vscode-emmet-helper/-/vscode-emmet-helper-1.2.11.tgz", - "integrity": "sha512-ms6/Z9TfNbjXS8r/KgbGxrNrFlu4RcIfVJxTZ2yFi0K4gn+Ka9X1+8cXvb5+5IOBGUrOsPjR0BuefdDkG+CKbQ==", - "requires": { - "@emmetio/extract-abbreviation": "0.1.6", - "jsonc-parser": "^1.0.0", - "vscode-languageserver-types": "^3.6.0-next.1" - } - }, "vscode-languageserver-textdocument": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.1.tgz", @@ -4002,9 +3963,9 @@ } }, "typescript": { - "version": "4.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz", - "integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==" + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==" } } } diff --git a/e2e/package.json b/e2e/package.json index 5c630ae..be43791 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -14,7 +14,7 @@ "author": "", "license": "ISC", "dependencies": { - "typescript": "^4.9.3", + "typescript": "^5.3.3", "@styled/typescript-styled-plugin": "file:./.." } } diff --git a/e2e/tests/completions.js b/e2e/tests/completions.js index eea8f5a..ca1625a 100644 --- a/e2e/tests/completions.js +++ b/e2e/tests/completions.js @@ -19,7 +19,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); assert.isTrue(completionsResponse.body.some((item) => item.name === 'rgba')); }); @@ -43,7 +43,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); }); }); @@ -55,7 +55,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); }); }); @@ -78,7 +78,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); }); }); @@ -90,7 +90,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); }); }); @@ -102,7 +102,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); }); }); @@ -114,7 +114,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); }); }); @@ -181,7 +181,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); }); }); @@ -195,7 +195,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); }); }); @@ -207,7 +207,7 @@ describe('Completions', () => { return server.close().then(() => { const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); assert.isTrue(completionsResponse.body.some((item) => item.name === 'rgba')); }); @@ -220,7 +220,7 @@ describe('Completions', () => { await server.close(); const completionsResponse = getFirstResponseOfType('completions', server); assert.isTrue(completionsResponse.success); - assert.strictEqual(completionsResponse.body.length, 160); + assert.strictEqual(completionsResponse.body.length, 175); assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue')); assert.isTrue(completionsResponse.body.some((item) => item.name === 'rgba')); }); diff --git a/package-lock.json b/package-lock.json index 737d90e..139d6bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "glob": "^8.0.3", "mocha": "^10.1.0", "prettier": "^2.8.0", - "typescript": "^5.0.3" + "typescript": "^5.3.3" } }, "node_modules/@emmetio/abbreviation": { @@ -2231,16 +2231,16 @@ } }, "node_modules/typescript": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.3.tgz", - "integrity": "sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=12.20" + "node": ">=14.17" } }, "node_modules/typescript-template-language-service-decorator": { @@ -4063,9 +4063,9 @@ "dev": true }, "typescript": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.3.tgz", - "integrity": "sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "dev": true }, "typescript-template-language-service-decorator": { diff --git a/package.json b/package.json index e0fa242..438df57 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "glob": "^8.0.3", "mocha": "^10.1.0", "prettier": "^2.8.0", - "typescript": "^5.0.3" + "typescript": "^5.3.3" }, "scripts": { "compile": "tsc -p .",