Comparing version 0.1.7 to 0.1.8
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.1.8](https://github.com/unjs/unimport/compare/v0.1.7...v0.1.8) (2022-04-28) | ||
### Bug Fixes | ||
* correctly dedupe ([08f5282](https://github.com/unjs/unimport/commit/08f528200b773a5b5be1cc168c40779098b04cce)) | ||
### [0.1.7](https://github.com/unjs/unimport/compare/v0.1.6...v0.1.7) (2022-04-26) | ||
@@ -7,0 +14,0 @@ |
@@ -40,3 +40,3 @@ import { P as Preset, I as Import, B as BuiltinPresetName, T as TypeDeclrationOptions, S as ScanDirExportsOptions, U as UnimportOptions } from './types-3d1232fe.js'; | ||
}>; | ||
injectImports: (code: string, mergeExisting?: boolean) => Promise<{ | ||
injectImports: (code: string, mergeExisting?: boolean | undefined) => Promise<{ | ||
s: MagicString.default; | ||
@@ -46,5 +46,5 @@ code: string; | ||
toExports: () => string; | ||
generateTypeDecarations: (options?: TypeDeclrationOptions) => string; | ||
generateTypeDecarations: (options?: TypeDeclrationOptions | undefined) => string; | ||
}; | ||
export { Unimport, addImportToCode, createUnimport, dedupeImports, defineUnimportPreset, excludeRE, importAsRE, makeMatchRegex, normalizeImports, resolveBuiltinPresets, resolveFiles, resolvePreset, scanDirExports, scanExports, separatorRE, stripCommentsAndStrings, toExports, toImports, toTypeDeclrationFile, toTypeDeclrationItems }; |
{ | ||
"name": "unimport", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Unified utils for auto importing APIs in modules", | ||
@@ -34,2 +34,3 @@ "repository": "unjs/unimport", | ||
"prepack": "unbuild", | ||
"typecheck": "tsc --noEmit", | ||
"release": "pnpm test && standard-version && git push --follow-tags && npm publish", | ||
@@ -59,3 +60,3 @@ "test": "vitest run --coverage" | ||
}, | ||
"packageManager": "pnpm@6.32.3" | ||
"packageManager": "pnpm@6.32.11" | ||
} |
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
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
62087
1840