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

kotori-bot

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kotori-bot - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

4

lib/cli.js
/**
* @Package kotori-bot
* @Version 1.6.0-rc.1
* @Version 1.6.1
* @Author Arimura Sena <me@hotaru.icu>

@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved.

* @Link https://github.com/kotorijs/kotori
* @Date 2024/8/9 17:33:09
* @Date 2024/8/9 18:47:19
*/

@@ -12,0 +12,0 @@

/**
* @Package kotori-bot
* @Version 1.6.0-rc.1
* @Version 1.6.1
* @Author Arimura Sena <me@hotaru.icu>

@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved.

* @Link https://github.com/kotorijs/kotori
* @Date 2024/8/9 17:33:09
* @Date 2024/8/9 18:47:19
*/

@@ -59,7 +59,9 @@

}
const endTime = (/* @__PURE__ */ new Date()).getTime();
const timeTaken = (endTime - startTime) / 1e3;
import_loader.Logger.error(`[Daemon] Exited with code ${code} in ${timeTaken} seconds.`);
if (timeTaken <= 5) return;
import_loader.Logger.error("[Daemon] Restarting...");
if (code !== 233) {
const endTime = (/* @__PURE__ */ new Date()).getTime();
const timeTaken = (endTime - startTime) / 1e3;
import_loader.Logger.error(`[Daemon] Exited with code ${code} in ${timeTaken} seconds.`);
if (timeTaken <= 5) return;
}
import_loader.Logger.warn("[Daemon] Restarting...");
daemon(virtualEnv);

@@ -66,0 +68,0 @@ });

/**
* @Package kotori-bot
* @Version 1.6.0-rc.1
* @Version 1.6.1
* @Author Arimura Sena <me@hotaru.icu>

@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved.

* @Link https://github.com/kotorijs/kotori
* @Date 2024/8/9 17:33:09
* @Date 2024/8/9 18:47:19
*/

@@ -12,0 +12,0 @@

/**
* @Package kotori-bot
* @Version 1.6.0-rc.1
* @Version 1.6.1
* @Author Arimura Sena <me@hotaru.icu>

@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved.

* @Link https://github.com/kotorijs/kotori
* @Date 2024/8/9 17:33:09
* @Date 2024/8/9 18:47:19
*/

@@ -12,0 +12,0 @@

/**
* @Package kotori-bot
* @Version 1.6.0-rc.1
* @Version 1.6.1
* @Author Arimura Sena <me@hotaru.icu>

@@ -9,3 +9,3 @@ * @Copyright 2024 Hotaru. All rights reserved.

* @Link https://github.com/kotorijs/kotori
* @Date 2024/8/9 17:33:09
* @Date 2024/8/9 18:47:19
*/

@@ -12,0 +12,0 @@

{
"name": "kotori-bot",
"version": "1.6.0",
"version": "1.6.1",
"description": "Cross-platform chatbot framework base on Node.js and TypeScript",

@@ -40,4 +40,4 @@ "main": "lib/index.js",

"tsx": "^4.11.2",
"@kotori-bot/core": "^1.6.0",
"@kotori-bot/loader": "^1.7.0"
"@kotori-bot/loader": "^1.7.1",
"@kotori-bot/core": "^1.6.1"
},

@@ -44,0 +44,0 @@ "devDependencies": {

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