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.6.3 to 0.6.5

8

dist/index.js

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

}
function resolveAlias(filepath, alias = {}) {
function resolveAlias(filepath, alias = []) {
let result = filepath;

@@ -145,7 +145,2 @@ if (Array.isArray(alias)) {

result.replace(find, replacement);
} else {
Object.entries(alias).forEach(([k, p]) => {
if (k.startsWith("/") && k.endsWith("/") && result.startsWith(k))
result = _path2.default.join(p, result.replace(k, ""));
});
}

@@ -322,2 +317,3 @@ return result;

name: "vite-plugin-components",
enforce: "post",
configResolved(config) {

@@ -324,0 +320,0 @@ ctx.viteConfig = config;

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

@@ -36,11 +36,11 @@ "module": "dist/index.mjs",

"@types/minimatch": "^3.0.3",
"@types/node": "^14.14.19",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"eslint": "^7.17.0",
"rollup": "^2.35.1",
"rollup": "^2.36.1",
"standard-version": "^9.1.0",
"tsup": "^3.11.0",
"typescript": "^4.1.3",
"vite": "^2.0.0-beta.3"
"vite": "^2.0.0-beta.19"
}
}

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