Comparing version 2.9.2 to 2.9.3
@@ -24,4 +24,2 @@ import { Awaitable, Promisify } from 'cosmokit'; | ||
export interface Context { | ||
inject(deps: readonly string[], callback: Plugin.Function<void, Context.Configured<this>>): ForkScope<Context.Configured<this>>; | ||
/** @deprecated use `ctx.inject()` instead */ | ||
using(deps: readonly string[], callback: Plugin.Function<void, Context.Configured<this>>): ForkScope<Context.Configured<this>>; | ||
@@ -47,3 +45,2 @@ plugin<S extends Plugin<Context.Configured<this>>, T extends Plugin.Config<S>>(plugin: S, config?: boolean | T): ForkScope<Context.Configured<this, T>>; | ||
delete(plugin: Plugin<C>): boolean; | ||
inject(inject: readonly string[], callback: Plugin.Function<void, C>): ForkScope<C> | undefined; | ||
using(inject: readonly string[], callback: Plugin.Function<void, C>): ForkScope<C> | undefined; | ||
@@ -50,0 +47,0 @@ plugin(plugin: Plugin<C>, config?: any): ForkScope<C> | undefined; |
{ | ||
"name": "cordis", | ||
"description": "AOP Framework for Modern JavaScript Applications", | ||
"version": "2.9.2", | ||
"version": "2.9.3", | ||
"sideEffects": false, | ||
@@ -6,0 +6,0 @@ "main": "lib/index.cjs", |
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
183601
1733