New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 1.6.2 to 1.6.12

6

lib/template/middleware/middleware.ts

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

* @ license: Apache License 2.0
* @ version: 2019-10-30 15:28:37
* @ version: 2019-11-14 17:26:12
*/
import { Middleware, helper } from "koatty";
import { Middleware, Helper } from "koatty";
import { App } from '<Path>/App';

@@ -20,3 +20,3 @@

run(options: any, app: App) {
options = helper.extend(defaultOpt, options);
options = Helper.extend(defaultOpt, options);
//应用启动执行一次

@@ -23,0 +23,0 @@ // app.once('appReady', () => { });

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

* @ license: Apache License 2.0
* @ version: 2019-10-18 19:40:23
* @ version: 2019-11-14 17:26:48
*/
import { Middleware, helper, logger } from "koatty";
import { Middleware, Helper } from "koatty";
import { createConnection, Connection, BaseApp } from "typeorm";

@@ -28,8 +28,8 @@

run(options: any, app: BaseApp) {
options = helper.extend(defaultOpt, options);
options = Helper.extend(defaultOpt, options);
const conn = function () {
createConnection(options).then((connection: Connection) => {
helper.define(app, 'connection', connection);
Helper.define(app, 'connection', connection);
}).catch((err) => {
logger.error(err);
Helper.error(err);
});

@@ -36,0 +36,0 @@ };

{
"name": "koatty_cli",
"version": "1.6.2",
"version": "1.6.12",
"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