🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

vite-plugin-unused-code

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-unused-code - npm Package Compare versions

Comparing version

to
0.1.2

dist/index.d.cts

2

dist/index.d.ts

@@ -18,2 +18,2 @@ import { Plugin } from 'rollup';

export { Options, unusedCodePlugin as default };
export { type Options, unusedCodePlugin as default };
{
"name": "vite-plugin-unused-code",
"version": "0.1.1",
"version": "0.1.2",
"description": "Vite/Rollup plugin to detect unused files and unused exports in used files",
"type": "module",
"main": "./dist/index.cjs",

@@ -10,2 +11,3 @@ "module": "./dist/index.mjs",

".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",

@@ -40,14 +42,14 @@ "require": "./dist/index.cjs"

"dependencies": {
"fast-glob": "^3.2.12",
"fast-glob": "^3.3.2",
"micromatch": "^4.0.5"
},
"devDependencies": {
"@cyansalt/eslint-config-preset": "^1.14.0",
"@cyansalt/tsconfig": "^2.1.1",
"@release-it/conventional-changelog": "^5.1.1",
"@types/micromatch": "^4.0.2",
"@types/node": "^20.2.5",
"release-it": "^15.10.5",
"typescript": "^5.1.3",
"unbuild": "^1.2.1"
"@cyansalt/eslint-config-preset": "^1.17.0",
"@cyansalt/tsconfig": "^2.2.1",
"@release-it/conventional-changelog": "^8.0.1",
"@types/micromatch": "^4.0.6",
"@types/node": "^20.10.4",
"release-it": "^17.0.0",
"typescript": "^5.3.3",
"unbuild": "^2.0.0"
},

@@ -54,0 +56,0 @@ "peerDependencies": {

@@ -9,3 +9,4 @@ # vite-plugin-unused-code

**⚠️ Limitation: This plugin cannot check for dependencies of non-script files (for example: CSS), which may be misreported as unused, even if they actually appear in the compiled bundles. Please be careful!**
> [!IMPORTANT]
> **This plugin cannot check for dependencies of non-script files (for example: CSS), which may be misreported as unused, even if they actually appear in the compiled bundles. Please be careful!**

@@ -12,0 +13,0 @@ ## Installation

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet