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

koishi-core

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koishi-core - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

4

dist/app.js

@@ -227,6 +227,6 @@ "use strict";

command: suggestion => this._commandMap[suggestion],
execute: (suggestion, meta, next) => {
execute: async (suggestion, meta, next) => {
const newMessage = suggestion + message.slice(target.length);
const parsedArgv = this._parseCommandLine(newMessage, meta);
// TODO: fields
await this.app.database.observeUser(meta.$user, 0, Array.from(parsedArgv.command._userFields));
return parsedArgv.command.execute(parsedArgv, next);

@@ -233,0 +233,0 @@ },

@@ -52,2 +52,3 @@ import { Observed } from 'koishi-utils';

setGroup(groupId: number, data: Partial<GroupData>): Promise<any>;
observeUser<K extends GroupField>(group: number | GroupData, defaultAuthority?: number, keys?: K[]): Promise<Observed<Pick<GroupData, K>>>;
getGroupCount(): Promise<number>;

@@ -54,0 +55,0 @@ }

{
"name": "koishi-core",
"version": "0.1.7",
"version": "0.1.8",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts",

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