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.29 to 1.0.30

2

decorators/aop/AOPDecorator.d.ts

@@ -9,4 +9,4 @@ import 'reflect-metadata';

declare type AroundOption = {
before?: (obj: any, propertyKey: string, args: any[]) => any[];
after?: (obj: any, propertyKey: string, args: any[], beforeReturn: any) => any[];
before?: (obj: any, propertyKey: string, args: any[]) => any[];
};

@@ -13,0 +13,0 @@ export declare const After: (data: AOPOption) => {

{
"name": "simple-boot-core",
"version": "1.0.29",
"version": "1.0.30",
"main": "SimpleApplication.js",

@@ -52,6 +52,3 @@ "license": "MIT",

"tsc": "tsc",
"setting:root-dist": "rm -rf ../dist-simple-boot-core && mkdirp ../dist-simple-boot-core && cp package-root-dist.json ../dist-simple-boot-core/package.json",
"tsc:root-dist": "npm run setting:root-dist && tsc --outDir ../dist-simple-boot-core --declarationDir ../dist-simple-boot-core",
"tsc:watch": "rm -rf ./dist && mkdir dist && cp package.json dist && tsc --watch --sourceMap true",
"tsc:watch:root-dist": "npm run setting:root-dist && tsc --outDir ../dist-simple-boot-core --declarationDir ../dist-simple-boot-core --watch --sourceMap true",
"test": "jest --detectOpenHandles --forceExit"

@@ -58,0 +55,0 @@ },

@@ -123,3 +123,3 @@ SIMPLE-BOOT-CORE

// sayBefore
// say~ hello: 30
// say~ hello
// sayAfter

@@ -126,0 +126,0 @@ ```

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

import { Runnable } from './run/Runnable';
import { SimstanceManager } from './simstance/SimstanceManager';

@@ -11,3 +10,3 @@ import { SimOption } from './SimOption';

import 'reflect-metadata';
export declare class SimpleApplication implements Runnable {
export declare class SimpleApplication {
rootRouter: ConstructorType<Object>;

@@ -19,3 +18,6 @@ option: SimOption;

constructor(rootRouter: ConstructorType<Object>, option?: SimOption);
run(otherInstanceSim?: Map<ConstructorType<any>, any>): SimpleApplication;
getSimstanceManager(): SimstanceManager;
getIntentManager(): IntentManager;
getRouterManager(): RouterManager;
run(otherInstanceSim?: Map<ConstructorType<any>, any>): void;
publishIntent(i: string, data?: any): any[];

@@ -22,0 +24,0 @@ publishIntent(i: Intent): any[];

@@ -23,5 +23,13 @@ "use strict";

}
SimpleApplication.prototype.getSimstanceManager = function () {
return this.simstanceManager;
};
SimpleApplication.prototype.getIntentManager = function () {
return this.intentManager;
};
SimpleApplication.prototype.getRouterManager = function () {
return this.routerManager;
};
SimpleApplication.prototype.run = function (otherInstanceSim) {
this.simstanceManager.run(otherInstanceSim);
return this;
};

@@ -28,0 +36,0 @@ SimpleApplication.prototype.publishIntent = function (i, data) {

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