mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 09:39:14 +08:00
chore(deps): update vitest monorepo to v1 (major) (#686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
parent
57c941e2ca
commit
baf379274a
@ -20,7 +20,7 @@
|
||||
"@types/babel__core": "^7.20.5",
|
||||
"@types/node": "^20.11.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
||||
"@vitest/coverage-v8": "^0.34.6",
|
||||
"@vitest/coverage-v8": "^1.2.0",
|
||||
"bumpp": "^9.2.1",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
@ -30,7 +30,7 @@
|
||||
"tsup": "^8.0.1",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.0.11",
|
||||
"vitest": "^0.34.6"
|
||||
"vitest": "^1.2.0"
|
||||
},
|
||||
"version": "1.1.5"
|
||||
}
|
||||
|
@ -1,26 +1,26 @@
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`_Fragment already imported > _Fragment already imported 1`] = `
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode, Fragment as _Fragment2 } from \\"vue\\";
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode, Fragment as _Fragment2 } from "vue";
|
||||
import { Fragment as _Fragment } from 'vue';
|
||||
const Root1 = () => _createVNode(_Fragment2, null, [_createTextVNode(\\"root1\\")]);
|
||||
const Root2 = () => _createVNode(_Fragment, null, [_createTextVNode(\\"root2\\")]);"
|
||||
const Root1 = () => _createVNode(_Fragment2, null, [_createTextVNode("root1")]);
|
||||
const Root2 = () => _createVNode(_Fragment, null, [_createTextVNode("root2")]);"
|
||||
`;
|
||||
|
||||
exports[`MereProps Order > MereProps Order 1`] = `
|
||||
"import { createVNode as _createVNode, mergeProps as _mergeProps, createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
_createVNode(\\"button\\", _mergeProps({
|
||||
\\"loading\\": true
|
||||
"import { createVNode as _createVNode, mergeProps as _mergeProps, createTextVNode as _createTextVNode } from "vue";
|
||||
_createVNode("button", _mergeProps({
|
||||
"loading": true
|
||||
}, x, {
|
||||
\\"type\\": \\"submit\\"
|
||||
}), [_createTextVNode(\\"btn\\")], 16, [\\"loading\\"]);"
|
||||
"type": "submit"
|
||||
}), [_createTextVNode("btn")], 16, ["loading"]);"
|
||||
`;
|
||||
|
||||
exports[`Merge class/ style attributes into array > Merge class/ style attributes into array 1`] = `
|
||||
"import { createVNode as _createVNode } from \\"vue\\";
|
||||
_createVNode(\\"div\\", {
|
||||
\\"class\\": [\\"a\\", b],
|
||||
\\"style\\": [\\"color: red\\", s]
|
||||
"import { createVNode as _createVNode } from "vue";
|
||||
_createVNode("div", {
|
||||
"class": ["a", b],
|
||||
"style": ["color: red", s]
|
||||
}, null, 6);"
|
||||
`;
|
||||
|
||||
@ -30,153 +30,153 @@ createVNode('div', null, ['Without JSX should work']);"
|
||||
`;
|
||||
|
||||
exports[`Without props > Without props 1`] = `
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
_createVNode(\\"a\\", null, [_createTextVNode(\\"a\\")]);"
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
||||
_createVNode("a", null, [_createTextVNode("a")]);"
|
||||
`;
|
||||
|
||||
exports[`custom directive > custom directive 1`] = `
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, resolveDirective as _resolveDirective, resolveComponent as _resolveComponent } from \\"vue\\";
|
||||
_withDirectives(_createVNode(_resolveComponent(\\"A\\"), null, null, 512), [[_resolveDirective(\\"cus\\"), x]]);"
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, resolveDirective as _resolveDirective, resolveComponent as _resolveComponent } from "vue";
|
||||
_withDirectives(_createVNode(_resolveComponent("A"), null, null, 512), [[_resolveDirective("cus"), x]]);"
|
||||
`;
|
||||
|
||||
exports[`custom directive > custom directive 2`] = `
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, resolveDirective as _resolveDirective, resolveComponent as _resolveComponent, Fragment as _Fragment } from \\"vue\\";
|
||||
_createVNode(_Fragment, null, [_withDirectives(_createVNode(_resolveComponent(\\"A\\"), null, null, 512), [[_resolveDirective(\\"xxx\\"), x]]), _withDirectives(_createVNode(_resolveComponent(\\"A\\"), null, null, 512), [[_resolveDirective(\\"xxx\\"), x]]), _withDirectives(_createVNode(_resolveComponent(\\"A\\"), null, null, 512), [[_resolveDirective(\\"xxx\\"), x, 'y']]), _withDirectives(_createVNode(_resolveComponent(\\"A\\"), null, null, 512), [[_resolveDirective(\\"xxx\\"), x, 'y', {
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, resolveDirective as _resolveDirective, resolveComponent as _resolveComponent, Fragment as _Fragment } from "vue";
|
||||
_createVNode(_Fragment, null, [_withDirectives(_createVNode(_resolveComponent("A"), null, null, 512), [[_resolveDirective("xxx"), x]]), _withDirectives(_createVNode(_resolveComponent("A"), null, null, 512), [[_resolveDirective("xxx"), x]]), _withDirectives(_createVNode(_resolveComponent("A"), null, null, 512), [[_resolveDirective("xxx"), x, 'y']]), _withDirectives(_createVNode(_resolveComponent("A"), null, null, 512), [[_resolveDirective("xxx"), x, 'y', {
|
||||
a: true,
|
||||
b: true
|
||||
}]]), _withDirectives(_createVNode(_resolveComponent(\\"A\\"), null, null, 512), [[_resolveDirective(\\"xxx\\"), x, void 0, {
|
||||
}]]), _withDirectives(_createVNode(_resolveComponent("A"), null, null, 512), [[_resolveDirective("xxx"), x, void 0, {
|
||||
a: true,
|
||||
b: true
|
||||
}]]), _withDirectives(_createVNode(_resolveComponent(\\"A\\"), null, null, 512), [[_resolveDirective(\\"xxx\\"), x, y, {
|
||||
}]]), _withDirectives(_createVNode(_resolveComponent("A"), null, null, 512), [[_resolveDirective("xxx"), x, y, {
|
||||
a: true,
|
||||
b: true
|
||||
}]]), _withDirectives(_createVNode(_resolveComponent(\\"A\\"), null, null, 512), [[_resolveDirective(\\"xxx\\"), x, y, {
|
||||
}]]), _withDirectives(_createVNode(_resolveComponent("A"), null, null, 512), [[_resolveDirective("xxx"), x, y, {
|
||||
a: true,
|
||||
b: true
|
||||
}]])]);"
|
||||
`;
|
||||
|
||||
exports[`disable object slot syntax with defaultSlot > defaultSlot 1`] = `
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from \\"vue\\";
|
||||
_createVNode(_resolveComponent(\\"Badge\\"), null, {
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from "vue";
|
||||
_createVNode(_resolveComponent("Badge"), null, {
|
||||
default: () => [slots.default()],
|
||||
_: 1
|
||||
});"
|
||||
`;
|
||||
|
||||
exports[`dynamic type in input > dynamic type in input 1`] = `
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelDynamic as _vModelDynamic } from \\"vue\\";
|
||||
_withDirectives(_createVNode(\\"input\\", {
|
||||
\\"type\\": type,
|
||||
\\"onUpdate:modelValue\\": $event => test = $event
|
||||
}, null, 8, [\\"type\\", \\"onUpdate:modelValue\\"]), [[_vModelDynamic, test]]);"
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelDynamic as _vModelDynamic } from "vue";
|
||||
_withDirectives(_createVNode("input", {
|
||||
"type": type,
|
||||
"onUpdate:modelValue": $event => test = $event
|
||||
}, null, 8, ["type", "onUpdate:modelValue"]), [[_vModelDynamic, test]]);"
|
||||
`;
|
||||
|
||||
exports[`input[type="checkbox"] > input[type="checkbox"] 1`] = `
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelCheckbox as _vModelCheckbox } from \\"vue\\";
|
||||
_withDirectives(_createVNode(\\"input\\", {
|
||||
\\"type\\": \\"checkbox\\",
|
||||
\\"onUpdate:modelValue\\": $event => test = $event
|
||||
}, null, 8, [\\"onUpdate:modelValue\\"]), [[_vModelCheckbox, test]]);"
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelCheckbox as _vModelCheckbox } from "vue";
|
||||
_withDirectives(_createVNode("input", {
|
||||
"type": "checkbox",
|
||||
"onUpdate:modelValue": $event => test = $event
|
||||
}, null, 8, ["onUpdate:modelValue"]), [[_vModelCheckbox, test]]);"
|
||||
`;
|
||||
|
||||
exports[`input[type="radio"] > input[type="radio"] 1`] = `
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelRadio as _vModelRadio, Fragment as _Fragment } from \\"vue\\";
|
||||
_createVNode(_Fragment, null, [_withDirectives(_createVNode(\\"input\\", {
|
||||
\\"type\\": \\"radio\\",
|
||||
\\"value\\": \\"1\\",
|
||||
\\"onUpdate:modelValue\\": $event => test = $event,
|
||||
\\"name\\": \\"test\\"
|
||||
}, null, 8, [\\"onUpdate:modelValue\\"]), [[_vModelRadio, test]]), _withDirectives(_createVNode(\\"input\\", {
|
||||
\\"type\\": \\"radio\\",
|
||||
\\"value\\": \\"2\\",
|
||||
\\"onUpdate:modelValue\\": $event => test = $event,
|
||||
\\"name\\": \\"test\\"
|
||||
}, null, 8, [\\"onUpdate:modelValue\\"]), [[_vModelRadio, test]])]);"
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelRadio as _vModelRadio, Fragment as _Fragment } from "vue";
|
||||
_createVNode(_Fragment, null, [_withDirectives(_createVNode("input", {
|
||||
"type": "radio",
|
||||
"value": "1",
|
||||
"onUpdate:modelValue": $event => test = $event,
|
||||
"name": "test"
|
||||
}, null, 8, ["onUpdate:modelValue"]), [[_vModelRadio, test]]), _withDirectives(_createVNode("input", {
|
||||
"type": "radio",
|
||||
"value": "2",
|
||||
"onUpdate:modelValue": $event => test = $event,
|
||||
"name": "test"
|
||||
}, null, 8, ["onUpdate:modelValue"]), [[_vModelRadio, test]])]);"
|
||||
`;
|
||||
|
||||
exports[`input[type="text"] .lazy modifier > input[type="text"] .lazy modifier 1`] = `
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelText as _vModelText } from \\"vue\\";
|
||||
_withDirectives(_createVNode(\\"input\\", {
|
||||
\\"onUpdate:modelValue\\": $event => test = $event
|
||||
}, null, 8, [\\"onUpdate:modelValue\\"]), [[_vModelText, test, void 0, {
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelText as _vModelText } from "vue";
|
||||
_withDirectives(_createVNode("input", {
|
||||
"onUpdate:modelValue": $event => test = $event
|
||||
}, null, 8, ["onUpdate:modelValue"]), [[_vModelText, test, void 0, {
|
||||
lazy: true
|
||||
}]]);"
|
||||
`;
|
||||
|
||||
exports[`input[type="text"] > input[type="text"] 1`] = `
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelText as _vModelText } from \\"vue\\";
|
||||
_withDirectives(_createVNode(\\"input\\", {
|
||||
\\"onUpdate:modelValue\\": $event => test = $event
|
||||
}, null, 8, [\\"onUpdate:modelValue\\"]), [[_vModelText, test]]);"
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelText as _vModelText } from "vue";
|
||||
_withDirectives(_createVNode("input", {
|
||||
"onUpdate:modelValue": $event => test = $event
|
||||
}, null, 8, ["onUpdate:modelValue"]), [[_vModelText, test]]);"
|
||||
`;
|
||||
|
||||
exports[`isCustomElement > isCustomElement 1`] = `
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
_createVNode(\\"foo\\", null, [_createVNode(\\"span\\", null, [_createTextVNode(\\"foo\\")])]);"
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
||||
_createVNode("foo", null, [_createVNode("span", null, [_createTextVNode("foo")])]);"
|
||||
`;
|
||||
|
||||
exports[`named import specifier \`Keep Alive\` > named import specifier \`Keep Alive\` 1`] = `
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
||||
import { KeepAlive } from 'vue';
|
||||
_createVNode(KeepAlive, null, [_createTextVNode(\\"123\\")]);"
|
||||
_createVNode(KeepAlive, null, [_createTextVNode("123")]);"
|
||||
`;
|
||||
|
||||
exports[`namespace specifier \`Keep Alive\` > namespace specifier \`Keep Alive\` 1`] = `
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
||||
import * as Vue from 'vue';
|
||||
_createVNode(Vue.KeepAlive, null, [_createTextVNode(\\"123\\")]);"
|
||||
_createVNode(Vue.KeepAlive, null, [_createTextVNode("123")]);"
|
||||
`;
|
||||
|
||||
exports[`override props multiple > multiple 1`] = `
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from \\"vue\\";
|
||||
_createVNode(_resolveComponent(\\"A\\"), {
|
||||
\\"loading\\": true,
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from "vue";
|
||||
_createVNode(_resolveComponent("A"), {
|
||||
"loading": true,
|
||||
...a,
|
||||
b: 1,
|
||||
c: {
|
||||
d: 2
|
||||
},
|
||||
\\"class\\": \\"x\\",
|
||||
\\"style\\": x
|
||||
"class": "x",
|
||||
"style": x
|
||||
}, null);"
|
||||
`;
|
||||
|
||||
exports[`override props single > single 1`] = `
|
||||
"import { createVNode as _createVNode } from \\"vue\\";
|
||||
_createVNode(\\"div\\", a, null);"
|
||||
"import { createVNode as _createVNode } from "vue";
|
||||
_createVNode("div", a, null);"
|
||||
`;
|
||||
|
||||
exports[`passing object slots via JSX children multiple expressions > multiple expressions 1`] = `
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from \\"vue\\";
|
||||
_createVNode(_resolveComponent(\\"A\\"), null, {
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from "vue";
|
||||
_createVNode(_resolveComponent("A"), null, {
|
||||
default: () => [foo, bar],
|
||||
_: 1
|
||||
});"
|
||||
`;
|
||||
|
||||
exports[`passing object slots via JSX children single expression, function expression > single expression, function expression 1`] = `
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from \\"vue\\";
|
||||
_createVNode(_resolveComponent(\\"A\\"), null, {
|
||||
default: () => \\"foo\\"
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from "vue";
|
||||
_createVNode(_resolveComponent("A"), null, {
|
||||
default: () => "foo"
|
||||
});"
|
||||
`;
|
||||
|
||||
exports[`passing object slots via JSX children single expression, non-literal value: runtime check > single expression, non-literal value: runtime check 1`] = `
|
||||
"let _slot;
|
||||
import { createVNode as _createVNode, isVNode as _isVNode, resolveComponent as _resolveComponent } from \\"vue\\";
|
||||
import { createVNode as _createVNode, isVNode as _isVNode, resolveComponent as _resolveComponent } from "vue";
|
||||
function _isSlot(s) {
|
||||
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
||||
}
|
||||
const foo = () => 1;
|
||||
_createVNode(_resolveComponent(\\"A\\"), null, _isSlot(_slot = foo()) ? _slot : {
|
||||
_createVNode(_resolveComponent("A"), null, _isSlot(_slot = foo()) ? _slot : {
|
||||
default: () => [_slot],
|
||||
_: 1
|
||||
});"
|
||||
`;
|
||||
|
||||
exports[`reassign variable as component > reassign variable as component 1`] = `
|
||||
"import { isVNode as _isVNode, createVNode as _createVNode } from \\"vue\\";
|
||||
"import { isVNode as _isVNode, createVNode as _createVNode } from "vue";
|
||||
import { defineComponent } from 'vue';
|
||||
function _isSlot(s) {
|
||||
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
||||
@ -186,7 +186,7 @@ const A = defineComponent({
|
||||
setup(_, {
|
||||
slots
|
||||
}) {
|
||||
return () => _createVNode(\\"span\\", null, [slots.default()]);
|
||||
return () => _createVNode("span", null, [slots.default()]);
|
||||
}
|
||||
});
|
||||
const _a2 = 2;
|
||||
@ -201,144 +201,144 @@ a = _createVNode(A, null, _isSlot(a) ? a : {
|
||||
`;
|
||||
|
||||
exports[`select > select 1`] = `
|
||||
"import { withDirectives as _withDirectives, vModelSelect as _vModelSelect, createVNode as _createVNode, createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
_withDirectives(_createVNode(\\"select\\", {
|
||||
\\"onUpdate:modelValue\\": $event => test = $event
|
||||
}, [_createVNode(\\"option\\", {
|
||||
\\"value\\": \\"1\\"
|
||||
}, [_createTextVNode(\\"a\\")]), _createVNode(\\"option\\", {
|
||||
\\"value\\": 2
|
||||
}, [_createTextVNode(\\"b\\")]), _createVNode(\\"option\\", {
|
||||
\\"value\\": 3
|
||||
}, [_createTextVNode(\\"c\\")])], 8, [\\"onUpdate:modelValue\\"]), [[_vModelSelect, test]]);"
|
||||
"import { withDirectives as _withDirectives, vModelSelect as _vModelSelect, createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
||||
_withDirectives(_createVNode("select", {
|
||||
"onUpdate:modelValue": $event => test = $event
|
||||
}, [_createVNode("option", {
|
||||
"value": "1"
|
||||
}, [_createTextVNode("a")]), _createVNode("option", {
|
||||
"value": 2
|
||||
}, [_createTextVNode("b")]), _createVNode("option", {
|
||||
"value": 3
|
||||
}, [_createTextVNode("c")])], 8, ["onUpdate:modelValue"]), [[_vModelSelect, test]]);"
|
||||
`;
|
||||
|
||||
exports[`set pragma to custom > custom 1`] = `
|
||||
"import { createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
custom(\\"div\\", null, [_createTextVNode(\\"pragma\\")]);"
|
||||
"import { createTextVNode as _createTextVNode } from "vue";
|
||||
custom("div", null, [_createTextVNode("pragma")]);"
|
||||
`;
|
||||
|
||||
exports[`should keep \`import * as Vue from "vue"\` > should keep \`import * as Vue from "vue"\` 1`] = `
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
||||
import * as Vue from 'vue';
|
||||
_createVNode(\\"div\\", null, [_createTextVNode(\\"Vue\\")]);"
|
||||
_createVNode("div", null, [_createTextVNode("Vue")]);"
|
||||
`;
|
||||
|
||||
exports[`single no need for a mergeProps call > single no need for a mergeProps call 1`] = `
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
_createVNode(\\"div\\", x, [_createTextVNode(\\"single\\")], 16);"
|
||||
"import { createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
||||
_createVNode("div", x, [_createTextVNode("single")], 16);"
|
||||
`;
|
||||
|
||||
exports[`specifiers should be merged into a single importDeclaration > specifiers should be merged into a single importDeclaration 1`] = `
|
||||
"import { createVNode as _createVNode } from \\"vue\\";
|
||||
"import { createVNode as _createVNode } from "vue";
|
||||
import { createVNode, Fragment as _Fragment } from 'vue';
|
||||
import { vShow } from 'vue';
|
||||
_createVNode(_Fragment, null, null);"
|
||||
`;
|
||||
|
||||
exports[`textarea > textarea 1`] = `
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelText as _vModelText } from \\"vue\\";
|
||||
_withDirectives(_createVNode(\\"textarea\\", {
|
||||
\\"onUpdate:modelValue\\": $event => test = $event
|
||||
}, null, 8, [\\"onUpdate:modelValue\\"]), [[_vModelText, test]]);"
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vModelText as _vModelText } from "vue";
|
||||
_withDirectives(_createVNode("textarea", {
|
||||
"onUpdate:modelValue": $event => test = $event
|
||||
}, null, 8, ["onUpdate:modelValue"]), [[_vModelText, test]]);"
|
||||
`;
|
||||
|
||||
exports[`use "@jsx" comment specify pragma > use "@jsx" comment specify pragma 1`] = `
|
||||
"import { createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
"import { createTextVNode as _createTextVNode } from "vue";
|
||||
/* @jsx custom */
|
||||
custom(\\"div\\", {
|
||||
\\"id\\": \\"custom\\"
|
||||
}, [_createTextVNode(\\"Hello\\")]);"
|
||||
custom("div", {
|
||||
"id": "custom"
|
||||
}, [_createTextVNode("Hello")]);"
|
||||
`;
|
||||
|
||||
exports[`use "model" as the prop name > use "model" as the prop name 1`] = `
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from \\"vue\\";
|
||||
_createVNode(_resolveComponent(\\"C\\"), {
|
||||
\\"model\\": foo,
|
||||
\\"onUpdate:model\\": $event => foo = $event
|
||||
}, null, 8, [\\"model\\", \\"onUpdate:model\\"]);"
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from "vue";
|
||||
_createVNode(_resolveComponent("C"), {
|
||||
"model": foo,
|
||||
"onUpdate:model": $event => foo = $event
|
||||
}, null, 8, ["model", "onUpdate:model"]);"
|
||||
`;
|
||||
|
||||
exports[`using v-slots without children should not be spread > using v-slots without children should not be spread 1`] = `
|
||||
"import { createVNode as _createVNode, resolveDirective as _resolveDirective, resolveComponent as _resolveComponent } from \\"vue\\";
|
||||
_createVNode(_resolveComponent(\\"A\\"), null, slots);"
|
||||
"import { createVNode as _createVNode, resolveDirective as _resolveDirective, resolveComponent as _resolveComponent } from "vue";
|
||||
_createVNode(_resolveComponent("A"), null, slots);"
|
||||
`;
|
||||
|
||||
exports[`v-model target value support variable > v-model target value support variable 1`] = `
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent, Fragment as _Fragment } from \\"vue\\";
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent, Fragment as _Fragment } from "vue";
|
||||
const foo = 'foo';
|
||||
const a = () => 'a';
|
||||
const b = {
|
||||
c: 'c'
|
||||
};
|
||||
_createVNode(_Fragment, null, [_createVNode(_resolveComponent(\\"A\\"), {
|
||||
_createVNode(_Fragment, null, [_createVNode(_resolveComponent("A"), {
|
||||
[foo]: xx,
|
||||
[\\"onUpdate\\" + foo]: $event => xx = $event
|
||||
}, null, 16), _createVNode(_resolveComponent(\\"B\\"), {
|
||||
\\"modelValue\\": xx,
|
||||
\\"modelModifiers\\": {
|
||||
\\"a\\": true
|
||||
["onUpdate" + foo]: $event => xx = $event
|
||||
}, null, 16), _createVNode(_resolveComponent("B"), {
|
||||
"modelValue": xx,
|
||||
"modelModifiers": {
|
||||
"a": true
|
||||
},
|
||||
\\"onUpdate:modelValue\\": $event => xx = $event
|
||||
}, null, 8, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), _createVNode(_resolveComponent(\\"C\\"), {
|
||||
"onUpdate:modelValue": $event => xx = $event
|
||||
}, null, 8, ["modelValue", "onUpdate:modelValue"]), _createVNode(_resolveComponent("C"), {
|
||||
[foo]: xx,
|
||||
[foo + \\"Modifiers\\"]: {
|
||||
\\"a\\": true
|
||||
[foo + "Modifiers"]: {
|
||||
"a": true
|
||||
},
|
||||
[\\"onUpdate\\" + foo]: $event => xx = $event
|
||||
}, null, 16), _createVNode(_resolveComponent(\\"D\\"), {
|
||||
["onUpdate" + foo]: $event => xx = $event
|
||||
}, null, 16), _createVNode(_resolveComponent("D"), {
|
||||
[foo === 'foo' ? 'a' : 'b']: xx,
|
||||
[(foo === 'foo' ? 'a' : 'b') + \\"Modifiers\\"]: {
|
||||
\\"a\\": true
|
||||
[(foo === 'foo' ? 'a' : 'b') + "Modifiers"]: {
|
||||
"a": true
|
||||
},
|
||||
[\\"onUpdate\\" + (foo === 'foo' ? 'a' : 'b')]: $event => xx = $event
|
||||
}, null, 16), _createVNode(_resolveComponent(\\"E\\"), {
|
||||
["onUpdate" + (foo === 'foo' ? 'a' : 'b')]: $event => xx = $event
|
||||
}, null, 16), _createVNode(_resolveComponent("E"), {
|
||||
[a()]: xx,
|
||||
[a() + \\"Modifiers\\"]: {
|
||||
\\"a\\": true
|
||||
[a() + "Modifiers"]: {
|
||||
"a": true
|
||||
},
|
||||
[\\"onUpdate\\" + a()]: $event => xx = $event
|
||||
}, null, 16), _createVNode(_resolveComponent(\\"F\\"), {
|
||||
["onUpdate" + a()]: $event => xx = $event
|
||||
}, null, 16), _createVNode(_resolveComponent("F"), {
|
||||
[b.c]: xx,
|
||||
[b.c + \\"Modifiers\\"]: {
|
||||
\\"a\\": true
|
||||
[b.c + "Modifiers"]: {
|
||||
"a": true
|
||||
},
|
||||
[\\"onUpdate\\" + b.c]: $event => xx = $event
|
||||
["onUpdate" + b.c]: $event => xx = $event
|
||||
}, null, 16)]);"
|
||||
`;
|
||||
|
||||
exports[`v-show > v-show 1`] = `
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vShow as _vShow, createTextVNode as _createTextVNode } from \\"vue\\";
|
||||
_withDirectives(_createVNode(\\"div\\", null, [_createTextVNode(\\"vShow\\")], 512), [[_vShow, x]]);"
|
||||
"import { withDirectives as _withDirectives, createVNode as _createVNode, vShow as _vShow, createTextVNode as _createTextVNode } from "vue";
|
||||
_withDirectives(_createVNode("div", null, [_createTextVNode("vShow")], 512), [[_vShow, x]]);"
|
||||
`;
|
||||
|
||||
exports[`vHtml > vHtml 1`] = `
|
||||
"import { createVNode as _createVNode } from \\"vue\\";
|
||||
_createVNode(\\"h1\\", {
|
||||
\\"innerHTML\\": \\"<div>foo</div>\\"
|
||||
}, null, 8, [\\"innerHTML\\"]);"
|
||||
"import { createVNode as _createVNode } from "vue";
|
||||
_createVNode("h1", {
|
||||
"innerHTML": "<div>foo</div>"
|
||||
}, null, 8, ["innerHTML"]);"
|
||||
`;
|
||||
|
||||
exports[`vModels > vModels 1`] = `
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from \\"vue\\";
|
||||
_createVNode(_resolveComponent(\\"C\\"), {
|
||||
\\"modelValue\\": foo,
|
||||
\\"modelModifiers\\": {
|
||||
\\"modifier\\": true
|
||||
"import { createVNode as _createVNode, resolveComponent as _resolveComponent } from "vue";
|
||||
_createVNode(_resolveComponent("C"), {
|
||||
"modelValue": foo,
|
||||
"modelModifiers": {
|
||||
"modifier": true
|
||||
},
|
||||
\\"onUpdate:modelValue\\": $event => foo = $event,
|
||||
\\"bar\\": bar,
|
||||
\\"barModifiers\\": {
|
||||
\\"modifier1\\": true,
|
||||
\\"modifier2\\": true
|
||||
"onUpdate:modelValue": $event => foo = $event,
|
||||
"bar": bar,
|
||||
"barModifiers": {
|
||||
"modifier1": true,
|
||||
"modifier2": true
|
||||
},
|
||||
\\"onUpdate:bar\\": $event => bar = $event
|
||||
}, null, 8, [\\"modelValue\\", \\"onUpdate:modelValue\\", \\"bar\\", \\"onUpdate:bar\\"]);"
|
||||
"onUpdate:bar": $event => bar = $event
|
||||
}, null, 8, ["modelValue", "onUpdate:modelValue", "bar", "onUpdate:bar"]);"
|
||||
`;
|
||||
|
||||
exports[`vText > vText 1`] = `
|
||||
"import { createVNode as _createVNode } from \\"vue\\";
|
||||
_createVNode(\\"div\\", {
|
||||
\\"textContent\\": text
|
||||
}, null, 8, [\\"textContent\\"]);"
|
||||
"import { createVNode as _createVNode } from "vue";
|
||||
_createVNode("div", {
|
||||
"textContent": text
|
||||
}, null, 8, ["textContent"]);"
|
||||
`;
|
||||
|
231
pnpm-lock.yaml
231
pnpm-lock.yaml
@ -21,8 +21,8 @@ importers:
|
||||
specifier: ^6.18.1
|
||||
version: 6.18.1(@typescript-eslint/parser@6.9.0)(eslint@8.56.0)(typescript@5.3.3)
|
||||
'@vitest/coverage-v8':
|
||||
specifier: ^0.34.6
|
||||
version: 0.34.6(vitest@0.34.6)
|
||||
specifier: ^1.2.0
|
||||
version: 1.2.0(vitest@1.2.0)
|
||||
bumpp:
|
||||
specifier: ^9.2.1
|
||||
version: 9.2.1
|
||||
@ -51,8 +51,8 @@ importers:
|
||||
specifier: ^5.0.11
|
||||
version: 5.0.11(@types/node@20.11.0)
|
||||
vitest:
|
||||
specifier: ^0.34.6
|
||||
version: 0.34.6(jsdom@22.1.0)
|
||||
specifier: ^1.2.0
|
||||
version: 1.2.0(@types/node@20.11.0)(jsdom@22.1.0)
|
||||
|
||||
packages/babel-helper-vue-transform-on: {}
|
||||
|
||||
@ -1851,16 +1851,6 @@ packages:
|
||||
'@babel/types': 7.23.6
|
||||
dev: true
|
||||
|
||||
/@types/chai-subset@1.3.4:
|
||||
resolution: {integrity: sha512-CCWNXrJYSUIojZ1149ksLl3AN9cmZ5djf+yUoVVV+NuYrtydItQVlL2ZDqyC6M6O9LWRnVf8yYDxbXHO2TfQZg==}
|
||||
dependencies:
|
||||
'@types/chai': 4.3.9
|
||||
dev: true
|
||||
|
||||
/@types/chai@4.3.9:
|
||||
resolution: {integrity: sha512-69TtiDzu0bcmKQv3yg1Zx409/Kd7r0b5F1PfpYJfSHzLGtB53547V4u+9iqKYsTu/O2ai6KTb0TInNpvuQ3qmg==}
|
||||
dev: true
|
||||
|
||||
/@types/estree@1.0.3:
|
||||
resolution: {integrity: sha512-CS2rOaoQ/eAgAfcTfq6amKG7bsN+EMcgGY4FAFQdvSj2y1ixvOZTUA9mOtCai7E1SYu283XNw7urKK30nP3wkQ==}
|
||||
dev: true
|
||||
@ -2073,61 +2063,64 @@ packages:
|
||||
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
|
||||
dev: true
|
||||
|
||||
/@vitest/coverage-v8@0.34.6(vitest@0.34.6):
|
||||
resolution: {integrity: sha512-fivy/OK2d/EsJFoEoxHFEnNGTg+MmdZBAVK9Ka4qhXR2K3J0DS08vcGVwzDtXSuUMabLv4KtPcpSKkcMXFDViw==}
|
||||
/@vitest/coverage-v8@1.2.0(vitest@1.2.0):
|
||||
resolution: {integrity: sha512-YvX8ULTUm1+zkvkl14IqXYGxE1h13OXKPoDsxazARKlp4YLrP28hHEBdplaU7ZTN/Yn6zy6Z3JadWNRJwcmyrQ==}
|
||||
peerDependencies:
|
||||
vitest: '>=0.32.0 <1'
|
||||
vitest: ^1.0.0
|
||||
dependencies:
|
||||
'@ampproject/remapping': 2.2.1
|
||||
'@bcoe/v8-coverage': 0.2.3
|
||||
istanbul-lib-coverage: 3.2.0
|
||||
debug: 4.3.4
|
||||
istanbul-lib-coverage: 3.2.2
|
||||
istanbul-lib-report: 3.0.1
|
||||
istanbul-lib-source-maps: 4.0.1
|
||||
istanbul-reports: 3.1.6
|
||||
magic-string: 0.30.5
|
||||
magicast: 0.3.2
|
||||
picocolors: 1.0.0
|
||||
std-env: 3.4.3
|
||||
std-env: 3.7.0
|
||||
test-exclude: 6.0.0
|
||||
v8-to-istanbul: 9.1.3
|
||||
vitest: 0.34.6(jsdom@22.1.0)
|
||||
v8-to-istanbul: 9.2.0
|
||||
vitest: 1.2.0(@types/node@20.11.0)(jsdom@22.1.0)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@vitest/expect@0.34.6:
|
||||
resolution: {integrity: sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==}
|
||||
/@vitest/expect@1.2.0:
|
||||
resolution: {integrity: sha512-H+2bHzhyvgp32o7Pgj2h9RTHN0pgYaoi26Oo3mE+dCi1PAqV31kIIVfTbqMO3Bvshd5mIrJLc73EwSRrbol9Lw==}
|
||||
dependencies:
|
||||
'@vitest/spy': 0.34.6
|
||||
'@vitest/utils': 0.34.6
|
||||
'@vitest/spy': 1.2.0
|
||||
'@vitest/utils': 1.2.0
|
||||
chai: 4.3.10
|
||||
dev: true
|
||||
|
||||
/@vitest/runner@0.34.6:
|
||||
resolution: {integrity: sha512-1CUQgtJSLF47NnhN+F9X2ycxUP0kLHQ/JWvNHbeBfwW8CzEGgeskzNnHDyv1ieKTltuR6sdIHV+nmR6kPxQqzQ==}
|
||||
/@vitest/runner@1.2.0:
|
||||
resolution: {integrity: sha512-vaJkDoQaNUTroT70OhM0NPznP7H3WyRwt4LvGwCVYs/llLaqhoSLnlIhUClZpbF5RgAee29KRcNz0FEhYcgxqA==}
|
||||
dependencies:
|
||||
'@vitest/utils': 0.34.6
|
||||
p-limit: 4.0.0
|
||||
'@vitest/utils': 1.2.0
|
||||
p-limit: 5.0.0
|
||||
pathe: 1.1.1
|
||||
dev: true
|
||||
|
||||
/@vitest/snapshot@0.34.6:
|
||||
resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==}
|
||||
/@vitest/snapshot@1.2.0:
|
||||
resolution: {integrity: sha512-P33EE7TrVgB3HDLllrjK/GG6WSnmUtWohbwcQqmm7TAk9AVHpdgf7M3F3qRHKm6vhr7x3eGIln7VH052Smo6Kw==}
|
||||
dependencies:
|
||||
magic-string: 0.30.5
|
||||
pathe: 1.1.1
|
||||
pretty-format: 29.7.0
|
||||
dev: true
|
||||
|
||||
/@vitest/spy@0.34.6:
|
||||
resolution: {integrity: sha512-xaCvneSaeBw/cz8ySmF7ZwGvL0lBjfvqc1LpQ/vcdHEvpLn3Ff1vAvjw+CoGn0802l++5L/pxb7whwcWAw+DUQ==}
|
||||
/@vitest/spy@1.2.0:
|
||||
resolution: {integrity: sha512-MNxSAfxUaCeowqyyGwC293yZgk7cECZU9wGb8N1pYQ0yOn/SIr8t0l9XnGRdQZvNV/ZHBYu6GO/W3tj5K3VN1Q==}
|
||||
dependencies:
|
||||
tinyspy: 2.2.0
|
||||
dev: true
|
||||
|
||||
/@vitest/utils@0.34.6:
|
||||
resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==}
|
||||
/@vitest/utils@1.2.0:
|
||||
resolution: {integrity: sha512-FyD5bpugsXlwVpTcGLDf3wSPYy8g541fQt14qtzo8mJ4LdEpDKZ9mQy2+qdJm2TZRpjY5JLXihXCgIxiRJgi5g==}
|
||||
dependencies:
|
||||
diff-sequences: 29.6.3
|
||||
estree-walker: 3.0.3
|
||||
loupe: 2.3.7
|
||||
pretty-format: 29.7.0
|
||||
dev: true
|
||||
@ -2226,8 +2219,8 @@ packages:
|
||||
acorn: 8.11.2
|
||||
dev: true
|
||||
|
||||
/acorn-walk@8.3.0:
|
||||
resolution: {integrity: sha512-FS7hV565M5l1R08MXqo8odwMTB02C2UqzB17RVgu9EyuYFBqJZ3/ZY97sQD5FewVu1UyDFc1yztUDrAwT0EypA==}
|
||||
/acorn-walk@8.3.2:
|
||||
resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==}
|
||||
engines: {node: '>=0.4.0'}
|
||||
dev: true
|
||||
|
||||
@ -3312,6 +3305,12 @@ packages:
|
||||
/estree-walker@2.0.2:
|
||||
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
|
||||
|
||||
/estree-walker@3.0.3:
|
||||
resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}
|
||||
dependencies:
|
||||
'@types/estree': 1.0.5
|
||||
dev: true
|
||||
|
||||
/esutils@2.0.3:
|
||||
resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
@ -3344,6 +3343,21 @@ packages:
|
||||
strip-final-newline: 2.0.0
|
||||
dev: true
|
||||
|
||||
/execa@8.0.1:
|
||||
resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==}
|
||||
engines: {node: '>=16.17'}
|
||||
dependencies:
|
||||
cross-spawn: 7.0.3
|
||||
get-stream: 8.0.1
|
||||
human-signals: 5.0.0
|
||||
is-stream: 3.0.0
|
||||
merge-stream: 2.0.0
|
||||
npm-run-path: 5.2.0
|
||||
onetime: 6.0.0
|
||||
signal-exit: 4.1.0
|
||||
strip-final-newline: 3.0.0
|
||||
dev: true
|
||||
|
||||
/fast-deep-equal@3.1.3:
|
||||
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
|
||||
dev: true
|
||||
@ -3498,6 +3512,11 @@ packages:
|
||||
engines: {node: '>=10'}
|
||||
dev: true
|
||||
|
||||
/get-stream@8.0.1:
|
||||
resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==}
|
||||
engines: {node: '>=16'}
|
||||
dev: true
|
||||
|
||||
/get-symbol-description@1.0.0:
|
||||
resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==}
|
||||
engines: {node: '>= 0.4'}
|
||||
@ -3731,6 +3750,11 @@ packages:
|
||||
engines: {node: '>=10.17.0'}
|
||||
dev: true
|
||||
|
||||
/human-signals@5.0.0:
|
||||
resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==}
|
||||
engines: {node: '>=16.17.0'}
|
||||
dev: true
|
||||
|
||||
/iconv-lite@0.6.3:
|
||||
resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
@ -3911,6 +3935,11 @@ packages:
|
||||
engines: {node: '>=8'}
|
||||
dev: true
|
||||
|
||||
/is-stream@3.0.0:
|
||||
resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
dev: true
|
||||
|
||||
/is-string@1.0.7:
|
||||
resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}
|
||||
engines: {node: '>= 0.4'}
|
||||
@ -3951,8 +3980,8 @@ packages:
|
||||
engines: {node: '>=10'}
|
||||
dev: true
|
||||
|
||||
/istanbul-lib-coverage@3.2.0:
|
||||
resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==}
|
||||
/istanbul-lib-coverage@3.2.2:
|
||||
resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==}
|
||||
engines: {node: '>=8'}
|
||||
dev: true
|
||||
|
||||
@ -3960,7 +3989,7 @@ packages:
|
||||
resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==}
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
istanbul-lib-coverage: 3.2.0
|
||||
istanbul-lib-coverage: 3.2.2
|
||||
make-dir: 4.0.0
|
||||
supports-color: 7.2.0
|
||||
dev: true
|
||||
@ -3970,7 +3999,7 @@ packages:
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
debug: 4.3.4
|
||||
istanbul-lib-coverage: 3.2.0
|
||||
istanbul-lib-coverage: 3.2.2
|
||||
source-map: 0.6.1
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
@ -4124,9 +4153,12 @@ packages:
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
dev: true
|
||||
|
||||
/local-pkg@0.4.3:
|
||||
resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==}
|
||||
/local-pkg@0.5.0:
|
||||
resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==}
|
||||
engines: {node: '>=14'}
|
||||
dependencies:
|
||||
mlly: 1.4.2
|
||||
pkg-types: 1.0.3
|
||||
dev: true
|
||||
|
||||
/locate-path@6.0.0:
|
||||
@ -4172,6 +4204,14 @@ packages:
|
||||
dependencies:
|
||||
'@jridgewell/sourcemap-codec': 1.4.15
|
||||
|
||||
/magicast@0.3.2:
|
||||
resolution: {integrity: sha512-Fjwkl6a0syt9TFN0JSYpOybxiMCkYNEeOTnOTNRbjphirLakznZXAqrXgj/7GG3D1dvETONNwrBfinvAbpunDg==}
|
||||
dependencies:
|
||||
'@babel/parser': 7.23.6
|
||||
'@babel/types': 7.23.6
|
||||
source-map-js: 1.0.2
|
||||
dev: true
|
||||
|
||||
/make-dir@4.0.0:
|
||||
resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==}
|
||||
engines: {node: '>=10'}
|
||||
@ -4229,6 +4269,11 @@ packages:
|
||||
engines: {node: '>=6'}
|
||||
dev: true
|
||||
|
||||
/mimic-fn@4.0.0:
|
||||
resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==}
|
||||
engines: {node: '>=12'}
|
||||
dev: true
|
||||
|
||||
/minimalistic-assert@1.0.1:
|
||||
resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==}
|
||||
dev: true
|
||||
@ -4400,6 +4445,13 @@ packages:
|
||||
path-key: 3.1.1
|
||||
dev: true
|
||||
|
||||
/npm-run-path@5.2.0:
|
||||
resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
dependencies:
|
||||
path-key: 4.0.0
|
||||
dev: true
|
||||
|
||||
/nwsapi@2.2.7:
|
||||
resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==}
|
||||
dev: true
|
||||
@ -4480,6 +4532,13 @@ packages:
|
||||
mimic-fn: 2.1.0
|
||||
dev: true
|
||||
|
||||
/onetime@6.0.0:
|
||||
resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==}
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
mimic-fn: 4.0.0
|
||||
dev: true
|
||||
|
||||
/optionator@0.9.3:
|
||||
resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==}
|
||||
engines: {node: '>= 0.8.0'}
|
||||
@ -4503,9 +4562,9 @@ packages:
|
||||
yocto-queue: 0.1.0
|
||||
dev: true
|
||||
|
||||
/p-limit@4.0.0:
|
||||
resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
/p-limit@5.0.0:
|
||||
resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==}
|
||||
engines: {node: '>=18'}
|
||||
dependencies:
|
||||
yocto-queue: 1.0.0
|
||||
dev: true
|
||||
@ -4563,6 +4622,11 @@ packages:
|
||||
engines: {node: '>=8'}
|
||||
dev: true
|
||||
|
||||
/path-key@4.0.0:
|
||||
resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==}
|
||||
engines: {node: '>=12'}
|
||||
dev: true
|
||||
|
||||
/path-parse@1.0.7:
|
||||
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
|
||||
dev: true
|
||||
@ -4997,6 +5061,11 @@ packages:
|
||||
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
|
||||
dev: true
|
||||
|
||||
/signal-exit@4.1.0:
|
||||
resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
|
||||
engines: {node: '>=14'}
|
||||
dev: true
|
||||
|
||||
/sisteransi@1.0.5:
|
||||
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
|
||||
dev: true
|
||||
@ -5026,8 +5095,8 @@ packages:
|
||||
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
|
||||
dev: true
|
||||
|
||||
/std-env@3.4.3:
|
||||
resolution: {integrity: sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q==}
|
||||
/std-env@3.7.0:
|
||||
resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==}
|
||||
dev: true
|
||||
|
||||
/stream-browserify@3.0.0:
|
||||
@ -5099,6 +5168,11 @@ packages:
|
||||
engines: {node: '>=6'}
|
||||
dev: true
|
||||
|
||||
/strip-final-newline@3.0.0:
|
||||
resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==}
|
||||
engines: {node: '>=12'}
|
||||
dev: true
|
||||
|
||||
/strip-json-comments@3.1.1:
|
||||
resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
|
||||
engines: {node: '>=8'}
|
||||
@ -5199,8 +5273,8 @@ packages:
|
||||
resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==}
|
||||
dev: true
|
||||
|
||||
/tinypool@0.7.0:
|
||||
resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==}
|
||||
/tinypool@0.8.1:
|
||||
resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
dev: true
|
||||
|
||||
@ -5473,8 +5547,8 @@ packages:
|
||||
which-typed-array: 1.1.13
|
||||
dev: true
|
||||
|
||||
/v8-to-istanbul@9.1.3:
|
||||
resolution: {integrity: sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==}
|
||||
/v8-to-istanbul@9.2.0:
|
||||
resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==}
|
||||
engines: {node: '>=10.12.0'}
|
||||
dependencies:
|
||||
'@jridgewell/trace-mapping': 0.3.20
|
||||
@ -5482,14 +5556,13 @@ packages:
|
||||
convert-source-map: 2.0.0
|
||||
dev: true
|
||||
|
||||
/vite-node@0.34.6(@types/node@20.11.0):
|
||||
resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==}
|
||||
engines: {node: '>=v14.18.0'}
|
||||
/vite-node@1.2.0(@types/node@20.11.0):
|
||||
resolution: {integrity: sha512-ETnQTHeAbbOxl7/pyBck9oAPZZZo+kYnFt1uQDD+hPReOc+wCjXw4r4jHriBRuVDB5isHmPXxrfc1yJnfBERqg==}
|
||||
engines: {node: ^18.0.0 || >=20.0.0}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
cac: 6.7.14
|
||||
debug: 4.3.4
|
||||
mlly: 1.4.2
|
||||
pathe: 1.1.1
|
||||
picocolors: 1.0.0
|
||||
vite: 5.0.11(@types/node@20.11.0)
|
||||
@ -5552,22 +5625,22 @@ packages:
|
||||
fsevents: 2.3.3
|
||||
dev: true
|
||||
|
||||
/vitest@0.34.6(jsdom@22.1.0):
|
||||
resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==}
|
||||
engines: {node: '>=v14.18.0'}
|
||||
/vitest@1.2.0(@types/node@20.11.0)(jsdom@22.1.0):
|
||||
resolution: {integrity: sha512-Ixs5m7BjqvLHXcibkzKRQUvD/XLw0E3rvqaCMlrm/0LMsA0309ZqYvTlPzkhh81VlEyVZXFlwWnkhb6/UMtcaQ==}
|
||||
engines: {node: ^18.0.0 || >=20.0.0}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
'@edge-runtime/vm': '*'
|
||||
'@vitest/browser': '*'
|
||||
'@vitest/ui': '*'
|
||||
'@types/node': ^18.0.0 || >=20.0.0
|
||||
'@vitest/browser': ^1.0.0
|
||||
'@vitest/ui': ^1.0.0
|
||||
happy-dom: '*'
|
||||
jsdom: '*'
|
||||
playwright: '*'
|
||||
safaridriver: '*'
|
||||
webdriverio: '*'
|
||||
peerDependenciesMeta:
|
||||
'@edge-runtime/vm':
|
||||
optional: true
|
||||
'@types/node':
|
||||
optional: true
|
||||
'@vitest/browser':
|
||||
optional: true
|
||||
'@vitest/ui':
|
||||
@ -5576,37 +5649,29 @@ packages:
|
||||
optional: true
|
||||
jsdom:
|
||||
optional: true
|
||||
playwright:
|
||||
optional: true
|
||||
safaridriver:
|
||||
optional: true
|
||||
webdriverio:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@types/chai': 4.3.9
|
||||
'@types/chai-subset': 1.3.4
|
||||
'@types/node': 20.11.0
|
||||
'@vitest/expect': 0.34.6
|
||||
'@vitest/runner': 0.34.6
|
||||
'@vitest/snapshot': 0.34.6
|
||||
'@vitest/spy': 0.34.6
|
||||
'@vitest/utils': 0.34.6
|
||||
acorn: 8.11.2
|
||||
acorn-walk: 8.3.0
|
||||
'@vitest/expect': 1.2.0
|
||||
'@vitest/runner': 1.2.0
|
||||
'@vitest/snapshot': 1.2.0
|
||||
'@vitest/spy': 1.2.0
|
||||
'@vitest/utils': 1.2.0
|
||||
acorn-walk: 8.3.2
|
||||
cac: 6.7.14
|
||||
chai: 4.3.10
|
||||
debug: 4.3.4
|
||||
execa: 8.0.1
|
||||
jsdom: 22.1.0
|
||||
local-pkg: 0.4.3
|
||||
local-pkg: 0.5.0
|
||||
magic-string: 0.30.5
|
||||
pathe: 1.1.1
|
||||
picocolors: 1.0.0
|
||||
std-env: 3.4.3
|
||||
std-env: 3.7.0
|
||||
strip-literal: 1.3.0
|
||||
tinybench: 2.5.1
|
||||
tinypool: 0.7.0
|
||||
tinypool: 0.8.1
|
||||
vite: 5.0.11(@types/node@20.11.0)
|
||||
vite-node: 0.34.6(@types/node@20.11.0)
|
||||
vite-node: 1.2.0(@types/node@20.11.0)
|
||||
why-is-node-running: 2.2.2
|
||||
transitivePeerDependencies:
|
||||
- less
|
||||
|
Loading…
Reference in New Issue
Block a user