Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tinkoff/dippy

Package Overview
Dependencies
Maintainers
17
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinkoff/dippy - npm Package Compare versions

Comparing version 0.8.16 to 0.9.0

7

lib/ChildContainer.d.ts
import type { RecordProvide } from './Container.h';
import { Container } from './Container';
export declare const IS_DI_CHILD_CONTAINER_TOKEN: (false & {
export declare const IS_DI_CHILD_CONTAINER_TOKEN: (true & {
__type?: "base token" | undefined;
}) | (true & {
}) | (false & {
__type?: "base token" | undefined;

@@ -26,4 +26,5 @@ });

*/
protected hydrateDeps<T>(record: RecordProvide<T>): import("./Provider").ProvideDepsIterator<Record<string, import("./Provider").Provider<any, any>>>;
protected hydrateDeps<T>(record: RecordProvide<T>): import("./Provider").ProvideDepsIterator<Record<string, import("./Provider").Provider>>;
protected hydrate<T>(record: RecordProvide<T>, token: symbol, optional: boolean): T | null;
}
//# sourceMappingURL=ChildContainer.d.ts.map

@@ -13,1 +13,2 @@ import type { ScopeVariants } from './Provider';

};
//# sourceMappingURL=constant.d.ts.map

@@ -50,4 +50,5 @@ import type { RecordProvide } from './Container.h';

processProvider(provider: Provider): void;
protected hydrateDeps<T>(record: RecordProvide<T>): ProvideDepsIterator<Record<string, Provider<any, any>>>;
protected hydrateDeps<T>(record: RecordProvide<T>): ProvideDepsIterator<Record<string, Provider>>;
protected hydrate<T>(record: RecordProvide<T>, token: symbol, optional: boolean): T | null;
}
//# sourceMappingURL=Container.d.ts.map

@@ -9,1 +9,2 @@ import type { Provider, ScopeVariants, ProvideDepsIterator } from './Provider';

}
//# sourceMappingURL=Container.h.d.ts.map

@@ -5,1 +5,2 @@ import { ChildContainer } from '../ChildContainer';

export declare function createChildContainer(container: Container, providers?: Provider[]): ChildContainer;
//# sourceMappingURL=createChildContainer.d.ts.map
import { Container } from '../Container';
import type { Provider } from '../Provider';
export declare function createContainer(providers?: Provider[]): Container;
//# sourceMappingURL=createContainer.d.ts.map
export {};
//# sourceMappingURL=createContainer.test-types.d.ts.map
export declare const createError: (message: string, additional: Record<string, any>) => Error & {
stack: string | undefined;
};
//# sourceMappingURL=createError.d.ts.map

@@ -56,1 +56,2 @@ import type { TokenType, TokenOptions } from './createToken.h';

export {};
//# sourceMappingURL=createToken.d.ts.map

@@ -11,1 +11,2 @@ export interface TokenType<T> {

}
//# sourceMappingURL=createToken.h.d.ts.map
export {};
//# sourceMappingURL=createToken.test-types.d.ts.map

@@ -19,1 +19,2 @@ export { Container } from './Container';

export { declareModule } from './modules/declareModule';
//# sourceMappingURL=di.d.ts.map
import type { ExtendedModule, ModuleType } from '../modules/module.h';
import type { Provider } from '../Provider';
export declare const initContainer: ({ modules, initialProviders, providers, }?: {
modules?: (ModuleType<import("../modules/module.h").ModuleClass> | ExtendedModule)[] | undefined;
initialProviders?: Provider<any, any>[] | undefined;
providers?: Provider<any, any>[] | undefined;
modules?: (ModuleType | ExtendedModule)[] | undefined;
initialProviders?: Provider[] | undefined;
providers?: Provider[] | undefined;
}) => import("../Container").Container;
//# sourceMappingURL=initContainer.d.ts.map

@@ -15,1 +15,2 @@ import type { Provider } from '../Provider';

export {};
//# sourceMappingURL=declareModule.d.ts.map
import type { ModuleType, ModuleParameters, ExtendedModule } from './module.h';
export declare const getModuleParameters: (module: ModuleType | ExtendedModule) => ModuleParameters;
//# sourceMappingURL=getModuleParameters.d.ts.map
import type { ModuleType, ExtendedModule } from './module.h';
export declare const isExtendedModule: (module: ModuleType | ExtendedModule) => module is ExtendedModule;
//# sourceMappingURL=isExtendedModule.d.ts.map
import type { ModuleType, ExtendedModule } from './module.h';
export declare const isValidModule: (module: ModuleType | ExtendedModule) => module is ModuleType<import("./module.h").ModuleClass> | ExtendedModule;
export declare const isValidModule: (module: ModuleType | ExtendedModule) => module is ModuleType | ExtendedModule;
//# sourceMappingURL=isValidModule.d.ts.map

@@ -5,1 +5,2 @@ import type { Provider } from '../Provider';

export declare function Module<Providers extends Provider[]>({ providers, imports, deps, }: ModuleOptions<Providers>): ModuleConstructor;
//# sourceMappingURL=module.d.ts.map

@@ -28,1 +28,2 @@ import type { Provider, ProviderDeps } from '../Provider';

export type ModuleConstructor = <Class extends ModuleClass = ModuleClass>(target: Class) => ModuleType<Class>;
//# sourceMappingURL=module.h.d.ts.map
import type { ExtendedModule, ModuleType } from './module.h';
export declare const INVALID_MODULE_ERROR = "An invalid module was passed in the list of modules";
export declare const walkOfModules: (modules: Array<ModuleType | ExtendedModule>) => (ModuleType<import("./module.h").ModuleClass> | ExtendedModule)[];
export declare const walkOfModules: (modules: Array<ModuleType | ExtendedModule>) => (ModuleType | ExtendedModule)[];
//# sourceMappingURL=walkOfModules.d.ts.map
import type { Provider } from './Provider';
export declare function provide<Deps, P = any>(descr: Provider<Deps, P>): Provider<Deps, P>;
//# sourceMappingURL=provide.d.ts.map
export {};
//# sourceMappingURL=provide.test-types.d.ts.map

@@ -107,1 +107,2 @@ import type { TokenInterface, ExtractTokenType, OptionalTokenDependency, ExtractDependencyType } from './createToken/createToken';

export {};
//# sourceMappingURL=Provider.d.ts.map

@@ -5,1 +5,2 @@ import type { Container } from './Container';

};
//# sourceMappingURL=tokens.d.ts.map
{
"name": "@tinkoff/dippy",
"version": "0.8.16",
"version": "0.9.0",
"initialVersion": "0.7.27",

@@ -5,0 +5,0 @@ "description": "",

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