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

@satorijs/core

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@satorijs/core - npm Package Compare versions

Comparing version 3.6.0-alpha.4 to 3.6.0

5

lib/index.d.ts

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

/// <reference types="undios-file" />
import * as cordis from 'cordis';

@@ -197,4 +196,4 @@ import { Message, SendOptions, Event, GuildMember, User, Login, Methods, Status } from '@satorijs/protocol';

}
export class Service<C extends Context = Context> extends cordis.Service<C> {
static Context: typeof Context;
export abstract class Service<T = undefined, C extends Context = Context> extends cordis.Service<T, C> {
[cordis.Service.setup](): void;
}

@@ -201,0 +200,0 @@ export abstract class Adapter<C extends Context = Context, B extends Bot<C> = Bot<C>> {

8

package.json
{
"name": "@satorijs/core",
"description": "Core components of Satorijs",
"version": "3.6.0-alpha.4",
"version": "3.6.0",
"type": "module",

@@ -47,7 +47,7 @@ "main": "lib/index.cjs",

"dependencies": {
"@satorijs/element": "^3.1.4",
"@satorijs/element": "^3.1.5",
"@satorijs/protocol": "^1.3.0-alpha.0",
"cordis": "^3.11.0",
"cordis": "^3.12.0",
"cosmokit": "^1.5.2",
"undios": "^0.2.0",
"undios": "^0.2.2",
"undios-file": "^0.1.2",

@@ -54,0 +54,0 @@ "ws": "^8.14.2"

@@ -171,4 +171,6 @@ import * as cordis from 'cordis'

export class Service<C extends Context = Context> extends cordis.Service<C> {
static Context = Context
export abstract class Service<T = undefined, C extends Context = Context> extends cordis.Service<T, C> {
[cordis.Service.setup]() {
this.ctx = new Context() as C
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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