Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
chore(deps): update all non-major dependencies (#8222)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Oct 17, 2022
1 parent 03acfa5 commit 2cf9009
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 82 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"nuxt3": "workspace:nuxt@*",
"unbuild": "^0.9.4",
"vite": "^3.1.8",
"vue": "3.2.40"
"vue": "3.2.41"
},
"devDependencies": {
"@actions/core": "^1.10.0",
Expand All @@ -48,12 +48,12 @@
"@nuxt/webpack-builder": "workspace:*",
"@nuxtjs/eslint-config-typescript": "^11.0.0",
"@types/crawler": "^1.2.2",
"@types/node": "^16.11.65",
"@types/node": "^16.11.66",
"@types/rimraf": "^3",
"@types/semver": "^7",
"@unocss/reset": "^0.45.29",
"case-police": "^0.5.10",
"changelogen": "^0.3.2",
"changelogen": "^0.3.5",
"crawler": "^1.3.0",
"eslint": "^8.25.0",
"eslint-plugin-jsdoc": "^39.3.6",
Expand All @@ -76,7 +76,7 @@
"vitest": "~0.19.1",
"vue-tsc": "^1.0.8"
},
"packageManager": "pnpm@7.12.0",
"packageManager": "pnpm@7.13.5",
"engines": {
"node": "^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"knitwork": "^0.1.2",
"magic-string": "^0.26.7",
"mlly": "^0.5.16",
"nitropack": "npm:nitropack-edge@0.6.0-27765421.6d4b416",
"nitropack": "npm:nitropack-edge@0.6.0-27766621.5c2c313",
"nuxi": "3.0.0-rc.11",
"ohash": "^0.1.5",
"ohmyfetch": "^0.4.19",
Expand All @@ -67,7 +67,7 @@
"scule": "^0.3.2",
"strip-literal": "^0.4.2",
"ufo": "^0.8.6",
"ultrahtml": "^0.3.3",
"ultrahtml": "^0.4.0",
"unctx": "^2.0.2",
"unenv": "^0.6.2",
"unimport": "^0.6.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/nuxt/src/components/tree-shake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export const TreeShakeTemplatePlugin = createUnplugin((options: TreeShakeTemplat

try {
// Replace node content
const text = fallback ? code.slice(template.index + fallback.loc[0].start, template.index + fallback.loc[fallback.loc.length - 1].end) : ''
s.overwrite(template.index + node.loc[0].end, template.index + node.loc[node.loc.length - 1].start, text)
const text = fallback ? code.slice(template.index! + fallback.loc[0].start, template.index! + fallback.loc[fallback.loc.length - 1].end) : ''
s.overwrite(template.index! + node.loc[0].end, template.index! + node.loc[node.loc.length - 1].start, text)
} catch (err) {
// This may fail if we have a nested client-only component and are trying
// to replace some text that has already been replaced
Expand Down

0 comments on commit 2cf9009

Please sign in to comment.