diff --git a/package.json b/package.json index c9cf4a8e..079a7f3b 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "happy-dom": "8.9.0", "sass": "1.60.0", "typescript": "5.0.3", - "unbuild": "1.1.2", + "unbuild": "1.2.0", "vite": "4.2.1", "vitest": "0.29.8", "vue": "3.2.47" diff --git a/playground/package.json b/playground/package.json index 8e0f70b8..24846001 100644 --- a/playground/package.json +++ b/playground/package.json @@ -26,7 +26,7 @@ "nuxt": "^3.3.2", "sass": "1.60.0", "typescript": "5.0.3", - "unbuild": "1.1.2", + "unbuild": "1.2.0", "vite": "4.2.1", "vitest": "0.29.7", "vue": "3.2.47" diff --git a/yarn.lock b/yarn.lock index 002f06b8..6a498891 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,54 +15,54 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/code-frame@npm:7.18.6" +"@babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.18.6, @babel/code-frame@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/code-frame@npm:7.21.4" dependencies: "@babel/highlight": ^7.18.6 - checksum: 195e2be3172d7684bf95cff69ae3b7a15a9841ea9d27d3c843662d50cdd7d6470fd9c8e64be84d031117e4a4083486effba39f9aef6bbb2c89f7f21bcfba33ba + checksum: e5390e6ec1ac58dcef01d4f18eaf1fd2f1325528661ff6d4a5de8979588b9f5a8e852a54a91b923846f7a5c681b217f0a45c2524eb9560553160cd963b7d592c languageName: node linkType: hard -"@babel/compat-data@npm:^7.20.5": - version: 7.21.0 - resolution: "@babel/compat-data@npm:7.21.0" - checksum: dbf632c532f9c75ba0be7d1dc9f6cd3582501af52f10a6b90415d634ec5878735bd46064c91673b10317af94d4cc99c4da5bd9d955978cdccb7905fc33291e4d +"@babel/compat-data@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/compat-data@npm:7.21.4" + checksum: 5f8b98c66f2ffba9f3c3a82c0cf354c52a0ec5ad4797b370dc32bdcd6e136ac4febe5e93d76ce76e175632e2dbf6ce9f46319aa689fcfafa41b6e49834fa4b66 languageName: node linkType: hard -"@babel/core@npm:^7.20.12, @babel/core@npm:^7.20.7": - version: 7.21.3 - resolution: "@babel/core@npm:7.21.3" +"@babel/core@npm:^7.20.7, @babel/core@npm:^7.21.3": + version: 7.21.4 + resolution: "@babel/core@npm:7.21.4" dependencies: "@ampproject/remapping": ^2.2.0 - "@babel/code-frame": ^7.18.6 - "@babel/generator": ^7.21.3 - "@babel/helper-compilation-targets": ^7.20.7 + "@babel/code-frame": ^7.21.4 + "@babel/generator": ^7.21.4 + "@babel/helper-compilation-targets": ^7.21.4 "@babel/helper-module-transforms": ^7.21.2 "@babel/helpers": ^7.21.0 - "@babel/parser": ^7.21.3 + "@babel/parser": ^7.21.4 "@babel/template": ^7.20.7 - "@babel/traverse": ^7.21.3 - "@babel/types": ^7.21.3 + "@babel/traverse": ^7.21.4 + "@babel/types": ^7.21.4 convert-source-map: ^1.7.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 json5: ^2.2.2 semver: ^6.3.0 - checksum: bef25fbea96f461bf79bd1d0e4f0cdce679fd5ada464a89c1141ddba59ae1adfdbb23e04440c266ed525712d33d5ffd818cd8b0c25b1dee0e648d5559516153a + checksum: a3beebb2cc79908a02f27a07dc381bcb34e8ecc58fa99f568ad0934c49e12111fc977ee9c5b51eb7ea2da66f63155d37c4dd96b6472eaeecfc35843ccb56bf3d languageName: node linkType: hard -"@babel/generator@npm:^7.21.3": - version: 7.21.3 - resolution: "@babel/generator@npm:7.21.3" +"@babel/generator@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/generator@npm:7.21.4" dependencies: - "@babel/types": ^7.21.3 + "@babel/types": ^7.21.4 "@jridgewell/gen-mapping": ^0.3.2 "@jridgewell/trace-mapping": ^0.3.17 jsesc: ^2.5.1 - checksum: be6bb5a32a0273260b91210d4137b7b5da148a2db8dd324654275cb0af865ae59de5e1536e93ac83423b2586415059e1c24cf94293026755cf995757238da749 + checksum: 9ffbb526a53bb8469b5402f7b5feac93809b09b2a9f82fcbfcdc5916268a65dae746a1f2479e03ba4fb0776facd7c892191f63baa61ab69b2cfdb24f7b92424d languageName: node linkType: hard @@ -75,18 +75,18 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.20.7": - version: 7.20.7 - resolution: "@babel/helper-compilation-targets@npm:7.20.7" +"@babel/helper-compilation-targets@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/helper-compilation-targets@npm:7.21.4" dependencies: - "@babel/compat-data": ^7.20.5 - "@babel/helper-validator-option": ^7.18.6 + "@babel/compat-data": ^7.21.4 + "@babel/helper-validator-option": ^7.21.0 browserslist: ^4.21.3 lru-cache: ^5.1.1 semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: 8c32c873ba86e2e1805b30e0807abd07188acbe00ebb97576f0b09061cc65007f1312b589eccb4349c5a8c7f8bb9f2ab199d41da7030bf103d9f347dcd3a3cf4 + checksum: bf9c7d3e7e6adff9222c05d898724cd4ee91d7eb9d52222c7ad2a22955620c2872cc2d9bdf0e047df8efdb79f4e3af2a06b53f509286145feccc4d10ddc318be languageName: node linkType: hard @@ -239,7 +239,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-option@npm:^7.18.6": +"@babel/helper-validator-option@npm:^7.21.0": version: 7.21.0 resolution: "@babel/helper-validator-option@npm:7.21.0" checksum: 8ece4c78ffa5461fd8ab6b6e57cc51afad59df08192ed5d84b475af4a7193fc1cb794b59e3e7be64f3cdc4df7ac78bf3dbb20c129d7757ae078e6279ff8c2f07 @@ -268,12 +268,12 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.16.4, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.3": - version: 7.21.3 - resolution: "@babel/parser@npm:7.21.3" +"@babel/parser@npm:^7.16.4, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/parser@npm:7.21.4" bin: parser: ./bin/babel-parser.js - checksum: a71e6456a1260c2a943736b56cc0acdf5f2a53c6c79e545f56618967e51f9b710d1d3359264e7c979313a7153741b1d95ad8860834cc2ab4ce4f428b13cc07be + checksum: de610ecd1bff331766d0c058023ca11a4f242bfafefc42caf926becccfb6756637d167c001987ca830dd4b34b93c629a4cef63f8c8c864a8564cdfde1989ac77 languageName: node linkType: hard @@ -313,10 +313,10 @@ __metadata: languageName: node linkType: hard -"@babel/standalone@npm:^7.20.12": - version: 7.21.2 - resolution: "@babel/standalone@npm:7.21.2" - checksum: 3e581b4ea09b8581064d4e2289cffbf64a602e4607eb77378e087f2788b0dba8c4694aa019eab278301b4b1daa303a6fa3f7144452e6dd15b2b687400ec7af04 +"@babel/standalone@npm:^7.21.3": + version: 7.21.4 + resolution: "@babel/standalone@npm:7.21.4" + checksum: ffc850cb7e571d1409b5218a678da2a315f851f6e5188e41130d470c7fefca899f5dd7bf666342c9f24d4af53c1b1a7282a796ddae251cf58de5e268fbd8538a languageName: node linkType: hard @@ -331,32 +331,32 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.0.0, @babel/traverse@npm:^7.20.7, @babel/traverse@npm:^7.21.0, @babel/traverse@npm:^7.21.2, @babel/traverse@npm:^7.21.3": - version: 7.21.3 - resolution: "@babel/traverse@npm:7.21.3" +"@babel/traverse@npm:^7.0.0, @babel/traverse@npm:^7.20.7, @babel/traverse@npm:^7.21.0, @babel/traverse@npm:^7.21.2, @babel/traverse@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/traverse@npm:7.21.4" dependencies: - "@babel/code-frame": ^7.18.6 - "@babel/generator": ^7.21.3 + "@babel/code-frame": ^7.21.4 + "@babel/generator": ^7.21.4 "@babel/helper-environment-visitor": ^7.18.9 "@babel/helper-function-name": ^7.21.0 "@babel/helper-hoist-variables": ^7.18.6 "@babel/helper-split-export-declaration": ^7.18.6 - "@babel/parser": ^7.21.3 - "@babel/types": ^7.21.3 + "@babel/parser": ^7.21.4 + "@babel/types": ^7.21.4 debug: ^4.1.0 globals: ^11.1.0 - checksum: 0af5bcd47a2fc501592b90ac1feae9d449afb9ab0772a4f6e68230f4cd3a475795d538c1de3f880fe3414b6c2820bac84d02c6549eea796f39d74a603717447b + checksum: f22f067c2d9b6497abf3d4e53ea71f3aa82a21f2ed434dd69b8c5767f11f2a4c24c8d2f517d2312c9e5248e5c69395fdca1c95a2b3286122c75f5783ddb6f53c languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.6, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.2, @babel/types@npm:^7.21.3, @babel/types@npm:^7.8.3": - version: 7.21.3 - resolution: "@babel/types@npm:7.21.3" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.6, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.2, @babel/types@npm:^7.21.3, @babel/types@npm:^7.21.4, @babel/types@npm:^7.8.3": + version: 7.21.4 + resolution: "@babel/types@npm:7.21.4" dependencies: "@babel/helper-string-parser": ^7.19.4 "@babel/helper-validator-identifier": ^7.19.1 to-fast-properties: ^2.0.0 - checksum: b750274718ba9cefd0b81836c464009bb6ba339fccce51b9baff497a0a2d96c044c61dc90cf203cec0adc770454b53a9681c3f7716883c802b85ab84c365ba35 + checksum: 587bc55a91ce003b0f8aa10d70070f8006560d7dc0360dc0406d306a2cb2a10154e2f9080b9c37abec76907a90b330a536406cb75e6bdc905484f37b75c73219 languageName: node linkType: hard @@ -981,7 +981,7 @@ __metadata: nuxt: ^3.3.2 sass: 1.60.0 typescript: 5.0.3 - unbuild: 1.1.2 + unbuild: 1.2.0 vite: 4.2.1 vitest: 0.29.7 vue: 3.2.47 @@ -1002,7 +1002,7 @@ __metadata: happy-dom: 8.9.0 sass: 1.60.0 typescript: 5.0.3 - unbuild: 1.1.2 + unbuild: 1.2.0 vite: 4.2.1 vitest: 0.29.8 vue: 3.2.47 @@ -2660,7 +2660,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.17.11, esbuild@npm:^0.17.12, esbuild@npm:^0.17.5, esbuild@npm:^0.17.8": +"esbuild@npm:^0.17.12, esbuild@npm:^0.17.14, esbuild@npm:^0.17.5": version: 0.17.14 resolution: "esbuild@npm:0.17.14" dependencies: @@ -3265,10 +3265,10 @@ __metadata: languageName: node linkType: hard -"hookable@npm:^5.4.2, hookable@npm:^5.5.0, hookable@npm:^5.5.1": - version: 5.5.2 - resolution: "hookable@npm:5.5.2" - checksum: 048dc68fc93a134d2c3725aedf1beff8e0272a3ef5edf758c645f6820355617801be31294f07c48f44c9d7e2cf191f0421bc291512f40cbe1dcd3999c3133ffe +"hookable@npm:^5.5.0, hookable@npm:^5.5.1, hookable@npm:^5.5.3": + version: 5.5.3 + resolution: "hookable@npm:5.5.3" + checksum: df659977888398649b6ef8c4470719e7e8384a1d939a6587e332e86fd55b3881806e2f8aaebaabdb4f218f74b83b98f2110e143df225e16d62a39dc271e7e288 languageName: node linkType: hard @@ -3943,15 +3943,6 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.29.0": - version: 0.29.0 - resolution: "magic-string@npm:0.29.0" - dependencies: - "@jridgewell/sourcemap-codec": ^1.4.13 - checksum: 19e5398fcfc44804917127c72ad622c68a19a0a10cbdb8d4f9f9417584a087fe9e117140bfb2463d86743cf1ed9cf4182ae0b0ad1a7536f7fdda257ee4449ffb - languageName: node - linkType: hard - "magic-string@npm:^0.30.0": version: 0.30.0 resolution: "magic-string@npm:0.30.0" @@ -4182,20 +4173,20 @@ __metadata: languageName: node linkType: hard -"mkdist@npm:^1.1.1": - version: 1.1.2 - resolution: "mkdist@npm:1.1.2" +"mkdist@npm:^1.2.0": + version: 1.2.0 + resolution: "mkdist@npm:1.2.0" dependencies: defu: ^6.1.2 - esbuild: ^0.17.11 - fs-extra: ^11.1.0 + esbuild: ^0.17.14 + fs-extra: ^11.1.1 globby: ^13.1.3 - jiti: ^1.17.2 - mlly: ^1.1.1 + jiti: ^1.18.2 + mlly: ^1.2.0 mri: ^1.2.0 pathe: ^1.1.0 peerDependencies: - sass: ^1.58.3 + sass: ^1.60.0 typescript: ">=4.9.5" peerDependenciesMeta: sass: @@ -4204,7 +4195,7 @@ __metadata: optional: true bin: mkdist: dist/cli.cjs - checksum: 914f8fa3e2c89ae96f2e3b4ec824a7fcd3ee3330401d0fb8291ae9cb1c9a24eb8852b4fabf181a8c855c311b0c975cf1301a35c0f60c97c0433a6320013fe3ce + checksum: 3d94d04d8d74a5111192e39a606579f149ac8cc031d5350765fdfc7cbd2efa4b702c5fa79f062e0d59e57201bb8400fb38c8253c911eb5b8a50b2ebb869a82ca languageName: node linkType: hard @@ -5431,19 +5422,19 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-dts@npm:^5.2.0": - version: 5.2.0 - resolution: "rollup-plugin-dts@npm:5.2.0" +"rollup-plugin-dts@npm:^5.3.0": + version: 5.3.0 + resolution: "rollup-plugin-dts@npm:5.3.0" dependencies: "@babel/code-frame": ^7.18.6 - magic-string: ^0.29.0 + magic-string: ^0.30.0 peerDependencies: rollup: ^3.0.0 - typescript: ^4.1 + typescript: ^4.1 || ^5.0 dependenciesMeta: "@babel/code-frame": optional: true - checksum: cb4a1ff5307efb9a89edd72b5bd1760d8dd3df7b7c5ea61615755669619ec1441e916fe1452068bc17dbae17efbd4cfe6f55478690eb809800f0ffdb76a52fc9 + checksum: ba3a6065598586c52af60211877a234b8c829b8a7ecd6e6b426e52ec4dc2c8c8ac6e1fb9f47db6afd91858be0dcb09fd3d312c865e972fb72ae8c9ee00eb1d36 languageName: node linkType: hard @@ -5466,7 +5457,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^3.15.0, rollup@npm:^3.18.0, rollup@npm:^3.20.0, rollup@npm:^3.20.2": +"rollup@npm:^3.18.0, rollup@npm:^3.20.0, rollup@npm:^3.20.2": version: 3.20.2 resolution: "rollup@npm:3.20.2" dependencies: @@ -6103,7 +6094,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.0.3": +"typescript@npm:5.0.3, typescript@npm:^5.0.3": version: 5.0.3 resolution: "typescript@npm:5.0.3" bin: @@ -6113,17 +6104,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^4.9.5": - version: 4.9.5 - resolution: "typescript@npm:4.9.5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: ee000bc26848147ad423b581bd250075662a354d84f0e06eb76d3b892328d8d4440b7487b5a83e851b12b255f55d71835b008a66cbf8f255a11e4400159237db - languageName: node - linkType: hard - -"typescript@patch:typescript@5.0.3#~builtin": +"typescript@patch:typescript@5.0.3#~builtin, typescript@patch:typescript@^5.0.3#~builtin": version: 5.0.3 resolution: "typescript@patch:typescript@npm%3A5.0.3#~builtin::version=5.0.3&hash=85af82" bin: @@ -6133,16 +6114,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@^4.9.5#~builtin": - version: 4.9.5 - resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin::version=4.9.5&hash=23ec76" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: ab417a2f398380c90a6cf5a5f74badd17866adf57f1165617d6a551f059c3ba0a3e4da0d147b3ac5681db9ac76a303c5876394b13b3de75fdd5b1eaa06181c9d - languageName: node - linkType: hard - "ufo@npm:^1.0.0, ufo@npm:^1.1.0, ufo@npm:^1.1.1": version: 1.1.1 resolution: "ufo@npm:1.1.1" @@ -6150,9 +6121,9 @@ __metadata: languageName: node linkType: hard -"unbuild@npm:1.1.2": - version: 1.1.2 - resolution: "unbuild@npm:1.1.2" +"unbuild@npm:1.2.0": + version: 1.2.0 + resolution: "unbuild@npm:1.2.0" dependencies: "@rollup/plugin-alias": ^4.0.3 "@rollup/plugin-commonjs": ^24.0.1 @@ -6163,25 +6134,25 @@ __metadata: chalk: ^5.2.0 consola: ^2.15.3 defu: ^6.1.2 - esbuild: ^0.17.8 + esbuild: ^0.17.14 globby: ^13.1.3 - hookable: ^5.4.2 - jiti: ^1.17.1 - magic-string: ^0.29.0 - mkdist: ^1.1.1 - mlly: ^1.1.1 + hookable: ^5.5.3 + jiti: ^1.18.2 + magic-string: ^0.30.0 + mkdist: ^1.2.0 + mlly: ^1.2.0 mri: ^1.2.0 pathe: ^1.1.0 pkg-types: ^1.0.2 pretty-bytes: ^6.1.0 - rollup: ^3.15.0 - rollup-plugin-dts: ^5.2.0 + rollup: ^3.20.2 + rollup-plugin-dts: ^5.3.0 scule: ^1.0.0 - typescript: ^4.9.5 - untyped: ^1.2.2 + typescript: ^5.0.3 + untyped: ^1.3.2 bin: unbuild: dist/cli.mjs - checksum: ca7ef7f37013de453ecf3eeb0a7a8cd9c907d7135e8511893b13947c58b8d75466414b6762f0d986773ad71ff674da0d5c7637c9dd9562fabd72d5a0d8863ec2 + checksum: 93232b56f9563d6d94fa82a2e79700f517b53a8ba433d3a60feb950de9b390af9752ae22d3d5fe18f7ca4c6edf281318a278241772272db85b10c35029c915a3 languageName: node linkType: hard @@ -6326,15 +6297,20 @@ __metadata: languageName: node linkType: hard -"untyped@npm:^1.2.2": - version: 1.2.2 - resolution: "untyped@npm:1.2.2" +"untyped@npm:^1.2.2, untyped@npm:^1.3.2": + version: 1.3.2 + resolution: "untyped@npm:1.3.2" dependencies: - "@babel/core": ^7.20.12 - "@babel/standalone": ^7.20.12 - "@babel/types": ^7.20.7 + "@babel/core": ^7.21.3 + "@babel/standalone": ^7.21.3 + "@babel/types": ^7.21.3 + defu: ^6.1.2 + jiti: ^1.18.2 + mri: ^1.2.0 scule: ^1.0.0 - checksum: 556bb7a3ee10f580c4e775ecbd02130e38635b290d312e65bbc29973a07346f34457850515e8e68add5ced79676336ef92574ca9a21fe1b0ae528a6838df8a74 + bin: + untyped: dist/cli.mjs + checksum: 76c6f3ee1585741a2946e4d26daedefb848c0ce10b6a96f16447f6e6afc61950094213028651904cf581f7a2825f1c046a78c3041e4d01683cd569be886cdeb8 languageName: node linkType: hard