From 24cf5da46cd46431f80f88827c990a45f39dc644 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 1 Sep 2022 09:52:24 +0200 Subject: [PATCH 01/17] chore(deps): update devdependency lerna to ^5.5.0 (#7123) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 912 +++++++++++++++++++++++++-------------------------- 2 files changed, 444 insertions(+), 470 deletions(-) diff --git a/package.json b/package.json index 553096745c0..9273c185fb3 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "expect-type": "^0.13.0", "globby": "^13.1.2", "jiti": "^1.14.0", - "lerna": "^5.4.3", + "lerna": "^5.5.0", "markdownlint-cli": "^0.32.2", "pathe": "^0.3.5", "rimraf": "^3.0.2", diff --git a/yarn.lock b/yarn.lock index 1c6b3822d7e..160ceae4c6e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -577,40 +577,40 @@ __metadata: languageName: node linkType: hard -"@lerna/add@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/add@npm:5.4.3" - dependencies: - "@lerna/bootstrap": 5.4.3 - "@lerna/command": 5.4.3 - "@lerna/filter-options": 5.4.3 - "@lerna/npm-conf": 5.4.3 - "@lerna/validation-error": 5.4.3 +"@lerna/add@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/add@npm:5.5.0" + dependencies: + "@lerna/bootstrap": 5.5.0 + "@lerna/command": 5.5.0 + "@lerna/filter-options": 5.5.0 + "@lerna/npm-conf": 5.5.0 + "@lerna/validation-error": 5.5.0 dedent: ^0.7.0 npm-package-arg: 8.1.1 p-map: ^4.0.0 pacote: ^13.6.1 semver: ^7.3.4 - checksum: e018c43417171ead64f11521026376262161eb0ab3be5765954235dce039417241ea4af9dd1ba44f089abd601ade13725ef1292882e53bf9082e1ce5e8f74e54 - languageName: node - linkType: hard - -"@lerna/bootstrap@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/bootstrap@npm:5.4.3" - dependencies: - "@lerna/command": 5.4.3 - "@lerna/filter-options": 5.4.3 - "@lerna/has-npm-version": 5.4.3 - "@lerna/npm-install": 5.4.3 - "@lerna/package-graph": 5.4.3 - "@lerna/pulse-till-done": 5.4.3 - "@lerna/rimraf-dir": 5.4.3 - "@lerna/run-lifecycle": 5.4.3 - "@lerna/run-topologically": 5.4.3 - "@lerna/symlink-binary": 5.4.3 - "@lerna/symlink-dependencies": 5.4.3 - "@lerna/validation-error": 5.4.3 + checksum: fad160ad920f9ea9045e9eed8f4d4968329a0a82d69af136c12bc1350137176ac90eaa4135114647792b188305e731aae125e642ed2f62664c87ce021c40448b + languageName: node + linkType: hard + +"@lerna/bootstrap@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/bootstrap@npm:5.5.0" + dependencies: + "@lerna/command": 5.5.0 + "@lerna/filter-options": 5.5.0 + "@lerna/has-npm-version": 5.5.0 + "@lerna/npm-install": 5.5.0 + "@lerna/package-graph": 5.5.0 + "@lerna/pulse-till-done": 5.5.0 + "@lerna/rimraf-dir": 5.5.0 + "@lerna/run-lifecycle": 5.5.0 + "@lerna/run-topologically": 5.5.0 + "@lerna/symlink-binary": 5.5.0 + "@lerna/symlink-dependencies": 5.5.0 + "@lerna/validation-error": 5.5.0 "@npmcli/arborist": 5.3.0 dedent: ^0.7.0 get-port: ^5.1.1 @@ -621,119 +621,119 @@ __metadata: p-map-series: ^2.1.0 p-waterfall: ^2.1.1 semver: ^7.3.4 - checksum: efeb229a9c63704a0b445fbe72af10455617613778158b667b745cf41517798b518a780a14c8701ffb9ef9a1127f26267d490437df5251a9364ddcc2d90aca94 + checksum: 5ccf0fe5ce06ae732c2d94041b1de0fef4c0e3d122eb8ef32d2f6cb893dc226a8151ec7e1196347b46a7e3f9f1daba73776bcdca2df90d6232b77e4607b7e51d languageName: node linkType: hard -"@lerna/changed@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/changed@npm:5.4.3" +"@lerna/changed@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/changed@npm:5.5.0" dependencies: - "@lerna/collect-updates": 5.4.3 - "@lerna/command": 5.4.3 - "@lerna/listable": 5.4.3 - "@lerna/output": 5.4.3 - checksum: df5c179247f491c3cc5898b4e10c6799dcdd2e013915383aa310e07a355402bb4475edfb063e8e94e5fb5f6112dec776790b9d0cf8f8f9209ff60f268608dae9 + "@lerna/collect-updates": 5.5.0 + "@lerna/command": 5.5.0 + "@lerna/listable": 5.5.0 + "@lerna/output": 5.5.0 + checksum: 8cdbf10ae952ae7ba7e180b9099c0694cd32d9c84d2003c3247e43133ee75035cc18f12bfaae6d9f37670ab31a958869266ae0cb307d3739d7265f540c31c5d3 languageName: node linkType: hard -"@lerna/check-working-tree@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/check-working-tree@npm:5.4.3" +"@lerna/check-working-tree@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/check-working-tree@npm:5.5.0" dependencies: - "@lerna/collect-uncommitted": 5.4.3 - "@lerna/describe-ref": 5.4.3 - "@lerna/validation-error": 5.4.3 - checksum: 2fb7f5663c4fb9d2c8b4fad9c95ddb86ade3d491a0dad35d3b10176267dc35c0f59fc54a9d94483acb2eaa822343bf796c7d576a72adfebd749acc89aac66fe3 + "@lerna/collect-uncommitted": 5.5.0 + "@lerna/describe-ref": 5.5.0 + "@lerna/validation-error": 5.5.0 + checksum: 83ae80192c3a38785d30eed9622c31eba6c94cc5797a3f2af1563652715ad20fe255439e04a4018dabdeacde523512ac9ca7599cb970c52625b0530dea0ec6b9 languageName: node linkType: hard -"@lerna/child-process@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/child-process@npm:5.4.3" +"@lerna/child-process@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/child-process@npm:5.5.0" dependencies: chalk: ^4.1.0 execa: ^5.0.0 strong-log-transformer: ^2.1.0 - checksum: 0c5b5e39129018071a0ddb63317c33a82984c33049eda007f447e00e7870a9e501b4d59c8dc56f617ce2f0c9a91cdcc3b6bf1dcdbe55b84bc81fe59e2a131309 + checksum: 31f42851a695cd9eb0c288ba7fda88585743aa6b4ae9c0b135feb1e9a8d51cd821b2979c6b40b9d2e0fcf1df4c17407e15151b8a2a6110ba9cfbcddf2ddcea45 languageName: node linkType: hard -"@lerna/clean@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/clean@npm:5.4.3" +"@lerna/clean@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/clean@npm:5.5.0" dependencies: - "@lerna/command": 5.4.3 - "@lerna/filter-options": 5.4.3 - "@lerna/prompt": 5.4.3 - "@lerna/pulse-till-done": 5.4.3 - "@lerna/rimraf-dir": 5.4.3 + "@lerna/command": 5.5.0 + "@lerna/filter-options": 5.5.0 + "@lerna/prompt": 5.5.0 + "@lerna/pulse-till-done": 5.5.0 + "@lerna/rimraf-dir": 5.5.0 p-map: ^4.0.0 p-map-series: ^2.1.0 p-waterfall: ^2.1.1 - checksum: e267e1fec2aaf770f9eb52bf71bf05e7a935159a2ff1c0a77998e759b967203a6ecd93350ecf68bd4a151198804b9f67d17ece48300509f314449d76d03c720c + checksum: a13855bc45548141e14bdcf84487f16d751fc0886591cff111e9acba4ac369707cd076bc7cd4eac018d2e8cdd1d8e991b2e7361b3bee68405a56273a10918910 languageName: node linkType: hard -"@lerna/cli@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/cli@npm:5.4.3" +"@lerna/cli@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/cli@npm:5.5.0" dependencies: - "@lerna/global-options": 5.4.3 + "@lerna/global-options": 5.5.0 dedent: ^0.7.0 npmlog: ^6.0.2 yargs: ^16.2.0 - checksum: b2edfb53f8aad575948810ba8018b033ca1b7db6c7806ae460cd5e2d487788182294cb939ea00ff7d848bb30d51a1ace3049d74e91428fe6e9d838a64f36f0f0 + checksum: 6618f817e3d617bf7515385519f1612a56b4d5ad6fdcbc26f00638017b285b48ab43609ec9e6ec0c6c15611358d106ff74b35d92b10e9223cc7314ffc5fcd4a6 languageName: node linkType: hard -"@lerna/collect-uncommitted@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/collect-uncommitted@npm:5.4.3" +"@lerna/collect-uncommitted@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/collect-uncommitted@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 + "@lerna/child-process": 5.5.0 chalk: ^4.1.0 npmlog: ^6.0.2 - checksum: 2c7196d4b12f2566b056f7eb2067c03961686146db6cf728f0936c68bbb7ac798226d1fad185a5c13dba9d5471242869f512d0b171a46a5ec45c8d6fcd4fbd0d + checksum: b0bb94271083404ce52011869e94c6f2975b4ff6a752f79e58888264d0633787d45887b743eb4aae3155c45a4b2bc2a3e918b82b95969ac458ee9039c4cfc7e4 languageName: node linkType: hard -"@lerna/collect-updates@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/collect-updates@npm:5.4.3" +"@lerna/collect-updates@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/collect-updates@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 - "@lerna/describe-ref": 5.4.3 + "@lerna/child-process": 5.5.0 + "@lerna/describe-ref": 5.5.0 minimatch: ^3.0.4 npmlog: ^6.0.2 slash: ^3.0.0 - checksum: 794f1aab30ce8829e022830127a0b5d9825cccd0ffe79ce3ce8a3a6311b9e58f73ac7d612be34feb80aaf627abf228a451b16bf543e5e03ea9fdd1d435b4c589 + checksum: 587429b9e83461b37d109b4b5606bb1cf905adb15e296b01e3f8d46736d8079f5900f165c183680e66cd759c8c32df10ff7e0767930f902222ed69db8abd6201 languageName: node linkType: hard -"@lerna/command@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/command@npm:5.4.3" +"@lerna/command@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/command@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 - "@lerna/package-graph": 5.4.3 - "@lerna/project": 5.4.3 - "@lerna/validation-error": 5.4.3 - "@lerna/write-log-file": 5.4.3 + "@lerna/child-process": 5.5.0 + "@lerna/package-graph": 5.5.0 + "@lerna/project": 5.5.0 + "@lerna/validation-error": 5.5.0 + "@lerna/write-log-file": 5.5.0 clone-deep: ^4.0.1 dedent: ^0.7.0 execa: ^5.0.0 is-ci: ^2.0.0 npmlog: ^6.0.2 - checksum: ba33d16947e0d1768157cf711959991d664a981aaf4d1e6b12ea0125631dc41621fbc8e3c32b63eec10b432ab31a3d9c6cae02f03953bb0ee90870e64104eaa4 + checksum: d6724d9e8a91496e6dde1cc782fbc1e206553aa5a3a78fc722a8c7ecf6330e71425394da75b9064ff765c3549386c5f1cbbc1fc66a60c0c219ef4e97f7d40322 languageName: node linkType: hard -"@lerna/conventional-commits@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/conventional-commits@npm:5.4.3" +"@lerna/conventional-commits@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/conventional-commits@npm:5.5.0" dependencies: - "@lerna/validation-error": 5.4.3 + "@lerna/validation-error": 5.5.0 conventional-changelog-angular: ^5.0.12 conventional-changelog-core: ^4.2.4 conventional-recommended-bump: ^6.1.0 @@ -743,29 +743,29 @@ __metadata: npmlog: ^6.0.2 pify: ^5.0.0 semver: ^7.3.4 - checksum: efd8f097b03cf1b1736697bc12f6d60f94ffb0f9f3bdc5b9a595cd1ba647e32ca10322b24e7b52483ac7534d5f5d09c235b65307e141fe7946b97cdab4de37cf + checksum: 140892ab8d470cf0ca75bbadab1cdf84646a8ab5fdfac34be3015e71ecfe61ab83c2dce443a992b9c453e6fe0acb09b5881264cab5a07f04d3362ddd757e4f95 languageName: node linkType: hard -"@lerna/create-symlink@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/create-symlink@npm:5.4.3" +"@lerna/create-symlink@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/create-symlink@npm:5.5.0" dependencies: cmd-shim: ^5.0.0 fs-extra: ^9.1.0 npmlog: ^6.0.2 - checksum: 58ec36d182fb2a48a853e0bbdb204af2558f8b030ecdab769658b96f1acf1212e63c6d540c94781fd983938defe32a9dd51ab321347bdcb15eed1b5719148c4b + checksum: 36ac217f0f3f5239b3fed149cc4ce46d95595be78d9cb21679e8ab9df0bdb21d39bd36237944d74465943bb4521a1443e2e21139ccaea87bfc29f1bc1490b25b languageName: node linkType: hard -"@lerna/create@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/create@npm:5.4.3" +"@lerna/create@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/create@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 - "@lerna/command": 5.4.3 - "@lerna/npm-conf": 5.4.3 - "@lerna/validation-error": 5.4.3 + "@lerna/child-process": 5.5.0 + "@lerna/command": 5.5.0 + "@lerna/npm-conf": 5.5.0 + "@lerna/validation-error": 5.5.0 dedent: ^0.7.0 fs-extra: ^9.1.0 globby: ^11.0.2 @@ -778,416 +778,416 @@ __metadata: slash: ^3.0.0 validate-npm-package-license: ^3.0.4 validate-npm-package-name: ^4.0.0 - whatwg-url: ^8.4.0 yargs-parser: 20.2.4 - checksum: 3cd290c4caa1a63e222d174cec842d9a7a8f2e7cfd64970b92e623a74ef86b27e7fab613dca4976644e3d6627d9ce754af2b7d48f8edc2900c352b391681de0b + checksum: 218c9639b16046c8987daf8c9f98b5c2bd2895f3f82210878905c3585df1e8b566704d83a92a5349edb1a18925d2bf4756a9b916bc4d2a46fdd1de38b111bfab languageName: node linkType: hard -"@lerna/describe-ref@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/describe-ref@npm:5.4.3" +"@lerna/describe-ref@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/describe-ref@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 + "@lerna/child-process": 5.5.0 npmlog: ^6.0.2 - checksum: f7952e860c86fe83d1860318848589dca07383c1c4c7a912f8c3d77d9fcf05e2f32c45e05f70270219f30ead0dc649e65239681c10d0fa3132c347eb7ff28783 + checksum: 7a2fe14243dd37af260e6ddfe5b576fde2fffc985caa82693193c1a26917a794c99b2872eeb1783ce55c915e3ab8b1cef5a88d8e8ae5ce50edbc3435bef8809f languageName: node linkType: hard -"@lerna/diff@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/diff@npm:5.4.3" +"@lerna/diff@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/diff@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 - "@lerna/command": 5.4.3 - "@lerna/validation-error": 5.4.3 + "@lerna/child-process": 5.5.0 + "@lerna/command": 5.5.0 + "@lerna/validation-error": 5.5.0 npmlog: ^6.0.2 - checksum: 8b58ed5b4a02e3449ede46b3efadb55b4c99f7f391366878e2a5b78d1b94dd819f6a8b6bb49dd8e2babc0059d703a1188d9b0d842d8f0ca856f74db863027b46 + checksum: dc177e69bbb71bdeb1a305a80f78ceeec540ab6840405e91d465946ab44342bedb4b99b7d3eccea80c7a9af98fe25cd10616f0e0db8bf54b682569b380f9bbfc languageName: node linkType: hard -"@lerna/exec@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/exec@npm:5.4.3" - dependencies: - "@lerna/child-process": 5.4.3 - "@lerna/command": 5.4.3 - "@lerna/filter-options": 5.4.3 - "@lerna/profiler": 5.4.3 - "@lerna/run-topologically": 5.4.3 - "@lerna/validation-error": 5.4.3 +"@lerna/exec@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/exec@npm:5.5.0" + dependencies: + "@lerna/child-process": 5.5.0 + "@lerna/command": 5.5.0 + "@lerna/filter-options": 5.5.0 + "@lerna/profiler": 5.5.0 + "@lerna/run-topologically": 5.5.0 + "@lerna/validation-error": 5.5.0 p-map: ^4.0.0 - checksum: 9493ba07e6159fc875fea75bc278b81fd561d590f3cc9211a952c9ee1d76ebf00ab5a2f81bec1919c9f40d3cf8a47772e5a819ef32dd8c03d7874661f17f2fcf + checksum: fdb3774a34fd483de05f98ea33b0f37ffef7c201ef5c81285642e1f39a512738a73ea4c0906813b40a1ff4c6f6720f8fd5c97de5c464efe5b349ac5465829884 languageName: node linkType: hard -"@lerna/filter-options@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/filter-options@npm:5.4.3" +"@lerna/filter-options@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/filter-options@npm:5.5.0" dependencies: - "@lerna/collect-updates": 5.4.3 - "@lerna/filter-packages": 5.4.3 + "@lerna/collect-updates": 5.5.0 + "@lerna/filter-packages": 5.5.0 dedent: ^0.7.0 npmlog: ^6.0.2 - checksum: 7c6a188ca3542940213387967f2494593fac7ede6754709f991986ed1678af96b064269091c23aa9ee03babd4faca21ea1c07a51a2a645212b5b93625da2b119 + checksum: 9ce420bb594de6e9e281d93a1f47466e3e50c78c5240a3cfa3a2acab94809128c734fc6d80b5fee5fce6a22b65093beb6032454cab2646d1788aded7ecdbb793 languageName: node linkType: hard -"@lerna/filter-packages@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/filter-packages@npm:5.4.3" +"@lerna/filter-packages@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/filter-packages@npm:5.5.0" dependencies: - "@lerna/validation-error": 5.4.3 + "@lerna/validation-error": 5.5.0 multimatch: ^5.0.0 npmlog: ^6.0.2 - checksum: c2d3afb354346819b88bad011049f1eca120b6188e1492a7ab95f087a3aca0f6432715c60f3089ed8e5e34b5399630b4c8585d4e56d7d59652355af9264f2442 + checksum: f8a7aa1446993d4b0714a94be9bce057aa0f5e759d284b34d808314d5f41650e3eff273bfef88f7f684ccb6ff70bdf0e11988139ca238bb7ce8e76a1a3718c68 languageName: node linkType: hard -"@lerna/get-npm-exec-opts@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/get-npm-exec-opts@npm:5.4.3" +"@lerna/get-npm-exec-opts@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/get-npm-exec-opts@npm:5.5.0" dependencies: npmlog: ^6.0.2 - checksum: c2e3a961a0e64997b926452eb35843e89806fb56d23688442d3a5ecca24a6ecd8d2e04953a0eb9a58d04fcb362b2b2358e55adfbc46217f801ade71957a2afa2 + checksum: 77d1dbb700cc61741b6ca5f100fc188042110d167a4bca3d49b0ae640394bb11699919ffd02bdf7143814cd01571dc0df3c9010f79084093d5b15eb14dd47597 languageName: node linkType: hard -"@lerna/get-packed@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/get-packed@npm:5.4.3" +"@lerna/get-packed@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/get-packed@npm:5.5.0" dependencies: fs-extra: ^9.1.0 ssri: ^9.0.1 tar: ^6.1.0 - checksum: 32981e8cc82654b11e7ae630ff167beca63ad7923efe45f965e5d241c6d9943b214dcb06aac19ae0dc022e497b9682325336323fe7c5658a4cc366dfdbde0c47 + checksum: 78100263eba4d9f25a0306b55f19b30cbf340c15b791c6115c8c9030acfbacd330af4e2810bc531e8432a225d19976980ddcb15b0be232e06f9c1cefec7e88e7 languageName: node linkType: hard -"@lerna/github-client@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/github-client@npm:5.4.3" +"@lerna/github-client@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/github-client@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 + "@lerna/child-process": 5.5.0 "@octokit/plugin-enterprise-rest": ^6.0.1 "@octokit/rest": ^19.0.3 git-url-parse: ^12.0.0 npmlog: ^6.0.2 - checksum: a55cab5a08390c42dae932b40975442de9ac551531b86e51f060a5d5a8894f07f386163e36e81e76467db4024038eae757f59531af8cd2c7dc97212f4cf7b614 + checksum: cc42765c68ca8523f1ff01f35cb03c5d325d61bef301b213cc0af813332836429e99b90fa258c7403e97295092efffbbe19bc0c60f9202642e2a5b05f0fdace1 languageName: node linkType: hard -"@lerna/gitlab-client@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/gitlab-client@npm:5.4.3" +"@lerna/gitlab-client@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/gitlab-client@npm:5.5.0" dependencies: node-fetch: ^2.6.1 npmlog: ^6.0.2 - whatwg-url: ^8.4.0 - checksum: 669e7d48507dbfbb0f5db070c558858a187bdf877e5b16a0baa368e7f78a32a3365d95a0e118a2be9583cc6c2724165285a8efa03674bab08b8d8ea340b77784 + checksum: 32f7a18bdd6b4109d647be55432fbb3ab939ebe02498832416d5d701aa9ff52fae5ab349c89d9b619b469bbc6063df6d6634b902a8d26cf2542343cd0e2c4066 languageName: node linkType: hard -"@lerna/global-options@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/global-options@npm:5.4.3" - checksum: a945031a88723a18f6ccb24682235dd71df3742d8ffe83d15992ef653c5244c9061fc55610f89bfbcf8b206a2a8f51cdd342e2a2140388935c6571a110eda5f9 +"@lerna/global-options@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/global-options@npm:5.5.0" + checksum: 0d5dd9207e832342fb4a19cb3b99a45e6df9a59e70266c29e6c9de3a757c838477aeb4fb8e0fbf233a60ad360bee8f74a2606c44cafeb8601b1b73740ea8e91d languageName: node linkType: hard -"@lerna/has-npm-version@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/has-npm-version@npm:5.4.3" +"@lerna/has-npm-version@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/has-npm-version@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 + "@lerna/child-process": 5.5.0 semver: ^7.3.4 - checksum: 06fe65279ff76c9141d25c666d8a597c4115164e2d975a38f89437f2a66d443c947cf70f34df3703feaee49d336262bef4897f00656d1088a524638df9709ca6 + checksum: 064da4626436ddee7f0b854a442b9bf96c390320cb1287167456821ebe20f6af31bc727cd8ab333e4f018760ee9c30c8c5bfbe4de33aab29420e9f85b1e63484 languageName: node linkType: hard -"@lerna/import@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/import@npm:5.4.3" +"@lerna/import@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/import@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 - "@lerna/command": 5.4.3 - "@lerna/prompt": 5.4.3 - "@lerna/pulse-till-done": 5.4.3 - "@lerna/validation-error": 5.4.3 + "@lerna/child-process": 5.5.0 + "@lerna/command": 5.5.0 + "@lerna/prompt": 5.5.0 + "@lerna/pulse-till-done": 5.5.0 + "@lerna/validation-error": 5.5.0 dedent: ^0.7.0 fs-extra: ^9.1.0 p-map-series: ^2.1.0 - checksum: deecd6584e7e768a7a30bb0664057087ce1bf1fe9e0815f8c8be4c737e1a0c60b7af6c8687919df61e5048d2c429552cb2bfe4a1e1680882431690212ba38ed4 + checksum: a4670df7b18f8dcab2220502dc074a0b1f57788d551e2d88a78d2fb575ea83afef2bb0bf970709862d253ef45c82f1db8ef09e1af19ab1f819ca96a40aba975c languageName: node linkType: hard -"@lerna/info@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/info@npm:5.4.3" +"@lerna/info@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/info@npm:5.5.0" dependencies: - "@lerna/command": 5.4.3 - "@lerna/output": 5.4.3 + "@lerna/command": 5.5.0 + "@lerna/output": 5.5.0 envinfo: ^7.7.4 - checksum: 5dd3ff7727e02345449679be5bed50266dfc8e58b48ac18430bf2f1df8b30898df50442f40390cad7303060c3bb8dd8b1ca656043623a9eebb82e32257449c50 + checksum: 4221b5283263bb28e67a4817bf0e58ac46817779eb23576c0644cf8ce65749cc9b99358b11724bc5f8bb674568fa249cd96c23a03a3e3d195901dfb9909dbb9d languageName: node linkType: hard -"@lerna/init@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/init@npm:5.4.3" +"@lerna/init@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/init@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 - "@lerna/command": 5.4.3 - "@lerna/project": 5.4.3 + "@lerna/child-process": 5.5.0 + "@lerna/command": 5.5.0 + "@lerna/project": 5.5.0 fs-extra: ^9.1.0 p-map: ^4.0.0 write-json-file: ^4.3.0 - checksum: 5003a6bc37e613f14c560f255c7f541ed4347563fe8620cafe61617bcdb5afcb17adbc84ed48043aeda95b21dd41e349e53fb44495affd59be4972bf6f7c5167 + checksum: cb6dfc25f59752fa8aef435ee8fbf7941a97444a7912beb9bd623aadfd6250bd22b30749f8115f604427f72101d4575306bd4441011b0899891a796d9265a0e5 languageName: node linkType: hard -"@lerna/link@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/link@npm:5.4.3" +"@lerna/link@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/link@npm:5.5.0" dependencies: - "@lerna/command": 5.4.3 - "@lerna/package-graph": 5.4.3 - "@lerna/symlink-dependencies": 5.4.3 + "@lerna/command": 5.5.0 + "@lerna/package-graph": 5.5.0 + "@lerna/symlink-dependencies": 5.5.0 + "@lerna/validation-error": 5.5.0 p-map: ^4.0.0 slash: ^3.0.0 - checksum: ff648c3f4562f3136d810b73b206f621c7c6445f246b4f9cfd74e69dae01d3de6114cdd4e88e30436e7360f1e3d3bd5e106c130debddc049f8cc29716cc13219 + checksum: 9e8872aa08d74da1317d506b5d26379b903b3a6980c0f25e28485840c59f8aaccc47afb884b77f5606d9c36243954694309ee3b5dc5531b5051cf0f55aa0ed71 languageName: node linkType: hard -"@lerna/list@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/list@npm:5.4.3" +"@lerna/list@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/list@npm:5.5.0" dependencies: - "@lerna/command": 5.4.3 - "@lerna/filter-options": 5.4.3 - "@lerna/listable": 5.4.3 - "@lerna/output": 5.4.3 - checksum: 7b9eeb3262224a620bde2d1f07f18b1a2bf432744cb940a2ebef219e4b3bdccf435b6072151f243cf734fd1fc75564dde3c248f086a408acc41a177f92d366e5 + "@lerna/command": 5.5.0 + "@lerna/filter-options": 5.5.0 + "@lerna/listable": 5.5.0 + "@lerna/output": 5.5.0 + checksum: d6c439b78e5eae236ec3f5a21549be24773c7a392f299a4d96ac6dc8b0556b821e5dba4aca416900c682b77c7a568904694847acf96271dc549c288341dacebc languageName: node linkType: hard -"@lerna/listable@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/listable@npm:5.4.3" +"@lerna/listable@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/listable@npm:5.5.0" dependencies: - "@lerna/query-graph": 5.4.3 + "@lerna/query-graph": 5.5.0 chalk: ^4.1.0 columnify: ^1.6.0 - checksum: 58237bba5e7adea1815826e8289ce514f35b78f14e38febdf9ebb2d4645f60fb5e0a8d6446ce4796d799c46b2cd63e1871e77e531dd49d3dda8cbdb97731376e + checksum: 84832359dba86aea6f9c9e72741e83bbe9b3753be23ad42ed7c88dbf0648d9ed24243d746110c94315a195230dcb2b10d0847bf64147ef25b30a3338e643d531 languageName: node linkType: hard -"@lerna/log-packed@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/log-packed@npm:5.4.3" +"@lerna/log-packed@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/log-packed@npm:5.5.0" dependencies: byte-size: ^7.0.0 columnify: ^1.6.0 has-unicode: ^2.0.1 npmlog: ^6.0.2 - checksum: 97f9745a5b7df0b5dd828bf759e3e5c5d1fe2e0a836d21d6a221496f1c192748c25a91a1af530cd88ac418a45f3dd006e4c2651467909d22acd1a76c56e94643 + checksum: 42861da14c0921572cf89b1fed339d7c5936e50b6fe5f0742678f69d103cece6a15fec8cfe22f83d5eeac1c2dabd79de5dbda64a60101b45fbd646120c856cfd languageName: node linkType: hard -"@lerna/npm-conf@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/npm-conf@npm:5.4.3" +"@lerna/npm-conf@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/npm-conf@npm:5.5.0" dependencies: config-chain: ^1.1.12 pify: ^5.0.0 - checksum: ce5b9ecd14beea8a48b873bf89ac423a9e108dac37f41c6c691d16adcca47c61ef23ce2601ada7f314037a1599aba9901cbd85bbc04d94e45178c8ad23485bd4 + checksum: 0e7d0ae8dee075ce8148d3237185e72eb9ada78f44021758e3e7a6d23d33d1e657c43b93f78d8ba4dae532e057ee1019915c2207d5da4fc3af2d1435ed3f7752 languageName: node linkType: hard -"@lerna/npm-dist-tag@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/npm-dist-tag@npm:5.4.3" +"@lerna/npm-dist-tag@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/npm-dist-tag@npm:5.5.0" dependencies: - "@lerna/otplease": 5.4.3 + "@lerna/otplease": 5.5.0 npm-package-arg: 8.1.1 npm-registry-fetch: ^13.3.0 npmlog: ^6.0.2 - checksum: b086104555d6730f97a116a5eddeb91a88dfa5cc4dc5d5f4b2862e2362c8c376e5ff6d45e01a4992860c34f719374154e45c36bcf7852876a3fc9867c01cd307 + checksum: 3f3b3288e057b8782b5197894a2b1576c40421ee4704c56244c2407a95a95dc23260edda785e0c7e346e50103b8df4d316447183aa31402391a1e4b5ced94a2d languageName: node linkType: hard -"@lerna/npm-install@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/npm-install@npm:5.4.3" +"@lerna/npm-install@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/npm-install@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 - "@lerna/get-npm-exec-opts": 5.4.3 + "@lerna/child-process": 5.5.0 + "@lerna/get-npm-exec-opts": 5.5.0 fs-extra: ^9.1.0 npm-package-arg: 8.1.1 npmlog: ^6.0.2 signal-exit: ^3.0.3 write-pkg: ^4.0.0 - checksum: 3e74bf952b8254b91b5d71852abbd8c8f0ee988d17469290badc0eb3afcc6ced12f94baaf6305f3552e3651715f95c06ef5f24c2d1b97689fb3e06fe81555b57 + checksum: 32ba7e5b321af7eedb234bde0afb2ae04f8b12f1f474f3abdaa01f4fd4ebac535a46e7ecc228bea1af14726e782fd2ca0c28ff29527c8941d304b55bdb7cf79a languageName: node linkType: hard -"@lerna/npm-publish@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/npm-publish@npm:5.4.3" +"@lerna/npm-publish@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/npm-publish@npm:5.5.0" dependencies: - "@lerna/otplease": 5.4.3 - "@lerna/run-lifecycle": 5.4.3 + "@lerna/otplease": 5.5.0 + "@lerna/run-lifecycle": 5.5.0 fs-extra: ^9.1.0 libnpmpublish: ^6.0.4 npm-package-arg: 8.1.1 npmlog: ^6.0.2 pify: ^5.0.0 read-package-json: ^5.0.1 - checksum: b42875e591079228f88e6d7b2ba9efcbe62bd784b05a300186a95c0be25c38274e10943cceffa63600a607d07f54cdd63505ac04745f647cf7657fd9e1e89111 + checksum: 6262c276657d5dfb88c3eeec6279ae3e5f6b5694e53b30defe5692439e222308ff13e3e0740384aee7baa63ea4c28cd2a991f77d91bbb814ae37b9848ec7b679 languageName: node linkType: hard -"@lerna/npm-run-script@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/npm-run-script@npm:5.4.3" +"@lerna/npm-run-script@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/npm-run-script@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 - "@lerna/get-npm-exec-opts": 5.4.3 + "@lerna/child-process": 5.5.0 + "@lerna/get-npm-exec-opts": 5.5.0 npmlog: ^6.0.2 - checksum: 9eb532fa2835498eab2b547113c4a2efe32842d35244d2801e4994bf98474880e601a955bfac983be1e6f96b7c0dd6edf388f2ce5add18c571acc508e78ac2d5 + checksum: 0a7006134ea1fa55ba438f170348fbe87d756e1fe8ec237f1329402a404567eed9c3369ebb490544adb2892fd71470b17542207f5dbaf5c84928b3eae3f7156b languageName: node linkType: hard -"@lerna/otplease@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/otplease@npm:5.4.3" +"@lerna/otplease@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/otplease@npm:5.5.0" dependencies: - "@lerna/prompt": 5.4.3 - checksum: 01fb94b06211ac65953ec14b770b5581bbdbeb8292cb2af2579b65f66b2958277ad89eab145faa83feb5d844491fd7f89a7cc258ea87985c1df4325b5043f1bf + "@lerna/prompt": 5.5.0 + checksum: f9bf05ee0c50a115b54fd5da5177c997d9935336ee01cce6263b1ae8a1546e6d1f5676cf96c42c315f5a6fae60d177c58b429e6cd41ca151346dd0bcde818614 languageName: node linkType: hard -"@lerna/output@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/output@npm:5.4.3" +"@lerna/output@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/output@npm:5.5.0" dependencies: npmlog: ^6.0.2 - checksum: 4625e4f72b99c436cff006692424c8a405473ce063747576e7ab5c6fe39ca0db48c33d4eae68fd529e6e2481527c1eada91f65f4c5465c5debdce5af1b5aeadb + checksum: add86a42e9afbe362e9994dabec90cf413ca1334d99cb93d3a6a5a2d37596e424f6f0f8f8456ba9993046ce4368b952dd6ba9f3e0cd301ad2f9fffa762e17692 languageName: node linkType: hard -"@lerna/pack-directory@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/pack-directory@npm:5.4.3" +"@lerna/pack-directory@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/pack-directory@npm:5.5.0" dependencies: - "@lerna/get-packed": 5.4.3 - "@lerna/package": 5.4.3 - "@lerna/run-lifecycle": 5.4.3 - "@lerna/temp-write": 5.4.3 + "@lerna/get-packed": 5.5.0 + "@lerna/package": 5.5.0 + "@lerna/run-lifecycle": 5.5.0 + "@lerna/temp-write": 5.5.0 npm-packlist: ^5.1.1 npmlog: ^6.0.2 tar: ^6.1.0 - checksum: 7a837a04ea9a4e1d8ab3bf12f894cc9f7b79c2661d4b7c51945a738f16c1e5f369870c18ed7b1ee1ea7bc7f0bde85f873cef7a810b99996d2a99c52d2337c3dd + checksum: d102769de0eb0a1749ed83c4e8fd42a5d3beecc7b2d167858d33f321e874393b79a4b08183c3d870a662a817a47fa091cff70f7d44dc5ced422bd810e3378c7c languageName: node linkType: hard -"@lerna/package-graph@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/package-graph@npm:5.4.3" +"@lerna/package-graph@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/package-graph@npm:5.5.0" dependencies: - "@lerna/prerelease-id-from-version": 5.4.3 - "@lerna/validation-error": 5.4.3 + "@lerna/prerelease-id-from-version": 5.5.0 + "@lerna/validation-error": 5.5.0 npm-package-arg: 8.1.1 npmlog: ^6.0.2 semver: ^7.3.4 - checksum: 3c6e21f3ae45643db546e0cc069a1b1bf6eed0cfe3371f47a2910ac6c6a60920788f3e1fd7c1032bc07a7210f4c446564a570a351bb32ba3c9b2688b430f120c + checksum: 3d63a37b8e7879af219a2c3cf9228b5ee8ef3c00e2d8d50e774583aeef7be4840b2ca845b80a38603485226c53e84a7f61d4dc2c9e4ab6d3ff3353ad565a455b languageName: node linkType: hard -"@lerna/package@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/package@npm:5.4.3" +"@lerna/package@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/package@npm:5.5.0" dependencies: load-json-file: ^6.2.0 npm-package-arg: 8.1.1 write-pkg: ^4.0.0 - checksum: 3a0b1121fe1b63a6444090fefb1239419d9a8265ae6cb714c7e21412af9f6a4f96da6a9bd57cefc4b53fe9bb860e7c8d5b25a5c50b82d4675d3f53ee5460f9f6 + checksum: 22ecb957a7e97c62ca0f78180a416d8c39062b6833ae0c95983e546b2774d2d9f91c20dad0f04f6d79f74f5ca390fe49638058675cdca853c2a32855182576f2 languageName: node linkType: hard -"@lerna/prerelease-id-from-version@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/prerelease-id-from-version@npm:5.4.3" +"@lerna/prerelease-id-from-version@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/prerelease-id-from-version@npm:5.5.0" dependencies: semver: ^7.3.4 - checksum: c71d3adb5236bdc856d25175aed752b3a93389dc0dd85f27f088ed124f5f9d46ba03c43adc2e9b329638ec3c6d9debb80825a37ee23d768b9b7e2efddb156de1 + checksum: bdd0895529b95a293092f549fd82c5f20d17ccdda6bac0e1bd2fbbe662cfa3b0b25524120b4ad6323a2d5ca986ee79abbc67f1953aaf01250861d4f7f59819cd languageName: node linkType: hard -"@lerna/profiler@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/profiler@npm:5.4.3" +"@lerna/profiler@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/profiler@npm:5.5.0" dependencies: fs-extra: ^9.1.0 npmlog: ^6.0.2 upath: ^2.0.1 - checksum: 3639e3a991b02bead7d141e57344fde5709816fe735525039879a10b8b679f1a7e8f75f752ad4a1c0fec31e70ef5f5d9d5b8a8937a7fd0e14c49d6084924b81a + checksum: f95fc68a8544958d784ffe5193bcfa46918304529f7bdcab363186d51c3829e5e446c2f9a47599a5ce2290d5a2322dd79c17426d4e2935f45069980db1ff0a1f languageName: node linkType: hard -"@lerna/project@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/project@npm:5.4.3" +"@lerna/project@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/project@npm:5.5.0" dependencies: - "@lerna/package": 5.4.3 - "@lerna/validation-error": 5.4.3 + "@lerna/package": 5.5.0 + "@lerna/validation-error": 5.5.0 cosmiconfig: ^7.0.0 dedent: ^0.7.0 dot-prop: ^6.0.1 glob-parent: ^5.1.1 globby: ^11.0.2 + js-yaml: ^4.1.0 load-json-file: ^6.2.0 npmlog: ^6.0.2 p-map: ^4.0.0 resolve-from: ^5.0.0 write-json-file: ^4.3.0 - checksum: cbeb03e3fec4f0e37892d7d3cbdded3c7b82a11584c6b0931bbc24bdbe9327d3a44df9c098dbcea5fce0622f4ddb2a2e62b4264d87665ff04055e83b84fa4118 + checksum: 97de2b24a95f781db858d47abb819ab2a83cec6946344c848e2b9acddf251bff9ae553aea76cbc9c484ac69715e8e8f158bbe19ea59e1e80349fb1dc34e9a145 languageName: node linkType: hard -"@lerna/prompt@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/prompt@npm:5.4.3" +"@lerna/prompt@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/prompt@npm:5.5.0" dependencies: inquirer: ^8.2.4 npmlog: ^6.0.2 - checksum: b2ad5aa911ae16ce846c822a42f674629bc3e4dbff73ded0c5bcd4328196fadfb5398c05d8374e6c2bdbd898b301e3ece9a1bb4df9bd1f95cdf9f18306dcb498 - languageName: node - linkType: hard - -"@lerna/publish@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/publish@npm:5.4.3" - dependencies: - "@lerna/check-working-tree": 5.4.3 - "@lerna/child-process": 5.4.3 - "@lerna/collect-updates": 5.4.3 - "@lerna/command": 5.4.3 - "@lerna/describe-ref": 5.4.3 - "@lerna/log-packed": 5.4.3 - "@lerna/npm-conf": 5.4.3 - "@lerna/npm-dist-tag": 5.4.3 - "@lerna/npm-publish": 5.4.3 - "@lerna/otplease": 5.4.3 - "@lerna/output": 5.4.3 - "@lerna/pack-directory": 5.4.3 - "@lerna/prerelease-id-from-version": 5.4.3 - "@lerna/prompt": 5.4.3 - "@lerna/pulse-till-done": 5.4.3 - "@lerna/run-lifecycle": 5.4.3 - "@lerna/run-topologically": 5.4.3 - "@lerna/validation-error": 5.4.3 - "@lerna/version": 5.4.3 + checksum: b310a787b69514fa5ee5148c54ca9ef8bb35e7c31d49a17b0be917aefc15fe08c213a4b48f6a99846e455dc1d6a1897c3f85de49860019d9a70c738d3d322020 + languageName: node + linkType: hard + +"@lerna/publish@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/publish@npm:5.5.0" + dependencies: + "@lerna/check-working-tree": 5.5.0 + "@lerna/child-process": 5.5.0 + "@lerna/collect-updates": 5.5.0 + "@lerna/command": 5.5.0 + "@lerna/describe-ref": 5.5.0 + "@lerna/log-packed": 5.5.0 + "@lerna/npm-conf": 5.5.0 + "@lerna/npm-dist-tag": 5.5.0 + "@lerna/npm-publish": 5.5.0 + "@lerna/otplease": 5.5.0 + "@lerna/output": 5.5.0 + "@lerna/pack-directory": 5.5.0 + "@lerna/prerelease-id-from-version": 5.5.0 + "@lerna/prompt": 5.5.0 + "@lerna/pulse-till-done": 5.5.0 + "@lerna/run-lifecycle": 5.5.0 + "@lerna/run-topologically": 5.5.0 + "@lerna/validation-error": 5.5.0 + "@lerna/version": 5.5.0 fs-extra: ^9.1.0 libnpmaccess: ^6.0.3 npm-package-arg: 8.1.1 @@ -1197,163 +1197,163 @@ __metadata: p-pipe: ^3.1.0 pacote: ^13.6.1 semver: ^7.3.4 - checksum: e0e9e729b3ed76e6d971516c81cc79954efe3fba131f8b317a53ec24d99007efb0167a8182abed9b98ce8936cb073b749b414c7a5377c742c239d8e090a30ef8 + checksum: f5f84af4a320d32e183181fb431c8d3adfa4bf4c2a75a0b6c468aefda5f76cd6b284ec113b1bced30b3cc10dad54654d591fd1c3df8d3c240c688b9db5f7ba45 languageName: node linkType: hard -"@lerna/pulse-till-done@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/pulse-till-done@npm:5.4.3" +"@lerna/pulse-till-done@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/pulse-till-done@npm:5.5.0" dependencies: npmlog: ^6.0.2 - checksum: 626298098da39e2caf0114dcc61cfbb681f76b72f46adaeccfc63e9950abf9ecfdbc29d1120f442d999b922f035d3b3a75ef3d94473aafb158d4ab75930df9cc + checksum: e4cdaae60f718625a85af801741b386570061dbaf68fae0b8e0da4c9357886863d51cfcffd737d73b751fe34f495bed231d97c3aa53a036a4fab38dde999d8a1 languageName: node linkType: hard -"@lerna/query-graph@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/query-graph@npm:5.4.3" +"@lerna/query-graph@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/query-graph@npm:5.5.0" dependencies: - "@lerna/package-graph": 5.4.3 - checksum: 569645cbc6beb8b8518a0300c459ca26581f8b1197796365e71ddc57c799ce333e6cfc4d6eb992c4a1b976a262066e9b09a10433cb58666e02b89041722e7494 + "@lerna/package-graph": 5.5.0 + checksum: 51490630e80f9e0d03c20fbbe19ad832746bfe39c9eb47caf2228f057e1b6cfb643fa29182e5f4e53c0d8eecd5cfbcb71f864d9614ca38637da57b1a57f580fb languageName: node linkType: hard -"@lerna/resolve-symlink@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/resolve-symlink@npm:5.4.3" +"@lerna/resolve-symlink@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/resolve-symlink@npm:5.5.0" dependencies: fs-extra: ^9.1.0 npmlog: ^6.0.2 read-cmd-shim: ^3.0.0 - checksum: 8af902b373caee9477bd19ee679898ca2a0eb06bf962aa04e813f7fdb482984373032e413ef1ca02a7c9d993464e892a9f18ebbad0f7d012ce0bc4c859cefca7 + checksum: 69aaa5a7b9bfd33d22c0ca60a3239beeffe44da58bc4abe9b2a7780684dd5ec752375a45f1d941fd65b648498fbb4769ed21bf834f777b18be560c3b2cbb94ef languageName: node linkType: hard -"@lerna/rimraf-dir@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/rimraf-dir@npm:5.4.3" +"@lerna/rimraf-dir@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/rimraf-dir@npm:5.5.0" dependencies: - "@lerna/child-process": 5.4.3 + "@lerna/child-process": 5.5.0 npmlog: ^6.0.2 path-exists: ^4.0.0 rimraf: ^3.0.2 - checksum: fbb6c20a3c1164b09c410cc09f79abe69f3d5fc59a6f50fcffbb188c839ab063a2cd1a0cd24f541b30eb61733ce194ddde494ae338318c798d3b0a246fae4844 + checksum: f2ab5460a3996e03fbb346e96f4249c26ae489bfd621911b981ed94c69d828fff61cfecf48d78a000339b3e356a412009f8ba439fbeadc366a7f77e65dc7d732 languageName: node linkType: hard -"@lerna/run-lifecycle@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/run-lifecycle@npm:5.4.3" +"@lerna/run-lifecycle@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/run-lifecycle@npm:5.5.0" dependencies: - "@lerna/npm-conf": 5.4.3 + "@lerna/npm-conf": 5.5.0 "@npmcli/run-script": ^4.1.7 npmlog: ^6.0.2 p-queue: ^6.6.2 - checksum: 45d0e40817e8f104c58685609525c99d622b9f68354493d270705beea127cbab8eacf21211028f935149df27f981d6b2b9d3eb4c22e5279d3e6b22b3a7aa0042 + checksum: 6bd555e08d325654648670286a86c5ba0a1e9060834c753e236c8a9805c4dbc82465be43039a314bc8a0d78a405bb0390ea5dec823b06ec0de41e183dbacdabc languageName: node linkType: hard -"@lerna/run-topologically@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/run-topologically@npm:5.4.3" +"@lerna/run-topologically@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/run-topologically@npm:5.5.0" dependencies: - "@lerna/query-graph": 5.4.3 + "@lerna/query-graph": 5.5.0 p-queue: ^6.6.2 - checksum: ff22f41fe243a8c739275011c33e004d8dd9cbbff54250028da88e1ca0b71a0aaf0c8c07a94a54e950722c934a808ebedd3cd66f354e233fa803b14dc53ad496 + checksum: a3e3eb282437efe76ade79c3c14ad040b212a944b4c4666a7cd95cc3e9ac6f34bf7a1826a5042b4c3e6cf9a4365069b23974b286d5e81081d4b80dedae6dc89f languageName: node linkType: hard -"@lerna/run@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/run@npm:5.4.3" - dependencies: - "@lerna/command": 5.4.3 - "@lerna/filter-options": 5.4.3 - "@lerna/npm-run-script": 5.4.3 - "@lerna/output": 5.4.3 - "@lerna/profiler": 5.4.3 - "@lerna/run-topologically": 5.4.3 - "@lerna/timer": 5.4.3 - "@lerna/validation-error": 5.4.3 +"@lerna/run@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/run@npm:5.5.0" + dependencies: + "@lerna/command": 5.5.0 + "@lerna/filter-options": 5.5.0 + "@lerna/npm-run-script": 5.5.0 + "@lerna/output": 5.5.0 + "@lerna/profiler": 5.5.0 + "@lerna/run-topologically": 5.5.0 + "@lerna/timer": 5.5.0 + "@lerna/validation-error": 5.5.0 p-map: ^4.0.0 - checksum: 949a282d5934f348f137369641f0a42631a9e0ad6f1ef5cdc800bb27b0520a64423f0fcdf9e369741f27dbacf80a27b1477649092f4f0832d5c0f64362c484ab + checksum: 31cf4642c96729a436e2c9125993c6e829268cbd9c61e75e2cb9b68e00258e3cc1c289404567057f5e457694a9e4cd17503422fbfa3b89057af642471d7475df languageName: node linkType: hard -"@lerna/symlink-binary@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/symlink-binary@npm:5.4.3" +"@lerna/symlink-binary@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/symlink-binary@npm:5.5.0" dependencies: - "@lerna/create-symlink": 5.4.3 - "@lerna/package": 5.4.3 + "@lerna/create-symlink": 5.5.0 + "@lerna/package": 5.5.0 fs-extra: ^9.1.0 p-map: ^4.0.0 - checksum: c4748435ef68a885478d3fcee5ee65517220642ec06195990fce7aa7ddd926200188762b90f04c26a48f6e5555c56b24ebbd5faba1cf9a2de0466ac002486b3f + checksum: 1634460d093dd238f791fa321f14868c0b85b1db63bcbdc125d882584cacff5d5f6af06a7c4a6df180a27c1e60d218992ce70a8d001f7d93273fb7f7902926f8 languageName: node linkType: hard -"@lerna/symlink-dependencies@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/symlink-dependencies@npm:5.4.3" +"@lerna/symlink-dependencies@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/symlink-dependencies@npm:5.5.0" dependencies: - "@lerna/create-symlink": 5.4.3 - "@lerna/resolve-symlink": 5.4.3 - "@lerna/symlink-binary": 5.4.3 + "@lerna/create-symlink": 5.5.0 + "@lerna/resolve-symlink": 5.5.0 + "@lerna/symlink-binary": 5.5.0 fs-extra: ^9.1.0 p-map: ^4.0.0 p-map-series: ^2.1.0 - checksum: a9732b7d4e01604ee74dfb542b29d4e070241d7442244956de554a044afcdd873ed8074b2551fcad0445055229a919bc94fa4a10a16cd71d2426d5f2e00b40af + checksum: a035c464b03fd500aa23a98310c9d978699116ca5bfe9339af8697e33c5a3acb44e43b5fab47e2ee33cba57569dbb8c84e3e23628c7e0bf1b2c504b16f95a7a2 languageName: node linkType: hard -"@lerna/temp-write@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/temp-write@npm:5.4.3" +"@lerna/temp-write@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/temp-write@npm:5.5.0" dependencies: graceful-fs: ^4.1.15 is-stream: ^2.0.0 make-dir: ^3.0.0 temp-dir: ^1.0.0 uuid: ^8.3.2 - checksum: 83c933565e1f4ece0c006537906e7ae491adc02ed8bdf812a5995d333434efe5af01f7dff332cd68f85846abc1ce0b5349f596a0d4f4255f2aa3ac74d6ea37b8 + checksum: 09d86b72b285e58130be9d124d691bf8d13946cc1369a86ad099e832603f527df67655f4d56ce9dfa4f9dd1832697011b64e2ae10ef8329cae4fc5c69591144b languageName: node linkType: hard -"@lerna/timer@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/timer@npm:5.4.3" - checksum: bf8c42d8ca5a34885d554e0f62746e942937b7749e04a37474effe69802a2e3322e286457746178727a5f3482f84af2b12ddbeef53af065edddbf04f4e07f2ac +"@lerna/timer@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/timer@npm:5.5.0" + checksum: 0637a11f59b86c62161aef7857efd836d238a1e4555e899fb13073afa5a0ea3d7b12a1a7c51735f2a1858b5af2585c93d96fe3217384908451a71aef432ca7db languageName: node linkType: hard -"@lerna/validation-error@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/validation-error@npm:5.4.3" +"@lerna/validation-error@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/validation-error@npm:5.5.0" dependencies: npmlog: ^6.0.2 - checksum: 7173637d7ea33fa7ecd951444394ded0b8bfef59c8226ae40c72c0da1e6d41c91a45f511fffaad03b3c69d30ab9adbc7f3900530a1f1142d189a02869df154d3 - languageName: node - linkType: hard - -"@lerna/version@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/version@npm:5.4.3" - dependencies: - "@lerna/check-working-tree": 5.4.3 - "@lerna/child-process": 5.4.3 - "@lerna/collect-updates": 5.4.3 - "@lerna/command": 5.4.3 - "@lerna/conventional-commits": 5.4.3 - "@lerna/github-client": 5.4.3 - "@lerna/gitlab-client": 5.4.3 - "@lerna/output": 5.4.3 - "@lerna/prerelease-id-from-version": 5.4.3 - "@lerna/prompt": 5.4.3 - "@lerna/run-lifecycle": 5.4.3 - "@lerna/run-topologically": 5.4.3 - "@lerna/temp-write": 5.4.3 - "@lerna/validation-error": 5.4.3 + checksum: 4804d6b00cef764db5049e8913ae9b8a4988029576d2b6ddc02f6562c71076fc9a1ffe1dac14230a0ac427001938f14ab65eb02a65e9277301c0258a4647ce96 + languageName: node + linkType: hard + +"@lerna/version@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/version@npm:5.5.0" + dependencies: + "@lerna/check-working-tree": 5.5.0 + "@lerna/child-process": 5.5.0 + "@lerna/collect-updates": 5.5.0 + "@lerna/command": 5.5.0 + "@lerna/conventional-commits": 5.5.0 + "@lerna/github-client": 5.5.0 + "@lerna/gitlab-client": 5.5.0 + "@lerna/output": 5.5.0 + "@lerna/prerelease-id-from-version": 5.5.0 + "@lerna/prompt": 5.5.0 + "@lerna/run-lifecycle": 5.5.0 + "@lerna/run-topologically": 5.5.0 + "@lerna/temp-write": 5.5.0 + "@lerna/validation-error": 5.5.0 chalk: ^4.1.0 dedent: ^0.7.0 load-json-file: ^6.2.0 @@ -1366,17 +1366,17 @@ __metadata: semver: ^7.3.4 slash: ^3.0.0 write-json-file: ^4.3.0 - checksum: 1a60398d03f5bfc75eb30cf6509d554424d8aa4af928259bc3a27be6b1272192544491aadc88211a14ec4bb0ed99d68142cd8c43e78e393af45b1c55bc0b4c85 + checksum: 771bee381b603a3b689d080fee147682201a882448e8d000a87b4d862988caf9430a6d94394157f8d3e6809b9a88a57a2b6a3640ebf26e135c516cddcef943a6 languageName: node linkType: hard -"@lerna/write-log-file@npm:5.4.3": - version: 5.4.3 - resolution: "@lerna/write-log-file@npm:5.4.3" +"@lerna/write-log-file@npm:5.5.0": + version: 5.5.0 + resolution: "@lerna/write-log-file@npm:5.5.0" dependencies: npmlog: ^6.0.2 write-file-atomic: ^4.0.1 - checksum: 6514a430e9339c16c61297faed58eb2fc6a2686cccc243b8e2f069477a577db579aa7a976dadb8fca2c0e15c2f0663c1212965a6ab5e12b21f7f5e9014a51ab6 + checksum: c08d46c6ae08adca75b501674fdff916b645374629e8cdbb36d3bfa46358fcb158fffb83b9fe0266e96fc4bf4eb6eb5026eb20c4954811d90470a2133f891280 languageName: node linkType: hard @@ -1597,23 +1597,23 @@ __metadata: languageName: node linkType: hard -"@nrwl/cli@npm:14.5.10": - version: 14.5.10 - resolution: "@nrwl/cli@npm:14.5.10" +"@nrwl/cli@npm:14.6.1": + version: 14.6.1 + resolution: "@nrwl/cli@npm:14.6.1" dependencies: - nx: 14.5.10 - checksum: 1f9c66f6e70c203d748f5d8e7faeedb3172d8064d3009b37d8af66deb1b9965c3c8e3eccbdaf5d60122b983603db750ecbe29f6db7a95f2f4b5ce51be0ef2120 + nx: 14.6.1 + checksum: d72a5f94f9515d44ef1a3c2e35dae559a661a66e1e6eed3a0ac610bd2783cccb0197ccff7b54cc6d2de7ebc427e076ddb2fc26936db701e8bc304c62164f84e2 languageName: node linkType: hard -"@nrwl/tao@npm:14.5.10": - version: 14.5.10 - resolution: "@nrwl/tao@npm:14.5.10" +"@nrwl/tao@npm:14.6.1": + version: 14.6.1 + resolution: "@nrwl/tao@npm:14.6.1" dependencies: - nx: 14.5.10 + nx: 14.6.1 bin: tao: index.js - checksum: 7d4402c788054579a737379edfdac8bf45df83864c81ff974764fd4f2353a084adbef265d5a33f27940044ec5ea533d1770973a8b98bee5708d46096fd56a25e + checksum: 01ca7c014d5dbd151d130a4d3138b8a55cb59b92a8a73a111c1639197b5ebb8aac2d8f3a63c572a76b63446075969a0771b1af1e7ba1f70e57f699ffa33c6c08 languageName: node linkType: hard @@ -8553,32 +8553,33 @@ __metadata: languageName: node linkType: hard -"lerna@npm:^5.4.3": - version: 5.4.3 - resolution: "lerna@npm:5.4.3" - dependencies: - "@lerna/add": 5.4.3 - "@lerna/bootstrap": 5.4.3 - "@lerna/changed": 5.4.3 - "@lerna/clean": 5.4.3 - "@lerna/cli": 5.4.3 - "@lerna/create": 5.4.3 - "@lerna/diff": 5.4.3 - "@lerna/exec": 5.4.3 - "@lerna/import": 5.4.3 - "@lerna/info": 5.4.3 - "@lerna/init": 5.4.3 - "@lerna/link": 5.4.3 - "@lerna/list": 5.4.3 - "@lerna/publish": 5.4.3 - "@lerna/run": 5.4.3 - "@lerna/version": 5.4.3 +"lerna@npm:^5.5.0": + version: 5.5.0 + resolution: "lerna@npm:5.5.0" + dependencies: + "@lerna/add": 5.5.0 + "@lerna/bootstrap": 5.5.0 + "@lerna/changed": 5.5.0 + "@lerna/clean": 5.5.0 + "@lerna/cli": 5.5.0 + "@lerna/create": 5.5.0 + "@lerna/diff": 5.5.0 + "@lerna/exec": 5.5.0 + "@lerna/import": 5.5.0 + "@lerna/info": 5.5.0 + "@lerna/init": 5.5.0 + "@lerna/link": 5.5.0 + "@lerna/list": 5.5.0 + "@lerna/publish": 5.5.0 + "@lerna/run": 5.5.0 + "@lerna/version": 5.5.0 import-local: ^3.0.2 npmlog: ^6.0.2 - nx: ">=14.5.4 < 16" + nx: ">=14.6.1 < 16" + typescript: ^3 || ^4 bin: lerna: cli.js - checksum: ae0697e9103ddac6a58b0f14bfe70ebe6570d367c08099c25b4e7ada1e83afb166e1dd0eea3e6c1cb8fe242c93d279ca1e78006ee45c0a38b0f7bd9fb9a8e41f + checksum: fd1daecd5e0305bc38c9b0723f00e303efe3f95e7ad8b518b0c4169c8f78c6a3580d1b0ba2be80c0dc1ffcc0b0d3893a3442da119f5e20391e1010395b5d1b25 languageName: node linkType: hard @@ -8849,7 +8850,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.7.0": +"lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -9967,7 +9968,7 @@ __metadata: expect-type: ^0.13.0 globby: ^13.1.2 jiti: ^1.14.0 - lerna: ^5.4.3 + lerna: ^5.5.0 markdownlint-cli: ^0.32.2 pathe: ^0.3.5 rimraf: ^3.0.2 @@ -10046,12 +10047,12 @@ __metadata: languageName: unknown linkType: soft -"nx@npm:14.5.10, nx@npm:>=14.5.4 < 16": - version: 14.5.10 - resolution: "nx@npm:14.5.10" +"nx@npm:14.6.1, nx@npm:>=14.6.1 < 16": + version: 14.6.1 + resolution: "nx@npm:14.6.1" dependencies: - "@nrwl/cli": 14.5.10 - "@nrwl/tao": 14.5.10 + "@nrwl/cli": 14.6.1 + "@nrwl/tao": 14.6.1 "@parcel/watcher": 2.0.4 chalk: 4.1.0 chokidar: ^3.5.1 @@ -10090,7 +10091,7 @@ __metadata: optional: true bin: nx: bin/nx.js - checksum: 84c86de5290a9d6a896e1298a3bdcf010a3b3e9f1a907f6150ba24105192d7fe56582b44e85d465b569a79bb01aa7633db066fb6d03548476bdf566edf1ad245 + checksum: 867e509b974ccfef364dfe319ff68e922f8325b0e3c9e2dde6266eb6d1f48a3b43eccd5615c99a19f228d54a976f6a46f35bd5e82a8d886c7a23e9e19eb65282 languageName: node linkType: hard @@ -11226,7 +11227,7 @@ __metadata: languageName: node linkType: hard -"punycode@npm:^2.1.0, punycode@npm:^2.1.1": +"punycode@npm:^2.1.0": version: 2.1.1 resolution: "punycode@npm:2.1.1" checksum: 823bf443c6dd14f669984dea25757b37993f67e8d94698996064035edd43bed8a5a17a9f12e439c2b35df1078c6bec05a6c86e336209eb1061e8025c481168e8 @@ -12764,15 +12765,6 @@ __metadata: languageName: node linkType: hard -"tr46@npm:^2.1.0": - version: 2.1.0 - resolution: "tr46@npm:2.1.0" - dependencies: - punycode: ^2.1.1 - checksum: ffe6049b9dca3ae329b059aada7f515b0f0064c611b39b51ff6b53897e954650f6f63d9319c6c008d36ead477c7b55e5f64c9dc60588ddc91ff720d64eb710b3 - languageName: node - linkType: hard - "tr46@npm:~0.0.3": version: 0.0.3 resolution: "tr46@npm:0.0.3" @@ -12919,7 +12911,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^4.7.4, typescript@npm:^4.8.2": +"typescript@npm:^3 || ^4, typescript@npm:^4.7.4, typescript@npm:^4.8.2": version: 4.8.2 resolution: "typescript@npm:4.8.2" bin: @@ -12929,7 +12921,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@^4.7.4#~builtin, typescript@patch:typescript@^4.8.2#~builtin": +"typescript@patch:typescript@^3 || ^4#~builtin, typescript@patch:typescript@^4.7.4#~builtin, typescript@patch:typescript@^4.8.2#~builtin": version: 4.8.2 resolution: "typescript@patch:typescript@npm%3A4.8.2#~builtin::version=4.8.2&hash=a1c5e5" bin: @@ -13673,13 +13665,6 @@ __metadata: languageName: node linkType: hard -"webidl-conversions@npm:^6.1.0": - version: 6.1.0 - resolution: "webidl-conversions@npm:6.1.0" - checksum: 1f526507aa491f972a0c1409d07f8444e1d28778dfa269a9971f2e157182f3d496dc33296e4ed45b157fdb3bf535bb90c90bf10c50dcf1dd6caacb2a34cc84fb - languageName: node - linkType: hard - "webpack-bundle-analyzer@npm:^4.6.1": version: 4.6.1 resolution: "webpack-bundle-analyzer@npm:4.6.1" @@ -13810,17 +13795,6 @@ __metadata: languageName: node linkType: hard -"whatwg-url@npm:^8.4.0": - version: 8.7.0 - resolution: "whatwg-url@npm:8.7.0" - dependencies: - lodash: ^4.7.0 - tr46: ^2.1.0 - webidl-conversions: ^6.1.0 - checksum: a87abcc6cefcece5311eb642858c8fdb234e51ec74196bfacf8def2edae1bfbffdf6acb251646ed6301f8cee44262642d8769c707256125a91387e33f405dd1e - languageName: node - linkType: hard - "which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2" From cafc955fb8b41156666cfa77e993a28437d32f20 Mon Sep 17 00:00:00 2001 From: HomWang <516310460@qq.com> Date: Thu, 1 Sep 2022 17:07:44 +0800 Subject: [PATCH 02/17] docs: add explanatory comment before universal router stubs (#7124) Co-authored-by: Daniel Roe --- packages/nuxt/src/app/plugins/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/src/app/plugins/router.ts b/packages/nuxt/src/app/plugins/router.ts index 64bf5d50a6c..46ed26c2898 100644 --- a/packages/nuxt/src/app/plugins/router.ts +++ b/packages/nuxt/src/app/plugins/router.ts @@ -154,7 +154,7 @@ export default defineNuxtPlugin<{ route: Route, router: Router }>((nuxtApp) => { const router: Router = { currentRoute: route, isReady: () => Promise.resolve(), - // + // These options provide a similar API to vue-router but have no effect options: {}, install: () => Promise.resolve(), // Navigation From 6fbbf8c5bc6b75ce9df2282b9b13c63db09ad1ca Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 1 Sep 2022 10:08:56 +0100 Subject: [PATCH 03/17] refactor(nuxt): remove unused `meta:register` hook (#7130) --- docs/content/3.api/4.advanced/1.hooks.md | 1 - packages/nuxt/src/app/nuxt.ts | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/content/3.api/4.advanced/1.hooks.md b/docs/content/3.api/4.advanced/1.hooks.md index cc8abdb4903..979f847a86e 100644 --- a/docs/content/3.api/4.advanced/1.hooks.md +++ b/docs/content/3.api/4.advanced/1.hooks.md @@ -12,7 +12,6 @@ Hook | Arguments | Environment | Description `app:error` | `err` | Server & Client | Called when a fatal error occurs. `app:error:cleared` | `{ redirect? }` | Server & Client | Called when a fatal error occurs. `app:data:refresh` | `keys?` | Server & Client | (internal) -`meta:register` | `metaRenderers` | Server & Client | (internal) `vue:setup` | - | Server & Client | (internal) `vue:error` | `err, target, info` | Server & Client | Called when a vue error propages to the root component. [Learn More](https://vuejs.org/api/composition-api-lifecycle.html#onerrorcaptured). `app:rendered` | `renderContext` | Server | Called when SSR rendering is done. diff --git a/packages/nuxt/src/app/nuxt.ts b/packages/nuxt/src/app/nuxt.ts index cdada80b45a..426b2784e04 100644 --- a/packages/nuxt/src/app/nuxt.ts +++ b/packages/nuxt/src/app/nuxt.ts @@ -33,7 +33,6 @@ export interface RuntimeNuxtHooks { 'app:data:refresh': (keys?: string[]) => HookResult 'page:start': (Component?: VNode) => HookResult 'page:finish': (Component?: VNode) => HookResult - 'meta:register': (metaRenderers: Array<(nuxt: NuxtApp) => NuxtMeta | Promise>) => HookResult 'vue:setup': () => void 'vue:error': (...args: Parameters[0]>) => HookResult } @@ -70,7 +69,7 @@ interface _NuxtApp { data: Ref pending: Ref error: Ref - }>, + }>, ssrContext?: NuxtSSRContext payload: { @@ -92,7 +91,7 @@ interface _NuxtApp { provide: (name: string, value: any) => void } -export interface NuxtApp extends _NuxtApp { } +export interface NuxtApp extends _NuxtApp {} export const NuxtPluginIndicator = '__nuxt_plugin' export interface Plugin = Record> { From 2d30a1db8b4c0a43a959c2b2d36119e6651887a1 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Thu, 1 Sep 2022 11:34:56 +0200 Subject: [PATCH 04/17] feat(nuxi): display nuxt and nitro versions for dev and build commands (#7118) --- packages/nuxi/src/commands/build.ts | 2 ++ packages/nuxi/src/commands/dev.ts | 4 +++- packages/nuxi/src/commands/info.ts | 1 + packages/nuxi/src/utils/banner.ts | 22 ++++++++++++++++++++-- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/packages/nuxi/src/commands/build.ts b/packages/nuxi/src/commands/build.ts index ddb7d8bf11c..3a410ded4b3 100644 --- a/packages/nuxi/src/commands/build.ts +++ b/packages/nuxi/src/commands/build.ts @@ -4,6 +4,7 @@ import { writeTypes } from '../utils/prepare' import { loadKit } from '../utils/kit' import { clearDir } from '../utils/fs' import { overrideEnv } from '../utils/env' +import { showVersions } from '../utils/banner' import { defineNuxtCommand } from './index' export default defineNuxtCommand({ @@ -16,6 +17,7 @@ export default defineNuxtCommand({ overrideEnv('production') const rootDir = resolve(args._[0] || '.') + showVersions(rootDir) const { loadNuxt, buildNuxt } = await loadKit(rootDir) diff --git a/packages/nuxi/src/commands/dev.ts b/packages/nuxi/src/commands/dev.ts index aa8edeb4509..d7fa5270586 100644 --- a/packages/nuxi/src/commands/dev.ts +++ b/packages/nuxi/src/commands/dev.ts @@ -7,7 +7,7 @@ import type { Nuxt } from '@nuxt/schema' import consola from 'consola' import { withTrailingSlash } from 'ufo' import { setupDotenv } from 'c12' -import { showBanner } from '../utils/banner' +import { showBanner, showVersions } from '../utils/banner' import { writeTypes } from '../utils/prepare' import { loadKit } from '../utils/kit' import { importModule } from '../utils/cjs' @@ -38,6 +38,8 @@ export default defineNuxtCommand({ } const rootDir = resolve(args._[0] || '.') + showVersions(rootDir) + await setupDotenv({ cwd: rootDir }) const listener = await listen(serverHandler, { diff --git a/packages/nuxi/src/commands/info.ts b/packages/nuxi/src/commands/info.ts index 06ce952edd4..8dac49d71b0 100644 --- a/packages/nuxi/src/commands/info.ts +++ b/packages/nuxi/src/commands/info.ts @@ -63,6 +63,7 @@ export default defineNuxtCommand({ OperatingSystem: os.type(), NodeVersion: process.version, NuxtVersion: nuxtVersion, + NitroVersion: getDepVersion('nitropack'), PackageManager: packageManager, Builder: builder, UserConfig: Object.keys(nuxtConfig).map(key => '`' + key + '`').join(', '), diff --git a/packages/nuxi/src/utils/banner.ts b/packages/nuxi/src/utils/banner.ts index 13410e1eb8a..0fc480f31ab 100644 --- a/packages/nuxi/src/utils/banner.ts +++ b/packages/nuxi/src/utils/banner.ts @@ -1,8 +1,26 @@ +import { createRequire } from 'node:module' import clear from 'clear' -import { green } from 'colorette' +import { bold, gray, green } from 'colorette' import { version } from '../../package.json' export function showBanner (_clear?: boolean) { if (_clear) { clear() } - console.log(green(`Nuxt CLI v${version}`)) + console.log(gray(`Nuxi ${(bold(version))}`)) +} + +export function showVersions (cwd: string) { + const _require = createRequire(cwd) + const getPkgVersion = (pkg: string) => { + try { + const { version } = _require(`${pkg}/package.json`) + return version || '' + } catch { /* not found */ } + return '' + } + const nuxtVersion = getPkgVersion('nuxt') || getPkgVersion('nuxt-edge') + const nitroVersion = getPkgVersion('nitropack') + console.log(gray( + green(`Nuxt ${bold(nuxtVersion)}`) + + (nitroVersion ? ` with Nitro ${(bold(nitroVersion))}` : '') + )) } From 68d12b468beede556a5a217e85b2e2b91ccd74c5 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Thu, 1 Sep 2022 12:05:02 +0200 Subject: [PATCH 05/17] feat: allow extending with `theme` config (#7131) --- packages/kit/package.json | 2 +- packages/kit/src/loader/config.ts | 1 + packages/nuxi/package.json | 2 +- packages/schema/package.json | 2 +- packages/schema/src/config/_common.ts | 15 ++++++++++++++- test/fixtures/basic/nuxt.config.ts | 2 +- yarn.lock | 23 +++++++++++++++++++---- 7 files changed, 38 insertions(+), 9 deletions(-) diff --git a/packages/kit/package.json b/packages/kit/package.json index 73ab04daecc..ea46e302d5f 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@nuxt/schema": "3.0.0-rc.8", - "c12": "^0.2.9", + "c12": "^0.2.10", "consola": "^2.15.3", "defu": "^6.1.0", "globby": "^13.1.2", diff --git a/packages/kit/src/loader/config.ts b/packages/kit/src/loader/config.ts index 384f3066b89..b455cf2af31 100644 --- a/packages/kit/src/loader/config.ts +++ b/packages/kit/src/loader/config.ts @@ -11,6 +11,7 @@ export async function loadNuxtConfig (opts: LoadNuxtConfigOptions): Promise Date: Thu, 1 Sep 2022 12:56:18 +0200 Subject: [PATCH 06/17] fix(nuxi): fix version search path (#7133) --- packages/nuxi/src/utils/banner.ts | 9 ++------- packages/nuxi/src/utils/cjs.ts | 4 ++++ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/nuxi/src/utils/banner.ts b/packages/nuxi/src/utils/banner.ts index 0fc480f31ab..3617a4c44d8 100644 --- a/packages/nuxi/src/utils/banner.ts +++ b/packages/nuxi/src/utils/banner.ts @@ -1,7 +1,7 @@ -import { createRequire } from 'node:module' import clear from 'clear' import { bold, gray, green } from 'colorette' import { version } from '../../package.json' +import { tryRequireModule } from './cjs' export function showBanner (_clear?: boolean) { if (_clear) { clear() } @@ -9,13 +9,8 @@ export function showBanner (_clear?: boolean) { } export function showVersions (cwd: string) { - const _require = createRequire(cwd) const getPkgVersion = (pkg: string) => { - try { - const { version } = _require(`${pkg}/package.json`) - return version || '' - } catch { /* not found */ } - return '' + return tryRequireModule(`${pkg}/package.json`, cwd)?.version || '' } const nuxtVersion = getPkgVersion('nuxt') || getPkgVersion('nuxt-edge') const nitroVersion = getPkgVersion('nitropack') diff --git a/packages/nuxi/src/utils/cjs.ts b/packages/nuxi/src/utils/cjs.ts index 0acdb9b06fd..90463fb6135 100644 --- a/packages/nuxi/src/utils/cjs.ts +++ b/packages/nuxi/src/utils/cjs.ts @@ -29,6 +29,10 @@ export function requireModule (id: string, paths?: string | string[]) { return _require(resolveModule(id, paths)) } +export function tryRequireModule (id: string, paths?: string | string[]) { + try { return requireModule(id, paths) } catch { return null } +} + export function importModule (id: string, paths?: string | string[]) { const resolvedPath = resolveModule(id, paths) return import(pathToFileURL(resolvedPath).href) From 9eb95e23718ed0085fd346c0681148ea3a937807 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Thu, 1 Sep 2022 18:57:10 +0200 Subject: [PATCH 07/17] build(nuxt): update nitropack to `0.5.x` (#7141) --- packages/nuxt/package.json | 4 +- packages/nuxt/src/core/nitro.ts | 1 + packages/vite/package.json | 2 +- yarn.lock | 273 +++++++++++++------------------- 4 files changed, 110 insertions(+), 170 deletions(-) diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index ce86ef84d23..a3bb92e5c49 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -46,13 +46,13 @@ "escape-string-regexp": "^5.0.0", "fs-extra": "^10.1.0", "globby": "^13.1.2", - "h3": "^0.7.17", + "h3": "^0.7.19", "hash-sum": "^2.0.0", "hookable": "^5.2.2", "knitwork": "^0.1.2", "magic-string": "^0.26.3", "mlly": "^0.5.14", - "nitropack": "^0.4.24", + "nitropack": "^0.5.0", "nuxi": "3.0.0-rc.8", "ohash": "^0.1.5", "ohmyfetch": "^0.4.18", diff --git a/packages/nuxt/src/core/nitro.ts b/packages/nuxt/src/core/nitro.ts index 2ba3d0c5fb0..4436a19ca9c 100644 --- a/packages/nuxt/src/core/nitro.ts +++ b/packages/nuxt/src/core/nitro.ts @@ -137,6 +137,7 @@ export async function initNitro (nuxt: Nuxt) { // Setup handlers const devMiddlewareHandler = dynamicEventHandler() + // @ts-ignore fix handler type in nitro to accept event handler nitro.options.devHandlers.unshift({ handler: devMiddlewareHandler }) nitro.options.devHandlers.push(...devHandlers) nitro.options.handlers.unshift({ diff --git a/packages/vite/package.json b/packages/vite/package.json index 93ae0029755..e35524a8840 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -33,7 +33,7 @@ "externality": "^0.2.2", "fs-extra": "^10.1.0", "get-port-please": "^2.6.1", - "h3": "^0.7.17", + "h3": "^0.7.19", "knitwork": "^0.1.2", "magic-string": "^0.26.3", "mlly": "^0.5.14", diff --git a/yarn.lock b/yarn.lock index b1e6bd3169e..986774144f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1399,7 +1399,7 @@ __metadata: languageName: node linkType: hard -"@netlify/functions@npm:^1.0.0": +"@netlify/functions@npm:^1.2.0": version: 1.2.0 resolution: "@netlify/functions@npm:1.2.0" dependencies: @@ -1597,23 +1597,23 @@ __metadata: languageName: node linkType: hard -"@nrwl/cli@npm:14.6.1": - version: 14.6.1 - resolution: "@nrwl/cli@npm:14.6.1" +"@nrwl/cli@npm:14.6.2": + version: 14.6.2 + resolution: "@nrwl/cli@npm:14.6.2" dependencies: - nx: 14.6.1 - checksum: d72a5f94f9515d44ef1a3c2e35dae559a661a66e1e6eed3a0ac610bd2783cccb0197ccff7b54cc6d2de7ebc427e076ddb2fc26936db701e8bc304c62164f84e2 + nx: 14.6.2 + checksum: 55f9cfd2bcbc2f19b259efc0b0eed54101c9b8b5a6287fc9dedd06d5294d20a9758832ffa385f94f9cb97bb29d0efff6a8f0fd49b0f5e82923d279fec8bb9b83 languageName: node linkType: hard -"@nrwl/tao@npm:14.6.1": - version: 14.6.1 - resolution: "@nrwl/tao@npm:14.6.1" +"@nrwl/tao@npm:14.6.2": + version: 14.6.2 + resolution: "@nrwl/tao@npm:14.6.2" dependencies: - nx: 14.6.1 + nx: 14.6.2 bin: tao: index.js - checksum: 01ca7c014d5dbd151d130a4d3138b8a55cb59b92a8a73a111c1639197b5ebb8aac2d8f3a63c572a76b63446075969a0771b1af1e7ba1f70e57f699ffa33c6c08 + checksum: 2f66126fa56878f55ccfce8c9dc3e5192ce5df50d862de672d4d212b199ed33d34262a3b530d7f19e925e8e8bcd12d19d109e31ff06251bf84b6b9bc1c49f82b languageName: node linkType: hard @@ -1799,7 +1799,7 @@ __metadata: externality: ^0.2.2 fs-extra: ^10.1.0 get-port-please: ^2.6.1 - h3: ^0.7.17 + h3: ^0.7.19 knitwork: ^0.1.2 magic-string: ^0.26.3 mlly: ^0.5.14 @@ -1971,10 +1971,10 @@ __metadata: languageName: node linkType: hard -"@octokit/openapi-types@npm:^13.4.0": - version: 13.5.0 - resolution: "@octokit/openapi-types@npm:13.5.0" - checksum: 86159aef2f029bc88ccf6da178443b6682e4217aa9aa7dfc2e32c3e6080a81fead53aeea272942bd1b5fc8284d05d871ae1ce0da042c7240cb65fb061cfe5e95 +"@octokit/openapi-types@npm:^13.6.0": + version: 13.6.0 + resolution: "@octokit/openapi-types@npm:13.6.0" + checksum: 2abf858a24888dcede28fe9a3fe3d24fba468d90daf4e22d1238d2419fe69aa8ee8f4aad163a73870038497b3a1b77b9b16172f649fb2cd767dd11fb3d09d44d languageName: node linkType: hard @@ -1986,13 +1986,13 @@ __metadata: linkType: hard "@octokit/plugin-paginate-rest@npm:^4.0.0": - version: 4.1.0 - resolution: "@octokit/plugin-paginate-rest@npm:4.1.0" + version: 4.2.0 + resolution: "@octokit/plugin-paginate-rest@npm:4.2.0" dependencies: - "@octokit/types": ^7.1.1 + "@octokit/types": ^7.2.0 peerDependencies: "@octokit/core": ">=4" - checksum: bca2481b8add3b01b2ca447c0b534b0ec60a8cf45e58577f78ef3e5dd95274eac065d7e6dc4b8e1a5e37c69f37e6bf314b2139c15816e0c0c6f80c18e12a7192 + checksum: 23e7c2a7c7a01b2973baacd1ae2cd33b567611c1a8607a387afd96f52ed86d97c2ee9ec7a58efbd80b75d30a3604e256e669f5b3f3d78ea6534f659cdba7b17b languageName: node linkType: hard @@ -2006,14 +2006,14 @@ __metadata: linkType: hard "@octokit/plugin-rest-endpoint-methods@npm:^6.0.0": - version: 6.3.1 - resolution: "@octokit/plugin-rest-endpoint-methods@npm:6.3.1" + version: 6.4.0 + resolution: "@octokit/plugin-rest-endpoint-methods@npm:6.4.0" dependencies: - "@octokit/types": ^7.1.1 + "@octokit/types": ^7.2.0 deprecation: ^2.3.1 peerDependencies: "@octokit/core": ">=3" - checksum: cd9485143716628b96786c4b53fa719197c2eb9e1f7345048f9762a38322a1d696da639fb8bd9947290f7459f9ec96ddeabb701057450bd92d186f25a87586cc + checksum: 23274c9d307ec198192bc96fc340e75d29156df338ea8184a20673298d90e435fcc22cf09434943666f0d10ff5b4f2cd2caa778d0fb17906f319ff2373c61dbf languageName: node linkType: hard @@ -2054,12 +2054,12 @@ __metadata: languageName: node linkType: hard -"@octokit/types@npm:^7.0.0, @octokit/types@npm:^7.1.1": - version: 7.1.1 - resolution: "@octokit/types@npm:7.1.1" +"@octokit/types@npm:^7.0.0, @octokit/types@npm:^7.2.0": + version: 7.2.0 + resolution: "@octokit/types@npm:7.2.0" dependencies: - "@octokit/openapi-types": ^13.4.0 - checksum: fe7847fe996b14761d1ca3e6dbb1b33bb180fc9b28ac602fab939fcdb729d99ec30a210f9ede6cd88a41cd04b3b49126ec3794220724a3be3d7863cdfbd9d490 + "@octokit/openapi-types": ^13.6.0 + checksum: e647e20ad46cc0899d16a7c621a54857c64f6579becfedc6788b3a0759fff5ca53722309cb51e51cc34312705df6edc084a2dd6ef5850e7668e39f3ed95ba5aa languageName: node linkType: hard @@ -2336,17 +2336,6 @@ __metadata: languageName: node linkType: hard -"@types/jsdom@npm:^20.0.0": - version: 20.0.0 - resolution: "@types/jsdom@npm:20.0.0" - dependencies: - "@types/node": "*" - "@types/tough-cookie": "*" - parse5: ^7.0.0 - checksum: 13e67d31347e02d46ec6a23919b3ce39d86136665922a2a6cb977e216a2f46c22d2f025d0586a64ab492ebaa5f43da669b6f173a5a8cfd3e3bb7c9d19b6cfa9e - languageName: node - linkType: hard - "@types/json-schema@npm:*, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": version: 7.0.11 resolution: "@types/json-schema@npm:7.0.11" @@ -2387,9 +2376,9 @@ __metadata: linkType: hard "@types/minimatch@npm:*": - version: 5.1.1 - resolution: "@types/minimatch@npm:5.1.1" - checksum: 75d7cc5b0964dab6993dbdc7a4d0f082459260fec3210baa907856fb2cf6bca7112717422b488b81953e07f8fc36466cdaa9e9684942b9210d240ddaa2fdf42a + version: 5.1.2 + resolution: "@types/minimatch@npm:5.1.2" + checksum: 0391a282860c7cb6fe262c12b99564732401bdaa5e395bee9ca323c312c1a0f45efbf34dce974682036e857db59a5c9b1da522f3d6055aeead7097264c8705a8 languageName: node linkType: hard @@ -2489,13 +2478,6 @@ __metadata: languageName: node linkType: hard -"@types/tough-cookie@npm:*": - version: 4.0.2 - resolution: "@types/tough-cookie@npm:4.0.2" - checksum: e055556ffdaa39ad85ede0af192c93f93f986f4bd9e9426efdc2948e3e2632db3a4a584d4937dbf6d7620527419bc99e6182d3daf2b08685e710f2eda5291905 - languageName: node - linkType: hard - "@types/uglify-js@npm:*": version: 3.17.0 resolution: "@types/uglify-js@npm:3.17.0" @@ -2927,9 +2909,9 @@ __metadata: languageName: node linkType: hard -"@vercel/nft@npm:^0.21.0": - version: 0.21.0 - resolution: "@vercel/nft@npm:0.21.0" +"@vercel/nft@npm:^0.22.0": + version: 0.22.0 + resolution: "@vercel/nft@npm:0.22.0" dependencies: "@mapbox/node-pre-gyp": ^1.0.5 acorn: ^8.6.0 @@ -2944,7 +2926,7 @@ __metadata: rollup-pluginutils: ^2.8.2 bin: nft: out/cli.js - checksum: 832e71f0770ce0f1a01da432ebceedc3a20bca1f6b99db1451134b889a96e69c23e9774f2eebeb507798f448de13770997bd851eecd80fff6b15fd1cfc5b1dda + checksum: 06f649f76a0ffae0c02964cfe66acb9b722de054e0317829f0a992dfb9b941328cfa7cb722af847b8d641b87497c994cb315ecf2c7d1fbe8c15176af57676887 languageName: node linkType: hard @@ -4063,7 +4045,7 @@ __metadata: languageName: node linkType: hard -"c12@npm:^0.2.10": +"c12@npm:^0.2.10, c12@npm:^0.2.7": version: 0.2.10 resolution: "c12@npm:0.2.10" dependencies: @@ -4078,21 +4060,6 @@ __metadata: languageName: node linkType: hard -"c12@npm:^0.2.7, c12@npm:^0.2.9": - version: 0.2.9 - resolution: "c12@npm:0.2.9" - dependencies: - defu: ^6.0.0 - dotenv: ^16.0.1 - gittar: ^0.1.1 - jiti: ^1.14.0 - mlly: ^0.5.7 - pathe: ^0.3.3 - rc9: ^1.2.2 - checksum: c58caa19638ba2f539ef6004cb83a3bc6ef947b4857ffc2d0a318b82d377c12a39feceb63acbf6809fe50c4948a5b9a08904856f5e742b8496fe8c94cf1fa8a6 - languageName: node - linkType: hard - "cac@npm:^6.7.12": version: 6.7.14 resolution: "cac@npm:6.7.14" @@ -5363,9 +5330,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.4.202": - version: 1.4.237 - resolution: "electron-to-chromium@npm:1.4.237" - checksum: 5f95ada8864dfa423e5fdc3ba69ee81d8229a6934079849b33125081d58f4d6243cc627bbfba8faea08fad2ed3e625cd6bcfcdfcbe6e984796e2bf9ca3ca2227 + version: 1.4.239 + resolution: "electron-to-chromium@npm:1.4.239" + checksum: 4e16eadc647d69353520a200953a76beb6557284172259703c483d4ec8302a331ff243d85b49da13d58c6c7e99f8917d26b529e6159cf69489fa62021ba25cac languageName: node linkType: hard @@ -5452,13 +5419,6 @@ __metadata: languageName: node linkType: hard -"entities@npm:^4.3.0": - version: 4.3.1 - resolution: "entities@npm:4.3.1" - checksum: e8f6d2bac238494b2355e90551893882d2675142be7e7bdfcb15248ed0652a630678ba0e3a8dc750693e736cb6011f504c27dabeb4cd3330560092e88b105090 - languageName: node - linkType: hard - "entities@npm:~3.0.1": version: 3.0.1 resolution: "entities@npm:3.0.1" @@ -5946,7 +5906,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.15.1, esbuild@npm:^0.15.5, esbuild@npm:^0.15.6": +"esbuild@npm:^0.15.6": version: 0.15.6 resolution: "esbuild@npm:0.15.6" dependencies: @@ -6826,13 +6786,13 @@ __metadata: languageName: node linkType: hard -"figures@npm:^4.0.1": - version: 4.0.1 - resolution: "figures@npm:4.0.1" +"figures@npm:^5.0.0": + version: 5.0.0 + resolution: "figures@npm:5.0.0" dependencies: escape-string-regexp: ^5.0.0 is-unicode-supported: ^1.2.0 - checksum: 08564c70ec6be8dbd26e24e4f35bacb8d9beb729b3b7faa9cd7ad54f5232b7f9a39f788a847ec45677664d568c86323001d1042482d089c0d0f311e197ad1148 + checksum: e6e8b6d1df2f554d4effae4a5ceff5d796f9449f6d4e912d74dab7d5f25916ecda6c305b9084833157d56485a0c78b37164430ddc5675bcee1330e346710669e languageName: node linkType: hard @@ -7494,15 +7454,15 @@ __metadata: languageName: node linkType: hard -"h3@npm:^0.7.12, h3@npm:^0.7.15, h3@npm:^0.7.17": - version: 0.7.17 - resolution: "h3@npm:0.7.17" +"h3@npm:^0.7.12, h3@npm:^0.7.19": + version: 0.7.19 + resolution: "h3@npm:0.7.19" dependencies: cookie-es: ^0.5.0 destr: ^1.1.1 radix3: ^0.1.2 ufo: ^0.8.5 - checksum: ae444f90e71914abfd95beaa6fe7c67bcde05b12fa6a952e65f5b0fbc1f4e5851a7f9a89182bbe5a1e35da0e8dcd1f77668a9634aabe5f4c37cdab4d2e0a661e + checksum: 94bf7019ee23bfb7371b17c0b6d464889c4e3d8f2194ae46a14342a05711847e4768b0550e73630f33f6d89c8c2913559c2dfa52480290ea129a142f744e65d1 languageName: node linkType: hard @@ -7607,7 +7567,7 @@ __metadata: languageName: node linkType: hard -"hookable@npm:^5.1.1, hookable@npm:^5.2.2": +"hookable@npm:^5.2.2": version: 5.2.2 resolution: "hookable@npm:5.2.2" checksum: fb4b3104a62ecf47f1743e8ea1a573656ee8d0601903fafa6a5c7247bc18a007be603e58a302400576f3b4c358b641372b073adf649018db00294d8c34123dbc @@ -7917,15 +7877,15 @@ __metadata: linkType: hard "inquirer@npm:^9.1.0": - version: 9.1.0 - resolution: "inquirer@npm:9.1.0" + version: 9.1.1 + resolution: "inquirer@npm:9.1.1" dependencies: ansi-escapes: ^5.0.0 chalk: ^5.0.1 cli-cursor: ^4.0.0 cli-width: ^4.0.0 external-editor: ^3.0.3 - figures: ^4.0.1 + figures: ^5.0.0 lodash: ^4.17.21 mute-stream: 0.0.8 ora: ^6.1.2 @@ -7935,7 +7895,7 @@ __metadata: strip-ansi: ^7.0.1 through: ^2.3.6 wrap-ansi: ^8.0.1 - checksum: dec2a062c0710396e14712bff6e08c0f150ab1021754ab9f66d600dd828abea4263b49ddbf8d100173843cb14cbe790abb8d5d5b2ae9e11b222324638c9674f2 + checksum: e0b945c34e4ffcb2e4446e6821726e50b2936cd8a0b53d702d8d6ab18634695b69e7481be230fb924afe69087bb7df2afaf39a41c0c2e39854a9c7028507c67d languageName: node linkType: hard @@ -8609,27 +8569,27 @@ __metadata: linkType: hard "libnpmaccess@npm:^6.0.3": - version: 6.0.3 - resolution: "libnpmaccess@npm:6.0.3" + version: 6.0.4 + resolution: "libnpmaccess@npm:6.0.4" dependencies: aproba: ^2.0.0 minipass: ^3.1.1 npm-package-arg: ^9.0.1 npm-registry-fetch: ^13.0.0 - checksum: 4a437390d52bd5e6145164210cfab4cdbc824c4f4a62e11cf186cad9c159a7c8f0c1b6e37346db1cc675bcdf1508e92ed64d47ac1a9bcf838a670bb4741a50c9 + checksum: 86130b435c67a03254489c3b3684d435260b609164f76bcc69adbee78652c36a64551228b2c5ddc2b16851e9e367ee0ba173a641406768397716faa006042322 languageName: node linkType: hard "libnpmpublish@npm:^6.0.4": - version: 6.0.4 - resolution: "libnpmpublish@npm:6.0.4" + version: 6.0.5 + resolution: "libnpmpublish@npm:6.0.5" dependencies: normalize-package-data: ^4.0.0 npm-package-arg: ^9.0.1 npm-registry-fetch: ^13.0.0 semver: ^7.3.7 ssri: ^9.0.0 - checksum: d653e0d9be0b01011c020f8252f480ca68105b56fde575a6c4fda650f6b5ff33a51fda43897ba817d2955579cc096910561e60e26628c59f5ac2d031157551d1 + checksum: d2f2434517038438be44db2e90e1c8c524df05f7c3b1458617177c2f9ca008dde8a72a4f739b34aee4df0352f71c9289788da86aa38a4709e05c6db33eed570a languageName: node linkType: hard @@ -9527,12 +9487,12 @@ __metadata: languageName: node linkType: hard -"nitropack@npm:^0.4.24": - version: 0.4.24 - resolution: "nitropack@npm:0.4.24" +"nitropack@npm:^0.5.0": + version: 0.5.0 + resolution: "nitropack@npm:0.5.0" dependencies: "@cloudflare/kv-asset-handler": ^0.2.0 - "@netlify/functions": ^1.0.0 + "@netlify/functions": ^1.2.0 "@rollup/plugin-alias": ^3.1.9 "@rollup/plugin-commonjs": ^22.0.2 "@rollup/plugin-inject": ^4.0.4 @@ -9541,58 +9501,58 @@ __metadata: "@rollup/plugin-replace": ^4.0.0 "@rollup/plugin-wasm": ^5.2.0 "@rollup/pluginutils": ^4.2.1 - "@types/jsdom": ^20.0.0 - "@vercel/nft": ^0.21.0 + "@vercel/nft": ^0.22.0 archiver: ^5.3.1 - c12: ^0.2.9 + c12: ^0.2.10 chalk: ^5.0.1 chokidar: ^3.5.3 consola: ^2.15.3 cookie-es: ^0.5.0 - defu: ^6.0.0 + defu: ^6.1.0 destr: ^1.1.1 dot-prop: ^7.2.0 - esbuild: ^0.15.1 + esbuild: ^0.15.6 escape-string-regexp: ^5.0.0 etag: ^1.8.1 fs-extra: ^10.1.0 globby: ^13.1.2 gzip-size: ^7.0.0 - h3: ^0.7.15 - hookable: ^5.1.1 + h3: ^0.7.19 + hookable: ^5.2.2 http-proxy: ^1.18.1 is-primitive: ^3.0.1 jiti: ^1.14.0 klona: ^2.0.5 + knitwork: ^0.1.2 listhen: ^0.2.15 mime: ^3.0.0 - mlly: ^0.5.12 + mlly: ^0.5.14 mri: ^1.2.0 node-fetch-native: ^0.1.4 ohash: ^0.1.5 ohmyfetch: ^0.4.18 - pathe: ^0.3.4 + pathe: ^0.3.5 perfect-debounce: ^0.1.3 - pkg-types: ^0.3.3 + pkg-types: ^0.3.4 pretty-bytes: ^6.0.0 radix3: ^0.1.2 - rollup: ^2.77.3 + rollup: ^2.79.0 rollup-plugin-terser: ^7.0.2 - rollup-plugin-visualizer: ^5.7.1 + rollup-plugin-visualizer: ^5.8.0 scule: ^0.3.2 semver: ^7.3.7 serve-placeholder: ^2.0.1 serve-static: ^1.15.0 source-map-support: ^0.5.21 - std-env: ^3.1.1 + std-env: ^3.2.1 ufo: ^0.8.5 - unenv: ^0.5.4 + unenv: ^0.6.2 unimport: ^0.6.7 unstorage: ^0.5.6 bin: nitro: dist/cli.mjs nitropack: dist/cli.mjs - checksum: a2d28648cbb090e205a81607e9299643ec3b5e43a8d87dbc51cc75cd0b5986853843e15094942cfea51886039a86a8e659eb2af76f9832b81dd59e104b5c24ae + checksum: f8f4dea5d08e0db8fcc0bd0513dcbb765aaad0160284261db78b794b40123ad2e3fcacb5481f6cf07fa4c56f865698d2ff14ad88317da28c871f595d3c3e1eb7 languageName: node linkType: hard @@ -10030,13 +9990,13 @@ __metadata: escape-string-regexp: ^5.0.0 fs-extra: ^10.1.0 globby: ^13.1.2 - h3: ^0.7.17 + h3: ^0.7.19 hash-sum: ^2.0.0 hookable: ^5.2.2 knitwork: ^0.1.2 magic-string: ^0.26.3 mlly: ^0.5.14 - nitropack: ^0.4.24 + nitropack: ^0.5.0 nuxi: 3.0.0-rc.8 ohash: ^0.1.5 ohmyfetch: ^0.4.18 @@ -10062,12 +10022,12 @@ __metadata: languageName: unknown linkType: soft -"nx@npm:14.6.1, nx@npm:>=14.6.1 < 16": - version: 14.6.1 - resolution: "nx@npm:14.6.1" +"nx@npm:14.6.2, nx@npm:>=14.6.1 < 16": + version: 14.6.2 + resolution: "nx@npm:14.6.2" dependencies: - "@nrwl/cli": 14.6.1 - "@nrwl/tao": 14.6.1 + "@nrwl/cli": 14.6.2 + "@nrwl/tao": 14.6.2 "@parcel/watcher": 2.0.4 chalk: 4.1.0 chokidar: ^3.5.1 @@ -10106,7 +10066,7 @@ __metadata: optional: true bin: nx: bin/nx.js - checksum: 867e509b974ccfef364dfe319ff68e922f8325b0e3c9e2dde6266eb6d1f48a3b43eccd5615c99a19f228d54a976f6a46f35bd5e82a8d886c7a23e9e19eb65282 + checksum: 8e7ad2a899b57167c6ff7c961a22c52b8433c85e9fc4822c74cf147ab632f662bd567d8b02e988ec81c2d360bf15ad44302ddec3fba4ec03be78fff1442fea7c languageName: node linkType: hard @@ -10521,15 +10481,6 @@ __metadata: languageName: node linkType: hard -"parse5@npm:^7.0.0": - version: 7.0.0 - resolution: "parse5@npm:7.0.0" - dependencies: - entities: ^4.3.0 - checksum: 7da5d61cc18eb36ffa71fc861e65cbfd1f23d96483a6631254e627be667dbc9c93ac0b0e6cb17a13a2e4033dab19bfb2f76f38e5936cfb57240ed49036a83fcc - languageName: node - linkType: hard - "parseurl@npm:~1.3.3": version: 1.3.3 resolution: "parseurl@npm:1.3.3" @@ -10681,7 +10632,7 @@ __metadata: languageName: node linkType: hard -"pkg-types@npm:^0.3.3, pkg-types@npm:^0.3.4": +"pkg-types@npm:^0.3.4": version: 0.3.4 resolution: "pkg-types@npm:0.3.4" dependencies: @@ -11646,7 +11597,7 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-esbuild@npm:^4.9.3": +"rollup-plugin-esbuild@npm:^4.10.1": version: 4.10.1 resolution: "rollup-plugin-esbuild@npm:4.10.1" dependencies: @@ -11676,7 +11627,7 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-visualizer@npm:^5.7.1, rollup-plugin-visualizer@npm:^5.8.0": +"rollup-plugin-visualizer@npm:^5.8.0": version: 5.8.0 resolution: "rollup-plugin-visualizer@npm:5.8.0" dependencies: @@ -11715,7 +11666,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^2.77.3, rollup@npm:^2.78.0, rollup@npm:^2.79.0": +"rollup@npm:^2.79.0": version: 2.79.0 resolution: "rollup@npm:2.79.0" dependencies: @@ -12926,7 +12877,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^3 || ^4, typescript@npm:^4.7.4, typescript@npm:^4.8.2": +"typescript@npm:^3 || ^4, typescript@npm:^4.8.2": version: 4.8.2 resolution: "typescript@npm:4.8.2" bin: @@ -12936,7 +12887,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@^3 || ^4#~builtin, typescript@patch:typescript@^4.7.4#~builtin, typescript@patch:typescript@^4.8.2#~builtin": +"typescript@patch:typescript@^3 || ^4#~builtin, typescript@patch:typescript@^4.8.2#~builtin": version: 4.8.2 resolution: "typescript@patch:typescript@npm%3A4.8.2#~builtin::version=4.8.2&hash=a1c5e5" bin: @@ -12982,8 +12933,8 @@ __metadata: linkType: hard "unbuild@npm:^0.8.9": - version: 0.8.9 - resolution: "unbuild@npm:0.8.9" + version: 0.8.10 + resolution: "unbuild@npm:0.8.10" dependencies: "@rollup/plugin-alias": ^3.1.9 "@rollup/plugin-commonjs": ^22.0.2 @@ -12994,28 +12945,28 @@ __metadata: chalk: ^5.0.1 consola: ^2.15.3 defu: ^6.1.0 - esbuild: ^0.15.5 + esbuild: ^0.15.6 globby: ^13.1.2 - hookable: ^5.1.1 + hookable: ^5.2.2 jiti: ^1.14.0 - magic-string: ^0.26.2 + magic-string: ^0.26.3 mkdirp: ^1.0.4 mkdist: ^0.3.13 - mlly: ^0.5.13 + mlly: ^0.5.14 mri: ^1.2.0 pathe: ^0.3.5 - pkg-types: ^0.3.3 + pkg-types: ^0.3.4 pretty-bytes: ^6.0.0 rimraf: ^3.0.2 - rollup: ^2.78.0 + rollup: ^2.79.0 rollup-plugin-dts: ^4.2.2 - rollup-plugin-esbuild: ^4.9.3 + rollup-plugin-esbuild: ^4.10.1 scule: ^0.3.2 - typescript: ^4.7.4 - untyped: ^0.4.5 + typescript: ^4.8.2 + untyped: ^0.4.7 bin: unbuild: dist/cli.mjs - checksum: e92327003457bf44724cffd585b2c10edf79557f9b51d87eb321c54b30a63e529cbe1bd17dcc841a3f01905c0d46f8048d76fffa401bb27fdf62f512c213db8a + checksum: 77a4fde0fe1f6f7dae394be473877a5a94bf18aa992a8b79eacd7e0435bac077930f91f5a5693bd8f5d9f544e3df3b2d039d287de5d8735cfcc9191ffbb3a3d8 languageName: node linkType: hard @@ -13049,18 +13000,6 @@ __metadata: languageName: node linkType: hard -"unenv@npm:^0.5.4": - version: 0.5.4 - resolution: "unenv@npm:0.5.4" - dependencies: - defu: ^6.0.0 - mime: ^3.0.0 - node-fetch-native: ^0.1.4 - pathe: ^0.3.3 - checksum: ccb556e4df7110a871be0894b70fc4e5e66ee99573117b555f0b131536138037e2b7f4856bc6f0ac1c4a722187212c4e3e0a8ed2afe83510df4eb35c3f24bc8e - languageName: node - linkType: hard - "unenv@npm:^0.6.2": version: 0.6.2 resolution: "unenv@npm:0.6.2" @@ -13237,7 +13176,7 @@ __metadata: languageName: node linkType: hard -"untyped@npm:^0.4.5, untyped@npm:^0.4.7": +"untyped@npm:^0.4.7": version: 0.4.7 resolution: "untyped@npm:0.4.7" dependencies: From 18021cd87a1dab52548e0c0d409c999d8480f2da Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 1 Sep 2022 18:59:10 +0200 Subject: [PATCH 08/17] chore(deps): update all non-major dependencies (#7142) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 6 +++--- yarn.lock | 36 +++++++++++++++++++----------------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 9273c185fb3..07c9abb3d6e 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "nuxt": "link:./packages/nuxt", "nuxt3": "link:./packages/nuxt", "vite": "~3.0.9", - "unbuild": "^0.8.9" + "unbuild": "^0.8.10" }, "devDependencies": { "@nuxtjs/eslint-config-typescript": "^11.0.0", @@ -52,7 +52,7 @@ "@types/rimraf": "^3", "@unocss/reset": "^0.45.13", "case-police": "^0.5.9", - "changelogen": "^0.1.1", + "changelogen": "^0.3.0", "eslint": "^8.23.0", "eslint-plugin-jsdoc": "^39.3.6", "execa": "^6.1.0", @@ -64,7 +64,7 @@ "pathe": "^0.3.5", "rimraf": "^3.0.2", "typescript": "^4.8.2", - "unbuild": "^0.8.9", + "unbuild": "^0.8.10", "vitest": "~0.19.1", "vue-tsc": "^0.39.5" }, diff --git a/yarn.lock b/yarn.lock index 986774144f7..46ef2174df4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4045,7 +4045,7 @@ __metadata: languageName: node linkType: hard -"c12@npm:^0.2.10, c12@npm:^0.2.7": +"c12@npm:^0.2.10": version: 0.2.10 resolution: "c12@npm:0.2.10" dependencies: @@ -4216,18 +4216,20 @@ __metadata: languageName: node linkType: hard -"changelogen@npm:^0.1.1": - version: 0.1.1 - resolution: "changelogen@npm:0.1.1" +"changelogen@npm:^0.3.0": + version: 0.3.0 + resolution: "changelogen@npm:0.3.0" dependencies: - c12: ^0.2.7 + c12: ^0.2.10 consola: ^2.15.3 + convert-gitmoji: ^0.1.2 execa: ^6.1.0 mri: ^1.2.0 - scule: ^0.2.1 + scule: ^0.3.2 + semver: ^7.3.7 bin: changelogen: dist/cli.mjs - checksum: d5e04d7ccf51ac12cb12807bcfec055a839496e8f23faad337ee5c58511c65cebc74b355963c3217fd8d3a122023c048036ed9a35330cda84f6dfda4ba724a31 + checksum: 06a52044e45aecc1305302d7600fc16d69fb5eb6869f0e44ae8d874f923be8eaed7088c345600be3d8e1eb78338b816ad5dfd1ab24be2874ff34dcdde1040628 languageName: node linkType: hard @@ -4712,6 +4714,13 @@ __metadata: languageName: node linkType: hard +"convert-gitmoji@npm:^0.1.2": + version: 0.1.2 + resolution: "convert-gitmoji@npm:0.1.2" + checksum: ec10bd5f6c2f0c2bb221d76e51337a12a14f396a78e75ee52076114ba8415586d175a2a2e8148c532a0411c43175659cc4b4039b4d32ae35bc72f4121e14afcb + languageName: node + linkType: hard + "convert-source-map@npm:^1.7.0": version: 1.8.0 resolution: "convert-source-map@npm:1.8.0" @@ -9936,7 +9945,7 @@ __metadata: "@types/rimraf": ^3 "@unocss/reset": ^0.45.13 case-police: ^0.5.9 - changelogen: ^0.1.1 + changelogen: ^0.3.0 eslint: ^8.23.0 eslint-plugin-jsdoc: ^39.3.6 execa: ^6.1.0 @@ -9948,7 +9957,7 @@ __metadata: pathe: ^0.3.5 rimraf: ^3.0.2 typescript: ^4.8.2 - unbuild: ^0.8.9 + unbuild: ^0.8.10 vitest: ~0.19.1 vue-tsc: ^0.39.5 languageName: unknown @@ -11794,13 +11803,6 @@ __metadata: languageName: node linkType: hard -"scule@npm:^0.2.1": - version: 0.2.1 - resolution: "scule@npm:0.2.1" - checksum: d9731b4c3560ce6983d23cc594395b718bc3c08ea3da930a9cd2bd3feb137ad3295521bcbc50baa82dc05d8521a7a41d6b78d2723e5195c053d93359f5808706 - languageName: node - linkType: hard - "scule@npm:^0.3.2": version: 0.3.2 resolution: "scule@npm:0.3.2" @@ -12932,7 +12934,7 @@ __metadata: languageName: node linkType: hard -"unbuild@npm:^0.8.9": +"unbuild@npm:^0.8.10": version: 0.8.10 resolution: "unbuild@npm:0.8.10" dependencies: From 3c571ba3578b03027e09d7a1c1e89f95ab518d7c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 2 Sep 2022 09:20:06 +0200 Subject: [PATCH 09/17] chore(deps): update devdependency @unocss/reset to ^0.45.14 (#7152) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 07c9abb3d6e..493d0b8fcb9 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@nuxtjs/eslint-config-typescript": "^11.0.0", "@types/node": "^16.11.56", "@types/rimraf": "^3", - "@unocss/reset": "^0.45.13", + "@unocss/reset": "^0.45.14", "case-police": "^0.5.9", "changelogen": "^0.3.0", "eslint": "^8.23.0", diff --git a/yarn.lock b/yarn.lock index 46ef2174df4..b7487743fbd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2832,10 +2832,10 @@ __metadata: languageName: node linkType: hard -"@unocss/reset@npm:^0.45.13": - version: 0.45.13 - resolution: "@unocss/reset@npm:0.45.13" - checksum: 8323f4f1305dc944e36ea4723a2491ff7a3ecd55c649cea65ac9b2d4c7d085b7ec131d351f0eae06748bf239a87b6d5ba6964232b80935921cdc1e17e6c2344b +"@unocss/reset@npm:^0.45.14": + version: 0.45.14 + resolution: "@unocss/reset@npm:0.45.14" + checksum: 72c5e6335258afbeb4f78266829ae5546ecc8a4e8077103aaf4d5502fa8342472a1595cd3d757ace305a4beaea4d9f73ba9eea88c4850c9ba5220eea5c7d4364 languageName: node linkType: hard @@ -9943,7 +9943,7 @@ __metadata: "@nuxtjs/eslint-config-typescript": ^11.0.0 "@types/node": ^16.11.56 "@types/rimraf": ^3 - "@unocss/reset": ^0.45.13 + "@unocss/reset": ^0.45.14 case-police: ^0.5.9 changelogen: ^0.3.0 eslint: ^8.23.0 From abd5dc58c91f64c2b2431daaf2b83378ebab82f3 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Fri, 2 Sep 2022 15:42:46 +0200 Subject: [PATCH 10/17] fix: improve `autoImports` deprecation dx (#7158) --- packages/kit/src/auto-import.ts | 21 ------- packages/kit/src/imports.ts | 33 ++++++++++ packages/kit/src/index.ts | 2 +- packages/nuxt/package.json | 2 +- packages/nuxt/src/core/nuxt.ts | 16 +++++ packages/nuxt/src/imports/module.ts | 6 -- yarn.lock | 98 ++++++++++++++--------------- 7 files changed, 100 insertions(+), 78 deletions(-) delete mode 100644 packages/kit/src/auto-import.ts create mode 100644 packages/kit/src/imports.ts diff --git a/packages/kit/src/auto-import.ts b/packages/kit/src/auto-import.ts deleted file mode 100644 index 58a2a8d56d0..00000000000 --- a/packages/kit/src/auto-import.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Import } from 'unimport' -import { useNuxt } from './context' -import { assertNuxtCompatibility } from './compatibility' - -export function addAutoImport (imports: Import | Import[]) { - assertNuxtCompatibility({ bridge: true }) - - useNuxt().hook('imports:extend', (_imports) => { - _imports.push(...(Array.isArray(imports) ? imports : [imports])) - }) -} - -export function addAutoImportDir (dirs: string | string[]) { - assertNuxtCompatibility({ bridge: true }) - - useNuxt().hook('imports:dirs', (_dirs: string[]) => { - for (const dir of (Array.isArray(dirs) ? dirs : [dirs])) { - _dirs.push(dir) - } - }) -} diff --git a/packages/kit/src/imports.ts b/packages/kit/src/imports.ts new file mode 100644 index 00000000000..10dfdb8962f --- /dev/null +++ b/packages/kit/src/imports.ts @@ -0,0 +1,33 @@ +import { Import } from 'unimport' +import { useNuxt } from './context' +import { assertNuxtCompatibility } from './compatibility' + +export function addImports (imports: Import | Import[]) { + assertNuxtCompatibility({ bridge: true }) + + // TODO: Use imports:* when widely adopted + useNuxt().hook('autoImports:extend', (_imports) => { + _imports.push(...(Array.isArray(imports) ? imports : [imports])) + }, { allowDeprecated: true }) +} + +/** + * @deprecated Please use `addImports` instead with nuxt>=3.0.0-rc.9 + */ +export const addAutoImport = addImports + +export function addImportsDir (dirs: string | string[]) { + assertNuxtCompatibility({ bridge: true }) + + // TODO: Use imports:* when widely adopted + useNuxt().hook('autoImports:dirs', (_dirs: string[]) => { + for (const dir of (Array.isArray(dirs) ? dirs : [dirs])) { + _dirs.push(dir) + } + }, { allowDeprecated: true }) +} + +/** + * @deprecated Please use `addImportsDir` instead with nuxt>=3.0.0-rc.9 + */ +export const addAutoImportDir = addImportsDir diff --git a/packages/kit/src/index.ts b/packages/kit/src/index.ts index 931396243bd..7fb609a8424 100644 --- a/packages/kit/src/index.ts +++ b/packages/kit/src/index.ts @@ -8,7 +8,7 @@ export * from './loader/config' export * from './loader/nuxt' // Utils -export * from './auto-import' +export * from './imports' export * from './build' export * from './compatibility' export * from './components' diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index a3bb92e5c49..cc7a411f567 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -48,7 +48,7 @@ "globby": "^13.1.2", "h3": "^0.7.19", "hash-sum": "^2.0.0", - "hookable": "^5.2.2", + "hookable": "^5.3.0", "knitwork": "^0.1.2", "magic-string": "^0.26.3", "mlly": "^0.5.14", diff --git a/packages/nuxt/src/core/nuxt.ts b/packages/nuxt/src/core/nuxt.ts index 2f3ba9a41ed..1c05d5b3c97 100644 --- a/packages/nuxt/src/core/nuxt.ts +++ b/packages/nuxt/src/core/nuxt.ts @@ -134,6 +134,22 @@ async function initNuxt (nuxt: Nuxt) { filePath: resolve(nuxt.options.appDir, 'components/nuxt-loading-indicator') }) + // Deprecate hooks + nuxt.hooks.deprecateHooks({ + 'autoImports:sources': { + to: 'imports:sources', + message: '`autoImports:sources` hook is deprecated. Use `imports:sources` with `nuxt>=3.0.0-rc.9`.' + }, + 'autoImports:dirs': { + to: 'imports:dirs', + message: '`autoImports:sources` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.' + }, + 'autoImports:extend': { + to: 'imports:extend', + message: '`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.' + } + }) + for (const m of modulesToInstall) { if (Array.isArray(m)) { await installModule(m[0], m[1]) diff --git a/packages/nuxt/src/imports/module.ts b/packages/nuxt/src/imports/module.ts index 07eb758ce12..e6bd204ebfd 100644 --- a/packages/nuxt/src/imports/module.ts +++ b/packages/nuxt/src/imports/module.ts @@ -31,12 +31,6 @@ export default defineNuxtModule>({ options = defu(nuxt.options.autoImports, options) } - nuxt.hooks.deprecateHooks({ - 'autoImports:sources': { to: 'imports:sources' }, - 'autoImports:dirs': { to: 'imports:dirs' }, - 'autoImports:extend': { to: 'imports:extend' } - }) - // Allow modules extending sources await nuxt.callHook('imports:sources', options.presets as ImportPresetWithDeprecation[]) diff --git a/yarn.lock b/yarn.lock index b7487743fbd..d5fd28de175 100644 --- a/yarn.lock +++ b/yarn.lock @@ -48,7 +48,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.18.13, @babel/core@npm:^7.18.6": +"@babel/core@npm:^7.18.13": version: 7.18.13 resolution: "@babel/core@npm:7.18.13" dependencies: @@ -314,7 +314,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-typescript@npm:^7.18.8": +"@babel/plugin-transform-typescript@npm:^7.18.12": version: 7.18.12 resolution: "@babel/plugin-transform-typescript@npm:7.18.12" dependencies: @@ -1597,23 +1597,23 @@ __metadata: languageName: node linkType: hard -"@nrwl/cli@npm:14.6.2": - version: 14.6.2 - resolution: "@nrwl/cli@npm:14.6.2" +"@nrwl/cli@npm:14.6.3": + version: 14.6.3 + resolution: "@nrwl/cli@npm:14.6.3" dependencies: - nx: 14.6.2 - checksum: 55f9cfd2bcbc2f19b259efc0b0eed54101c9b8b5a6287fc9dedd06d5294d20a9758832ffa385f94f9cb97bb29d0efff6a8f0fd49b0f5e82923d279fec8bb9b83 + nx: 14.6.3 + checksum: 6d1a6b40324d10c6c45e069b9732d3b74388d57eefa7cf00ef11fe1bd6b3a085191980cb928fd75cef5dfb84c4cf42b6de37f4f9e801229de9f93b11c93f0088 languageName: node linkType: hard -"@nrwl/tao@npm:14.6.2": - version: 14.6.2 - resolution: "@nrwl/tao@npm:14.6.2" +"@nrwl/tao@npm:14.6.3": + version: 14.6.3 + resolution: "@nrwl/tao@npm:14.6.3" dependencies: - nx: 14.6.2 + nx: 14.6.3 bin: tao: index.js - checksum: 2f66126fa56878f55ccfce8c9dc3e5192ce5df50d862de672d4d212b199ed33d34262a3b530d7f19e925e8e8bcd12d19d109e31ff06251bf84b6b9bc1c49f82b + checksum: fdead3c743b5fa12e8ff327d20f6fd60801b49d7c9ba11a484b1a097f9a467c201c3957d87cdd63dbd8e7f6201b6597062a2a0c6878ecccc1ce4fc1bfe1a76a3 languageName: node linkType: hard @@ -2910,8 +2910,8 @@ __metadata: linkType: hard "@vercel/nft@npm:^0.22.0": - version: 0.22.0 - resolution: "@vercel/nft@npm:0.22.0" + version: 0.22.1 + resolution: "@vercel/nft@npm:0.22.1" dependencies: "@mapbox/node-pre-gyp": ^1.0.5 acorn: ^8.6.0 @@ -2926,22 +2926,22 @@ __metadata: rollup-pluginutils: ^2.8.2 bin: nft: out/cli.js - checksum: 06f649f76a0ffae0c02964cfe66acb9b722de054e0317829f0a992dfb9b941328cfa7cb722af847b8d641b87497c994cb315ecf2c7d1fbe8c15176af57676887 + checksum: 05850e25a8e3a4fd7b76d911e8d14f97403f58cf8f92fbae630adaeee99589a167f288b87b3edc5901bf87bf2adad689059f43755c448930d1d087cdb66cec93 languageName: node linkType: hard "@vitejs/plugin-vue-jsx@npm:^2.0.0": - version: 2.0.0 - resolution: "@vitejs/plugin-vue-jsx@npm:2.0.0" + version: 2.0.1 + resolution: "@vitejs/plugin-vue-jsx@npm:2.0.1" dependencies: - "@babel/core": ^7.18.6 + "@babel/core": ^7.18.13 "@babel/plugin-syntax-import-meta": ^7.10.4 - "@babel/plugin-transform-typescript": ^7.18.8 + "@babel/plugin-transform-typescript": ^7.18.12 "@vue/babel-plugin-jsx": ^1.1.1 peerDependencies: vite: ^3.0.0 vue: ^3.0.0 - checksum: 197b0dd0263b5b7df22a055155da6d9b7f21098f7de43e94589ce8daa494c12c9850157bc4e228a766fbe602aafa5935e4bef0edec9158a0507cee5581f0a067 + checksum: 2ed52597fd92fbcbfe00f07cb05b3e6efa97dc073a5b66c704d90c65a0deba164bb7bc6ebce5a285ed3c9d1156ae0a9abb21dd25c0cb30b169dfe33c52b68b5d languageName: node linkType: hard @@ -4148,9 +4148,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001370, caniuse-lite@npm:^1.0.30001373": - version: 1.0.30001387 - resolution: "caniuse-lite@npm:1.0.30001387" - checksum: 57b894aa54da582f867018cdbc3c8956f894962988233cd4ace8710ab0e3405dd928926e35f46e5a9b4068e5cea7e36c6e14f930c9c40972885f329df7e8119e + version: 1.0.30001388 + resolution: "caniuse-lite@npm:1.0.30001388" + checksum: 4934f99bf99521484d4048023f57046812fbc9218924dbe30bb8379cd7b0315d9489b7de4d226a9921b0a9fd5d05b12023930ad6b4104854fb03dcbf999784db languageName: node linkType: hard @@ -5339,9 +5339,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.4.202": - version: 1.4.239 - resolution: "electron-to-chromium@npm:1.4.239" - checksum: 4e16eadc647d69353520a200953a76beb6557284172259703c483d4ec8302a331ff243d85b49da13d58c6c7e99f8917d26b529e6159cf69489fa62021ba25cac + version: 1.4.240 + resolution: "electron-to-chromium@npm:1.4.240" + checksum: 6590e2cddd2e6a564cc491fb1ece5719c35dcbbeed34fc66e878b1659753653d0e344908b36b11741968dfc47a0141759e3780546384bb5308d38bc5232e0cb5 languageName: node linkType: hard @@ -5488,14 +5488,14 @@ __metadata: linkType: hard "es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.1, es-abstract@npm:^1.19.2, es-abstract@npm:^1.19.5": - version: 1.20.1 - resolution: "es-abstract@npm:1.20.1" + version: 1.20.2 + resolution: "es-abstract@npm:1.20.2" dependencies: call-bind: ^1.0.2 es-to-primitive: ^1.2.1 function-bind: ^1.1.1 function.prototype.name: ^1.1.5 - get-intrinsic: ^1.1.1 + get-intrinsic: ^1.1.2 get-symbol-description: ^1.0.0 has: ^1.0.3 has-property-descriptors: ^1.0.0 @@ -5507,14 +5507,14 @@ __metadata: is-shared-array-buffer: ^1.0.2 is-string: ^1.0.7 is-weakref: ^1.0.2 - object-inspect: ^1.12.0 + object-inspect: ^1.12.2 object-keys: ^1.1.1 - object.assign: ^4.1.2 + object.assign: ^4.1.4 regexp.prototype.flags: ^1.4.3 string.prototype.trimend: ^1.0.5 string.prototype.trimstart: ^1.0.5 unbox-primitive: ^1.0.2 - checksum: 28da27ae0ed9c76df7ee8ef5c278df79dcfdb554415faf7068bb7c58f8ba8e2a16bfb59e586844be6429ab4c302ca7748979d48442224cb1140b051866d74b7f + checksum: ab893dd1f849250f5a2da82656b4e21b511f76429b25a4aea5c8b2a3007ff01cb8e112987d0dd7693b9ad9e6399f8f7be133285d6196a5ebd1b13a4ee2258f70 languageName: node linkType: hard @@ -7154,7 +7154,7 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.0, get-intrinsic@npm:^1.1.1": +"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.0, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.2": version: 1.1.2 resolution: "get-intrinsic@npm:1.1.2" dependencies: @@ -7576,10 +7576,10 @@ __metadata: languageName: node linkType: hard -"hookable@npm:^5.2.2": - version: 5.2.2 - resolution: "hookable@npm:5.2.2" - checksum: fb4b3104a62ecf47f1743e8ea1a573656ee8d0601903fafa6a5c7247bc18a007be603e58a302400576f3b4c358b641372b073adf649018db00294d8c34123dbc +"hookable@npm:^5.2.2, hookable@npm:^5.3.0": + version: 5.3.0 + resolution: "hookable@npm:5.3.0" + checksum: 5a170b790fc472fae11cc8ebc7a1336e7063c3f0a9697cefb5b18d455fcda4d1eadf21c254a27c0625fbbe31f736fd662797c21e6425e9c8cf073182b2ecae7f languageName: node linkType: hard @@ -10001,7 +10001,7 @@ __metadata: globby: ^13.1.2 h3: ^0.7.19 hash-sum: ^2.0.0 - hookable: ^5.2.2 + hookable: ^5.3.0 knitwork: ^0.1.2 magic-string: ^0.26.3 mlly: ^0.5.14 @@ -10031,12 +10031,12 @@ __metadata: languageName: unknown linkType: soft -"nx@npm:14.6.2, nx@npm:>=14.6.1 < 16": - version: 14.6.2 - resolution: "nx@npm:14.6.2" +"nx@npm:14.6.3, nx@npm:>=14.6.1 < 16": + version: 14.6.3 + resolution: "nx@npm:14.6.3" dependencies: - "@nrwl/cli": 14.6.2 - "@nrwl/tao": 14.6.2 + "@nrwl/cli": 14.6.3 + "@nrwl/tao": 14.6.3 "@parcel/watcher": 2.0.4 chalk: 4.1.0 chokidar: ^3.5.1 @@ -10075,7 +10075,7 @@ __metadata: optional: true bin: nx: bin/nx.js - checksum: 8e7ad2a899b57167c6ff7c961a22c52b8433c85e9fc4822c74cf147ab632f662bd567d8b02e988ec81c2d360bf15ad44302ddec3fba4ec03be78fff1442fea7c + checksum: e8cd884c7ee9d086eb85eb6bf10c939ea88466a1d070495e9712579e569664a0a272a7ea6809ca2903d671c10ce91c9188d26fe00754d1c54233aa12c401fa10 languageName: node linkType: hard @@ -10086,7 +10086,7 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.12.0, object-inspect@npm:^1.9.0": +"object-inspect@npm:^1.12.2, object-inspect@npm:^1.9.0": version: 1.12.2 resolution: "object-inspect@npm:1.12.2" checksum: a534fc1b8534284ed71f25ce3a496013b7ea030f3d1b77118f6b7b1713829262be9e6243acbcb3ef8c626e2b64186112cb7f6db74e37b2789b9c789ca23048b2 @@ -10100,7 +10100,7 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.2": +"object.assign@npm:^4.1.4": version: 4.1.4 resolution: "object.assign@npm:4.1.4" dependencies: @@ -13198,8 +13198,8 @@ __metadata: linkType: hard "update-browserslist-db@npm:^1.0.5": - version: 1.0.5 - resolution: "update-browserslist-db@npm:1.0.5" + version: 1.0.7 + resolution: "update-browserslist-db@npm:1.0.7" dependencies: escalade: ^3.1.1 picocolors: ^1.0.0 @@ -13207,7 +13207,7 @@ __metadata: browserslist: ">= 4.21.0" bin: browserslist-lint: cli.js - checksum: 7e425fe5dbbebdccf72a84ce70ec47fc74dce561d28f47bc2b84a1c2b84179a862c2261b18ab66a5e73e261c7e2ef9e11c6129112989d4d52e8f75a56bb923f8 + checksum: 443ed6e77d4607b8bdf12710fe1c0b570fcbb992ebcafaa0c647811e5646fa51e0b5a17641637e10044e4b770bfc3a9ce2a9350a646477545aed882a1fcff8ce languageName: node linkType: hard From 537338f116ac59d8e6c2e8471fec181a56d1f8d4 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sat, 3 Sep 2022 18:02:14 +0800 Subject: [PATCH 11/17] fix(nuxt): pass and format vite-node build errors (#6683) Co-authored-by: Pooya Parsa --- packages/vite/src/runtime/vite-node.mjs | 77 +++++++++++++++++++++---- packages/vite/src/vite-node.ts | 10 ++-- playground/nuxt.config.ts | 3 +- 3 files changed, 73 insertions(+), 17 deletions(-) diff --git a/packages/vite/src/runtime/vite-node.mjs b/packages/vite/src/runtime/vite-node.mjs index 3a12d90edc7..a2eea980f35 100644 --- a/packages/vite/src/runtime/vite-node.mjs +++ b/packages/vite/src/runtime/vite-node.mjs @@ -1,21 +1,12 @@ import { performance } from 'node:perf_hooks' +import { createError } from 'h3' import { ViteNodeRunner } from 'vite-node/client' import { $fetch } from 'ohmyfetch' import consola from 'consola' import { getViteNodeOptions } from './vite-node-shared.mjs' const viteNodeOptions = getViteNodeOptions() - -const runner = new ViteNodeRunner({ - root: viteNodeOptions.root, // Equals to Nuxt `srcDir` - base: viteNodeOptions.base, - async fetchModule (id) { - return await $fetch('/module/' + encodeURI(id), { - baseURL: viteNodeOptions.baseURL - }) - } -}) - +const runner = createRunner() let render export default async (ssrContext) => { @@ -40,3 +31,67 @@ export default async (ssrContext) => { const result = await render(ssrContext) return result } + +function createRunner () { + return new ViteNodeRunner({ + root: viteNodeOptions.root, // Equals to Nuxt `srcDir` + base: viteNodeOptions.base, + async fetchModule (id) { + return await $fetch('/module/' + encodeURI(id), { + baseURL: viteNodeOptions.baseURL + }).catch((err) => { + const errorData = err?.data?.data + if (!errorData) { + throw err + } + try { + const { message, stack } = formatViteError(errorData) + throw createError({ + statusMessage: 'Vite Error', + message, + stack + }) + } catch (err) { + // This should not happen unless there is an internal error with formatViteError! + consola.error('Error while formatting vite error:', errorData) + throw createError({ + statusMessage: 'Vite Error', + message: errorData.message || 'Vite Error', + stack: 'Vite Error\nat [check console]' + }) + } + }) + } + }) +} + +function formatViteError (errorData) { + const errorCode = errorData.name || errorData.reasonCode || errorData.code + const frame = errorData.frame || errorData.source || errorData.pluginCode + + const getLocId = (locObj = {}) => locObj.file || locObj.id || locObj.url || '' + const getLocPos = (locObj = {}) => locObj.line ? `${locObj.line}:${locObj.column || 0}` : '' + const locId = getLocId(errorData.loc) || getLocId(errorData.location) || getLocId(errorData.input) || getLocId(errorData) + const locPos = getLocPos(errorData.loc) || getLocPos(errorData.location) || getLocPos(errorData.input) || getLocPos(errorData) + const loc = locId.replace(process.cwd(), '.') + (locPos ? `:${locPos}` : '') + + const message = [ + '[vite-node]', + errorData.plugin && `[plugin:${errorData.plugin}]`, + errorCode && `[${errorCode}]`, + loc, + errorData.reason && `: ${errorData.reason}`, + frame && `
${frame.replace(/&/g, '&').replace(//g, '>')}

` + ].filter(Boolean).join(' ') + + const stack = [ + message, + 'at ' + loc, + errorData.stack + ].filter(Boolean).join('\n') + + return { + message, + stack + } +} diff --git a/packages/vite/src/vite-node.ts b/packages/vite/src/vite-node.ts index 743b3a674e2..e28f05c1319 100644 --- a/packages/vite/src/vite-node.ts +++ b/packages/vite/src/vite-node.ts @@ -3,7 +3,7 @@ import { createApp, createError, defineEventHandler, defineLazyEventHandler } fr import { ViteNodeServer } from 'vite-node/server' import fse from 'fs-extra' import { resolve } from 'pathe' -import { addServerMiddleware } from '@nuxt/kit' +import { addDevServerHandler } from '@nuxt/kit' import type { ModuleNode, Plugin as VitePlugin } from 'vite' import { normalizeViteManifest } from 'vue-bundle-renderer' import { resolve as resolveModule } from 'mlly' @@ -41,7 +41,7 @@ export function viteNodePlugin (ctx: ViteBuildContext): VitePlugin { } export function registerViteNodeMiddleware (ctx: ViteBuildContext) { - addServerMiddleware({ + addDevServerHandler({ route: '/__nuxt_vite_node__/', handler: createViteNodeMiddleware(ctx) }) @@ -112,12 +112,14 @@ function createViteNodeMiddleware (ctx: ViteBuildContext, invalidates: Set { + throw createError({ data: err }) + }) return module } })) - return app.nodeHandler + return app } export async function initViteNodeServer (ctx: ViteBuildContext) { diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index 8b0aa104adf..2221b92fc94 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -1,4 +1,3 @@ import { defineNuxtConfig } from 'nuxt' -export default defineNuxtConfig({ -}) +export default defineNuxtConfig({}) From 386407ec84019c5dc4617c0c372d06a9ad07404f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 3 Sep 2022 12:03:06 +0200 Subject: [PATCH 12/17] chore(deps): update all non-major dependencies (#7161) --- packages/vite/package.json | 2 +- packages/webpack/package.json | 2 +- packages/webpack/src/utils/mfs.ts | 1 + packages/webpack/src/webpack.ts | 5 +++-- yarn.lock | 32 +++++++++++++++---------------- 5 files changed, 22 insertions(+), 20 deletions(-) diff --git a/packages/vite/package.json b/packages/vite/package.json index e35524a8840..ccddafd19d4 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -22,7 +22,7 @@ "@nuxt/kit": "3.0.0-rc.8", "@rollup/plugin-replace": "^4.0.0", "@vitejs/plugin-vue": "^3.0.3", - "@vitejs/plugin-vue-jsx": "^2.0.0", + "@vitejs/plugin-vue-jsx": "^2.0.1", "autoprefixer": "^10.4.8", "chokidar": "^3.5.3", "cssnano": "^5.1.13", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index dbfe87c3750..9b4d2b9d14b 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -37,7 +37,7 @@ "mlly": "^0.5.14", "ohash": "^0.1.5", "pathe": "^0.3.5", - "pify": "^6.0.0", + "pify": "^6.1.0", "postcss": "^8.4.16", "postcss-import": "^15.0.0", "postcss-loader": "^7.0.1", diff --git a/packages/webpack/src/utils/mfs.ts b/packages/webpack/src/utils/mfs.ts index 06239d69815..5c4cc96a817 100644 --- a/packages/webpack/src/utils/mfs.ts +++ b/packages/webpack/src/utils/mfs.ts @@ -17,6 +17,7 @@ export function createMFS () { // Used by vue-renderer _fs.exists = p => Promise.resolve(_fs.existsSync(p)) + // @ts-ignore _fs.readFile = pify(_fs.readFile) return _fs as IFs & { join?(...paths: string[]): string } diff --git a/packages/webpack/src/webpack.ts b/packages/webpack/src/webpack.ts index 7f114a67c5f..f4206b8fd85 100644 --- a/packages/webpack/src/webpack.ts +++ b/packages/webpack/src/webpack.ts @@ -80,8 +80,9 @@ async function createDevMiddleware (compiler: Compiler) { outputFileSystem: compiler.outputFileSystem as any, stats: 'none', ...nuxt.options.webpack.devMiddleware - })) as API + })) as any as API + // @ts-ignore nuxt.hook('close', () => pify(devMiddleware.close.bind(devMiddleware))()) const { client: _client, ...hotMiddlewareOptions } = nuxt.options.webpack.hotMiddleware || {} @@ -90,7 +91,7 @@ async function createDevMiddleware (compiler: Compiler) { heartbeat: 10000, path: joinURL(nuxt.options.app.baseURL, '__webpack_hmr', compiler.options.name!), ...hotMiddlewareOptions - })) + })) as any as API await nuxt.callHook('webpack:devMiddleware', devMiddleware) await nuxt.callHook('webpack:hotMiddleware', hotMiddleware) diff --git a/yarn.lock b/yarn.lock index d5fd28de175..b4a5c38244f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1788,7 +1788,7 @@ __metadata: "@rollup/plugin-replace": ^4.0.0 "@types/cssnano": ^5 "@vitejs/plugin-vue": ^3.0.3 - "@vitejs/plugin-vue-jsx": ^2.0.0 + "@vitejs/plugin-vue-jsx": ^2.0.1 autoprefixer: ^10.4.8 chokidar: ^3.5.3 cssnano: ^5.1.13 @@ -1857,7 +1857,7 @@ __metadata: mlly: ^0.5.14 ohash: ^0.1.5 pathe: ^0.3.5 - pify: ^6.0.0 + pify: ^6.1.0 postcss: ^8.4.16 postcss-import: ^15.0.0 postcss-loader: ^7.0.1 @@ -1972,9 +1972,9 @@ __metadata: linkType: hard "@octokit/openapi-types@npm:^13.6.0": - version: 13.6.0 - resolution: "@octokit/openapi-types@npm:13.6.0" - checksum: 2abf858a24888dcede28fe9a3fe3d24fba468d90daf4e22d1238d2419fe69aa8ee8f4aad163a73870038497b3a1b77b9b16172f649fb2cd767dd11fb3d09d44d + version: 13.7.0 + resolution: "@octokit/openapi-types@npm:13.7.0" + checksum: ca872f64eb9967c66dea08c9e60343e1ee7f93839d86f5ef57b9d58ae19af301a49bac548a1e09c4ee53686b34b8b84eb61d5356faf632c8c2fbd89d0e32a954 languageName: node linkType: hard @@ -2006,14 +2006,14 @@ __metadata: linkType: hard "@octokit/plugin-rest-endpoint-methods@npm:^6.0.0": - version: 6.4.0 - resolution: "@octokit/plugin-rest-endpoint-methods@npm:6.4.0" + version: 6.4.1 + resolution: "@octokit/plugin-rest-endpoint-methods@npm:6.4.1" dependencies: "@octokit/types": ^7.2.0 deprecation: ^2.3.1 peerDependencies: "@octokit/core": ">=3" - checksum: 23274c9d307ec198192bc96fc340e75d29156df338ea8184a20673298d90e435fcc22cf09434943666f0d10ff5b4f2cd2caa778d0fb17906f319ff2373c61dbf + checksum: 5c81df3a54f7916d088cfdb2ab71ca4dadcbfa5712d728e52ec1e9d585ed79251872a1b61824fae84759af45a763940867391fa075ef1b2f40a974a058eb87ca languageName: node linkType: hard @@ -2930,7 +2930,7 @@ __metadata: languageName: node linkType: hard -"@vitejs/plugin-vue-jsx@npm:^2.0.0": +"@vitejs/plugin-vue-jsx@npm:^2.0.1": version: 2.0.1 resolution: "@vitejs/plugin-vue-jsx@npm:2.0.1" dependencies: @@ -4795,11 +4795,11 @@ __metadata: linkType: hard "css-declaration-sorter@npm:^6.3.0": - version: 6.3.0 - resolution: "css-declaration-sorter@npm:6.3.0" + version: 6.3.1 + resolution: "css-declaration-sorter@npm:6.3.1" peerDependencies: postcss: ^8.0.9 - checksum: 69ce1c2e0e854c043dccbb613f15e2911e2e12dd656d18cdae831baa6a6a8f9ef0d6560c456e3b41d28835e5e013bfdf9114eeba206564b1513ea968a3633c1f + checksum: ff0d9989ee21ec4c42430b9bb86c43f973ed5024d68f30edc1e3fb07a22828ce3c3e5b922019f2ccbff606722e43c407c5c76e3cddac523ac4afcb31e4b2601c languageName: node linkType: hard @@ -10625,10 +10625,10 @@ __metadata: languageName: node linkType: hard -"pify@npm:^6.0.0": - version: 6.0.0 - resolution: "pify@npm:6.0.0" - checksum: f5837e835160d617b4ec6814753c114faed9a847a2be8264b86805b1bbdb84f6b35bad5277257a3e78f0fd210f7eaefc762443b5b74ce96a7c7a81e2fb056934 +"pify@npm:^6.1.0": + version: 6.1.0 + resolution: "pify@npm:6.1.0" + checksum: cb21ee8794e9e14955669fbc06b964d0dd3d4e6fa3c2ea3cf22f6794de61ec1ea5c1fac02dadfd4aa16c9cf589f6733406e826e64366f70e09f5e95917a0b8ac languageName: node linkType: hard From ee20a00f65743a1aee5a642f837326d5c15ff3e9 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 3 Sep 2022 12:35:16 +0200 Subject: [PATCH 13/17] chore: fix typo in deprecation messages --- packages/nuxt/src/core/nuxt.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nuxt/src/core/nuxt.ts b/packages/nuxt/src/core/nuxt.ts index 1c05d5b3c97..5c7a19c9474 100644 --- a/packages/nuxt/src/core/nuxt.ts +++ b/packages/nuxt/src/core/nuxt.ts @@ -142,11 +142,11 @@ async function initNuxt (nuxt: Nuxt) { }, 'autoImports:dirs': { to: 'imports:dirs', - message: '`autoImports:sources` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.' + message: '`autoImports:dirs` hook is deprecated. Use `addImportsDir()` from `@nuxt/kit` or `imports:dirs` with `nuxt>=3.0.0-rc.9`.' }, 'autoImports:extend': { to: 'imports:extend', - message: '`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.' + message: '`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:extend` with `nuxt>=3.0.0-rc.9`.' } }) From 9caa9ca31fca90a775d316bfc68ac98952d82942 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Sat, 3 Sep 2022 12:36:47 +0200 Subject: [PATCH 14/17] v3.0.0-rc.9 (#6970) --- .../2.guide/2.features/10.app-config.md | 3 -- .../3.directory-structure/16.app.config.md | 3 -- .../1.composables/prefetch-components.md | 3 -- .../3.api/1.composables/preload-components.md | 3 -- .../3.api/1.composables/update-app-config.md | 3 -- .../3.api/1.composables/use-app-config.md | 3 -- lerna.json | 2 +- packages/kit/package.json | 4 +-- packages/nuxi/package.json | 6 ++-- packages/nuxt/package.json | 10 +++---- packages/schema/package.json | 2 +- packages/test-utils/package.json | 6 ++-- packages/vite/package.json | 6 ++-- packages/webpack/package.json | 6 ++-- yarn.lock | 28 +++++++++---------- 15 files changed, 35 insertions(+), 53 deletions(-) diff --git a/docs/content/2.guide/2.features/10.app-config.md b/docs/content/2.guide/2.features/10.app-config.md index c3544181514..5dcd0472808 100644 --- a/docs/content/2.guide/2.features/10.app-config.md +++ b/docs/content/2.guide/2.features/10.app-config.md @@ -1,8 +1,5 @@ # App Config -::StabilityEdge -:: - Nuxt 3 provides an `app.config` config file to expose reactive configuration within your application with the ability to update it at runtime within lifecycle or using a nuxt plugin and editing it with HMR (hot-module-replacement). ::alert{type=warning} diff --git a/docs/content/2.guide/3.directory-structure/16.app.config.md b/docs/content/2.guide/3.directory-structure/16.app.config.md index 61bfbf510da..b8078593de2 100644 --- a/docs/content/2.guide/3.directory-structure/16.app.config.md +++ b/docs/content/2.guide/3.directory-structure/16.app.config.md @@ -6,9 +6,6 @@ head.title: Nuxt App Config # Nuxt App Config -::StabilityEdge -:: - You can easily provide runtime app configuration using `app.config.ts` file. It can have either of `.ts`, `.js`, or `.mjs` extensions. ```ts [app.config.ts] diff --git a/docs/content/3.api/1.composables/prefetch-components.md b/docs/content/3.api/1.composables/prefetch-components.md index 21fcce0b3b5..971042002a3 100644 --- a/docs/content/3.api/1.composables/prefetch-components.md +++ b/docs/content/3.api/1.composables/prefetch-components.md @@ -1,8 +1,5 @@ # `prefetchComponents` -::StabilityEdge -:: - Nuxt provides composables and utilities to give you fine-grained control over prefetching and preloading components. > Prefetching component downloads the code in the background, this is based on the assumption that the component will likely be used for rendering, enabling the component to load instantly if and when the user requests it. The component is downloaded and cached for anticipated future use without the user making an explicit request for it. diff --git a/docs/content/3.api/1.composables/preload-components.md b/docs/content/3.api/1.composables/preload-components.md index a051d051fab..5bbbb253086 100644 --- a/docs/content/3.api/1.composables/preload-components.md +++ b/docs/content/3.api/1.composables/preload-components.md @@ -1,8 +1,5 @@ # `preloadComponents` -::StabilityEdge -:: - Nuxt provides composables and utilities to give you fine-grained control over prefetching and preloading components. > Preloading components loads components that your page will need very soon, which you want to start loading early in rendering lifecycle. This ensures they are available earlier and are less likely to block the page's render, improving performance. diff --git a/docs/content/3.api/1.composables/update-app-config.md b/docs/content/3.api/1.composables/update-app-config.md index 9d7eecb93ed..f3038c26dbf 100644 --- a/docs/content/3.api/1.composables/update-app-config.md +++ b/docs/content/3.api/1.composables/update-app-config.md @@ -1,8 +1,5 @@ # `updateAppConfig` -::StabilityEdge -:: - Updates [app config](/guide/features/app-config) using deep assignment. Existing (nested) properties will be preserved. **Usage:** diff --git a/docs/content/3.api/1.composables/use-app-config.md b/docs/content/3.api/1.composables/use-app-config.md index 72c0dd5033f..7d71b901f58 100644 --- a/docs/content/3.api/1.composables/use-app-config.md +++ b/docs/content/3.api/1.composables/use-app-config.md @@ -1,8 +1,5 @@ # `useAppConfig` -::StabilityEdge -:: - Access [app config](/guide/features/app-config): **Usage:** diff --git a/lerna.json b/lerna.json index ece747df734..f6d14c764f7 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "3.0.0-rc.8", + "version": "3.0.0-rc.9", "npmClient": "yarn", "useWorkspaces": true, "conventionalCommits": true, diff --git a/packages/kit/package.json b/packages/kit/package.json index ea46e302d5f..de65a26337d 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/kit", - "version": "3.0.0-rc.8", + "version": "3.0.0-rc.9", "repository": "nuxt/framework", "license": "MIT", "type": "module", @@ -13,7 +13,7 @@ "prepack": "unbuild" }, "dependencies": { - "@nuxt/schema": "3.0.0-rc.8", + "@nuxt/schema": "3.0.0-rc.9", "c12": "^0.2.10", "consola": "^2.15.3", "defu": "^6.1.0", diff --git a/packages/nuxi/package.json b/packages/nuxi/package.json index d785b9a38f6..d88164fc998 100644 --- a/packages/nuxi/package.json +++ b/packages/nuxi/package.json @@ -1,6 +1,6 @@ { "name": "nuxi", - "version": "3.0.0-rc.8", + "version": "3.0.0-rc.9", "repository": "nuxt/framework", "license": "MIT", "type": "module", @@ -18,8 +18,8 @@ "prepack": "unbuild" }, "devDependencies": { - "@nuxt/kit": "3.0.0-rc.8", - "@nuxt/schema": "3.0.0-rc.8", + "@nuxt/kit": "3.0.0-rc.9", + "@nuxt/schema": "3.0.0-rc.9", "@types/clear": "^0", "@types/flat": "^5.0.2", "@types/mri": "^1.1.1", diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index cc7a411f567..3b214440d71 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "nuxt", - "version": "3.0.0-rc.8", + "version": "3.0.0-rc.9", "repository": "nuxt/framework", "license": "MIT", "type": "module", @@ -31,11 +31,11 @@ }, "dependencies": { "@nuxt/devalue": "^2.0.0", - "@nuxt/kit": "3.0.0-rc.8", - "@nuxt/schema": "3.0.0-rc.8", + "@nuxt/kit": "3.0.0-rc.9", + "@nuxt/schema": "3.0.0-rc.9", "@nuxt/telemetry": "^2.1.4", "@nuxt/ui-templates": "^0.3.2", - "@nuxt/vite-builder": "3.0.0-rc.8", + "@nuxt/vite-builder": "3.0.0-rc.9", "@vue/reactivity": "^3.2.38", "@vue/shared": "^3.2.38", "@vueuse/head": "^0.7.9", @@ -53,7 +53,7 @@ "magic-string": "^0.26.3", "mlly": "^0.5.14", "nitropack": "^0.5.0", - "nuxi": "3.0.0-rc.8", + "nuxi": "3.0.0-rc.9", "ohash": "^0.1.5", "ohmyfetch": "^0.4.18", "pathe": "^0.3.5", diff --git a/packages/schema/package.json b/packages/schema/package.json index 416a281f84f..4b9f637af31 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/schema", - "version": "3.0.0-rc.8", + "version": "3.0.0-rc.9", "repository": "nuxt/framework", "license": "MIT", "type": "module", diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index b1fdfb75d7a..71e8b52211c 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/test-utils", - "version": "3.0.0-rc.8", + "version": "3.0.0-rc.9", "repository": "nuxt/framework", "license": "MIT", "type": "module", @@ -13,8 +13,8 @@ "prepack": "unbuild" }, "dependencies": { - "@nuxt/kit": "3.0.0-rc.8", - "@nuxt/schema": "3.0.0-rc.8", + "@nuxt/kit": "3.0.0-rc.9", + "@nuxt/schema": "3.0.0-rc.9", "defu": "^6.1.0", "execa": "^6.1.0", "get-port-please": "^2.6.1", diff --git a/packages/vite/package.json b/packages/vite/package.json index ccddafd19d4..0c9cc14bf3a 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/vite-builder", - "version": "3.0.0-rc.8", + "version": "3.0.0-rc.9", "repository": "nuxt/framework", "license": "MIT", "type": "module", @@ -13,13 +13,13 @@ "prepack": "unbuild" }, "devDependencies": { - "@nuxt/schema": "3.0.0-rc.8", + "@nuxt/schema": "3.0.0-rc.9", "@types/cssnano": "^5", "unbuild": "latest", "vue": "3.2.38" }, "dependencies": { - "@nuxt/kit": "3.0.0-rc.8", + "@nuxt/kit": "3.0.0-rc.9", "@rollup/plugin-replace": "^4.0.0", "@vitejs/plugin-vue": "^3.0.3", "@vitejs/plugin-vue-jsx": "^2.0.1", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 9b4d2b9d14b..f773d94572d 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/webpack-builder", - "version": "3.0.0-rc.8", + "version": "3.0.0-rc.9", "repository": "nuxt/framework", "license": "MIT", "type": "module", @@ -18,7 +18,7 @@ "dependencies": { "@babel/core": "^7.18.13", "@nuxt/friendly-errors-webpack-plugin": "^2.5.2", - "@nuxt/kit": "3.0.0-rc.8", + "@nuxt/kit": "3.0.0-rc.9", "autoprefixer": "^10.4.8", "css-loader": "^6.7.1", "css-minimizer-webpack-plugin": "^4.0.0", @@ -57,7 +57,7 @@ "webpackbar": "^5.0.2" }, "devDependencies": { - "@nuxt/schema": "3.0.0-rc.8", + "@nuxt/schema": "3.0.0-rc.9", "@types/lodash-es": "^4.17.6", "@types/pify": "^5.0.1", "@types/webpack-bundle-analyzer": "^4.4.2", diff --git a/yarn.lock b/yarn.lock index b4a5c38244f..79ef7c8ef44 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1648,7 +1648,7 @@ __metadata: version: 0.0.0-use.local resolution: "@nuxt/kit@workspace:packages/kit" dependencies: - "@nuxt/schema": 3.0.0-rc.8 + "@nuxt/schema": 3.0.0-rc.9 "@types/lodash.template": ^4 "@types/semver": ^7 c12: ^0.2.10 @@ -1734,8 +1734,8 @@ __metadata: version: 0.0.0-use.local resolution: "@nuxt/test-utils@workspace:packages/test-utils" dependencies: - "@nuxt/kit": 3.0.0-rc.8 - "@nuxt/schema": 3.0.0-rc.8 + "@nuxt/kit": 3.0.0-rc.9 + "@nuxt/schema": 3.0.0-rc.9 defu: ^6.1.0 execa: ^6.1.0 get-port-please: ^2.6.1 @@ -1779,12 +1779,12 @@ __metadata: languageName: node linkType: hard -"@nuxt/vite-builder@3.0.0-rc.8, @nuxt/vite-builder@workspace:packages/vite": +"@nuxt/vite-builder@3.0.0-rc.9, @nuxt/vite-builder@workspace:packages/vite": version: 0.0.0-use.local resolution: "@nuxt/vite-builder@workspace:packages/vite" dependencies: - "@nuxt/kit": 3.0.0-rc.8 - "@nuxt/schema": 3.0.0-rc.8 + "@nuxt/kit": 3.0.0-rc.9 + "@nuxt/schema": 3.0.0-rc.9 "@rollup/plugin-replace": ^4.0.0 "@types/cssnano": ^5 "@vitejs/plugin-vue": ^3.0.3 @@ -1831,8 +1831,8 @@ __metadata: dependencies: "@babel/core": ^7.18.13 "@nuxt/friendly-errors-webpack-plugin": ^2.5.2 - "@nuxt/kit": 3.0.0-rc.8 - "@nuxt/schema": 3.0.0-rc.8 + "@nuxt/kit": 3.0.0-rc.9 + "@nuxt/schema": 3.0.0-rc.9 "@types/lodash-es": ^4.17.6 "@types/pify": ^5.0.1 "@types/webpack-bundle-analyzer": ^4.4.2 @@ -9899,8 +9899,8 @@ __metadata: version: 0.0.0-use.local resolution: "nuxi@workspace:packages/nuxi" dependencies: - "@nuxt/kit": 3.0.0-rc.8 - "@nuxt/schema": 3.0.0-rc.8 + "@nuxt/kit": 3.0.0-rc.9 + "@nuxt/schema": 3.0.0-rc.9 "@types/clear": ^0 "@types/flat": ^5.0.2 "@types/mri": ^1.1.1 @@ -9982,11 +9982,11 @@ __metadata: resolution: "nuxt@workspace:packages/nuxt" dependencies: "@nuxt/devalue": ^2.0.0 - "@nuxt/kit": 3.0.0-rc.8 - "@nuxt/schema": 3.0.0-rc.8 + "@nuxt/kit": 3.0.0-rc.9 + "@nuxt/schema": 3.0.0-rc.9 "@nuxt/telemetry": ^2.1.4 "@nuxt/ui-templates": ^0.3.2 - "@nuxt/vite-builder": 3.0.0-rc.8 + "@nuxt/vite-builder": 3.0.0-rc.9 "@types/fs-extra": ^9.0.13 "@types/hash-sum": ^1.0.0 "@vue/reactivity": ^3.2.38 @@ -10006,7 +10006,7 @@ __metadata: magic-string: ^0.26.3 mlly: ^0.5.14 nitropack: ^0.5.0 - nuxi: 3.0.0-rc.8 + nuxi: 3.0.0-rc.9 ohash: ^0.1.5 ohmyfetch: ^0.4.18 pathe: ^0.3.5 From f506b83dbd2097dd0417fba72e6bc10d2e6f72d6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 3 Sep 2022 12:54:04 +0200 Subject: [PATCH 15/17] chore(deps): update devdependency case-police to ^0.5.10 (#7184) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 493d0b8fcb9..ea4e78e5e9c 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@types/node": "^16.11.56", "@types/rimraf": "^3", "@unocss/reset": "^0.45.14", - "case-police": "^0.5.9", + "case-police": "^0.5.10", "changelogen": "^0.3.0", "eslint": "^8.23.0", "eslint-plugin-jsdoc": "^39.3.6", diff --git a/yarn.lock b/yarn.lock index 79ef7c8ef44..411fe736660 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4154,12 +4154,12 @@ __metadata: languageName: node linkType: hard -"case-police@npm:^0.5.9": - version: 0.5.9 - resolution: "case-police@npm:0.5.9" +"case-police@npm:^0.5.10": + version: 0.5.10 + resolution: "case-police@npm:0.5.10" bin: case-police: bin/case-police.mjs - checksum: 471b5bf7a75257f8c71f61f8875d7dec13c72fa27e9403c02d842feffa7569c58d95d59e48c140893af59305c5e38b4b5bb290b73811735649d0671ed6dce5dc + checksum: 775847106348cf95111acc054206a33cccab788768e74d1fcf92979e90d95bebd4a39ccf1ab8751b78592a15332b31f7ecd33b4a3e9236d2e477117cf6b5a28e languageName: node linkType: hard @@ -9944,7 +9944,7 @@ __metadata: "@types/node": ^16.11.56 "@types/rimraf": ^3 "@unocss/reset": ^0.45.14 - case-police: ^0.5.9 + case-police: ^0.5.10 changelogen: ^0.3.0 eslint: ^8.23.0 eslint-plugin-jsdoc: ^39.3.6 From 5650927c3461f0623b7f96ba51845dc0ffcaa68d Mon Sep 17 00:00:00 2001 From: victorkwok97 Date: Sat, 3 Sep 2022 18:56:12 +0800 Subject: [PATCH 16/17] docs: add note about `useFetch` auto generated key (#7044) --- docs/content/3.api/1.composables/use-fetch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/3.api/1.composables/use-fetch.md b/docs/content/3.api/1.composables/use-fetch.md index dd61bc6bca2..5571eba87fa 100644 --- a/docs/content/3.api/1.composables/use-fetch.md +++ b/docs/content/3.api/1.composables/use-fetch.md @@ -44,7 +44,7 @@ type AsyncData = { * `headers`: Request headers. * `baseURL`: Base URL for the request. * **Options (from `useAsyncData`)**: - * `key`: a unique key to ensure that data fetching can be properly de-duplicated across requests, if not provided, it will be generated based on the `url` and fetch options. + * `key`: a unique key to ensure that data fetching can be properly de-duplicated across requests, if not provided, it will be generated based on the static code location where `useAyncData` is used. * `lazy`: Whether to resolve the async function after loading the route, instead of blocking navigation (defaults to `false`). * `server`: Whether to fetch the data on the server (defaults to `true`). * `default`: A factory function to set the default value of the data, before the async function resolves - particularly useful with the `lazy: true` option. From 664e5702af00bda88e2f14efe434e247dfb4c1df Mon Sep 17 00:00:00 2001 From: Krutie Patel Date: Sat, 3 Sep 2022 20:57:21 +1000 Subject: [PATCH 17/17] docs(api): enhance `useHead` composable (#7072) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com> --- docs/content/3.api/1.composables/use-head.md | 223 ++++++++++++++++--- 1 file changed, 188 insertions(+), 35 deletions(-) diff --git a/docs/content/3.api/1.composables/use-head.md b/docs/content/3.api/1.composables/use-head.md index 411e50a7dff..51a9db990da 100644 --- a/docs/content/3.api/1.composables/use-head.md +++ b/docs/content/3.api/1.composables/use-head.md @@ -1,48 +1,201 @@ # `useHead` -::ReadMore{link="/guide/features/head-management"} +Nuxt provides the `useHead` composable to add and customize the head properties of individual pages of your Nuxt app. `useHead` uses [@vueuse/head](https://github.com/vueuse/head) under the hood. -Nuxt provides a composable to update the head properties of your page with an [`MetaObject`](/api/composables/use-head/#metaobject) of meta properties with keys corresponding to meta tags: +::alert{icon=👉} +**`useHead` must be placed within the `setup` function**. +:: -`title`, `base`, `script`, `noscript`, `style`, `meta` and `link`, as well as `htmlAttrs` and `bodyAttrs`. Alternatively, you can pass a function returning the object for reactive metadata. +## Type -```js -useHead(options: MetaObject) +```ts +useHead(meta: Computable): void + +interface MetaObject extends Record { + charset?: string + viewport?: string + meta?: Array> + link?: Array> + style?: Array> + script?: Array> + noscript?: Array> + titleTemplate?: string | ((title: string) => string) + title?: string + bodyAttrs?: Record + htmlAttrs?: Record +} ``` -::alert{icon=👉} -**`useHead` only works during `setup`**. +Application-wide configuration of the head metadata is possible through [nuxt.config](/api/configuration/nuxt.config#head), or by placing the `useHead` in the `app.vue` file. + +::alert{type=info} +The properties of `useHead` can be dynamic, accepting `ref`, `computed` and `reactive` properties. `meta` parameter can also accept a function returning an object to make the entire object reactive. :: -## Example - -The example below changes the website's title in the `meta` and inserts a Google Font using the `link` property. - -```js -export default { - setup () { - useHead({ - meta: [ - { name: 'title' content: 'Nuxt 3 - The Hybrid Vue Framework' } - ], - link: [ - { rel: 'preconnect', href: 'https://fonts.googleapis.com' }, - { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }, - { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Roboto&display=swap', crossorigin: '' }, - ] - }) - } -} +## Parameters + +### `meta` + +**Type**: `MetaObject` + +An object accepting the following head metadata: + +- `charset` + + **Type**: `string` + + **Default**: `utf-8` + + Specifies character encoding for the HTML document. + +- `viewport` + + **Type**: `string` + + **Default**: `width=device-width, initial-scale=1` + + Configures the viewport (the user's visible area of a web page). + +- `meta` + + **Type**: `Array>` + + **Default**: `width=device-width, initial-scale=1` + + Each element in the array is mapped to a newly-created `` tag, where object properties are mapped to the corresponding attributes. + +- `link` + + **Type**: `Array>` + + Each element in the array is mapped to a newly-created `` tag, where object properties are mapped to the corresponding attributes. + +- `style` + + **Type**: `Array>` + + Each element in the array is mapped to a newly-created `