unplugin-unused
Advanced tools
Comparing version 0.1.7 to 0.2.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20218
41
365
1