Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (nuxt#9025)
Browse files Browse the repository at this point in the history
* chore(deps): update all non-major dependencies

* fix ts issue

* fix fallback

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
  • Loading branch information
renovate[bot] and pi0 authored Nov 16, 2022
1 parent 9d81221 commit 6082135
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 51 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"rimraf": "^3.0.2",
"semver": "^7.3.8",
"std-env": "^3.3.1",
"typescript": "^4.8.4",
"typescript": "^4.9.3",
"ufo": "^1.0.0",
"unbuild": "^0.9.4",
"vite": "^3.2.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"@vue/reactivity": "^3.2.45",
"@vue/shared": "^3.2.45",
"@vueuse/head": "^1.0.13",
"unhead": "^0.6.7",
"@unhead/ssr": "^0.6.7",
"unhead": "^0.6.9",
"@unhead/ssr": "^0.6.9",
"chokidar": "^3.5.3",
"cookie-es": "^0.5.0",
"defu": "^6.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/lodash.template": "^4",
"@types/semver": "^7",
"@vitejs/plugin-vue": "^3.2.0",
"@unhead/schema": "^0.6.7",
"@unhead/schema": "^0.6.9",
"nitropack": "^1.0.0-0",
"unbuild": "latest",
"vite": "~3.2.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/plugins/composable-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const composableKeysPlugin = createUnplugin((options: ComposableKeysOptio
},
transform (code, id) {
if (!KEYED_FUNCTIONS_RE.test(code)) { return }
const { 0: script = code, index: codeIndex = 0 } = code.match(/(?<=<script[^>]*>)[\S\s.]*?(?=<\/script>)/) || []
const { 0: script = code, index: codeIndex = 0 } = code.match(/(?<=<script[^>]*>)[\S\s.]*?(?=<\/script>)/) || { index: 0, 0: code }
const s = new MagicString(code)
// https://github.com/unjs/unplugin/issues/90
let count = 0
Expand Down
111 changes: 65 additions & 46 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6082135

Please sign in to comment.