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 3.0.11 to 3.0.12

dist/shared/unimport.08d4d1c9.mjs

7

dist/addons.d.ts

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

import { p as Addon } from './types-2cb9c8f5.js';
export { v as vueTemplateAddon } from './vue-template-91da44d8.js';
import './types-4c92b6e9.js';
import 'magic-string';
declare const vueTemplateAddon: () => Addon;
export { vueTemplateAddon };

@@ -1,5 +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-2cb9c8f5.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-2cb9c8f5.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-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 MagicString from 'magic-string';
import * as mlly from 'mlly';
export { v as vueTemplateAddon } from './vue-template-91da44d8.js';

@@ -6,0 +7,0 @@ declare function resolvePreset(preset: Preset): Promise<Import[]>;

import * as unplugin from 'unplugin';
import { FilterPattern } from '@rollup/pluginutils';
import { U as UnimportOptions } from './types-2cb9c8f5.js';
import { U as UnimportOptions } from './types-4c92b6e9.js';
import 'magic-string';

@@ -5,0 +5,0 @@

{
"name": "unimport",
"version": "3.0.11",
"version": "3.0.12",
"description": "Unified utils for auto importing APIs in modules",

@@ -49,3 +49,3 @@ "repository": "unjs/unimport",

"escape-string-regexp": "^5.0.0",
"fast-glob": "^3.2.12",
"fast-glob": "^3.3.0",
"local-pkg": "^0.4.3",

@@ -65,11 +65,11 @@ "magic-string": "^0.30.0",

"conventional-changelog-cli": "^3.0.0",
"eslint": "8.43.0",
"h3": "^1.7.0",
"eslint": "8.44.0",
"h3": "^1.7.1",
"jquery": "^3.7.0",
"typescript": "^5.1.3",
"typescript": "^5.1.6",
"unbuild": "^1.2.1",
"vitest": "^0.32.2",
"vue-tsc": "^1.8.1"
"vue-tsc": "^1.8.3"
},
"packageManager": "pnpm@8.6.5"
}

@@ -117,3 +117,3 @@ # unimport

Presets are provides as a shorthand for declaring imports from the same package:
Presets are provided as a shorthand for declaring imports from the same package:

@@ -217,3 +217,3 @@ ```ts

You can opt-out auto import for specific modules by adding a comment:
You can opt-out auto-import for specific modules by adding a comment:

@@ -224,3 +224,3 @@ ```ts

It's can be customized by setting `commentsDisable`:
It can be customized by setting `commentsDisable`:

@@ -227,0 +227,0 @@ ```ts

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

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