Socket
Socket
Sign inDemoInstall

unimport

Package Overview
Dependencies
Maintainers
3
Versions
101
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.1.8 to 0.1.9

4

dist/index.d.ts

@@ -12,5 +12,5 @@ import { P as Preset, I as Import, B as BuiltinPresetName, T as TypeDeclrationOptions, S as ScanDirExportsOptions, U as UnimportOptions } from './types-3d1232fe.js';

declare const separatorRE: RegExp;
declare const matchRE: RegExp;
declare function defineUnimportPreset(preset: Preset): Preset;
declare function stripCommentsAndStrings(code: string): string;
declare function makeMatchRegex(imports: Import[]): RegExp;
declare function toImports(imports: Import[], isCJS?: boolean): string;

@@ -49,2 +49,2 @@ declare function dedupeImports(imports: Import[], warn: (msg: string) => void): Import[];

export { Unimport, addImportToCode, createUnimport, dedupeImports, defineUnimportPreset, excludeRE, importAsRE, makeMatchRegex, normalizeImports, resolveBuiltinPresets, resolveFiles, resolvePreset, scanDirExports, scanExports, separatorRE, stripCommentsAndStrings, toExports, toImports, toTypeDeclrationFile, toTypeDeclrationItems };
export { Unimport, addImportToCode, createUnimport, dedupeImports, defineUnimportPreset, excludeRE, importAsRE, matchRE, normalizeImports, resolveBuiltinPresets, resolveFiles, resolvePreset, scanDirExports, scanExports, separatorRE, stripCommentsAndStrings, toExports, toImports, toTypeDeclrationFile, toTypeDeclrationItems };
{
"name": "unimport",
"version": "0.1.8",
"version": "0.1.9",
"description": "Unified utils for auto importing APIs in modules",

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

"mlly": "^0.5.2",
"pathe": "^0.2.0",
"pathe": "^0.3.0",
"scule": "^0.2.1",
"unplugin": "^0.6.2"
"unplugin": "^0.6.3"
},

@@ -53,10 +53,10 @@ "devDependencies": {

"c8": "latest",
"eslint": "^8.14.0",
"fast-glob": "^3.2.11",
"eslint": "latest",
"fast-glob": "latest",
"standard-version": "latest",
"typescript": "latest",
"unbuild": "latest",
"vitest": "^0.10.0"
"vitest": "latest"
},
"packageManager": "pnpm@6.32.11"
"packageManager": "pnpm@7.0.1"
}

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