Comparing version 7.1.0 to 7.2.0
@@ -1,11 +0,18 @@ | ||
import { L as LoadConfigOptions, a as LoadConfigResult } from './shared/unconfig.CCW63Z-Z.js'; | ||
export { B as BuiltinParsers, C as CustomParser, b as LoadConfigSource, S as SearchOptions, d as defaultExtensions } from './shared/unconfig.CCW63Z-Z.js'; | ||
import * as quansync_types from 'quansync/types'; | ||
import { QuansyncAwaitableGenerator } from 'quansync'; | ||
import { L as LoadConfigOptions, a as LoadConfigResult } from './shared/unconfig.DH5SNNt_.js'; | ||
export { B as BuiltinParsers, C as CustomParser, b as LoadConfigSource, S as SearchOptions, d as defaultExtensions } from './shared/unconfig.DH5SNNt_.js'; | ||
import '@antfu/utils'; | ||
declare function createConfigLoader<T>(options: LoadConfigOptions): { | ||
load: (force?: boolean) => Promise<LoadConfigResult<T>>; | ||
findConfigs: () => Promise<string[]>; | ||
load: quansync_types.QuansyncFn<LoadConfigResult<T>, [force?: Args[0] | undefined]>; | ||
findConfigs: quansync_types.QuansyncFn<string[], []>; | ||
}; | ||
declare function loadConfig<T>(options: LoadConfigOptions<T>): Promise<LoadConfigResult<T>>; | ||
declare const loadConfig: { | ||
<T>(options: LoadConfigOptions<T>): QuansyncAwaitableGenerator<LoadConfigResult<T>>; | ||
sync: <T>(options: LoadConfigOptions<T>) => LoadConfigResult<T>; | ||
async: <T>(options: LoadConfigOptions<T>) => Promise<LoadConfigResult<T>>; | ||
}; | ||
declare const loadConfigSync: <T>(options: LoadConfigOptions<T>) => LoadConfigResult<T>; | ||
export { LoadConfigOptions, LoadConfigResult, createConfigLoader, loadConfig }; | ||
export { LoadConfigOptions, LoadConfigResult, createConfigLoader, loadConfig, loadConfigSync }; |
@@ -1,2 +0,2 @@ | ||
import { b as LoadConfigSource, B as BuiltinParsers, C as CustomParser } from './shared/unconfig.CCW63Z-Z.js'; | ||
import { b as LoadConfigSource, B as BuiltinParsers, C as CustomParser } from './shared/unconfig.DH5SNNt_.js'; | ||
import { Arrayable } from '@antfu/utils'; | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "unconfig", | ||
"type": "module", | ||
"version": "7.1.0", | ||
"version": "7.2.0", | ||
"description": "A universal solution for loading configurations.", | ||
@@ -33,17 +33,20 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"dependencies": { | ||
"@antfu/utils": "^8.1.0", | ||
"@antfu/utils": "^9.1.0", | ||
"@quansync/fs": "^0.1.1", | ||
"defu": "^6.1.4", | ||
"jiti": "^2.4.2" | ||
"jiti": "^2.4.2", | ||
"quansync": "^0.2.8" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^4.1.1", | ||
"@antfu/eslint-config": "^4.4.0", | ||
"@antfu/ni": "^23.3.1", | ||
"@types/node": "^22.13.1", | ||
"bumpp": "^10.0.2", | ||
"eslint": "^9.19.0", | ||
"@types/node": "^22.13.8", | ||
"bumpp": "^10.0.3", | ||
"eslint": "^9.21.0", | ||
"esno": "^4.8.0", | ||
"lodash-es": "^4.17.21", | ||
"typescript": "^5.7.3", | ||
"unbuild": "^3.3.1", | ||
"vitest": "^3.0.5" | ||
"typescript": "^5.8.2", | ||
"unbuild": "^3.5.0", | ||
"unplugin-quansync": "^0.3.3", | ||
"vitest": "^3.0.7" | ||
}, | ||
@@ -50,0 +53,0 @@ "scripts": { |
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
Unstable ownership
Supply chain riskA new collaborator has begun publishing package versions. Package stability and security risk may be elevated.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
23826
418
5
11
1
1
1
+ Added@quansync/fs@^0.1.1
+ Addedquansync@^0.2.8
+ Added@antfu/utils@9.1.0(transitive)
+ Added@quansync/fs@0.1.1(transitive)
+ Addedquansync@0.2.8(transitive)
- Removed@antfu/utils@8.1.1(transitive)
Updated@antfu/utils@^9.1.0