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.1.1 to 1.1.2

5

lib/index.js

@@ -396,2 +396,7 @@ #!/usr/bin/env node

//create model
commander.command('model <modelName>').description('add model').action(function (model) {
createModel(model);
});
commander.parse(process.argv);

6

lib/template/controller/IndexController.ts

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

* @ license: Apache License 2.0
* @ version: 2019-10-16 18:31:35
* @ version: 2019-10-17 11:04:01
*/

@@ -14,4 +14,4 @@ import * as Koa from "Koa";

export class IndexController extends BaseController {
public ctx: Koa.BaseContext;
public app: App;
app: App;
protected ctx: Koa.BaseContext;

@@ -18,0 +18,0 @@ init() {

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

* @ license: Apache License 2.0
* @ version: 2019-10-16 18:32:48
* @ version: 2019-10-17 11:04:06
*/

@@ -14,4 +14,4 @@ import * as Koa from "Koa";

export class <NewController> extends BaseController {
public ctx: Koa.BaseContext;
public app: App;
app: App;
protected ctx: Koa.BaseContext;

@@ -18,0 +18,0 @@ init() {

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

* @ license: Apache License 2.0
* @ version: 2019-10-16 18:32:06
* @ version: 2019-10-17 11:04:33
*/

@@ -13,12 +13,10 @@ import { App } from "../App";

export class <Service> {
public app: App;
app: App;
// @Autowired()
// private testService2: TestService2;
// @Autowired()
// private testService3: TestService3;
public sayHello() {
console.log(this.app.app_debug);
console.log('TestService.sayHello!');
test() {
console.log('TestService.test!');
return "";
}
}
{
"name": "koatty_cli",
"version": "1.1.1",
"version": "1.1.2",
"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