diff --git a/package.json b/package.json index 4ed44d6..4cfdc8c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unplugin-jsx-string", "version": "0.7.1", - "packageManager": "pnpm@8.7.4", + "packageManager": "pnpm@8.7.6", "description": "Converts JSX to HTML strings at compile time.", "keywords": [ "unplugin", @@ -102,20 +102,20 @@ }, "dependencies": { "@babel/parser": "^7.22.16", - "@babel/types": "^7.22.17", + "@babel/types": "^7.22.19", "@rollup/pluginutils": "^5.0.4", "entities": "^4.5.0", "estree-walker": "^3.0.3", "jsesc": "^3.0.2", "magic-string": "^0.30.3", - "unplugin": "^1.4.0" + "unplugin": "^1.5.0" }, "devDependencies": { "@sxzz/eslint-config": "^3.5.4", "@sxzz/prettier-config": "^1.0.4", - "@types/benchmark": "^2.1.2", + "@types/benchmark": "^2.1.3", "@types/jsesc": "^3.0.1", - "@types/node": "^20.6.0", + "@types/node": "^20.6.2", "@types/react": "^18.2.21", "benchmark": "^2.1.4", "bumpp": "^9.2.0", @@ -124,7 +124,7 @@ "fast-glob": "^3.3.1", "prettier": "^3.0.3", "tsup": "^7.2.0", - "tsx": "^3.12.8", + "tsx": "^3.12.10", "typescript": "^5.2.2", "vite": "^4.4.9", "vitest": "^0.34.4" diff --git a/playground/package.json b/playground/package.json index 5e13199..db50912 100644 --- a/playground/package.json +++ b/playground/package.json @@ -1,7 +1,7 @@ { "name": "unplugin-jsx-string-playground", "version": "0.0.0", - "packageManager": "pnpm@8.7.4", + "packageManager": "pnpm@8.7.6", "license": "MIT", "author": "三咲智子 ", "scripts": { @@ -24,6 +24,6 @@ "unplugin-auto-import": "^0.16.6", "unplugin-vue-components": "^0.25.2", "vite": "^4.4.9", - "vue-tsc": "^1.8.10" + "vue-tsc": "^1.8.11" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f848457..a4b91ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^7.22.16 version: 7.22.16 '@babel/types': - specifier: ^7.22.17 - version: 7.22.17 + specifier: ^7.22.19 + version: 7.22.19 '@rollup/pluginutils': specifier: ^5.0.4 version: 5.0.4 @@ -30,8 +30,8 @@ importers: specifier: ^0.30.3 version: 0.30.3 unplugin: - specifier: ^1.4.0 - version: 1.4.0 + specifier: ^1.5.0 + version: 1.5.0 devDependencies: '@sxzz/eslint-config': specifier: ^3.5.4 @@ -40,14 +40,14 @@ importers: specifier: ^1.0.4 version: 1.0.4 '@types/benchmark': - specifier: ^2.1.2 - version: 2.1.2 + specifier: ^2.1.3 + version: 2.1.3 '@types/jsesc': specifier: ^3.0.1 version: 3.0.1 '@types/node': - specifier: ^20.6.0 - version: 20.6.0 + specifier: ^20.6.2 + version: 20.6.2 '@types/react': specifier: ^18.2.21 version: 18.2.21 @@ -73,14 +73,14 @@ importers: specifier: ^7.2.0 version: 7.2.0(typescript@5.2.2) tsx: - specifier: ^3.12.8 - version: 3.12.8 + specifier: ^3.12.10 + version: 3.12.10 typescript: specifier: ^5.2.2 version: 5.2.2 vite: specifier: ^4.4.9 - version: 4.4.9(@types/node@20.6.0) + version: 4.4.9(@types/node@20.6.2) vitest: specifier: ^0.34.4 version: 0.34.4 @@ -120,10 +120,10 @@ importers: version: 0.25.2(@babel/parser@7.22.16)(vue@3.3.4) vite: specifier: ^4.4.9 - version: 4.4.9(@types/node@20.6.0) + version: 4.4.9(@types/node@20.6.2) vue-tsc: - specifier: ^1.8.10 - version: 1.8.10(typescript@5.2.2) + specifier: ^1.8.11 + version: 1.8.11(typescript@5.2.2) packages: @@ -165,17 +165,17 @@ packages: /@babel/helper-validator-identifier@7.22.15: resolution: {integrity: sha512-4E/F9IIEi8WR94324mbDUMo074YTheJmd7eZF5vITTeYchqAi6sYXRLHUVsmkdmY4QjfKTcB2jB7dVP3NaBElQ==} engines: {node: '>=6.9.0'} + dev: true - /@babel/helper-validator-identifier@7.22.5: - resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} + /@babel/helper-validator-identifier@7.22.20: + resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} engines: {node: '>=6.9.0'} - dev: true /@babel/highlight@7.22.5: resolution: {integrity: sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-validator-identifier': 7.22.5 + '@babel/helper-validator-identifier': 7.22.15 chalk: 2.4.2 js-tokens: 4.0.0 dev: true @@ -185,35 +185,35 @@ packages: engines: {node: '>=6.0.0'} hasBin: true dependencies: - '@babel/types': 7.22.17 + '@babel/types': 7.22.19 - /@babel/types@7.22.17: - resolution: {integrity: sha512-YSQPHLFtQNE5xN9tHuZnzu8vPr61wVTBZdfv1meex1NBosa4iT05k/Jw06ddJugi4bk7The/oSwQGFcksmEJQg==} + /@babel/types@7.22.19: + resolution: {integrity: sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-string-parser': 7.22.5 - '@babel/helper-validator-identifier': 7.22.15 + '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 /@esbuild-kit/cjs-loader@2.4.2: resolution: {integrity: sha512-BDXFbYOJzT/NBEtp71cvsrGPwGAMGRB/349rwKuoxNSiKjPraNNnlK6MIIabViCjqZugu6j+xeMDlEkWdHHJSg==} dependencies: - '@esbuild-kit/core-utils': 3.2.2 + '@esbuild-kit/core-utils': 3.3.2 get-tsconfig: 4.6.2 dev: true - /@esbuild-kit/core-utils@3.2.2: - resolution: {integrity: sha512-Ub6LaRaAgF80dTSzUdXpFLM1pVDdmEVB9qb5iAzSpyDlX/mfJTFGOnZ516O05p5uWWteNviMKi4PAyEuRxI5gA==} + /@esbuild-kit/core-utils@3.3.2: + resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==} dependencies: esbuild: 0.18.20 source-map-support: 0.5.21 dev: true - /@esbuild-kit/esm-loader@2.5.5: - resolution: {integrity: sha512-Qwfvj/qoPbClxCRNuac1Du01r9gvNOT+pMYtJDapfB1eoGN1YlJ1BixLyL9WVENRx5RXgNLdfYdx/CuswlGhMw==} + /@esbuild-kit/esm-loader@2.6.5: + resolution: {integrity: sha512-FxEMIkJKnodyA1OaCUoEvbYRkoZlLZ4d/eXFu9Fh8CbBBgP5EmZxrfTRyN0qpXZ4vOvqnE5YdRdcrmUUXuU+dA==} dependencies: - '@esbuild-kit/core-utils': 3.2.2 - get-tsconfig: 4.6.2 + '@esbuild-kit/core-utils': 3.3.2 + get-tsconfig: 4.7.0 dev: true /@esbuild/android-arm64@0.18.17: @@ -856,8 +856,8 @@ packages: resolution: {integrity: sha512-KqgPNwMYloKI+LGAW8LwS0hEJHgwnrIJjgQC0B/saoDJZKUIrqc+lLme/lobrzBetPNhrCuhSDELRrZTg32l0w==} dev: true - /@types/benchmark@2.1.2: - resolution: {integrity: sha512-EDKtLYNMKrig22jEvhXq8TBFyFgVNSPmDF2b9UzJ7+eylPqdZVo17PCUMkn1jP6/1A/0u78VqYC6VrX6b8pDWA==} + /@types/benchmark@2.1.3: + resolution: {integrity: sha512-psuUawgwIy/hSjO4AUDiPBJhJx72e3cBL+YzmVK/5ofRJC02R0NmvrSenGRuSmJc++0j95y2T01xKKNz50FGZw==} dev: true /@types/chai-subset@1.3.3: @@ -891,8 +891,8 @@ packages: '@types/unist': 2.0.7 dev: true - /@types/node@20.6.0: - resolution: {integrity: sha512-najjVq5KN2vsH2U/xyh2opaSEz6cZMR2SetLIlxlj08nOcmPOemJmUK2o4kUzfLqfrWE0PIrNeE16XhYDd3nqg==} + /@types/node@20.6.2: + resolution: {integrity: sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw==} dev: true /@types/normalize-package-data@2.4.1: @@ -1068,7 +1068,7 @@ packages: '@unocss/core': 0.55.7 '@unocss/reset': 0.55.7 '@unocss/vite': 0.55.7(vite@4.4.9) - vite: 4.4.9(@types/node@20.6.0) + vite: 4.4.9(@types/node@20.6.2) transitivePeerDependencies: - rollup dev: true @@ -1272,7 +1272,7 @@ packages: chokidar: 3.5.3 fast-glob: 3.3.1 magic-string: 0.30.3 - vite: 4.4.9(@types/node@20.6.0) + vite: 4.4.9(@types/node@20.6.2) transitivePeerDependencies: - rollup dev: true @@ -1284,7 +1284,7 @@ packages: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.4.9(@types/node@20.6.0) + vite: 4.4.9(@types/node@20.6.2) vue: 3.3.4 dev: true @@ -1378,8 +1378,8 @@ packages: '@vue/compiler-dom': 3.3.4 '@vue/shared': 3.3.4 - /@vue/language-core@1.8.10(typescript@5.2.2): - resolution: {integrity: sha512-db8PtM4ZZr7SYNH30XpKxUYnUBYaTvcuJ4c2whKK04fuAjbtjAIZ2al5GzGEfUlesmvkpgdbiSviRXUxgD9Omw==} + /@vue/language-core@1.8.11(typescript@5.2.2): + resolution: {integrity: sha512-+MZOBGqGwfld6hpo0DB47x8eNM0dNqk15ZdfOhj19CpvuYuOWCeVdOEGZunKDyo3QLkTn3kLOSysJzg7FDOQBA==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -1436,11 +1436,11 @@ packages: /@vue/shared@3.3.4: resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} - /@vue/typescript@1.8.10(typescript@5.2.2): - resolution: {integrity: sha512-vPSpTXMk4chYwvyTGjM891cKgnx2r6vtbdANOp2mRU31f4HYGyLrZBlGgiua7SaO2cLjUg8y91OipJe0t8OFhA==} + /@vue/typescript@1.8.11(typescript@5.2.2): + resolution: {integrity: sha512-skUmMDiPUUtu1flPmf2YybF+PX8IzBtMioQOaNn6Ck/RhdrPJGj1AX/7s3Buf9G6ln+/KHR1XQuti/FFxw5XVA==} dependencies: '@volar/typescript': 1.10.0 - '@vue/language-core': 1.8.10(typescript@5.2.2) + '@vue/language-core': 1.8.11(typescript@5.2.2) transitivePeerDependencies: - typescript dev: true @@ -2316,7 +2316,7 @@ packages: peerDependencies: eslint: '>=8.44.0' dependencies: - '@babel/helper-validator-identifier': 7.22.5 + '@babel/helper-validator-identifier': 7.22.15 '@eslint-community/eslint-utils': 4.4.0(eslint@8.49.0) ci-info: 3.8.0 clean-regexp: 1.0.0 @@ -2671,6 +2671,12 @@ packages: resolve-pkg-maps: 1.0.0 dev: true + /get-tsconfig@4.7.0: + resolution: {integrity: sha512-pmjiZ7xtB8URYm74PlGJozDNyhvsVLUcpBa8DZBG3bWHwaHa9bPiRpiSfovw+fjhwONSCWKRyk+JQHEGZmMrzw==} + dependencies: + resolve-pkg-maps: 1.0.0 + dev: true + /giget@1.1.2: resolution: {integrity: sha512-HsLoS07HiQ5oqvObOI+Qb2tyZH4Gj5nYGfF9qQcZNrPw+uEFhdXtgJr01aO2pWadGHucajYDLxxbtQkm97ON2A==} hasBin: true @@ -4247,13 +4253,13 @@ packages: - ts-node dev: true - /tsx@3.12.8: - resolution: {integrity: sha512-Lt9KYaRGF023tlLInPj8rgHwsZU8qWLBj4iRXNWxTfjIkU7canGL806AqKear1j722plHuiYNcL2ZCo6uS9UJA==} + /tsx@3.12.10: + resolution: {integrity: sha512-2+46h4xvUt1aLDNvk5YBT8Uzw+b7BolGbn7iSMucYqCXZiDc+1IMghLVdw8kKjING32JFOeO+Am9posvjkeclA==} hasBin: true dependencies: '@esbuild-kit/cjs-loader': 2.4.2 - '@esbuild-kit/core-utils': 3.2.2 - '@esbuild-kit/esm-loader': 2.5.5 + '@esbuild-kit/core-utils': 3.3.2 + '@esbuild-kit/esm-loader': 2.6.5 optionalDependencies: fsevents: 2.3.2 dev: true @@ -4368,7 +4374,7 @@ packages: pkg-types: 1.0.3 scule: 1.0.0 strip-literal: 1.0.1 - unplugin: 1.4.0 + unplugin: 1.5.0 transitivePeerDependencies: - rollup dev: true @@ -4411,7 +4417,7 @@ packages: '@unocss/transformer-directives': 0.55.7 '@unocss/transformer-variant-group': 0.55.7 '@unocss/vite': 0.55.7(vite@4.4.9) - vite: 4.4.9(@types/node@20.6.0) + vite: 4.4.9(@types/node@20.6.2) transitivePeerDependencies: - postcss - rollup @@ -4480,6 +4486,15 @@ packages: chokidar: 3.5.3 webpack-sources: 3.2.3 webpack-virtual-modules: 0.5.0 + dev: true + + /unplugin@1.5.0: + resolution: {integrity: sha512-9ZdRwbh/4gcm1JTOkp9lAkIDrtOyOxgHmY7cjuwI8L/2RTikMcVG25GsZwNAgRuap3iDw2jeq7eoqtAsz5rW3A==} + dependencies: + acorn: 8.10.0 + chokidar: 3.5.3 + webpack-sources: 3.2.3 + webpack-virtual-modules: 0.5.0 /untildify@4.0.0: resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} @@ -4503,7 +4518,7 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /vite-node@0.34.4(@types/node@20.6.0): + /vite-node@0.34.4(@types/node@20.6.2): resolution: {integrity: sha512-ho8HtiLc+nsmbwZMw8SlghESEE3KxJNp04F/jPUCLVvaURwt0d+r9LxEqCX5hvrrOQ0GSyxbYr5ZfRYhQ0yVKQ==} engines: {node: '>=v14.18.0'} hasBin: true @@ -4513,7 +4528,7 @@ packages: mlly: 1.4.0 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.4.9(@types/node@20.6.0) + vite: 4.4.9(@types/node@20.6.2) transitivePeerDependencies: - '@types/node' - less @@ -4525,7 +4540,7 @@ packages: - terser dev: true - /vite@4.4.9(@types/node@20.6.0): + /vite@4.4.9(@types/node@20.6.2): resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -4553,7 +4568,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.6.0 + '@types/node': 20.6.2 esbuild: 0.18.17 postcss: 8.4.27 rollup: 3.27.2 @@ -4594,7 +4609,7 @@ packages: dependencies: '@types/chai': 4.3.5 '@types/chai-subset': 1.3.3 - '@types/node': 20.6.0 + '@types/node': 20.6.2 '@vitest/expect': 0.34.4 '@vitest/runner': 0.34.4 '@vitest/snapshot': 0.34.4 @@ -4613,8 +4628,8 @@ packages: strip-literal: 1.0.1 tinybench: 2.5.0 tinypool: 0.7.0 - vite: 4.4.9(@types/node@20.6.0) - vite-node: 0.34.4(@types/node@20.6.0) + vite: 4.4.9(@types/node@20.6.2) + vite-node: 0.34.4(@types/node@20.6.2) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -4665,14 +4680,14 @@ packages: he: 1.2.0 dev: true - /vue-tsc@1.8.10(typescript@5.2.2): - resolution: {integrity: sha512-ptpTFFDoHQgkWJF7i5iERxooiQzOGtG1uKTfmAUuS3qPuSQGq+Ky/S8BFHhnFGwoOxq/PjmGN2QSZEfg1rtzQA==} + /vue-tsc@1.8.11(typescript@5.2.2): + resolution: {integrity: sha512-BzfiMdPqDHBlysx4g26NkfVHSQwGD/lTRausmxN9sFyjXz34OWfsbkh0YsVkX84Hu65In1fFlxHiG39Tr4Vojg==} hasBin: true peerDependencies: typescript: '*' dependencies: - '@vue/language-core': 1.8.10(typescript@5.2.2) - '@vue/typescript': 1.8.10(typescript@5.2.2) + '@vue/language-core': 1.8.11(typescript@5.2.2) + '@vue/typescript': 1.8.11(typescript@5.2.2) semver: 7.5.4 typescript: 5.2.2 dev: true