fix: prevent Teleport attrs fallthrough by ensuring its nodes are alw… #20078
ci.yml
on: push
test
/
unit-test
1m 37s
test
/
unit-test-windows
1m 25s
test
/
e2e-test
1m 46s
test
/
e2e-vapor
1m 12s
test
/
lint-and-test-dts
1m 18s
continuous-release
1m 15s
Annotations
10 errors and 1 notice
|
packages/runtime-vapor/__tests__/componentAttrs.spec.ts > attribute fallthrough > should not allow attrs to fallthrough on component with single comment root:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (id) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
❯ scripts/setup-vitest.ts:101:11
|
|
packages/runtime-vapor/__tests__/componentAttrs.spec.ts > attribute fallthrough > should not allow attrs to fallthrough on component with multiple roots:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (id) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
❯ scripts/setup-vitest.ts:101:11
|
|
packages/runtime-vapor/__tests__/componentAttrs.spec.ts > attribute fallthrough > should fallthrough for nested components:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (foo, id, class, style) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
- [Vue warn]: Extraneous non-emits event listeners (click) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.
❯ scripts/setup-vitest.ts:101:11
|
|
packages/runtime-vapor/__tests__/component.spec.ts > component > work with v-once + attrs:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (count) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
❯ scripts/setup-vitest.ts:101:11
|
|
packages/runtime-vapor/__tests__/apiSetupHelpers.spec.ts > SFC <script setup> helpers > useSlots / useAttrs (no args):
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (id) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
❯ scripts/setup-vitest.ts:101:11
|
|
packages/runtime-vapor/__tests__/apiDefineAsyncComponent.spec.ts > api: defineAsyncComponent > timeout with error + loading components:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (error) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
❯ scripts/setup-vitest.ts:101:11
|
|
packages/runtime-vapor/__tests__/apiDefineAsyncComponent.spec.ts > api: defineAsyncComponent > timeout with error component:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (error) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
❯ scripts/setup-vitest.ts:101:11
|
|
packages/runtime-vapor/__tests__/apiDefineAsyncComponent.spec.ts > api: defineAsyncComponent > error with error + loading components:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (error) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
❯ scripts/setup-vitest.ts:101:11
|
|
packages/runtime-vapor/__tests__/apiDefineAsyncComponent.spec.ts > api: defineAsyncComponent > error with error component, without global handler:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (error) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
❯ scripts/setup-vitest.ts:101:11
|
|
packages/runtime-vapor/__tests__/apiDefineAsyncComponent.spec.ts > api: defineAsyncComponent > error with error component:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: Extraneous non-props attributes (error) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
❯ scripts/setup-vitest.ts:101:11
|
|
continuous-release
{
"workflowData": {
"owner": "vuejs",
"repo": "core",
"sha": "9eb7984e39bf359e0ef6657d7bd0ddf17fe6f717",
"ref": "14144"
},
"key": "4LekoIWSEa",
"runId": 19730079846,
"webhookDebug": {
"action": "requested",
"head_branch": "edison/test/attrFallthrough",
"head_repository_full_name": "vuejs/core",
"full_name": "vuejs/core",
"isPullRequest": true,
"prNumber": 14144,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "vuejs/core:edison/test/attrFallthrough",
"oldPrDataHash": "oI55277Tyb",
"lookupKey": "vuejs/core:edison/test/attrFallthrough",
"data": {
"owner": "vuejs",
"repo": "core",
"sha": "9eb7984e39bf359e0ef6657d7bd0ddf17fe6f717",
"ref": "14144"
}
}
}
|