Upgrading mlly 0.3 to 0.4
Breaking0.3.19 → 0.4.3Breaking1New2Fixed3
BreakingUpgrade verdict
1 breaking change.
In plain terms
- code-gen utils moved to https://github.com/unjs/knitwork.
Must act 1 item needs code or config changes
What you must change
Breaking1
code-gen utils moved to https://github.com/unjs/knitwork.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- removed:
function genDynamicImport(specifier: string, opts?: DynamicImportOptions): string - removed:
function genImport(specifier: string, imports?: Import | Import[], opts?: CodegenOptions): string - removed:
interface CodegenOptions - removed:
interface DynamicImportOptions extends CodegenOptions - removed:
property CodegenOptions.singleQuotes?: Boolean - removed:
property DynamicImportOptions.comment?: string - removed:
property DynamicImportOptions.interopDefault?: boolean - removed:
property DynamicImportOptions.wrapper?: boolean - removed:
type Import = string | { name: string; as?: string } - changed:
property ESMExport._type?: 'declaration' | 'named' | 'default' → property ESMExport._type?: 'declaration' | 'named' | 'default' | 'star' - changed:
property ESMExport.type: 'declaration' | 'named' | 'default' → property ESMExport.type: 'declaration' | 'named' | 'default' | 'star'