@mtcute/markdown-parser 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[@mtcute/markdown-parser] CommonJS support is deprecated and will be removed soon. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[@mtcute/markdown-parser] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
package/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { default as Long } from 'long';
2
1
  import { InputText, MessageEntity, TextWithEntities } from '@mtcute/core';
2
+ import { default as Long } from 'long';
3
3
  /**
4
4
  * Escape a string to be safely used in Markdown.
5
5
  *
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { default as Long } from 'long';
2
1
  import { InputText, MessageEntity, TextWithEntities } from '@mtcute/core';
2
+ import { default as Long } from 'long';
3
3
  /**
4
4
  * Escape a string to be safely used in Markdown.
5
5
  *
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@mtcute/markdown-parser",
3
3
  "type": "module",
4
- "version": "0.17.0",
4
+ "version": "0.18.0",
5
5
  "description": "Markdown entities parser for mtcute",
6
- "author": "alina sireneva <alina@tei.su>",
7
6
  "license": "MIT",
8
- "sideEffects": false,
7
+ "dependencies": {
8
+ "@mtcute/core": "^0.18.0",
9
+ "long": "5.2.3"
10
+ },
9
11
  "exports": {
10
12
  ".": {
11
13
  "import": {
@@ -18,14 +20,12 @@
18
20
  }
19
21
  }
20
22
  },
21
- "scripts": {},
22
- "dependencies": {
23
- "@mtcute/core": "^0.17.0",
24
- "long": "5.2.3"
25
- },
23
+ "author": "alina sireneva <alina@tei.su>",
24
+ "sideEffects": false,
26
25
  "homepage": "https://mtcute.dev",
27
26
  "repository": {
28
27
  "type": "git",
29
- "url": "https://github.com/mtcute/mtcute"
30
- }
28
+ "url": "git+https://github.com/mtcute/mtcute.git"
29
+ },
30
+ "scripts": {}
31
31
  }