Comparing version 3.2.0 to 3.3.0
@@ -1,2 +0,2 @@ | ||
import { p as Addon } from './shared/unimport.6a386c7b.js'; | ||
import { p as Addon } from './shared/unimport.b55a67ec.js'; | ||
import 'magic-string'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
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 './shared/unimport.6a386c7b.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 './shared/unimport.6a386c7b.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 './shared/unimport.b55a67ec.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 './shared/unimport.b55a67ec.js'; | ||
import MagicString from 'magic-string'; | ||
@@ -34,3 +34,3 @@ import { StripLiteralOptions } from 'strip-literal'; | ||
declare function scanDirExports(dir: string | string[], options?: ScanDirExportsOptions): Promise<Import[]>; | ||
declare function scanExports(filepath: string, seen?: Set<string>): Promise<Import[]>; | ||
declare function scanExports(filepath: string, includeTypes: boolean, seen?: Set<string>): Promise<Import[]>; | ||
@@ -43,3 +43,3 @@ type Unimport = ReturnType<typeof createUnimport>; | ||
scanImportsFromDir: (dirs?: string[], options?: ScanDirExportsOptions | undefined) => Promise<Import[]>; | ||
scanImportsFromFile: (filepath: string) => Promise<Import[]>; | ||
scanImportsFromFile: (filepath: string, includeTypes?: boolean) => Promise<Import[]>; | ||
getImports: () => Promise<Import[]>; | ||
@@ -64,4 +64,4 @@ getImportMap: () => Promise<Map<string, Import>>; | ||
const version = "3.2.0"; | ||
const version = "3.3.0"; | ||
export { BuiltinPresetName, Import, ImportInjectionResult, InjectImportsOptions, InlinePreset, InstallGlobalOptions, MagicStringResult, Preset, ScanDirExportsOptions, Thenable, TypeDeclarationOptions, type Unimport, UnimportContext, UnimportMeta, UnimportOptions, addImportToCode, createUnimport, dedupeImports, defineUnimportPreset, excludeRE, getMagicString, getString, importAsRE, installGlobalAutoImports, matchRE, normalizeImports, resolveBuiltinPresets, resolveIdAbsolute, resolvePreset, scanDirExports, scanExports, scanFilesFromDir, separatorRE, stripCommentsAndStrings, toExports, toImports, toTypeDeclarationFile, toTypeDeclarationItems, toTypeReExports, version }; |
import * as unplugin from 'unplugin'; | ||
import { FilterPattern } from '@rollup/pluginutils'; | ||
import { U as UnimportOptions } from './shared/unimport.6a386c7b.js'; | ||
import { U as UnimportOptions } from './shared/unimport.b55a67ec.js'; | ||
import 'magic-string'; | ||
@@ -5,0 +5,0 @@ |
{ | ||
"name": "unimport", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "Unified utils for auto importing APIs in modules", | ||
@@ -47,3 +47,3 @@ "repository": "unjs/unimport", | ||
"dependencies": { | ||
"@rollup/pluginutils": "^5.0.3", | ||
"@rollup/pluginutils": "^5.0.4", | ||
"escape-string-regexp": "^5.0.0", | ||
@@ -53,3 +53,3 @@ "fast-glob": "^3.3.1", | ||
"magic-string": "^0.30.3", | ||
"mlly": "^1.4.0", | ||
"mlly": "^1.4.1", | ||
"pathe": "^1.1.1", | ||
@@ -62,16 +62,16 @@ "pkg-types": "^1.0.3", | ||
"devDependencies": { | ||
"@nuxtjs/eslint-config-typescript": "^12.0.0", | ||
"@vitest/coverage-v8": "^0.34.2", | ||
"@nuxtjs/eslint-config-typescript": "^12.1.0", | ||
"@vitest/coverage-v8": "^0.34.3", | ||
"bumpp": "^9.2.0", | ||
"conventional-changelog-cli": "^3.0.0", | ||
"eslint": "8.47.0", | ||
"h3": "^1.8.0", | ||
"jquery": "^3.7.0", | ||
"eslint": "8.48.0", | ||
"h3": "^1.8.1", | ||
"jquery": "^3.7.1", | ||
"lit": "^2.8.0", | ||
"typescript": "^5.1.6", | ||
"typescript": "^5.2.2", | ||
"unbuild": "^2.0.0", | ||
"vitest": "^0.34.2", | ||
"vitest": "^0.34.3", | ||
"vue-tsc": "^1.8.8" | ||
}, | ||
"packageManager": "pnpm@8.6.12" | ||
"packageManager": "pnpm@8.7.0" | ||
} |
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
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
141155
3440
Updated@rollup/pluginutils@^5.0.4
Updatedmlly@^1.4.1