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.5.0 to 3.6.0

dist/shared/unimport.5d3ab45b.mjs

2

dist/addons.d.ts
import { p as Addon } from './shared/unimport.6f84d637.js';
import 'magic-string';
declare const vueTemplateAddon: () => Addon;
declare function vueTemplateAddon(): Addon;
export { vueTemplateAddon };

@@ -14,5 +14,7 @@ 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.6f84d637.js';

declare const separatorRE: RegExp;
/** | |
/**
* | |
* destructing case&ternary non-call inheritance | id |
* ↓ ↓ ↓ ↓ | |*/
* ↓ ↓ ↓ ↓ | |
*/
declare const matchRE: RegExp;

@@ -64,4 +66,4 @@ declare function stripCommentsAndStrings(code: string, options?: StripLiteralOptions): string;

const version = "3.5.0";
const version = "3.6.0";
export { BuiltinPresetName, Import, ImportInjectionResult, InjectImportsOptions, InlinePreset, InstallGlobalOptions, MagicStringResult, Preset, ScanDirExportsOptions, Thenable, TypeDeclarationOptions, type Unimport, UnimportContext, UnimportMeta, UnimportOptions, addImportToCode, createUnimport, dedupeDtsExports, dedupeImports, defineUnimportPreset, excludeRE, getMagicString, getString, importAsRE, installGlobalAutoImports, matchRE, normalizeImports, resolveBuiltinPresets, resolveIdAbsolute, resolvePreset, scanDirExports, scanExports, scanFilesFromDir, separatorRE, stripCommentsAndStrings, toExports, toImports, toTypeDeclarationFile, toTypeDeclarationItems, toTypeReExports, version };
{
"name": "unimport",
"version": "3.5.0",
"type": "module",
"version": "3.6.0",
"packageManager": "pnpm@8.10.5",
"description": "Unified utils for auto importing APIs in modules",
"license": "MIT",
"repository": "unjs/unimport",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {

@@ -31,4 +32,4 @@ ".": {

"files": [
"dist",
"*.d.ts"
"*.d.ts",
"dist"
],

@@ -38,3 +39,3 @@ "scripts": {

"dev": "vitest dev",
"lint": "eslint --ext .ts,.js,.mjs,.cjs .",
"lint": "eslint .",
"prepack": "unbuild",

@@ -57,8 +58,8 @@ "play": "pnpm -C playground run dev",

"pkg-types": "^1.0.3",
"scule": "^1.0.0",
"scule": "^1.1.0",
"strip-literal": "^1.3.0",
"unplugin": "^1.5.0"
"unplugin": "^1.5.1"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@antfu/eslint-config": "^2.1.0",
"@vitest/coverage-v8": "^0.34.6",

@@ -68,11 +69,10 @@ "bumpp": "^9.2.0",

"eslint": "8.53.0",
"h3": "^1.8.2",
"h3": "^1.9.0",
"jquery": "^3.7.1",
"lit": "^3.0.2",
"typescript": "^5.2.2",
"lit": "^3.1.0",
"typescript": "^5.3.2",
"unbuild": "^2.0.0",
"vitest": "^0.34.6",
"vue-tsc": "^1.8.22"
},
"packageManager": "pnpm@8.10.2"
}
}

@@ -174,12 +174,12 @@ # unimport

{
"from": "h3",
"name": "appendHeader",
from: 'h3',
name: 'appendHeader',
},
{
"from": "h3",
"name": "appendHeaders",
from: 'h3',
name: 'appendHeaders',
},
{
"from": "h3",
"name": "appendResponseHeader",
from: 'h3',
name: 'appendResponseHeader',
},

@@ -205,7 +205,5 @@ // ...

```ts
{
dirs: [
'./composables/*'
]
}
dirs: [
'./composables/*'
]
```

@@ -212,0 +210,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

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