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

@gramio/format

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gramio/format - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

17

dist/index.d.ts

@@ -65,9 +65,5 @@ import { TelegramMessageEntity, TelegramUser } from "@gramio/types";

* ```ts
* pre`test`
* format`test ${pre(`console.log("GramIO")`, "js"}`
* code`test`
* format`test ${code("copy it")}`
* ```
* pre with language result is
* ```js
* console.log("GramIO")
* ```
*/

@@ -78,5 +74,9 @@ export declare const code: (str: Stringable) => FormattableString;

* ```ts
* code`test`
* format`test ${code("GramIO")}`
* pre`test`
* format`test ${pre(`console.log("GramIO")`, "js")}`
* ```
* pre with language result is
* ```js
* console.log("GramIO")
* ```
*/

@@ -106,2 +106,3 @@ export declare const pre: (str: Stringable, language?: string | undefined) => FormattableString;

* ```
* **NOTE**: Custom emoji entities can only be used by bots that purchased additional usernames on [Fragment](https://fragment.com/).
*/

@@ -108,0 +109,0 @@ export declare const customEmoji: (str: Stringable, custom_emoji_id: string) => FormattableString;

@@ -111,9 +111,5 @@ "use strict";

* ```ts
* pre`test`
* format`test ${pre(`console.log("GramIO")`, "js"}`
* code`test`
* format`test ${code("copy it")}`
* ```
* pre with language result is
* ```js
* console.log("GramIO")
* ```
*/

@@ -124,5 +120,9 @@ exports.code = buildFormatter("code");

* ```ts
* code`test`
* format`test ${code("GramIO")}`
* pre`test`
* format`test ${pre(`console.log("GramIO")`, "js")}`
* ```
* pre with language result is
* ```js
* console.log("GramIO")
* ```
*/

@@ -154,2 +154,3 @@ exports.pre = buildFormatter("pre", "language");

* ```
* **NOTE**: Custom emoji entities can only be used by bots that purchased additional usernames on [Fragment](https://fragment.com/).
*/

@@ -156,0 +157,0 @@ exports.customEmoji = buildFormatter("custom_emoji", "custom_emoji_id");

{
"name": "@gramio/format",
"version": "0.0.4",
"version": "0.0.5",
"description": "Library for formatting text for Telegram Bot API",

@@ -32,3 +32,3 @@ "homepage": "https://gramio.netlify.app/formatting.html",

"prettier": "^3.2.5",
"typescript": "^5.0.0"
"typescript": "^5.3.3"
},

@@ -35,0 +35,0 @@ "files": [

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