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.5 to 0.1.6

dist/chunk-6Z3PM4VC.js

22

dist/api.d.ts

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

import { FilterPattern } from '@rollup/pluginutils';
export { }
type DepKind = 'dependencies' | 'devDependencies' | 'peerDependencies';
interface Options {
root?: string;
include?: FilterPattern;
exclude?: FilterPattern;
ignore?: string[] | 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 };
import plugin from './index.js';
import 'unplugin';
import './api.js';
import '@rollup/pluginutils';

@@ -4,0 +5,0 @@

3

dist/esbuild.js
import {
src_default
} from "./chunk-YXWAIJW3.js";
} from "./chunk-RNLDDJRB.js";
import "./chunk-6Z3PM4VC.js";

@@ -5,0 +6,0 @@ // src/esbuild.ts

import { UnpluginInstance } from 'unplugin';
import { FilterPattern } from '@rollup/pluginutils';
import { Options } from './api.js';
import '@rollup/pluginutils';
type DepKind = 'dependencies' | 'devDependencies' | 'peerDependencies';
interface Options {
root?: string;
include?: FilterPattern;
exclude?: FilterPattern;
ignore?: string[] | Record<DepKind, string[]>;
/**
* @default 'warning'
*/
level?: 'warning' | 'error';
/**
* @default ['dependencies', 'peerDependencies']
*/
depKinds?: Array<DepKind>;
}
declare const plugin: UnpluginInstance<Options | undefined, false>;
export { plugin as default };
import {
src_default
} from "./chunk-YXWAIJW3.js";
} from "./chunk-RNLDDJRB.js";
import "./chunk-6Z3PM4VC.js";
export {
src_default as default
};
import plugin from './index.js';
import 'unplugin';
import './api.js';
import '@rollup/pluginutils';

@@ -4,0 +5,0 @@

import {
src_default
} from "./chunk-YXWAIJW3.js";
} from "./chunk-RNLDDJRB.js";
import "./chunk-6Z3PM4VC.js";

@@ -5,0 +6,0 @@ // src/rolldown.ts

import plugin from './index.js';
import 'unplugin';
import './api.js';
import '@rollup/pluginutils';

@@ -4,0 +5,0 @@

import {
src_default
} from "./chunk-YXWAIJW3.js";
} from "./chunk-RNLDDJRB.js";
import "./chunk-6Z3PM4VC.js";

@@ -5,0 +6,0 @@ // src/rollup.ts

import plugin from './index.js';
import 'unplugin';
import './api.js';
import '@rollup/pluginutils';

@@ -4,0 +5,0 @@

import {
src_default
} from "./chunk-YXWAIJW3.js";
} from "./chunk-RNLDDJRB.js";
import "./chunk-6Z3PM4VC.js";

@@ -5,0 +6,0 @@ // src/rspack.ts

import plugin from './index.js';
import 'unplugin';
import './api.js';
import '@rollup/pluginutils';

@@ -4,0 +5,0 @@

import {
src_default
} from "./chunk-YXWAIJW3.js";
} from "./chunk-RNLDDJRB.js";
import "./chunk-6Z3PM4VC.js";

@@ -5,0 +6,0 @@ // src/vite.ts

import plugin from './index.js';
import 'unplugin';
import './api.js';
import '@rollup/pluginutils';

@@ -4,0 +5,0 @@

import {
src_default
} from "./chunk-YXWAIJW3.js";
} from "./chunk-RNLDDJRB.js";
import "./chunk-6Z3PM4VC.js";

@@ -5,0 +6,0 @@ // src/webpack.ts

{
"name": "unplugin-unused",
"version": "0.1.5",
"version": "0.1.6",
"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

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