Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unimport

Package Overview
Dependencies
Maintainers
3
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unimport - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

4

dist/index.d.ts

@@ -41,3 +41,3 @@ import { P as Preset, I as Import, B as BuiltinPresetName, T as TypeDeclrationOptions, S as ScanDirExportsOptions, U as UnimportOptions, a as Thenable, b as InjectImportsOptions } from './types-0260c723.js';

}>;
injectImports: (code: string | MagicString, id?: string | undefined, options?: InjectImportsOptions | undefined) => Promise<{
injectImports: (code: string | MagicString, id?: string, options?: InjectImportsOptions) => Promise<{
s: MagicString;

@@ -47,5 +47,5 @@ code: string;

toExports: () => string;
generateTypeDecarations: (options?: TypeDeclrationOptions | undefined) => string;
generateTypeDecarations: (options?: TypeDeclrationOptions) => string;
};
export { Unimport, addImportToCode, createUnimport, dedupeImports, defineUnimportPreset, excludeRE, getMagicString, getString, importAsRE, matchRE, normalizeImports, resolveBuiltinPresets, resolveFiles, resolvePreset, scanDirExports, scanExports, separatorRE, stripCommentsAndStrings, toExports, toImports, toTypeDeclrationFile, toTypeDeclrationItems };
{
"name": "unimport",
"version": "0.2.4",
"version": "0.2.5",
"description": "Unified utils for auto importing APIs in modules",

@@ -64,5 +64,5 @@ "repository": "unjs/unimport",

"vitest": "latest",
"vue-tsc": "^0.34.16"
"vue-tsc": "^0.35.0"
},
"packageManager": "pnpm@7.1.5"
"packageManager": "pnpm@7.1.6"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc