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.0.3 to 0.0.4

dist/types-c897d48e.d.ts

10

dist/index.d.ts

@@ -1,3 +0,3 @@

import { P as Preset, I as Import, B as BuiltinPresetName, U as UnimportOptions } from './types-034e4721';
export { B as BuiltinPresetName, I as Import, a as ImportName, M as ModuleId, P as Preset, c as PresetImport, U as UnimportOptions, b as builtinPresets } from './types-034e4721';
import { P as Preset, I as Import, B as BuiltinPresetName, a as PathFromResolver, U as UnimportOptions } from './types-c897d48e';
export { B as BuiltinPresetName, I as Import, c as ImportName, M as ModuleId, a as PathFromResolver, P as Preset, d as PresetImport, U as UnimportOptions, b as builtinPresets } from './types-c897d48e';
import * as MagicString from 'magic-string';

@@ -17,4 +17,4 @@ import MagicString__default from 'magic-string';

declare function toExports(imports: Import[]): string;
declare function toTypeDeclrationItems(imports: Import[]): string[];
declare function toTypeDeclrationFile(imports: Import[]): string;
declare function toTypeDeclrationItems(imports: Import[], resolvePath?: PathFromResolver): string[];
declare function toTypeDeclrationFile(imports: Import[], resolvePath?: PathFromResolver): string;
declare function addImportToCode(code: string, imports: Import[], isCJS?: boolean, mergeExisting?: boolean): {

@@ -40,5 +40,5 @@ s: MagicString__default;

toExports: () => string;
generateTypeDecarations: () => string;
generateTypeDecarations: (pathResolver?: PathFromResolver) => string;
};
export { Unimport, addImportToCode, createUnimport, dedupeImports, defineUnimportPreset, excludeRE, importAsRE, normalizeImports, resolveBuiltinPresets, resolvePreset, separatorRE, stripCommentsAndStrings, toExports, toImports, toTypeDeclrationFile, toTypeDeclrationItems };
import * as unplugin from 'unplugin';
import { FilterPattern } from '@rollup/pluginutils';
import { U as UnimportOptions } from './types-034e4721';
import { U as UnimportOptions } from './types-c897d48e';

@@ -5,0 +5,0 @@ interface UnimportPluginOptions extends UnimportOptions {

{
"name": "unimport",
"version": "0.0.3",
"version": "0.0.4",
"description": "",

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

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