Comparing version 3.0.12 to 3.0.13
@@ -1,3 +0,3 @@ | ||
export { v as vueTemplateAddon } from './vue-template-91da44d8.js'; | ||
import './types-4c92b6e9.js'; | ||
export { v as vueTemplateAddon } from './vue-template-4ea042fa.js'; | ||
import './types-234273bb.js'; | ||
import 'magic-string'; |
@@ -1,6 +0,6 @@ | ||
import { P as Preset, I as Import, B as BuiltinPresetName, a as InlinePreset, T as TypeDeclarationOptions, M as MagicStringResult, S as ScanDirExportsOptions, U as UnimportOptions, b as Thenable, c as InjectImportsOptions, d as ImportInjectionResult, e as UnimportMeta, f as UnimportContext, g as InstallGlobalOptions } from './types-4c92b6e9.js'; | ||
export { p as Addon, A as AddonsOptions, k as ImportCommon, j as ImportName, n as InjectionUsageRecord, i as ModuleId, m as PackagePreset, o as PathFromResolver, l as PresetImport, h as builtinPresets } from './types-4c92b6e9.js'; | ||
import { P as Preset, I as Import, B as BuiltinPresetName, a as InlinePreset, T as TypeDeclarationOptions, M as MagicStringResult, S as ScanDirExportsOptions, U as UnimportOptions, b as Thenable, c as InjectImportsOptions, d as ImportInjectionResult, e as UnimportMeta, f as UnimportContext, g as InstallGlobalOptions } from './types-234273bb.js'; | ||
export { p as Addon, A as AddonsOptions, k as ImportCommon, j as ImportName, n as InjectionUsageRecord, i as ModuleId, m as PackagePreset, o as PathFromResolver, l as PresetImport, h as builtinPresets } from './types-234273bb.js'; | ||
import MagicString from 'magic-string'; | ||
import * as mlly from 'mlly'; | ||
export { v as vueTemplateAddon } from './vue-template-91da44d8.js'; | ||
export { v as vueTemplateAddon } from './vue-template-4ea042fa.js'; | ||
@@ -27,3 +27,3 @@ declare function resolvePreset(preset: Preset): Promise<Import[]>; | ||
declare function getMagicString(code: string | MagicString): MagicString; | ||
declare function addImportToCode(code: string | MagicString, imports: Import[], isCJS?: boolean, mergeExisting?: boolean, injectAtLast?: boolean, firstOccurrence?: number): MagicStringResult; | ||
declare function addImportToCode(code: string | MagicString, imports: Import[], isCJS?: boolean, mergeExisting?: boolean, injectAtLast?: boolean, firstOccurrence?: number, onResolved?: (imports: Import[]) => void | Import[], onStringified?: (str: string, imports: Import[]) => void | string): MagicStringResult; | ||
declare function normalizeImports(imports: Import[]): Import[]; | ||
@@ -30,0 +30,0 @@ declare function resolveIdAbsolute(id: string, parentId?: string): Promise<string>; |
import * as unplugin from 'unplugin'; | ||
import { FilterPattern } from '@rollup/pluginutils'; | ||
import { U as UnimportOptions } from './types-4c92b6e9.js'; | ||
import { U as UnimportOptions } from './types-234273bb.js'; | ||
import 'magic-string'; | ||
@@ -5,0 +5,0 @@ |
{ | ||
"name": "unimport", | ||
"version": "3.0.12", | ||
"version": "3.0.13", | ||
"description": "Unified utils for auto importing APIs in modules", | ||
@@ -5,0 +5,0 @@ "repository": "unjs/unimport", |
@@ -5,6 +5,5 @@ # unimport | ||
[![npm downloads][npm-downloads-src]][npm-downloads-href] | ||
[![Github Actions][github-actions-src]][github-actions-href] | ||
[![Codecov][codecov-src]][codecov-href] | ||
> Unified utils for auto importing APIs in modules | ||
> Unified utils for auto importing APIs in modules, used in [nuxt](https://github.com/nuxt/nuxt) and [unplugin-auto-import](https://github.com/antfu/unplugin-auto-import) | ||
@@ -11,0 +10,0 @@ ## Features |
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
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
106649
3283
292