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

telegraf

Package Overview
Dependencies
Maintainers
3
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telegraf - npm Package Compare versions

Comparing version 4.8.0-canary.4 to 4.8.0-canary.5

2

package.json
{
"name": "telegraf",
"version": "4.8.0-canary.4",
"version": "4.8.0-canary.5",
"description": "Modern Telegram Bot Framework",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -11,3 +11,2 @@ /** @format */

export type NonemptyReadonlyArray<T> = readonly [T, ...T[]]
export type DefinitelyDefined<T> = T extends infer S | undefined ? S : T
export type Expand<T> = T extends object

@@ -56,3 +55,3 @@ ? T extends infer O

Omit<tg.CallbackQuery, 'data'> & {
game_short_name: DefinitelyDefined<tg.CallbackQuery['game_short_name']>
game_short_name: NonNullable<tg.CallbackQuery['game_short_name']>
}

@@ -59,0 +58,0 @@ >

@@ -9,3 +9,2 @@ /** @format */

export declare type NonemptyReadonlyArray<T> = readonly [T, ...T[]];
export declare type DefinitelyDefined<T> = T extends infer S | undefined ? S : T;
export declare type Expand<T> = T extends object ? T extends infer O ? {

@@ -36,3 +35,3 @@ [K in keyof O]: O[K];

callback_query: Expand<Omit<tg.CallbackQuery, 'data'> & {
game_short_name: DefinitelyDefined<tg.CallbackQuery['game_short_name']>;
game_short_name: NonNullable<tg.CallbackQuery['game_short_name']>;
}>;

@@ -39,0 +38,0 @@ }

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