Skip to content

Commit 96ba71d

Browse files
authored
chore: fix typos (#6708)
1 parent fbd697a commit 96ba71d

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ body:
3030
description: |
3131
The easiest way to provide a reproduction is by showing the bug in [The SFC Playground](https://sfc.vuejs.org/).
3232
If it cannot be reproduced in the playground and requires a proper build setup, try [StackBlitz](https://vite.new/vue).
33-
If neither of these are suitable, you can always provide a GitHub reporistory.
33+
If neither of these are suitable, you can always provide a GitHub repository.
3434
3535
The reproduction should be **minimal** - i.e. it should contain only the bare minimum amount of code needed
3636
to show the bug. See [Bug Reproduction Guidelines](https://github.com/vuejs/core/blob/main/.github/bug-repro-guidelines.md) for more details.

packages/compiler-sfc/__tests__/compileScript.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ defineExpose({ foo: 123 })
471471
</script>
472472
<template>
473473
<div @click="$emit('update:a');"></div>
474-
</tempalte>
474+
</template>
475475
`)
476476
})
477477
})

packages/compiler-ssr/__tests__/ssrFallthroughAttrs.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('ssr: attrs fallthrough', () => {
3737
`)
3838
})
3939

40-
test('fallthrough component content (root with coomments)', () => {
40+
test('fallthrough component content (root with comments)', () => {
4141
expect(compile(`<!--root--><transition><div/></transition>`).code)
4242
.toMatchInlineSnapshot(`
4343
"const { ssrRenderAttrs: _ssrRenderAttrs } = require(\\"vue/server-renderer\\")

packages/runtime-dom/src/modules/attrs.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,23 @@ export function compatCoerceAttr(
5353
instance: ComponentInternalInstance | null = null
5454
): boolean {
5555
if (isEnumeratedAttr(key)) {
56-
const v2CocercedValue =
56+
const v2CoercedValue =
5757
value === null
5858
? 'false'
5959
: typeof value !== 'boolean' && value !== undefined
6060
? 'true'
6161
: null
6262
if (
63-
v2CocercedValue &&
63+
v2CoercedValue &&
6464
compatUtils.softAssertCompatEnabled(
6565
DeprecationTypes.ATTR_ENUMERATED_COERCION,
6666
instance,
6767
key,
6868
value,
69-
v2CocercedValue
69+
v2CoercedValue
7070
)
7171
) {
72-
el.setAttribute(key, v2CocercedValue)
72+
el.setAttribute(key, v2CoercedValue)
7373
return true
7474
}
7575
} else if (

packages/vue-compat/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ Features that start with `COMPILER_` are compiler-specific: if you are using the
311311
| V_ON_KEYCODE_MODIFIER || `v-on` no longer supports keyCode modifiers | [link](https://v3-migration.vuejs.org/breaking-changes/keycode-modifiers.html) |
312312
| CUSTOM_DIR || Custom directive hook names changed | [link](https://v3-migration.vuejs.org/breaking-changes/custom-directives.html) |
313313
| ATTR_FALSE_VALUE || No longer removes attribute if binding value is boolean `false` | [link](https://v3-migration.vuejs.org/breaking-changes/attribute-coercion.html) |
314-
| ATTR_ENUMERATED_COERSION || No longer special case enumerated attributes | [link](https://v3-migration.vuejs.org/breaking-changes/attribute-coercion.html) |
314+
| ATTR_ENUMERATED_COERCION || No longer special case enumerated attributes | [link](https://v3-migration.vuejs.org/breaking-changes/attribute-coercion.html) |
315315
| TRANSITION_GROUP_ROOT || `<transition-group>` no longer renders a root element by default | [link](https://v3-migration.vuejs.org/breaking-changes/transition-group.html) |
316316
| COMPONENT_ASYNC || Async component API changed (now requires `defineAsyncComponent`) | [link](https://v3-migration.vuejs.org/breaking-changes/async-components.html) |
317317
| COMPONENT_FUNCTIONAL || Functional component API changed (now must be plain functions) | [link](https://v3-migration.vuejs.org/breaking-changes/functional-components.html) |

0 commit comments

Comments
 (0)