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

unplugin-unused

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-unused - npm Package Compare versions

Comparing version 0.1.7 to 0.2.0

dist/api-1L-kNUs8.d.cts

24

dist/api.d.ts

@@ -1,22 +0,2 @@

import { FilterPattern } from '@rollup/pluginutils';
type DepKind = 'dependencies' | 'devDependencies' | 'peerDependencies';
interface Options {
root?: string;
include?: FilterPattern;
exclude?: FilterPattern;
ignore?: string[] | Partial<Record<DepKind, string[]>>;
/**
* @default 'warning'
*/
level?: 'warning' | 'error';
/**
* @default ['dependencies', 'peerDependencies']
*/
depKinds?: Array<DepKind>;
}
type Overwrite<T, U> = Pick<T, Exclude<keyof T, keyof U>> & U;
type OptionsResolved = Overwrite<Required<Options>, Pick<Options, 'root'>>;
declare function resolveOptions(options: Options): OptionsResolved;
export { type DepKind, type Options, resolveOptions };
export { r as resolveOptions } from './api-1L-kNUs8.js';
import '@rollup/pluginutils';

@@ -1,8 +0,8 @@

import plugin from './index.js';
import { Unused } from './index.js';
import 'unplugin';
import './api.js';
import './api-1L-kNUs8.js';
import '@rollup/pluginutils';
declare const _default: typeof plugin.esbuild;
declare const _default: typeof Unused.esbuild;
export { _default as default };
import {
src_default
} from "./chunk-PQEKBI4D.js";
Unused
} from "./chunk-577DEXT5.js";
import "./chunk-6Z3PM4VC.js";
// src/esbuild.ts
var esbuild_default = src_default.esbuild;
var esbuild_default = Unused.esbuild;
export {
esbuild_default as default
};
import { UnpluginInstance } from 'unplugin';
import { Options } from './api.js';
import { O as Options } from './api-1L-kNUs8.js';
export { D as DepKind } from './api-1L-kNUs8.js';
import '@rollup/pluginutils';
declare const plugin: UnpluginInstance<Options | undefined, false>;
declare const Unused: UnpluginInstance<Options | undefined, false>;
export { plugin as default };
export { Options, Unused };
import {
src_default
} from "./chunk-PQEKBI4D.js";
Unused
} from "./chunk-577DEXT5.js";
import "./chunk-6Z3PM4VC.js";
export {
src_default as default
Unused
};

@@ -1,8 +0,8 @@

import plugin from './index.js';
import { Unused } from './index.js';
import 'unplugin';
import './api.js';
import './api-1L-kNUs8.js';
import '@rollup/pluginutils';
declare const _default: typeof plugin.rolldown;
declare const _default: typeof Unused.rolldown;
export { _default as default };
import {
src_default
} from "./chunk-PQEKBI4D.js";
Unused
} from "./chunk-577DEXT5.js";
import "./chunk-6Z3PM4VC.js";
// src/rolldown.ts
var rolldown_default = src_default.rolldown;
var rolldown_default = Unused.rolldown;
export {
rolldown_default as default
};

@@ -1,8 +0,8 @@

import plugin from './index.js';
import { Unused } from './index.js';
import 'unplugin';
import './api.js';
import './api-1L-kNUs8.js';
import '@rollup/pluginutils';
declare const _default: typeof plugin.rollup;
declare const _default: typeof Unused.rollup;
export { _default as default };
import {
src_default
} from "./chunk-PQEKBI4D.js";
Unused
} from "./chunk-577DEXT5.js";
import "./chunk-6Z3PM4VC.js";
// src/rollup.ts
var rollup_default = src_default.rollup;
var rollup_default = Unused.rollup;
export {
rollup_default as default
};

@@ -1,8 +0,8 @@

import plugin from './index.js';
import { Unused } from './index.js';
import 'unplugin';
import './api.js';
import './api-1L-kNUs8.js';
import '@rollup/pluginutils';
declare const _default: typeof plugin.rspack;
declare const _default: typeof Unused.rspack;
export { _default as default };
import {
src_default
} from "./chunk-PQEKBI4D.js";
Unused
} from "./chunk-577DEXT5.js";
import "./chunk-6Z3PM4VC.js";
// src/rspack.ts
var rspack_default = src_default.rspack;
var rspack_default = Unused.rspack;
export {
rspack_default as default
};

@@ -1,8 +0,8 @@

import plugin from './index.js';
import { Unused } from './index.js';
import 'unplugin';
import './api.js';
import './api-1L-kNUs8.js';
import '@rollup/pluginutils';
declare const _default: typeof plugin.vite;
declare const _default: typeof Unused.vite;
export { _default as default };
import {
src_default
} from "./chunk-PQEKBI4D.js";
Unused
} from "./chunk-577DEXT5.js";
import "./chunk-6Z3PM4VC.js";
// src/vite.ts
var vite_default = src_default.vite;
var vite_default = Unused.vite;
export {
vite_default as default
};

@@ -1,8 +0,8 @@

import plugin from './index.js';
import { Unused } from './index.js';
import 'unplugin';
import './api.js';
import './api-1L-kNUs8.js';
import '@rollup/pluginutils';
declare const _default: typeof plugin.webpack;
declare const _default: typeof Unused.webpack;
export { _default as default };
import {
src_default
} from "./chunk-PQEKBI4D.js";
Unused
} from "./chunk-577DEXT5.js";
import "./chunk-6Z3PM4VC.js";
// src/webpack.ts
var webpack_default = src_default.webpack;
var webpack_default = Unused.webpack;
export {
webpack_default as default
};
{
"name": "unplugin-unused",
"version": "0.1.7",
"version": "0.2.0",
"description": "Check unused dependencies.",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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