Socket
Socket
Sign inDemoInstall

telegraf-ts

Package Overview
Dependencies
6
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.88.6 to 3.88.7

6

.eslintrc.js
module.exports = {
root: true,
extends: ["@frontendmonster"],
parserOptions: {
project: "./tsconfig.eslint.json",
},
rules: {
"babel/camelcase": 0, // telegraf context is snake_case so we'll follow that convention
"spaced-comment": 0,
"@typescript-eslint/naming-convention": 0,
"@typescript-eslint/ban-types": 0
},
};
{
"name": "telegraf-ts",
"version": "3.88.6",
"version": "3.88.7",
"description": "Well-Typed fork of telegraf",

@@ -12,2 +12,5 @@ "license": "MIT",

},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"bugs": {

@@ -46,11 +49,11 @@ "url": "https://github.com/frontendmonster/telegraf-ts/issues"

"devDependencies": {
"@babel/core": "7.9.6",
"@frontendmonster/eslint-config": "3.2.14",
"@types/node": "13.13.5",
"@babel/core": "^7.11.6",
"@frontendmonster/eslint-config": "^4.0.4",
"@types/node": "^14.11.5",
"ava": "3.0.0",
"eslint": "6.2.2",
"eslint": "^7.10.0",
"husky": "4.2.5",
"np": "6.2.3",
"prettier": "2.0.5",
"typescript": "3.0.1"
"np": "^6.5.0",
"prettier": "^2.1.2",
"typescript": "^4.0.3"
},

@@ -57,0 +60,0 @@ "keywords": [

@@ -95,3 +95,3 @@ /** @format */

*/
getChatAdministrators(): Promise<Array<tt.ChatMember>>
getChatAdministrators(): Promise<tt.ChatMember[]>

@@ -274,3 +274,3 @@ /**

extra?: tt.ExtraMediaGroup
): Promise<Array<tt.Message>>
): Promise<tt.Message[]>

@@ -360,3 +360,3 @@ /**

showAlert?: boolean,
extra?: object,
extra?: object
): Promise<boolean>

@@ -363,0 +363,0 @@

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

/** @format */
import * as tt from './telegram-types.d'

@@ -4,0 +2,0 @@

/** @format */
import { TelegrafContext } from './context';
import { Middleware } from './composer';
import { TelegrafContext } from './context'
import { Middleware } from './composer'
export declare function session<TContext extends TelegrafContext>(opts?: {
property?: string;
store?: Map<string, any>;
getSessionKey?: (ctx: TContext) => string;
ttl?: number;
}): Middleware<TContext>;
property?: string
store?: Map<string, any>
getSessionKey?: (ctx: TContext) => string
ttl?: number
}): Middleware<TContext>

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

/** @format */
/// <reference types="node" />

@@ -4,0 +2,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc