Skip to content

Commit

Permalink
chore: bump Unhead 1.1.25
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Mar 25, 2023
1 parent f3069b0 commit 125857f
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 44 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"vue": ">=2.7 || >=3"
},
"dependencies": {
"@unhead/dom": "^1.1.23",
"@unhead/schema": "^1.1.23",
"@unhead/ssr": "^1.1.23",
"@unhead/vue": "^1.1.23"
"@unhead/dom": "^1.1.25",
"@unhead/schema": "^1.1.25",
"@unhead/ssr": "^1.1.25",
"@unhead/vue": "^1.1.25"
},
"devDependencies": {
"@antfu/eslint-config": "^0.36.0",
Expand Down
70 changes: 35 additions & 35 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion tests/dedupe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ describe('dedupe', () => {
expect(headTags).toMatchInlineSnapshot(
`
"<meta name=\\"description\\" content=\\"test\\">
<link rel=\\"icon\\" href=\\"/favicon.ico\\">"
<link rel=\\"icon\\" href=\\"/favicon.ico\\" data-h-e16a2dd=\\"\\">"
`,
)
})
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/vite-ssr/vite-ssr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('e2e: vite ssr', async () => {
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"IE=edge\\">
<meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\">
<title>count: 0 | @vueuse/head</title>
<base href=\\"/\\"><meta name=\\"custom-priority\\" content=\\"of 1\\"><meta name=\\"global-meta\\" content=\\"some global meta tag\\"><style>body {background: salmon}</style><noscript>This app requires javascript to work</noscript><meta name=\\"description\\" content=\\"desc\\"><meta name=\\"description\\" content=\\"desc 2\\"><meta property=\\"og:locale:alternate\\" content=\\"fr\\"><meta property=\\"og:locale:alternate\\" content=\\"zh\\"><link href=\\"/foo\\" rel=\\"stylesheet\\"><script>console.log(\\"counter mount\\")</script>"
<base href=\\"/\\"><meta name=\\"custom-priority\\" content=\\"of 1\\"><meta name=\\"global-meta\\" content=\\"some global meta tag\\"><style>body {background: salmon}</style><noscript>This app requires javascript to work</noscript><meta name=\\"description\\" content=\\"desc\\"><meta name=\\"description\\" content=\\"desc 2\\"><meta property=\\"og:locale:alternate\\" content=\\"fr\\"><meta property=\\"og:locale:alternate\\" content=\\"zh\\"><link href=\\"/foo\\" rel=\\"stylesheet\\"><script data-h-1a4cc2a=\\"\\">console.log(\\"counter mount\\")</script>"
`)

await page.click('button.counter')
Expand Down
2 changes: 1 addition & 1 deletion tests/reactivity-types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('reactivity', () => {
<meta property=\\"og:locale:alternate\\" content=\\"fr\\">
<meta property=\\"og:locale:alternate\\" content=\\"zh\\">
<link as=\\"style\\" href=\\"/style.css\\">
<script src=\\"foo.js\\"></script>",
<script src=\\"foo.js\\" data-h-e959ceb=\\"\\"></script>",
"htmlAttrs": " lang=\\"zh\\"",
}
`)
Expand Down
4 changes: 2 additions & 2 deletions tests/vue-ssr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ describe('vue ssr', () => {

expect(headResult.headTags).toMatchInlineSnapshot(
`
"<script src=\\"test\\">console.log('A')</script>
<script>console.log('B')</script>"
"<script src=\\"test\\" data-h-722c761=\\"\\">console.log('A')</script>
<script data-h-722c761=\\"\\">console.log('B')</script>"
`,
)
})
Expand Down

0 comments on commit 125857f

Please sign in to comment.