diff --git a/docs/package.json b/docs/package.json index b3b9e36..2e1c4c3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -17,6 +17,6 @@ "devDependencies": { "@types/node": "18.11.18", "@types/react": "18.0.12", - "typescript": "5.0.3" + "typescript": "5.1.3" } } diff --git a/examples/astro-with-tailwindcss/package.json b/examples/astro-with-tailwindcss/package.json index d59b5fa..fc9ff2d 100644 --- a/examples/astro-with-tailwindcss/package.json +++ b/examples/astro-with-tailwindcss/package.json @@ -18,6 +18,6 @@ "tailwindcss": "^3.0.24" }, "devDependencies": { - "typescript": "5.0.3" + "typescript": "5.1.3" } } diff --git a/examples/react-with-css-modules/package.json b/examples/react-with-css-modules/package.json index 2a7c488..b70beb6 100644 --- a/examples/react-with-css-modules/package.json +++ b/examples/react-with-css-modules/package.json @@ -17,7 +17,7 @@ "@types/react": "18.0.12", "@types/react-dom": "18.0.5", "@vitejs/plugin-react": "^3.1.0", - "typescript": "5.0.3", + "typescript": "5.1.3", "vite": "^4.1.0" } } diff --git a/examples/react-with-tailwindcss/package.json b/examples/react-with-tailwindcss/package.json index d654a97..03ddf65 100644 --- a/examples/react-with-tailwindcss/package.json +++ b/examples/react-with-tailwindcss/package.json @@ -20,7 +20,7 @@ "autoprefixer": "^10.4.13", "postcss": "^8.4.21", "tailwindcss": "^3.0.24", - "typescript": "5.0.3", + "typescript": "5.1.3", "vite": "^4.1.0" } } diff --git a/examples/svelte/package.json b/examples/svelte/package.json index a7aec67..da2cba3 100644 --- a/examples/svelte/package.json +++ b/examples/svelte/package.json @@ -15,7 +15,7 @@ "svelte": "^3.59.1", "svelte-check": "^3.3.2", "tslib": "^2.5.0", - "typescript": "5.0.3", + "typescript": "5.1.3", "vite": "^4.1.0" } } diff --git a/examples/vue/package.json b/examples/vue/package.json index 9cfb2dc..bf612ff 100644 --- a/examples/vue/package.json +++ b/examples/vue/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^4.2.3", - "typescript": "5.0.3", + "typescript": "5.1.3", "vite": "^4.1.0", "vue-tsc": "^1.0.24" } diff --git a/packages/@cva/tailwindcss/package.json b/packages/@cva/tailwindcss/package.json index 91e53a6..770775d 100644 --- a/packages/@cva/tailwindcss/package.json +++ b/packages/@cva/tailwindcss/package.json @@ -63,7 +63,7 @@ "react-dom": "18.2.0", "tailwind-merge": "1.12.0", "ts-node": "10.8.1", - "typescript": "5.0.3" + "typescript": "5.1.3" }, "peerDependencies": { "cva": "workspace:*", diff --git a/packages/class-variance-authority/package.json b/packages/class-variance-authority/package.json index c50072c..a7d4092 100644 --- a/packages/class-variance-authority/package.json +++ b/packages/class-variance-authority/package.json @@ -70,6 +70,6 @@ "react": "18.2.0", "react-dom": "18.2.0", "ts-node": "10.8.1", - "typescript": "5.0.3" + "typescript": "5.1.3" } } diff --git a/packages/class-variance-authority/src/index.test.ts b/packages/class-variance-authority/src/index.test.ts index 8b57678..cf1a9d2 100644 --- a/packages/class-variance-authority/src/index.test.ts +++ b/packages/class-variance-authority/src/index.test.ts @@ -61,7 +61,6 @@ describe("cva", () => { ); expect( example({ - // @ts-expect-error class: "adhoc-class", // @ts-expect-error className: "adhoc-className", @@ -84,7 +83,6 @@ describe("cva", () => { ); expect( example({ - // @ts-expect-error class: "adhoc-class", // @ts-expect-error className: "adhoc-className", @@ -107,7 +105,6 @@ describe("cva", () => { ); expect( example({ - // @ts-expect-error class: "adhoc-class", // @ts-expect-error className: "adhoc-className", diff --git a/packages/cva/package.json b/packages/cva/package.json index e6ba10f..ee718a5 100644 --- a/packages/cva/package.json +++ b/packages/cva/package.json @@ -65,7 +65,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "ts-node": "10.8.1", - "typescript": "5.0.3" + "typescript": "5.1.3" }, "peerDependencies": { "typescript": ">= 4.5.5 < 6" diff --git a/packages/cva/src/index.test.ts b/packages/cva/src/index.test.ts index 58169c1..f76d81e 100644 --- a/packages/cva/src/index.test.ts +++ b/packages/cva/src/index.test.ts @@ -62,7 +62,6 @@ describe("cva", () => { ); expect( example({ - // @ts-expect-error class: "adhoc-class", // @ts-expect-error className: "adhoc-className", @@ -86,7 +85,6 @@ describe("cva", () => { ); expect( example({ - // @ts-expect-error class: "adhoc-class", // @ts-expect-error className: "adhoc-className", @@ -112,7 +110,6 @@ describe("cva", () => { ); expect( example({ - // @ts-expect-error class: "adhoc-class", // @ts-expect-error className: "adhoc-className", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 144fef3..865e264 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -67,8 +67,8 @@ importers: specifier: 18.0.12 version: 18.0.12 typescript: - specifier: 5.0.3 - version: 5.0.3 + specifier: 5.1.3 + version: 5.1.3 examples/astro-with-tailwindcss: dependencies: @@ -89,8 +89,8 @@ importers: version: 3.0.24(postcss@8.4.21) devDependencies: typescript: - specifier: 5.0.3 - version: 5.0.3 + specifier: 5.1.3 + version: 5.1.3 examples/react-with-css-modules: dependencies: @@ -114,8 +114,8 @@ importers: specifier: ^3.1.0 version: 3.1.0(vite@4.1.0) typescript: - specifier: 5.0.3 - version: 5.0.3 + specifier: 5.1.3 + version: 5.1.3 vite: specifier: ^4.1.0 version: 4.1.0 @@ -151,8 +151,8 @@ importers: specifier: ^3.0.24 version: 3.0.24(postcss@8.4.21) typescript: - specifier: 5.0.3 - version: 5.0.3 + specifier: 5.1.3 + version: 5.1.3 vite: specifier: ^4.1.0 version: 4.1.0 @@ -178,8 +178,8 @@ importers: specifier: ^2.5.0 version: 2.5.0 typescript: - specifier: 5.0.3 - version: 5.0.3 + specifier: 5.1.3 + version: 5.1.3 vite: specifier: ^4.1.0 version: 4.1.0 @@ -197,14 +197,14 @@ importers: specifier: ^4.2.3 version: 4.2.3(vite@4.1.0)(vue@3.3.4) typescript: - specifier: 5.0.3 - version: 5.0.3 + specifier: 5.1.3 + version: 5.1.3 vite: specifier: ^4.1.0 version: 4.1.0 vue-tsc: specifier: ^1.0.24 - version: 1.0.24(typescript@5.0.3) + version: 1.0.24(typescript@5.1.3) packages/@cva/tailwindcss: devDependencies: @@ -255,10 +255,10 @@ importers: version: 1.12.0 ts-node: specifier: 10.8.1 - version: 10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.0.3) + version: 10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.1.3) typescript: - specifier: 5.0.3 - version: 5.0.3 + specifier: 5.1.3 + version: 5.1.3 packages/class-variance-authority: dependencies: @@ -307,10 +307,10 @@ importers: version: 18.2.0(react@18.2.0) ts-node: specifier: 10.8.1 - version: 10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.0.3) + version: 10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.1.3) typescript: - specifier: 5.0.3 - version: 5.0.3 + specifier: 5.1.3 + version: 5.1.3 packages/cva: dependencies: @@ -359,10 +359,10 @@ importers: version: 18.2.0(react@18.2.0) ts-node: specifier: 10.8.1 - version: 10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.0.3) + version: 10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.1.3) typescript: - specifier: 5.0.3 - version: 5.0.3 + specifier: 5.1.3 + version: 5.1.3 packages: @@ -2649,7 +2649,7 @@ packages: strip-ansi: 7.0.1 supports-esm: 1.0.0 tsconfig-resolver: 3.0.1 - typescript: 5.0.3 + typescript: 5.1.3 unist-util-visit: 4.1.2 vfile: 5.3.7 vite: 4.2.1 @@ -4759,7 +4759,7 @@ packages: pretty-format: 28.1.3 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.0.3) + ts-node: 10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.1.3) transitivePeerDependencies: - supports-color dev: true @@ -7682,8 +7682,8 @@ packages: picocolors: 1.0.0 sade: 1.8.1 svelte: 3.59.1 - svelte-preprocess: 5.0.3(svelte@3.59.1)(typescript@5.0.3) - typescript: 5.0.3 + svelte-preprocess: 5.0.3(svelte@3.59.1)(typescript@5.1.3) + typescript: 5.1.3 transitivePeerDependencies: - '@babel/core' - coffeescript @@ -7705,7 +7705,7 @@ packages: svelte: 3.59.1 dev: true - /svelte-preprocess@5.0.3(svelte@3.59.1)(typescript@5.0.3): + /svelte-preprocess@5.0.3(svelte@3.59.1)(typescript@5.1.3): resolution: {integrity: sha512-GrHF1rusdJVbOZOwgPWtpqmaexkydznKzy5qIC2FabgpFyKN57bjMUUUqPRfbBXK5igiEWn1uO/DXsa2vJ5VHA==} engines: {node: '>= 14.10.0'} requiresBuild: true @@ -7749,7 +7749,7 @@ packages: sorcery: 0.11.0 strip-indent: 3.0.0 svelte: 3.59.1 - typescript: 5.0.3 + typescript: 5.1.3 dev: true /svelte@3.59.1: @@ -7904,7 +7904,7 @@ packages: resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==} dev: false - /ts-node@10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.0.3): + /ts-node@10.8.1(@swc/core@1.2.198)(@types/node@18.11.18)(typescript@5.1.3): resolution: {integrity: sha512-Wwsnao4DQoJsN034wePSg5nZiw4YKXf56mPIAeD6wVmiv+RytNSWqc2f3fKvcUoV+Yn2+yocD71VOfQHbmVX4g==} hasBin: true peerDependencies: @@ -7931,7 +7931,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.0.3 + typescript: 5.1.3 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true @@ -7988,9 +7988,9 @@ packages: for-each: 0.3.3 is-typed-array: 1.1.10 - /typescript@5.0.3: - resolution: {integrity: sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==} - engines: {node: '>=12.20'} + /typescript@5.1.3: + resolution: {integrity: sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==} + engines: {node: '>=14.17'} hasBin: true /unbox-primitive@1.0.2: @@ -8363,7 +8363,7 @@ packages: he: 1.2.0 dev: true - /vue-tsc@1.0.24(typescript@5.0.3): + /vue-tsc@1.0.24(typescript@5.1.3): resolution: {integrity: sha512-mmU1s5SAqE1nByQAiQnao9oU4vX+mSdsgI8H57SfKH6UVzq/jP9+Dbi2GaV+0b4Cn361d2ln8m6xeU60ApiEXg==} hasBin: true peerDependencies: @@ -8371,7 +8371,7 @@ packages: dependencies: '@volar/vue-language-core': 1.0.24 '@volar/vue-typescript': 1.0.24 - typescript: 5.0.3 + typescript: 5.1.3 dev: true /vue@3.3.4: