From 40f0c823247e4cd5b86879ed80f66b3a183f2f50 Mon Sep 17 00:00:00 2001 From: __Catalina <57056590+zhangzhibang0309@users.noreply.github.com> Date: Thu, 18 Aug 2022 19:38:01 +0800 Subject: [PATCH 1/2] docs: fix typo in `defineEventHandler` example (#6741) --- docs/content/2.guide/2.features/9.server-routes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/2.guide/2.features/9.server-routes.md b/docs/content/2.guide/2.features/9.server-routes.md index bcc8d4dcf5a..b0a9a980874 100644 --- a/docs/content/2.guide/2.features/9.server-routes.md +++ b/docs/content/2.guide/2.features/9.server-routes.md @@ -266,7 +266,7 @@ export default defineEventHandler(async (event) => { Create a new file in `server/api/test.get.ts`: ```ts [server/api/test.get.ts] -export default async defineEventHandler(async (event) => { +export default defineEventHandler(async (event) => { const data = await useStorage().getItem('redis:test') return data }) From aeeeef5b95547594c77f561e932174f5f202e56c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Aug 2022 14:12:07 +0200 Subject: [PATCH 2/2] chore(deps): update all non-major dependencies (#6746) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/package.json | 2 +- docs/yarn.lock | 8 +++---- package.json | 2 +- packages/kit/package.json | 4 ++-- packages/nuxi/package.json | 4 ++-- packages/nuxt/package.json | 4 ++-- packages/schema/package.json | 2 +- packages/vite/package.json | 4 ++-- packages/webpack/package.json | 4 ++-- yarn.lock | 43 +++++++++++++++++++++++++---------- 10 files changed, 48 insertions(+), 29 deletions(-) diff --git a/docs/package.json b/docs/package.json index 3c1a24b46d4..8dd8a352a06 100644 --- a/docs/package.json +++ b/docs/package.json @@ -17,7 +17,7 @@ "@nuxt/typescript-build": "^2.1.0", "fs-extra": "^10.1.0", "jiti": "^1.14.0", - "pathe": "^0.3.4", + "pathe": "^0.3.5", "rimraf": "^3.0.2", "scule": "^0.3.2", "untyped": "^0.4.5", diff --git a/docs/yarn.lock b/docs/yarn.lock index 7375e4e3fb8..e4dc4b92fb9 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -8352,10 +8352,10 @@ pathe@^0.2.0: resolved "https://registry.yarnpkg.com/pathe/-/pathe-0.2.0.tgz#30fd7bbe0a0d91f0e60bae621f5d19e9e225c339" integrity sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw== -pathe@^0.3.4: - version "0.3.4" - resolved "https://registry.yarnpkg.com/pathe/-/pathe-0.3.4.tgz#35bfb1e92373f98d9711cc74e7d6475a0654deae" - integrity sha512-YWgqEdxf36R6vcsyj0A+yT/rDRPe0wui4J9gRR7T4whjU5Lx/jZOr75ckEgTNaLVQABAwsrlzHRpIKcCdXAQ5A== +pathe@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-0.3.5.tgz#87e5c1164ded1bebeb9dea5dab63563144062303" + integrity sha512-grU/QeYP0ChuE5kjU2/k8VtAeODzbernHlue0gTa27+ayGIu3wqYBIPGfP9r5xSqgCgDd4nWrjKXEfxMillByg== pbkdf2@^3.0.3: version "3.1.2" diff --git a/package.json b/package.json index dafff258eb4..0c5a0518e94 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "jiti": "^1.14.0", "lerna": "^5.4.3", "markdownlint-cli": "^0.32.1", - "pathe": "^0.3.4", + "pathe": "^0.3.5", "rimraf": "^3.0.2", "typescript": "^4.7.4", "unbuild": "^0.8.8", diff --git a/packages/kit/package.json b/packages/kit/package.json index 9c594d66d2f..87a85c55543 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -23,8 +23,8 @@ "jiti": "^1.14.0", "knitwork": "^0.1.2", "lodash.template": "^4.5.0", - "mlly": "^0.5.12", - "pathe": "^0.3.4", + "mlly": "^0.5.13", + "pathe": "^0.3.5", "pkg-types": "^0.3.3", "scule": "^0.3.2", "semver": "^7.3.7", diff --git a/packages/nuxi/package.json b/packages/nuxi/package.json index f0293c47dba..815aa312842 100644 --- a/packages/nuxi/package.json +++ b/packages/nuxi/package.json @@ -35,9 +35,9 @@ "flat": "^5.0.2", "jiti": "^1.14.0", "listhen": "^0.2.15", - "mlly": "^0.5.12", + "mlly": "^0.5.13", "mri": "^1.2.0", - "pathe": "^0.3.4", + "pathe": "^0.3.5", "perfect-debounce": "^0.1.3", "pkg-types": "^0.3.3", "scule": "^0.3.2", diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index d7a84734da3..020a0d8f8b0 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -51,12 +51,12 @@ "hookable": "^5.1.1", "knitwork": "^0.1.2", "magic-string": "^0.26.2", - "mlly": "^0.5.12", + "mlly": "^0.5.13", "nitropack": "^0.4.24", "nuxi": "3.0.0-rc.8", "ohash": "^0.1.5", "ohmyfetch": "^0.4.18", - "pathe": "^0.3.4", + "pathe": "^0.3.5", "perfect-debounce": "^0.1.3", "scule": "^0.3.2", "strip-literal": "^0.4.0", diff --git a/packages/schema/package.json b/packages/schema/package.json index 8f77b1bb8ae..8b2b4b53b66 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -24,7 +24,7 @@ "create-require": "^1.1.1", "defu": "^6.1.0", "jiti": "^1.14.0", - "pathe": "^0.3.4", + "pathe": "^0.3.5", "postcss-import-resolver": "^2.0.0", "scule": "^0.3.2", "std-env": "^3.2.1", diff --git a/packages/vite/package.json b/packages/vite/package.json index ccd4b2c33c5..3358c382912 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -36,9 +36,9 @@ "h3": "^0.7.15", "knitwork": "^0.1.2", "magic-string": "^0.26.2", - "mlly": "^0.5.12", + "mlly": "^0.5.13", "ohash": "^0.1.5", - "pathe": "^0.3.4", + "pathe": "^0.3.5", "perfect-debounce": "^0.1.3", "pkg-types": "^0.3.3", "postcss": "^8.4.16", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index b10a2184715..27ab1b36ddf 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -34,9 +34,9 @@ "magic-string": "^0.26.2", "memfs": "^3.4.7", "mini-css-extract-plugin": "^2.6.1", - "mlly": "^0.5.12", + "mlly": "^0.5.13", "ohash": "^0.1.5", - "pathe": "^0.3.4", + "pathe": "^0.3.5", "pify": "^6.0.0", "postcss": "^8.4.16", "postcss-import": "^14.1.0", diff --git a/yarn.lock b/yarn.lock index 8c8a52d21d5..d9d146810c9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1660,8 +1660,8 @@ __metadata: jiti: ^1.14.0 knitwork: ^0.1.2 lodash.template: ^4.5.0 - mlly: ^0.5.12 - pathe: ^0.3.4 + mlly: ^0.5.13 + pathe: ^0.3.5 pkg-types: ^0.3.3 scule: ^0.3.2 semver: ^7.3.7 @@ -1688,7 +1688,7 @@ __metadata: create-require: ^1.1.1 defu: ^6.1.0 jiti: ^1.14.0 - pathe: ^0.3.4 + pathe: ^0.3.5 postcss-import-resolver: ^2.0.0 scule: ^0.3.2 std-env: ^3.2.1 @@ -1801,9 +1801,9 @@ __metadata: h3: ^0.7.15 knitwork: ^0.1.2 magic-string: ^0.26.2 - mlly: ^0.5.12 + mlly: ^0.5.13 ohash: ^0.1.5 - pathe: ^0.3.4 + pathe: ^0.3.5 perfect-debounce: ^0.1.3 pkg-types: ^0.3.3 postcss: ^8.4.16 @@ -1852,9 +1852,9 @@ __metadata: magic-string: ^0.26.2 memfs: ^3.4.7 mini-css-extract-plugin: ^2.6.1 - mlly: ^0.5.12 + mlly: ^0.5.13 ohash: ^0.1.5 - pathe: ^0.3.4 + pathe: ^0.3.5 pify: ^6.0.0 postcss: ^8.4.16 postcss-import: ^14.1.0 @@ -9574,6 +9574,18 @@ __metadata: languageName: node linkType: hard +"mlly@npm:^0.5.13": + version: 0.5.13 + resolution: "mlly@npm:0.5.13" + dependencies: + acorn: ^8.8.0 + pathe: ^0.3.4 + pkg-types: ^0.3.3 + ufo: ^0.8.5 + checksum: b3b256f334b83d70715b19fb97b9cf9a1010fbe06e1cb1e74c7855cecf08ce8c251f51345f41ee55a8ccad14426b48758458c798714de5a6487aa77a546417cf + languageName: node + linkType: hard + "modify-values@npm:^1.0.0": version: 1.0.1 resolution: "modify-values@npm:1.0.1" @@ -10087,9 +10099,9 @@ __metadata: fsevents: ~2.3.2 jiti: ^1.14.0 listhen: ^0.2.15 - mlly: ^0.5.12 + mlly: ^0.5.13 mri: ^1.2.0 - pathe: ^0.3.4 + pathe: ^0.3.5 perfect-debounce: ^0.1.3 pkg-types: ^0.3.3 scule: ^0.3.2 @@ -10123,7 +10135,7 @@ __metadata: jiti: ^1.14.0 lerna: ^5.4.3 markdownlint-cli: ^0.32.1 - pathe: ^0.3.4 + pathe: ^0.3.5 rimraf: ^3.0.2 typescript: ^4.7.4 unbuild: ^0.8.8 @@ -10173,12 +10185,12 @@ __metadata: hookable: ^5.1.1 knitwork: ^0.1.2 magic-string: ^0.26.2 - mlly: ^0.5.12 + mlly: ^0.5.13 nitropack: ^0.4.24 nuxi: 3.0.0-rc.8 ohash: ^0.1.5 ohmyfetch: ^0.4.18 - pathe: ^0.3.4 + pathe: ^0.3.5 perfect-debounce: ^0.1.3 scule: ^0.3.2 strip-literal: ^0.4.0 @@ -10747,6 +10759,13 @@ __metadata: languageName: node linkType: hard +"pathe@npm:^0.3.5": + version: 0.3.5 + resolution: "pathe@npm:0.3.5" + checksum: 734f54de80dae59a1cc6e62eb09bbd8f88062d118a01b8a428423c168160cee44d6a09c415ff1d7c410ee4a767a76206c13da6af289e11f6eb1a040382a28edd + languageName: node + linkType: hard + "pathval@npm:^1.1.1": version: 1.1.1 resolution: "pathval@npm:1.1.1"