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.5.1 to 0.5.2

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.5.2](https://github.com/antfu/vite-plugin-components/compare/v0.5.1...v0.5.2) (2020-12-24)
### Bug Fixes
* use custom resolver after fs ([e254da8](https://github.com/antfu/vite-plugin-components/commit/e254da8b8d397cbab403bab2aaa3a35f3a0e1f2a))
### [0.5.1](https://github.com/antfu/vite-plugin-components/compare/v0.5.0...v0.5.1) (2020-12-24)

@@ -7,0 +14,0 @@

6

dist/index.js

@@ -292,2 +292,5 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// src/generator/resolver.ts

findComponent(name, excludePaths = []) {
const info = this._componentNameMap[name];
if (info && !excludePaths.includes(info.path) && !excludePaths.includes(info.path.slice(1)))
return info;
for (const resolver3 of this._resolvers) {

@@ -298,5 +301,2 @@ const path4 = resolver3(name);

}
const info = this._componentNameMap[name];
if (info && !excludePaths.includes(info.path) && !excludePaths.includes(info.path.slice(1)))
return info;
return void 0;

@@ -303,0 +303,0 @@ }

{
"name": "vite-plugin-components",
"description": "Components auto importing for Vite",
"version": "0.5.1",
"version": "0.5.2",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "module": "dist/index.mjs",

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