@esposter/shared 2.28.0 → 2.29.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/README.md +1 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +876 -4133
- package/package.json +8 -9
package/README.md
CHANGED
|
@@ -80,8 +80,7 @@ Run from `packages/shared/`:
|
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
82
|
pnpm build # compile to dist/
|
|
83
|
-
pnpm test # vitest watch mode
|
|
84
|
-
pnpm coverage # vitest run --coverage
|
|
83
|
+
pnpm test # vitest watch mode (coverage is run from the repo root)
|
|
85
84
|
pnpm lint:fix # auto-fix lint
|
|
86
85
|
pnpm typecheck # type check
|
|
87
86
|
```
|
package/dist/index.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ declare const RoutePath: {
|
|
|
70
70
|
readonly Index: "/";
|
|
71
71
|
readonly Login: "/login";
|
|
72
72
|
readonly Messages: (id: string) => string;
|
|
73
|
-
readonly
|
|
73
|
+
readonly MessagesDraftsAndSent: "/messages/draftsandsent";
|
|
74
74
|
readonly MessagesFriends: "/messages/friends";
|
|
75
75
|
readonly MessagesIndex: "/messages";
|
|
76
76
|
readonly MessagesInvite: (code: string) => string;
|
|
@@ -2329,7 +2329,7 @@ declare const MENTION_TYPE = "mention";
|
|
|
2329
2329
|
declare const MENTION_HERE_ID = "@here";
|
|
2330
2330
|
declare const MENTION_EVERYONE_ID = "@everyone";
|
|
2331
2331
|
//#endregion
|
|
2332
|
-
//#region ../../node_modules/.pnpm/node-html-parser@
|
|
2332
|
+
//#region ../../node_modules/.pnpm/node-html-parser@8.0.1/node_modules/node-html-parser/dist/void-tag.d.ts
|
|
2333
2333
|
declare class VoidTag {
|
|
2334
2334
|
addClosingSlash: boolean;
|
|
2335
2335
|
private voidTags;
|
|
@@ -2338,14 +2338,14 @@ declare class VoidTag {
|
|
|
2338
2338
|
isVoidElement(tag: string): boolean;
|
|
2339
2339
|
}
|
|
2340
2340
|
//#endregion
|
|
2341
|
-
//#region ../../node_modules/.pnpm/node-html-parser@
|
|
2341
|
+
//#region ../../node_modules/.pnpm/node-html-parser@8.0.1/node_modules/node-html-parser/dist/nodes/type.d.ts
|
|
2342
2342
|
declare enum NodeType {
|
|
2343
2343
|
ELEMENT_NODE = 1,
|
|
2344
2344
|
TEXT_NODE = 3,
|
|
2345
2345
|
COMMENT_NODE = 8
|
|
2346
2346
|
}
|
|
2347
2347
|
//#endregion
|
|
2348
|
-
//#region ../../node_modules/.pnpm/node-html-parser@
|
|
2348
|
+
//#region ../../node_modules/.pnpm/node-html-parser@8.0.1/node_modules/node-html-parser/dist/nodes/node.d.ts
|
|
2349
2349
|
/**
|
|
2350
2350
|
* Node Class as base class for TextNode and HTMLElement.
|
|
2351
2351
|
*/
|
|
@@ -2369,7 +2369,7 @@ declare abstract class Node {
|
|
|
2369
2369
|
set textContent(val: string);
|
|
2370
2370
|
}
|
|
2371
2371
|
//#endregion
|
|
2372
|
-
//#region ../../node_modules/.pnpm/node-html-parser@
|
|
2372
|
+
//#region ../../node_modules/.pnpm/node-html-parser@8.0.1/node_modules/node-html-parser/dist/nodes/html.d.ts
|
|
2373
2373
|
interface KeyAttributes {
|
|
2374
2374
|
id?: string;
|
|
2375
2375
|
class?: string;
|