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

@sigodenjs/dee-srv

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sigodenjs/dee-srv - npm Package Compare versions

Comparing version 0.16.4 to 0.17.0

11

dist/index.d.ts

@@ -5,6 +5,9 @@ export interface ServiceGroup extends SrvExt.ServiceGroup {

export interface SrvContext {
config: BaseConfig;
config: SrvConfig;
srvs: ServiceGroup;
}
export interface BaseConfig {
export interface Ctor<T> {
new (...args: any): T;
}
export interface SrvConfig {
/**

@@ -23,3 +26,3 @@ * 名称空间

}
export interface IService {
export interface ServiceBase {
}

@@ -34,3 +37,3 @@ export declare type Stop = () => void;

}> {
(ctx: SrvContext, args: U, ctor?: new () => T, depends?: P): Promise<InitOutput<T>>;
(ctx: SrvContext, args: U, ctor?: Ctor<T>, depends?: P): Promise<InitOutput<T>>;
deps?: string[];

@@ -37,0 +40,0 @@ }

{
"name": "@sigodenjs/dee-srv",
"version": "0.16.4",
"version": "0.17.0",
"description": "A way to write and organize service",

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

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