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

@satorijs/adapter-kook

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@satorijs/adapter-kook - npm Package Compare versions

Comparing version 4.5.0 to 4.5.1

3

lib/index.js

@@ -533,4 +533,5 @@ var __defProp = Object.defineProperty;

let parsed;
data = data.toString();
try {
parsed = JSON.parse(data.toString());
parsed = JSON.parse(data);
} catch (error) {

@@ -537,0 +538,0 @@ return this.bot.logger.warn("cannot parse message", data);

{
"name": "@satorijs/adapter-kook",
"description": "KOOK (开黑啦) Adapter for Satorijs",
"version": "4.5.0",
"version": "4.5.1",
"main": "lib/index.js",

@@ -35,4 +35,4 @@ "typings": "lib/index.d.ts",

"peerDependencies": {
"@satorijs/satori": "^3.6.0"
"@satorijs/satori": "^3.6.1"
}
}

@@ -42,4 +42,5 @@ import { Adapter, Context, Schema, Time, Universal } from '@satorijs/satori'

let parsed: Payload
data = data.toString()
try {
parsed = JSON.parse(data.toString())
parsed = JSON.parse(data)
} catch (error) {

@@ -46,0 +47,0 @@ return this.bot.logger.warn('cannot parse message', data)

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