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

@contember/dic

Package Overview
Dependencies
Maintainers
5
Versions
262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/dic - npm Package Compare versions

Comparing version 1.3.0-alpha.13 to 1.3.0-beta.1

16

dist/src/Container.d.ts

@@ -1,9 +0,9 @@

export declare type ServiceName = string;
export declare type ReservedServiceName = 'inner';
export declare type ServiceType = any;
export declare type ServiceTypeMap = {
export type ServiceName = string;
export type ReservedServiceName = 'inner';
export type ServiceType = any;
export type ServiceTypeMap = {
[N in ServiceName]: ServiceType | undefined;
};
export declare type ServiceFactory<M extends ServiceTypeMap, T> = (accessors: Readonly<M>) => T;
export declare type ServiceSetup<M extends ServiceTypeMap, T> = (service: T, accessors: Readonly<M>) => void;
export type ServiceFactory<M extends ServiceTypeMap, T> = (accessors: Readonly<M>) => T;
export type ServiceSetup<M extends ServiceTypeMap, T> = (service: T, accessors: Readonly<M>) => void;
export interface ServiceDefinition<M extends ServiceTypeMap, T> {

@@ -14,3 +14,3 @@ factory: ServiceFactory<M, T>;

}
export declare type ServiceDefinitionMap<M extends ServiceTypeMap> = {
export type ServiceDefinitionMap<M extends ServiceTypeMap> = {
[N in keyof M]: ServiceDefinition<M, M[N]>;

@@ -34,3 +34,3 @@ };

}
export declare type Container<M extends ServiceTypeMap> = ContainerImpl<M> & {
export type Container<M extends ServiceTypeMap> = ContainerImpl<M> & {
[K in keyof M]: M[K];

@@ -37,0 +37,0 @@ };

{
"name": "@contember/dic",
"version": "1.3.0-alpha.13",
"version": "1.3.0-beta.1",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

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