New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cordis

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordis - npm Package Compare versions

Comparing version 3.9.2 to 3.10.0

16

lib/index.d.ts

@@ -1,2 +0,1 @@

/// <reference types="@cordisjs/timer" />
import * as core from '@cordisjs/core';

@@ -7,8 +6,2 @@ import * as logger from '@cordisjs/logger';

export { Logger } from '@cordisjs/logger';
export interface EffectScope<C extends Context = Context> extends core.EffectScope<C> {
}
export interface ForkScope<C extends Context = Context> extends core.ForkScope<C> {
}
export interface MainScope<C extends Context = Context> extends core.MainScope<C> {
}
export interface Events<C extends Context = Context> extends core.Events<C> {

@@ -26,7 +19,12 @@ }

}
export declare class Service<C extends Context = Context> extends core.Service<C> {
export declare abstract class Service<C extends Context = Context> extends core.Service<C> {
static Context: typeof Context;
logger: logger.Logger;
constructor(ctx: C | undefined, name: string, immediate?: boolean);
constructor(ctx: C | undefined, name: string, options?: boolean | core.Service.Options);
}
export declare abstract class FunctionalService<C extends Context = Context> extends core.FunctionalService<C> {
static Context: typeof Context;
logger: logger.Logger;
constructor(ctx: C | undefined, name: string, options?: boolean | core.Service.Options);
}
export default function (): void;
{
"name": "cordis",
"description": "Meta-Framework for Modern JavaScript Applications",
"version": "3.9.2",
"version": "3.10.0",
"type": "module",

@@ -56,4 +56,4 @@ "main": "lib/index.cjs",

"dependencies": {
"@cordisjs/core": "3.9.2",
"@cordisjs/loader": "^0.4.8",
"@cordisjs/core": "3.10.0",
"@cordisjs/loader": "^0.5.0",
"@cordisjs/logger": "^0.2.0",

@@ -60,0 +60,0 @@ "@cordisjs/timer": "^0.3.0",

@@ -9,6 +9,2 @@ import * as core from '@cordisjs/core'

export interface EffectScope<C extends Context = Context> extends core.EffectScope<C> {}
export interface ForkScope<C extends Context = Context> extends core.ForkScope<C> {}
export interface MainScope<C extends Context = Context> extends core.MainScope<C> {}
export interface Events<C extends Context = Context> extends core.Events<C> {}

@@ -39,3 +35,3 @@

export class Service<C extends Context = Context> extends core.Service<C> {
export abstract class Service<C extends Context = Context> extends core.Service<C> {
static Context = Context

@@ -45,4 +41,4 @@

constructor(ctx: C | undefined, name: string, immediate?: boolean) {
super(ctx, name, immediate)
constructor(ctx: C | undefined, name: string, options?: boolean | core.Service.Options) {
super(ctx, name, options)
this.logger = this.ctx.logger(name)

@@ -52,2 +48,13 @@ }

export abstract class FunctionalService<C extends Context = Context> extends core.FunctionalService<C> {
static Context = Context
public logger: logger.Logger
constructor(ctx: C | undefined, name: string, options?: boolean | core.Service.Options) {
super(ctx, name, options)
this.logger = this.ctx.logger(name)
}
}
export default function () {}

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

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