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

koatty_cli

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koatty_cli - npm Package Compare versions

Comparing version 2.2.1 to 2.3.0

6

lib/template/middleware/middleware.ts

@@ -5,5 +5,5 @@ /**

* @ license: Apache License 2.0
* @ version: 2020-03-05 11:45:45
* @ version: 2020-05-18 11:36:51
*/
import { Middleware, Helper } from "koatty";
import { Middleware, IMiddleware, Helper } from "koatty";
import { App } from '<Path>/App';

@@ -18,3 +18,3 @@

@Middleware()
export class <Middleware> {
export class <Middleware> implements IMiddleware {
run(options: any, app: App) {

@@ -21,0 +21,0 @@ options = Helper.extend(defaultOpt, options);

@@ -5,9 +5,9 @@ /**

* @ license: MIT
* @ version: 2020-05-11 15:16:59
* @ version: 2020-05-18 11:36:23
*/
import { Middleware, Koatty, Helper } from "koatty";
import { Middleware, IMiddleware, Koatty, Helper } from "koatty";
const statics = require("think_static");
@Middleware()
export class StaticMiddleware {
export class StaticMiddleware implements IMiddleware {
run(options: any, app: Koatty) {

@@ -14,0 +14,0 @@ return statics(options, app);

@@ -5,5 +5,5 @@ /**

* @ license: Apache License 2.0
* @ version: 2020-05-11 15:17:13
* @ version: 2020-05-18 11:36:36
*/
import { Middleware, Helper } from "koatty";
import { Middleware, IMiddleware, Helper } from "koatty";
import { createConnection, Connection } from "typeorm";

@@ -27,3 +27,3 @@ import { App } from '<Path>/App';

@Middleware()
export class TypeormMiddleware {
export class TypeormMiddleware implements IMiddleware {
run(options: any, app: App) {

@@ -30,0 +30,0 @@ options = Helper.extend(defaultOpt, options);

@@ -5,9 +5,9 @@ /**

* @ license: Apache License 2.0
* @ version: 2019-12-18 09:48:19
* @ version: 2020-05-18 11:37:14
*/
import { Service, Base } from "koatty";
import { Service, BaseService } from "koatty";
import { App } from '<Path>/App';
@Service()
export class <Service> extends Base {
export class <Service> extends BaseService {
app: App;

@@ -14,0 +14,0 @@

{
"name": "koatty_cli",
"version": "2.2.1",
"version": "2.3.0",
"description": "Koatty command line tool.",

@@ -5,0 +5,0 @@ "scripts": {

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