clientnode 4.0.1500 → 4.0.1502

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/dist/Logger.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { LoggerOptions, Mapping } from './type';
2
- export declare const LEVELS: readonly ["error", "critical", "warn", "info", "debug"];
3
- export declare const LEVELS_COLOR: ("\u001B[0;34m" | "\u001B[32m" | "\u001B[35m" | "\u001B[31m" | "\u001B[33m")[];
2
+ export declare const LEVELS: readonly ['error', 'critical', 'warn', 'info', 'debug'];
3
+ export declare const LEVELS_COLOR: ("\u001B[0;34m" | "\u001B[31m" | "\u001B[32m" | "\u001B[33m" | "\u001B[35m")[];
4
4
  export type Level = typeof LEVELS[number];
5
5
  /**
6
6
  * This plugin provides such interface logic like generic controller logic for
package/dist/cli.d.ts CHANGED
@@ -1,31 +1,31 @@
1
1
  export declare const CLI_COLOR: {
2
- readonly black: "\u001B[30m";
3
- readonly blink: "\u001B[5m";
4
- readonly blue: "\u001B[0;34m";
5
- readonly bold: "\u001B[1m";
6
- readonly cyan: "\u001B[36m";
7
- readonly darkGray: "\u001B[0;90m";
8
- readonly default: "\u001B[0m";
9
- readonly dim: "\u001B[2m";
10
- readonly green: "\u001B[32m";
11
- readonly invert: "\u001B[7m";
12
- readonly invisible: "\u001B[8m";
13
- readonly lightBlue: "\u001B[0;94m";
14
- readonly lightCyan: "\u001B[0;96m";
15
- readonly lightGray: "\u001B[0;37m";
16
- readonly lightGreen: "\u001B[0;92m";
17
- readonly lightMagenta: "\u001B[0;95m";
18
- readonly lightRed: "\u001B[0;91m";
19
- readonly lightYellow: "\u001B[0;93m";
20
- readonly magenta: "\u001B[35m";
21
- readonly nodim: "\u001B[22m";
22
- readonly noblink: "\u001B[25m";
23
- readonly nobold: "\u001B[21m";
24
- readonly noinvert: "\u001B[27m";
25
- readonly noinvisible: "\u001B[28m";
26
- readonly nounderline: "\u001B[24m";
27
- readonly red: "\u001B[31m";
28
- readonly underline: "\u001B[4m";
29
- readonly white: "\u001B[37m";
30
- readonly yellow: "\u001B[33m";
2
+ readonly black: '\u001B[30m';
3
+ readonly blink: '\u001B[5m';
4
+ readonly blue: '\u001B[0;34m';
5
+ readonly bold: '\u001B[1m';
6
+ readonly cyan: '\u001B[36m';
7
+ readonly darkGray: '\u001B[0;90m';
8
+ readonly default: '\u001B[0m';
9
+ readonly dim: '\u001B[2m';
10
+ readonly green: '\u001B[32m';
11
+ readonly invert: '\u001B[7m';
12
+ readonly invisible: '\u001B[8m';
13
+ readonly lightBlue: '\u001B[0;94m';
14
+ readonly lightCyan: '\u001B[0;96m';
15
+ readonly lightGray: '\u001B[0;37m';
16
+ readonly lightGreen: '\u001B[0;92m';
17
+ readonly lightMagenta: '\u001B[0;95m';
18
+ readonly lightRed: '\u001B[0;91m';
19
+ readonly lightYellow: '\u001B[0;93m';
20
+ readonly magenta: '\u001B[35m';
21
+ readonly nodim: '\u001B[22m';
22
+ readonly noblink: '\u001B[25m';
23
+ readonly nobold: '\u001B[21m';
24
+ readonly noinvert: '\u001B[27m';
25
+ readonly noinvisible: '\u001B[28m';
26
+ readonly nounderline: '\u001B[24m';
27
+ readonly red: '\u001B[31m';
28
+ readonly underline: '\u001B[4m';
29
+ readonly white: '\u001B[37m';
30
+ readonly yellow: '\u001B[33m';
31
31
  };
@@ -2,24 +2,24 @@ import type { Encoding, FirstParameter } from './type';
2
2
  export { Lock } from './Lock';
3
3
  export { Semaphore } from './Semaphore';
4
4
  export declare const DEFAULT_ENCODING: Encoding;
5
- export declare const CLOSE_EVENT_NAMES: readonly ["close", "exit", "SIGINT", "SIGTERM", "SIGQUIT", "uncaughtException"];
6
- export declare const CONSOLE_METHODS: readonly ["debug", "error", "info", "log", "warn"];
5
+ export declare const CLOSE_EVENT_NAMES: readonly ['close', 'exit', 'SIGINT', 'SIGTERM', 'SIGQUIT', 'uncaughtException'];
6
+ export declare const CONSOLE_METHODS: readonly ['debug', 'error', 'info', 'log', 'warn'];
7
7
  export declare const VALUE_COPY_SYMBOL: unique symbol;
8
8
  export declare const IGNORE_NULL_AND_UNDEFINED_SYMBOL: unique symbol;
9
9
  export declare const ABBREVIATIONS: Array<string>;
10
10
  export declare const ANIMATION_END_EVENT_NAMES = "animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd";
11
11
  export declare const CLASS_TO_TYPE_MAPPING: {
12
- readonly '[object Array]': "array";
13
- readonly '[object Boolean]': "boolean";
14
- readonly '[object Date]': "date";
15
- readonly '[object Error]': "error";
16
- readonly '[object Function]': "function";
17
- readonly '[object Map]': "map";
18
- readonly '[object Number]': "number";
19
- readonly '[object Object]': "object";
20
- readonly '[object RegExp]': "regexp";
21
- readonly '[object Set]': "set";
22
- readonly '[object String]': "string";
12
+ readonly '[object Array]': 'array';
13
+ readonly '[object Boolean]': 'boolean';
14
+ readonly '[object Date]': 'date';
15
+ readonly '[object Error]': 'error';
16
+ readonly '[object Function]': 'function';
17
+ readonly '[object Map]': 'map';
18
+ readonly '[object Number]': 'number';
19
+ readonly '[object Object]': 'object';
20
+ readonly '[object RegExp]': 'regexp';
21
+ readonly '[object Set]': 'set';
22
+ readonly '[object String]': 'string';
23
23
  };
24
24
  export declare const KEY_CODES: {
25
25
  readonly BACKSPACE: 8;
@@ -58,40 +58,40 @@ export declare const KEY_CODES: {
58
58
  readonly RIGHT: 39;
59
59
  };
60
60
  export declare const KEYBOARD_CODES: {
61
- readonly BACKSPACE: "Backspace";
62
- readonly SPACE: "Space";
63
- readonly TAB: "Tab";
64
- readonly DELETE: "Delete";
65
- readonly ENTER: "Enter";
66
- readonly COMMA: "Comma";
67
- readonly PERIOD: "Period";
68
- readonly END: "End";
69
- readonly ESCAPE: "Escape";
70
- readonly F1: "F1";
71
- readonly F2: "F2";
72
- readonly F3: "F3";
73
- readonly F4: "F4";
74
- readonly F5: "F5";
75
- readonly F6: "F6";
76
- readonly F7: "F7";
77
- readonly F8: "F8";
78
- readonly F9: "F9";
79
- readonly F10: "F10";
80
- readonly F11: "F111";
81
- readonly F12: "F12";
82
- readonly HOME: "Home";
83
- readonly NUMPAD_ADD: "NumpadAdd";
84
- readonly NUMPAD_SUBTRACT: "NumpadSubtract";
85
- readonly NUMPAD_DECIMAL: "NumpadDecimal";
86
- readonly NUMPAD_DIVIDE: "NumpadDivide";
87
- readonly NUMPAD_ENTER: "NumpadEnter";
88
- readonly NUMPAD_MULTIPLY: "NumpadMultiply";
89
- readonly PAGE_UP: "PageUp";
90
- readonly PAGE_DOWN: "PageUp";
91
- readonly UP: "ArrowUp";
92
- readonly DOWN: "ArrowDown";
93
- readonly LEFT: "ArrowLeft";
94
- readonly RIGHT: "ArrowUp";
61
+ readonly BACKSPACE: 'Backspace';
62
+ readonly SPACE: 'Space';
63
+ readonly TAB: 'Tab';
64
+ readonly DELETE: 'Delete';
65
+ readonly ENTER: 'Enter';
66
+ readonly COMMA: 'Comma';
67
+ readonly PERIOD: 'Period';
68
+ readonly END: 'End';
69
+ readonly ESCAPE: 'Escape';
70
+ readonly F1: 'F1';
71
+ readonly F2: 'F2';
72
+ readonly F3: 'F3';
73
+ readonly F4: 'F4';
74
+ readonly F5: 'F5';
75
+ readonly F6: 'F6';
76
+ readonly F7: 'F7';
77
+ readonly F8: 'F8';
78
+ readonly F9: 'F9';
79
+ readonly F10: 'F10';
80
+ readonly F11: 'F111';
81
+ readonly F12: 'F12';
82
+ readonly HOME: 'Home';
83
+ readonly NUMPAD_ADD: 'NumpadAdd';
84
+ readonly NUMPAD_SUBTRACT: 'NumpadSubtract';
85
+ readonly NUMPAD_DECIMAL: 'NumpadDecimal';
86
+ readonly NUMPAD_DIVIDE: 'NumpadDivide';
87
+ readonly NUMPAD_ENTER: 'NumpadEnter';
88
+ readonly NUMPAD_MULTIPLY: 'NumpadMultiply';
89
+ readonly PAGE_UP: 'PageUp';
90
+ readonly PAGE_DOWN: 'PageUp';
91
+ readonly UP: 'ArrowUp';
92
+ readonly DOWN: 'ArrowDown';
93
+ readonly LEFT: 'ArrowLeft';
94
+ readonly RIGHT: 'ArrowUp';
95
95
  };
96
96
  export declare const LOCALES: Array<string>;
97
97
  export declare const PLAIN_OBJECT_PROTOTYPES: Array<FirstParameter<typeof Object.getPrototypeOf>>;
package/dist/domNode.d.ts CHANGED
@@ -38,7 +38,7 @@ export declare const interruptableScrollTo: (givenOptions?: GivenInterruptableSc
38
38
  * top of the page.
39
39
  * @param behavior - Scroll behavior to use.
40
40
  */
41
- export declare const scrollTo: (targetDomNode?: Node | null, behavior?: ScrollToOptions["behavior"]) => void;
41
+ export declare const scrollTo: (targetDomNode?: Node | null, behavior?: ScrollToOptions['behavior']) => void;
42
42
  export declare const getAll: (root: Node) => Node[];
43
43
  export declare const closest: (node: Node, selector: string, startWithParent?: boolean) => Element | null;
44
44
  export declare const getParents: (node: Node) => Array<Node>;