New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

koishi-plugin-common

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koishi-plugin-common - npm Package Compare versions

Comparing version 4.2.6 to 4.2.7

8

lib/index.js

@@ -486,3 +486,3 @@ var __create = Object.create;

} else {
await bot.sendMessage(id, message);
await bot.sendMessage(id, message, "unknown");
}

@@ -503,3 +503,3 @@ return;

const delay = ctx.app.options.delay.broadcast;
const data = [session.sid, session.channelId];
const data = [session.sid, session.channelId, session.groupId];
for (let index = 0; index < operators.length; ++index) {

@@ -521,3 +521,3 @@ if (index && delay)

return next();
return ctx.bots[data[0]].sendMessage(data[1], parsed.content);
return ctx.bots[data[0]].sendMessage(data[1], parsed.content, data[2]);
});

@@ -563,3 +563,3 @@ }

const content = (0, import_koishi_utils2.template)("common.relay", session.username, session.parsed.content);
const id = await bot.sendMessage(channelId, content);
const id = await bot.sendMessage(channelId, content, "unknown");
relayMap[id] = {source: destination, destination: session.cid, selfId: session.selfId, lifespan};

@@ -566,0 +566,0 @@ setTimeout(() => delete relayMap[id], lifespan);

{
"name": "koishi-plugin-common",
"description": "Common plugins for Koishi",
"version": "4.2.6",
"version": "4.2.7",
"main": "lib/index.js",

@@ -33,3 +33,3 @@ "typings": "lib/index.d.ts",

"peerDependencies": {
"koishi-core": "^3.11.0",
"koishi-core": "^3.12.0",
"koishi-utils": "^4.2.2"

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

Sorry, the diff of this file is not supported yet

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