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

simple-boot-core

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-boot-core - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

5

module/LifeCycle.d.ts
export interface LifeCycle {
onInit(): void;
onChangedRender(): void;
onInitedChild(): void;
onFinish(): void;
onCreate(): void;
}

@@ -11,8 +11,5 @@ import { LifeCycle } from "./LifeCycle";

_refModule: Map<string, Map<Module, RefModuleItem[]>>;
onChangedRender(): void;
onFinish(): void;
onInit(): void;
onInitedChild(): void;
onCreate(): void;
publish(intent: Intent): void;
subscribe(intent: Intent): void;
}

8

module/Module.js

@@ -9,10 +9,4 @@ "use strict";

}
Module.prototype.onChangedRender = function () {
Module.prototype.onCreate = function () {
};
Module.prototype.onFinish = function () {
};
Module.prototype.onInit = function () {
};
Module.prototype.onInitedChild = function () {
};
Module.prototype.publish = function (intent) {

@@ -19,0 +13,0 @@ var _a;

{
"name": "simple-boot-core",
"version": "1.0.15",
"version": "1.0.16",
"main": "SimpleApplication.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -6,3 +6,4 @@ import { Module } from "../module/Module";

import { RouterModule } from "./RouterModule";
export declare class Router implements IntentEvent {
import { LifeCycle } from '../module/LifeCycle';
export declare class Router implements IntentEvent, LifeCycle {
_path: string;

@@ -13,2 +14,3 @@ _childs: ConstructorType<Router>[];

constructor(_path?: string, _childs?: ConstructorType<Router>[]);
onCreate(): void;
publish(intent: Intent): void;

@@ -15,0 +17,0 @@ subscribe(intent: Intent): void;

@@ -51,2 +51,4 @@ "use strict";

}
Router.prototype.onCreate = function () {
};
Router.prototype.publish = function (intent) {

@@ -53,0 +55,0 @@ var _a;

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