unplugin-vue-components 0.27.1 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WH3OXX67.js → chunk-DLVGSKLE.js} +2 -2
- package/dist/{chunk-5JVO2UWC.js → chunk-HMX3D6IV.js} +1 -2
- package/dist/{chunk-MB5VKJR2.cjs → chunk-JWQK2ERM.cjs} +8 -8
- package/dist/{chunk-WJIU4Q36.cjs → chunk-W4CCXOOA.cjs} +1 -2
- package/dist/esbuild.cjs +3 -3
- package/dist/esbuild.js +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/dist/nuxt.cjs +4 -4
- package/dist/nuxt.js +2 -2
- package/dist/resolvers.cjs +9 -10
- package/dist/resolvers.js +2 -3
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.js +2 -2
- package/dist/{src-WIQNDB4Q.js → src-RBAWKBDF.js} +7 -13
- package/dist/{src-SFFAR3KJ.cjs → src-ZMUOH6GK.cjs} +7 -13
- package/dist/vite.cjs +3 -3
- package/dist/vite.js +2 -2
- package/dist/webpack.cjs +3 -3
- package/dist/webpack.js +2 -2
- package/package.json +18 -18
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
__spreadProps,
|
|
16
16
|
__spreadValues
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HMX3D6IV.js";
|
|
18
18
|
|
|
19
19
|
// src/core/unplugin.ts
|
|
20
20
|
import { existsSync as existsSync2 } from "fs";
|
|
@@ -334,7 +334,7 @@ async function resolveVue22(code, s) {
|
|
|
334
334
|
sourceType: "module"
|
|
335
335
|
});
|
|
336
336
|
const nodes = [];
|
|
337
|
-
const { walk } = await import("./src-
|
|
337
|
+
const { walk } = await import("./src-RBAWKBDF.js");
|
|
338
338
|
walk(program, {
|
|
339
339
|
enter(node) {
|
|
340
340
|
if (node.type === "CallExpression")
|
|
@@ -20,8 +20,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20
20
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
21
21
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
22
22
|
}) : x)(function(x) {
|
|
23
|
-
if (typeof require !== "undefined")
|
|
24
|
-
return require.apply(this, arguments);
|
|
23
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
25
24
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
26
25
|
});
|
|
27
26
|
|
|
@@ -14,7 +14,7 @@ var _chunkVPUTCXXPcjs = require('./chunk-VPUTCXXP.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkW4CCXOOAcjs = require('./chunk-W4CCXOOA.cjs');
|
|
18
18
|
|
|
19
19
|
// src/core/unplugin.ts
|
|
20
20
|
var _fs = require('fs');
|
|
@@ -190,7 +190,7 @@ function stringifyComponentsInfo(filepath, components, importPathTransform) {
|
|
|
190
190
|
}
|
|
191
191
|
function getDeclarationImports(ctx, filepath) {
|
|
192
192
|
const component = stringifyComponentsInfo(filepath, [
|
|
193
|
-
...Object.values(
|
|
193
|
+
...Object.values(_chunkW4CCXOOAcjs.__spreadValues.call(void 0, _chunkW4CCXOOAcjs.__spreadValues.call(void 0, {}, ctx.componentNameMap), ctx.componentCustomMap)),
|
|
194
194
|
...resolveTypeImports(ctx.options.types)
|
|
195
195
|
], ctx.options.importPathTransform);
|
|
196
196
|
const directive = stringifyComponentsInfo(
|
|
@@ -214,8 +214,8 @@ function getDeclaration(ctx, filepath, originalImports) {
|
|
|
214
214
|
if (!imports)
|
|
215
215
|
return;
|
|
216
216
|
const declarations = {
|
|
217
|
-
component: stringifyDeclarationImports(
|
|
218
|
-
directive: stringifyDeclarationImports(
|
|
217
|
+
component: stringifyDeclarationImports(_chunkW4CCXOOAcjs.__spreadValues.call(void 0, _chunkW4CCXOOAcjs.__spreadValues.call(void 0, {}, originalImports == null ? void 0 : originalImports.component), imports.component)),
|
|
218
|
+
directive: stringifyDeclarationImports(_chunkW4CCXOOAcjs.__spreadValues.call(void 0, _chunkW4CCXOOAcjs.__spreadValues.call(void 0, {}, originalImports == null ? void 0 : originalImports.directive), imports.directive))
|
|
219
219
|
};
|
|
220
220
|
let code = `/* eslint-disable */
|
|
221
221
|
// @ts-nocheck
|
|
@@ -301,7 +301,7 @@ async function transformComponent(code, transformer2, s, ctx, sfcPath) {
|
|
|
301
301
|
const component = await ctx.findComponent(name, "component", [sfcPath]);
|
|
302
302
|
if (component) {
|
|
303
303
|
const varName = `__unplugin_components_${no}`;
|
|
304
|
-
s.prepend(`${_chunkVPUTCXXPcjs.stringifyComponentImport.call(void 0,
|
|
304
|
+
s.prepend(`${_chunkVPUTCXXPcjs.stringifyComponentImport.call(void 0, _chunkW4CCXOOAcjs.__spreadProps.call(void 0, _chunkW4CCXOOAcjs.__spreadValues.call(void 0, {}, component), { as: varName }), ctx)};
|
|
305
305
|
`);
|
|
306
306
|
no += 1;
|
|
307
307
|
replace(varName);
|
|
@@ -334,7 +334,7 @@ async function resolveVue22(code, s) {
|
|
|
334
334
|
sourceType: "module"
|
|
335
335
|
});
|
|
336
336
|
const nodes = [];
|
|
337
|
-
const { walk } = await Promise.resolve().then(() => require("./src-
|
|
337
|
+
const { walk } = await Promise.resolve().then(() => require("./src-ZMUOH6GK.cjs"));
|
|
338
338
|
walk(program, {
|
|
339
339
|
enter(node) {
|
|
340
340
|
if (node.type === "CallExpression")
|
|
@@ -412,7 +412,7 @@ async function transformDirective(code, transformer2, s, ctx, sfcPath) {
|
|
|
412
412
|
if (!directive)
|
|
413
413
|
continue;
|
|
414
414
|
const varName = `__unplugin_directives_${no}`;
|
|
415
|
-
s.prepend(`${_chunkVPUTCXXPcjs.stringifyComponentImport.call(void 0,
|
|
415
|
+
s.prepend(`${_chunkVPUTCXXPcjs.stringifyComponentImport.call(void 0, _chunkW4CCXOOAcjs.__spreadProps.call(void 0, _chunkW4CCXOOAcjs.__spreadValues.call(void 0, {}, directive), { as: varName }), ctx)};
|
|
416
416
|
`);
|
|
417
417
|
no += 1;
|
|
418
418
|
replace(varName);
|
|
@@ -616,7 +616,7 @@ var Context = class {
|
|
|
616
616
|
from: result
|
|
617
617
|
};
|
|
618
618
|
} else {
|
|
619
|
-
info =
|
|
619
|
+
info = _chunkW4CCXOOAcjs.__spreadValues.call(void 0, {
|
|
620
620
|
as: name
|
|
621
621
|
}, _chunkVPUTCXXPcjs.normalizeComponentInfo.call(void 0, result));
|
|
622
622
|
}
|
|
@@ -20,8 +20,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20
20
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
21
21
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
22
22
|
}) : x)(function(x) {
|
|
23
|
-
if (typeof require !== "undefined")
|
|
24
|
-
return require.apply(this, arguments);
|
|
23
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
25
24
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
26
25
|
});
|
|
27
26
|
|
package/dist/esbuild.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJWQK2ERMcjs = require('./chunk-JWQK2ERM.cjs');
|
|
4
4
|
require('./chunk-VPUTCXXP.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-W4CCXOOA.cjs');
|
|
6
6
|
require('./chunk-ZBPRDZS4.cjs');
|
|
7
7
|
|
|
8
8
|
// src/esbuild.ts
|
|
9
|
-
var esbuild_default =
|
|
9
|
+
var esbuild_default = _chunkJWQK2ERMcjs.unplugin_default.esbuild;
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
exports.default = esbuild_default;
|
package/dist/esbuild.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJWQK2ERMcjs = require('./chunk-JWQK2ERM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkVPUTCXXPcjs = require('./chunk-VPUTCXXP.cjs');
|
|
9
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-W4CCXOOA.cjs');
|
|
10
10
|
require('./chunk-ZBPRDZS4.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.camelCase = _chunkVPUTCXXPcjs.camelCase; exports.default =
|
|
16
|
+
exports.camelCase = _chunkVPUTCXXPcjs.camelCase; exports.default = _chunkJWQK2ERMcjs.unplugin_default; exports.kebabCase = _chunkVPUTCXXPcjs.kebabCase; exports.pascalCase = _chunkVPUTCXXPcjs.pascalCase;
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
unplugin_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DLVGSKLE.js";
|
|
4
4
|
import {
|
|
5
5
|
camelCase,
|
|
6
6
|
kebabCase,
|
|
7
7
|
pascalCase
|
|
8
8
|
} from "./chunk-5LSX6IQN.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-HMX3D6IV.js";
|
|
10
10
|
import "./chunk-6F4PWJZI.js";
|
|
11
11
|
export {
|
|
12
12
|
camelCase,
|
package/dist/nuxt.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJWQK2ERMcjs = require('./chunk-JWQK2ERM.cjs');
|
|
4
4
|
require('./chunk-VPUTCXXP.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-W4CCXOOA.cjs');
|
|
6
6
|
require('./chunk-ZBPRDZS4.cjs');
|
|
7
7
|
|
|
8
8
|
// src/nuxt.ts
|
|
9
9
|
var _kit = require('@nuxt/kit');
|
|
10
10
|
var nuxt_default = _kit.defineNuxtModule.call(void 0, {
|
|
11
11
|
setup(options) {
|
|
12
|
-
_kit.addWebpackPlugin.call(void 0,
|
|
13
|
-
_kit.addVitePlugin.call(void 0,
|
|
12
|
+
_kit.addWebpackPlugin.call(void 0, _chunkJWQK2ERMcjs.unplugin_default.webpack(options));
|
|
13
|
+
_kit.addVitePlugin.call(void 0, _chunkJWQK2ERMcjs.unplugin_default.vite(options));
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
|
package/dist/nuxt.js
CHANGED
package/dist/resolvers.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var _chunkVPUTCXXPcjs = require('./chunk-VPUTCXXP.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkW4CCXOOAcjs = require('./chunk-W4CCXOOA.cjs');
|
|
13
13
|
|
|
14
14
|
// src/core/resolvers/antdv.ts
|
|
15
15
|
var matchComponents = [
|
|
@@ -447,7 +447,7 @@ function ElementPlusResolver(options = {}) {
|
|
|
447
447
|
async function resolveOptions() {
|
|
448
448
|
if (optionsResolved)
|
|
449
449
|
return optionsResolved;
|
|
450
|
-
optionsResolved =
|
|
450
|
+
optionsResolved = _chunkW4CCXOOAcjs.__spreadValues.call(void 0, {
|
|
451
451
|
ssr: false,
|
|
452
452
|
version: await _chunkVPUTCXXPcjs.getPkgVersion.call(void 0, "element-plus", "2.2.2"),
|
|
453
453
|
importStyle: "css",
|
|
@@ -464,9 +464,8 @@ function ElementPlusResolver(options = {}) {
|
|
|
464
464
|
resolve: async (name) => {
|
|
465
465
|
const options2 = await resolveOptions();
|
|
466
466
|
if ([...options2.noStylesComponents, ...noStylesComponents].includes(name))
|
|
467
|
-
return resolveComponent(name,
|
|
468
|
-
else
|
|
469
|
-
return resolveComponent(name, options2);
|
|
467
|
+
return resolveComponent(name, _chunkW4CCXOOAcjs.__spreadProps.call(void 0, _chunkW4CCXOOAcjs.__spreadValues.call(void 0, {}, options2), { importStyle: false }));
|
|
468
|
+
else return resolveComponent(name, options2);
|
|
470
469
|
}
|
|
471
470
|
},
|
|
472
471
|
{
|
|
@@ -915,7 +914,7 @@ function VeuiResolver(options = {}) {
|
|
|
915
914
|
const { alias = VEUI_PACKAGE_NAME } = options;
|
|
916
915
|
if (!components3) {
|
|
917
916
|
try {
|
|
918
|
-
const componentsData =
|
|
917
|
+
const componentsData = _chunkW4CCXOOAcjs.__require.call(void 0, `${alias}/components.json`);
|
|
919
918
|
components3 = new Set(componentsData.map(({ name }) => name));
|
|
920
919
|
} catch (e) {
|
|
921
920
|
throw new Error("[unplugin-vue-components:veui] VEUI is not installed");
|
|
@@ -1169,7 +1168,7 @@ function directivesResolver(name, { ssr }) {
|
|
|
1169
1168
|
};
|
|
1170
1169
|
}
|
|
1171
1170
|
function DevUiResolver(options = {}) {
|
|
1172
|
-
const config =
|
|
1171
|
+
const config = _chunkW4CCXOOAcjs.__spreadValues.call(void 0, { directives: true, importStyle: true, ssr: false }, options);
|
|
1173
1172
|
const resolvers = [
|
|
1174
1173
|
{
|
|
1175
1174
|
type: "component",
|
|
@@ -1606,7 +1605,7 @@ var COMPONENT_ALIASES = {
|
|
|
1606
1605
|
BTimepicker: "BFormTimepicker"
|
|
1607
1606
|
};
|
|
1608
1607
|
function BootstrapVueResolver(_options = {}) {
|
|
1609
|
-
const options =
|
|
1608
|
+
const options = _chunkW4CCXOOAcjs.__spreadValues.call(void 0, { directives: true }, _options);
|
|
1610
1609
|
const resolvers = [{
|
|
1611
1610
|
type: "component",
|
|
1612
1611
|
resolve: (name) => {
|
|
@@ -1634,7 +1633,7 @@ function BootstrapVueResolver(_options = {}) {
|
|
|
1634
1633
|
return resolvers;
|
|
1635
1634
|
}
|
|
1636
1635
|
function BootstrapVueNextResolver(_options = {}) {
|
|
1637
|
-
const options =
|
|
1636
|
+
const options = _chunkW4CCXOOAcjs.__spreadValues.call(void 0, { directives: true }, _options);
|
|
1638
1637
|
const resolvers = [{
|
|
1639
1638
|
type: "component",
|
|
1640
1639
|
resolve: (name) => {
|
|
@@ -1654,7 +1653,7 @@ function BootstrapVueNextResolver(_options = {}) {
|
|
|
1654
1653
|
return resolvers;
|
|
1655
1654
|
}
|
|
1656
1655
|
function BootstrapVue3Resolver(_options = {}) {
|
|
1657
|
-
const options =
|
|
1656
|
+
const options = _chunkW4CCXOOAcjs.__spreadValues.call(void 0, { directives: true }, _options);
|
|
1658
1657
|
const resolvers = [{
|
|
1659
1658
|
type: "component",
|
|
1660
1659
|
resolve: (name) => {
|
package/dist/resolvers.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
__require,
|
|
10
10
|
__spreadProps,
|
|
11
11
|
__spreadValues
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HMX3D6IV.js";
|
|
13
13
|
|
|
14
14
|
// src/core/resolvers/antdv.ts
|
|
15
15
|
var matchComponents = [
|
|
@@ -465,8 +465,7 @@ function ElementPlusResolver(options = {}) {
|
|
|
465
465
|
const options2 = await resolveOptions();
|
|
466
466
|
if ([...options2.noStylesComponents, ...noStylesComponents].includes(name))
|
|
467
467
|
return resolveComponent(name, __spreadProps(__spreadValues({}, options2), { importStyle: false }));
|
|
468
|
-
else
|
|
469
|
-
return resolveComponent(name, options2);
|
|
468
|
+
else return resolveComponent(name, options2);
|
|
470
469
|
}
|
|
471
470
|
},
|
|
472
471
|
{
|
package/dist/rollup.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJWQK2ERMcjs = require('./chunk-JWQK2ERM.cjs');
|
|
4
4
|
require('./chunk-VPUTCXXP.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-W4CCXOOA.cjs');
|
|
6
6
|
require('./chunk-ZBPRDZS4.cjs');
|
|
7
7
|
|
|
8
8
|
// src/rollup.ts
|
|
9
|
-
var rollup_default =
|
|
9
|
+
var rollup_default = _chunkJWQK2ERMcjs.unplugin_default.rollup;
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
exports.default = rollup_default;
|
package/dist/rollup.js
CHANGED
package/dist/rspack.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJWQK2ERMcjs = require('./chunk-JWQK2ERM.cjs');
|
|
4
4
|
require('./chunk-VPUTCXXP.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-W4CCXOOA.cjs');
|
|
6
6
|
require('./chunk-ZBPRDZS4.cjs');
|
|
7
7
|
|
|
8
8
|
// src/rspack.ts
|
|
9
|
-
var rspack_default =
|
|
9
|
+
var rspack_default = _chunkJWQK2ERMcjs.unplugin_default.rspack;
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
exports.default = rspack_default;
|
package/dist/rspack.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-HMX3D6IV.js";
|
|
2
2
|
|
|
3
3
|
// node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/walker.js
|
|
4
4
|
var WalkerBase = class {
|
|
@@ -95,10 +95,8 @@ var SyncWalker = class extends WalkerBase {
|
|
|
95
95
|
this.should_skip = _should_skip;
|
|
96
96
|
this.should_remove = _should_remove;
|
|
97
97
|
this.replacement = _replacement;
|
|
98
|
-
if (skipped)
|
|
99
|
-
|
|
100
|
-
if (removed)
|
|
101
|
-
return null;
|
|
98
|
+
if (skipped) return node;
|
|
99
|
+
if (removed) return null;
|
|
102
100
|
}
|
|
103
101
|
let key;
|
|
104
102
|
for (key in node) {
|
|
@@ -138,8 +136,7 @@ var SyncWalker = class extends WalkerBase {
|
|
|
138
136
|
const removed = this.should_remove;
|
|
139
137
|
this.replacement = _replacement;
|
|
140
138
|
this.should_remove = _should_remove;
|
|
141
|
-
if (removed)
|
|
142
|
-
return null;
|
|
139
|
+
if (removed) return null;
|
|
143
140
|
}
|
|
144
141
|
}
|
|
145
142
|
return node;
|
|
@@ -199,10 +196,8 @@ var AsyncWalker = class extends WalkerBase {
|
|
|
199
196
|
this.should_skip = _should_skip;
|
|
200
197
|
this.should_remove = _should_remove;
|
|
201
198
|
this.replacement = _replacement;
|
|
202
|
-
if (skipped)
|
|
203
|
-
|
|
204
|
-
if (removed)
|
|
205
|
-
return null;
|
|
199
|
+
if (skipped) return node;
|
|
200
|
+
if (removed) return null;
|
|
206
201
|
}
|
|
207
202
|
let key;
|
|
208
203
|
for (key in node) {
|
|
@@ -242,8 +237,7 @@ var AsyncWalker = class extends WalkerBase {
|
|
|
242
237
|
const removed = this.should_remove;
|
|
243
238
|
this.replacement = _replacement;
|
|
244
239
|
this.should_remove = _should_remove;
|
|
245
|
-
if (removed)
|
|
246
|
-
return null;
|
|
240
|
+
if (removed) return null;
|
|
247
241
|
}
|
|
248
242
|
}
|
|
249
243
|
return node;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-W4CCXOOA.cjs');
|
|
2
2
|
|
|
3
3
|
// node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/walker.js
|
|
4
4
|
var WalkerBase = class {
|
|
@@ -95,10 +95,8 @@ var SyncWalker = class extends WalkerBase {
|
|
|
95
95
|
this.should_skip = _should_skip;
|
|
96
96
|
this.should_remove = _should_remove;
|
|
97
97
|
this.replacement = _replacement;
|
|
98
|
-
if (skipped)
|
|
99
|
-
|
|
100
|
-
if (removed)
|
|
101
|
-
return null;
|
|
98
|
+
if (skipped) return node;
|
|
99
|
+
if (removed) return null;
|
|
102
100
|
}
|
|
103
101
|
let key;
|
|
104
102
|
for (key in node) {
|
|
@@ -138,8 +136,7 @@ var SyncWalker = class extends WalkerBase {
|
|
|
138
136
|
const removed = this.should_remove;
|
|
139
137
|
this.replacement = _replacement;
|
|
140
138
|
this.should_remove = _should_remove;
|
|
141
|
-
if (removed)
|
|
142
|
-
return null;
|
|
139
|
+
if (removed) return null;
|
|
143
140
|
}
|
|
144
141
|
}
|
|
145
142
|
return node;
|
|
@@ -199,10 +196,8 @@ var AsyncWalker = class extends WalkerBase {
|
|
|
199
196
|
this.should_skip = _should_skip;
|
|
200
197
|
this.should_remove = _should_remove;
|
|
201
198
|
this.replacement = _replacement;
|
|
202
|
-
if (skipped)
|
|
203
|
-
|
|
204
|
-
if (removed)
|
|
205
|
-
return null;
|
|
199
|
+
if (skipped) return node;
|
|
200
|
+
if (removed) return null;
|
|
206
201
|
}
|
|
207
202
|
let key;
|
|
208
203
|
for (key in node) {
|
|
@@ -242,8 +237,7 @@ var AsyncWalker = class extends WalkerBase {
|
|
|
242
237
|
const removed = this.should_remove;
|
|
243
238
|
this.replacement = _replacement;
|
|
244
239
|
this.should_remove = _should_remove;
|
|
245
|
-
if (removed)
|
|
246
|
-
return null;
|
|
240
|
+
if (removed) return null;
|
|
247
241
|
}
|
|
248
242
|
}
|
|
249
243
|
return node;
|
package/dist/vite.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJWQK2ERMcjs = require('./chunk-JWQK2ERM.cjs');
|
|
4
4
|
require('./chunk-VPUTCXXP.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-W4CCXOOA.cjs');
|
|
6
6
|
require('./chunk-ZBPRDZS4.cjs');
|
|
7
7
|
|
|
8
8
|
// src/vite.ts
|
|
9
|
-
var vite_default =
|
|
9
|
+
var vite_default = _chunkJWQK2ERMcjs.unplugin_default.vite;
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
exports.default = vite_default;
|
package/dist/vite.js
CHANGED
package/dist/webpack.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJWQK2ERMcjs = require('./chunk-JWQK2ERM.cjs');
|
|
4
4
|
require('./chunk-VPUTCXXP.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-W4CCXOOA.cjs');
|
|
6
6
|
require('./chunk-ZBPRDZS4.cjs');
|
|
7
7
|
|
|
8
8
|
// src/webpack.ts
|
|
9
|
-
var webpack_default =
|
|
9
|
+
var webpack_default = _chunkJWQK2ERMcjs.unplugin_default.webpack;
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
exports.default = webpack_default;
|
package/dist/webpack.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-vue-components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.27.
|
|
5
|
-
"packageManager": "pnpm@9.0
|
|
4
|
+
"version": "0.27.2",
|
|
5
|
+
"packageManager": "pnpm@9.4.0",
|
|
6
6
|
"description": "Components auto importing for Vue",
|
|
7
7
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -93,38 +93,38 @@
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@antfu/utils": "^0.7.
|
|
96
|
+
"@antfu/utils": "^0.7.10",
|
|
97
97
|
"@rollup/pluginutils": "^5.1.0",
|
|
98
98
|
"chokidar": "^3.6.0",
|
|
99
|
-
"debug": "^4.3.
|
|
99
|
+
"debug": "^4.3.5",
|
|
100
100
|
"fast-glob": "^3.3.2",
|
|
101
101
|
"local-pkg": "^0.5.0",
|
|
102
102
|
"magic-string": "^0.30.10",
|
|
103
|
-
"minimatch": "^9.0.
|
|
103
|
+
"minimatch": "^9.0.5",
|
|
104
104
|
"mlly": "^1.7.1",
|
|
105
105
|
"unplugin": "^1.10.1"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@antfu/eslint-config": "^2.
|
|
109
|
-
"@babel/parser": "^7.24.
|
|
110
|
-
"@babel/types": "^7.24.
|
|
111
|
-
"@nuxt/kit": "^3.
|
|
108
|
+
"@antfu/eslint-config": "^2.21.1",
|
|
109
|
+
"@babel/parser": "^7.24.7",
|
|
110
|
+
"@babel/types": "^7.24.7",
|
|
111
|
+
"@nuxt/kit": "^3.12.2",
|
|
112
112
|
"@types/debug": "^4.1.12",
|
|
113
113
|
"@types/minimatch": "^5.1.2",
|
|
114
|
-
"@types/node": "^20.
|
|
114
|
+
"@types/node": "^20.14.9",
|
|
115
115
|
"bumpp": "^9.4.1",
|
|
116
116
|
"compare-versions": "^6.1.0",
|
|
117
|
-
"element-plus": "^2.7.
|
|
118
|
-
"eslint": "^9.
|
|
119
|
-
"eslint-plugin-format": "^0.1.
|
|
117
|
+
"element-plus": "^2.7.6",
|
|
118
|
+
"eslint": "^9.5.0",
|
|
119
|
+
"eslint-plugin-format": "^0.1.2",
|
|
120
120
|
"esno": "^4.7.0",
|
|
121
121
|
"estree-walker": "^3.0.3",
|
|
122
122
|
"pathe": "^1.1.2",
|
|
123
|
-
"rollup": "^4.
|
|
124
|
-
"tsup": "^8.0
|
|
125
|
-
"typescript": "^5.
|
|
126
|
-
"vite": "^5.
|
|
127
|
-
"vitest": "^1.
|
|
123
|
+
"rollup": "^4.18.0",
|
|
124
|
+
"tsup": "^8.1.0",
|
|
125
|
+
"typescript": "^5.5.2",
|
|
126
|
+
"vite": "^5.3.1",
|
|
127
|
+
"vitest": "^1.6.0",
|
|
128
128
|
"vue": "3.2.45"
|
|
129
129
|
}
|
|
130
130
|
}
|