Upgrading unplugin-auto-import 0.3 to 0.4
Unknown0.3.3 → 0.4.20
Fetching 20 releases from GitHub…0 / 20
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Requires Node.js >=14 from 0.4.3 (none stated before).
Adds local-pkg ^0.4.0, resolve ^1.20.0.
Drops has-pkg.
Installs 17 packages in all (was 10).
Also installs es-errors, function-bind, hasown, is-core-module, path-parse, supports-preserve-symlinks-flag.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- changed:
const default: (options?: Options | undefined) => rollup.Plugin → const default: (options?: Options | undefined) => Plugin
- changed:
type ImportInfo = { module: string; name: string; from?: string } → type ImportInfo = { module: string; name?: string; from?: string } - changed:
type ImportsFlatMap = Record<string, ImportInfo> → type ImportsFlatMap = Record<string, ResolveResult> - changed:
type Resolver = (name: string) => string | ImportInfo | null | undefined | void → type Resolver = (name: string) => string | ResolveResult | null | undefined | void - added:
interface ResolveResult extends ImportInfo - added:
property Options.ignore?: (string | RegExp)[] - added:
property ResolveResult.sideEffects?: SideEffectsInfo - added:
property TransformOptions.ignore?: (string | RegExp)[] - added:
type SideEffectsInfo = Arrayable<ImportInfo | string> | undefined
- changed:
const default: (options?: Options | undefined) => vite.Plugin → const default: (options?: Options | undefined) => Plugin$1
- changed:
const default: (options?: Options | undefined) => webpack.WebpackPluginInstance → const default: (options?: Options | undefined) => WebpackPluginInstance