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.2.0 to 1.2.1

6

lib/index.js

@@ -229,3 +229,4 @@ #!/usr/bin/env node

copyFile('controller' + path.sep + file, APP_PATH + path.sep + 'controller' + path.sep + module + path.sep + controller + 'Controller.ts', {
'<New>': controller.toLowerCase(),
'<Path>': '../..',
'<New>': module.toLowerCase(),
'<NewController>': controller + 'Controller'

@@ -235,2 +236,3 @@ });

copyFile('controller' + path.sep + file, APP_PATH + path.sep + 'controller' + path.sep + controller + 'Controller.ts', {
'<Path>': '..',
'<New>': controller.toLowerCase(),

@@ -301,2 +303,3 @@ '<NewController>': controller + 'Controller'

copyFile('service' + path.sep + 'service.ts', APP_PATH + path.sep + 'service' + path.sep + module + path.sep + service + 'Service.ts', {
'<Path>': '../..',
'<Service>': service + 'Service'

@@ -306,2 +309,3 @@ });

copyFile('service' + path.sep + 'service.ts', APP_PATH + path.sep + 'service' + path.sep + service + 'Service.ts', {
'<Path>': '..',
'<Service>': service + 'Service'

@@ -308,0 +312,0 @@ });

4

lib/template/controller/NewController.ts

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

* @ license: Apache License 2.0
* @ version: 2019-10-18 10:32:59
* @ version: 2019-10-18 11:26:50
*/
import * as Koa from "Koa";
import { App } from "../App";
import { App } from "<Path>/App";
import { Controller, BaseController, GetMaping } from "koatty";

@@ -11,0 +11,0 @@

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

* @ license: Apache License 2.0
* @ version: 2019-10-17 11:04:33
* @ version: 2019-10-18 11:28:39
*/
import { App } from "../App";
import { App } from "<Path>/App";
import { Service } from "koatty";

@@ -10,0 +10,0 @@

{
"name": "koatty_cli",
"version": "1.2.0",
"version": "1.2.1",
"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