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.3.4 to 4.3.5

7

lib/index.d.ts

@@ -1,2 +0,3 @@

import { Context, Session, User, Channel, Argv, Extend } from 'koishi-core';
import { Context, Session, Awaitable, User, Channel, Argv, Extend } from 'koishi-core';
import { Awaitable } from 'koishi-utils';
export function broadcast(ctx: Context): void;

@@ -51,3 +52,3 @@ export function contextify(ctx: Context): void;

export function repeater(ctx: Context, config?: RepeaterConfig): void;
type RequestHandler = string | boolean | ((session: Session) => string | boolean | void | Promise<string | boolean | void>);
type RequestHandler = string | boolean | ((session: Session) => Awaitable<string | boolean | void>);
export interface VerifierConfig {

@@ -63,3 +64,3 @@ onFriendRequest?: RequestHandler;

target: T;
}, ...args: A) => void | string | Promise<void | string>;
}, ...args: A) => Awaitable<void | string>;
declare module 'koishi-core' {

@@ -66,0 +67,0 @@ interface Command<U, G, A, O> {

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

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

"peerDependencies": {
"koishi-core": "^3.14.1",
"koishi-utils": "^4.2.4"
"koishi-core": "^3.14.2",
"koishi-utils": "^4.3.0"
},
"devDependencies": {
"koishi-test-utils": "^7.0.1"
"koishi-test-utils": "^7.0.2"
}
}

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