Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-components

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-components - npm Package Compare versions

Comparing version 0.13.0 to 0.13.2

10

dist/index.js

@@ -476,3 +476,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __create = Object.create;

(0, import_utils2.toArray)(sideEffects).forEach((i) => imports.push(stringifyImport(i)));
return imports.join("\n");
return imports.join(";");
}

@@ -791,4 +791,3 @@ function resolveOptions(options, viteConfig) {

ctx.updateUsageMap(sfcPath, componentPaths);
s.prepend(`${head.join("\n")}
`);
s.prepend(`${head.join(";")};`);
const result = { code: s.toString() };

@@ -835,4 +834,3 @@ if (ctx.viteConfig.build.sourcemap)

ctx.updateUsageMap(sfcPath, componentPaths);
s.prepend(`${head.join("\n")}
`);
s.prepend(`${head.join(";")};`);
const result = { code: s.toString() };

@@ -1278,3 +1276,3 @@ if (ctx.viteConfig.build.sourcemap)

];
if (/^Table/.test(componentName))
if (/^Table|^Slider|^Tab/.test(componentName))
sideEffects.push("element-resize-detector");

@@ -1281,0 +1279,0 @@ if (/^Date/.test(componentName))

2

package.json
{
"name": "vite-plugin-components",
"version": "0.13.0",
"version": "0.13.2",
"description": "Components auto importing for Vite",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/antfu/vite-plugin-components",

@@ -141,2 +141,4 @@ <h2 align='center'><samp>vite-plugin-components</samp></h2>

- [VueUse Components](https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/vueuse.ts)
- [View UI](https://github.com/antfu/vite-plugin-components/blob/main/src/resolvers/view-ui.ts)
- [Element UI](https://github.com/antfu/vite-plugin-components/blob/main/src/resolvers/element-ui.ts)

@@ -143,0 +145,0 @@ ```ts

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc