@reliverse/relinka 1.2.4 → 1.2.5

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.
Files changed (50) hide show
  1. package/LICENSE +2 -2
  2. package/README.md +2 -8
  3. package/dist-npm/components/levels/levels.d.ts +21 -0
  4. package/dist-npm/components/levels/levels.js +8 -8
  5. package/dist-npm/components/messages/mapping.d.ts +3 -0
  6. package/dist-npm/components/messages/mapping.js +49 -0
  7. package/dist-npm/components/messages/messages.d.ts +89 -0
  8. package/dist-npm/components/messages/messages.js +329 -0
  9. package/dist-npm/components/messages/mod.d.ts +6 -0
  10. package/dist-npm/components/messages/mod.js +6 -0
  11. package/dist-npm/components/messages/platforms.d.ts +10 -0
  12. package/dist-npm/components/messages/platforms.js +67 -0
  13. package/dist-npm/components/messages/terminal.d.ts +15 -0
  14. package/dist-npm/components/messages/terminal.js +57 -0
  15. package/dist-npm/components/messages/types.d.ts +12 -0
  16. package/dist-npm/components/messages/types.js +0 -0
  17. package/dist-npm/components/messages/variants.d.ts +12 -0
  18. package/dist-npm/components/messages/variants.js +52 -0
  19. package/dist-npm/components/modes/basic.d.ts +14 -2
  20. package/dist-npm/components/modes/basic.js +6 -6
  21. package/dist-npm/components/modes/browser.d.ts +16 -2
  22. package/dist-npm/components/modes/browser.js +5 -5
  23. package/dist-npm/components/modes/shared.d.ts +1 -1
  24. package/dist-npm/components/modes/shared.js +1 -1
  25. package/dist-npm/components/relinka/logger.d.ts +12 -0
  26. package/dist-npm/components/relinka/logger.js +52 -0
  27. package/dist-npm/components/relinka/mod.d.ts +21 -0
  28. package/dist-npm/components/relinka/mod.js +34 -0
  29. package/dist-npm/components/relinka/relinka.d.ts +116 -21
  30. package/dist-npm/components/relinka/relinka.js +117 -34
  31. package/dist-npm/components/reporters/basic.d.ts +1 -1
  32. package/dist-npm/components/reporters/basic.js +5 -5
  33. package/dist-npm/components/reporters/browser.js +5 -5
  34. package/dist-npm/components/reporters/fancy.d.ts +1 -1
  35. package/dist-npm/components/reporters/fancy.js +9 -9
  36. package/dist-npm/main.d.ts +3 -8
  37. package/dist-npm/main.js +3 -34
  38. package/dist-npm/types/mod.d.ts +136 -29
  39. package/dist-npm/utils/box.d.ts +104 -14
  40. package/dist-npm/utils/box.js +1 -1
  41. package/dist-npm/utils/color.d.ts +20 -0
  42. package/dist-npm/utils/color.js +3 -3
  43. package/dist-npm/utils/error.d.ts +5 -0
  44. package/dist-npm/utils/format.d.ts +12 -0
  45. package/dist-npm/utils/log.d.ts +11 -0
  46. package/dist-npm/utils/stream.d.ts +13 -0
  47. package/dist-npm/utils/string.d.ts +45 -0
  48. package/dist-npm/utils/tree.d.ts +34 -5
  49. package/package.json +38 -36
  50. package/LICENSE.md +0 -21
@@ -1,24 +1,114 @@
1
1
  export type BoxBorderStyle = {
2
- tl: string;
3
- tr: string;
4
- bl: string;
5
- br: string;
6
- h: string;
7
- v: string;
2
+ /**
3
+ * Top left corner
4
+ * @example `┌`
5
+ * @example `╔`
6
+ * @example `╓`
7
+ */
8
+ tl: string;
9
+ /**
10
+ * Top right corner
11
+ * @example `┐`
12
+ * @example `╗`
13
+ * @example `╖`
14
+ */
15
+ tr: string;
16
+ /**
17
+ * Bottom left corner
18
+ * @example `└`
19
+ * @example `╚`
20
+ * @example `╙`
21
+ */
22
+ bl: string;
23
+ /**
24
+ * Bottom right corner
25
+ * @example `┘`
26
+ * @example `╝`
27
+ * @example `╜`
28
+ */
29
+ br: string;
30
+ /**
31
+ * Horizontal line
32
+ * @example `─`
33
+ * @example `═`
34
+ * @example `─`
35
+ */
36
+ h: string;
37
+ /**
38
+ * Vertical line
39
+ * @example `│`
40
+ * @example `║`
41
+ * @example `║`
42
+ */
43
+ v: string;
8
44
  };
9
45
  declare const boxStylePresets: Record<string, BoxBorderStyle>;
10
46
  export type BoxStyle = {
11
- borderColor: "black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright";
12
- borderStyle: BoxBorderStyle | keyof typeof boxStylePresets;
13
- valign: "top" | "center" | "bottom";
14
- padding: number;
15
- marginLeft: number;
16
- marginTop: number;
17
- marginBottom: number;
47
+ /**
48
+ * The border color
49
+ * @default 'white'
50
+ */
51
+ borderColor: "black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright";
52
+ /**
53
+ * The border style
54
+ * @default 'solid'
55
+ * @example 'single-double-rounded'
56
+ * @example
57
+ * ```ts
58
+ * {
59
+ * tl: '┌',
60
+ * tr: '┐',
61
+ * bl: '└',
62
+ * br: '┘',
63
+ * h: '─',
64
+ * v: '│',
65
+ * }
66
+ * ```
67
+ */
68
+ borderStyle: BoxBorderStyle | keyof typeof boxStylePresets;
69
+ /**
70
+ * The vertical alignment of the text
71
+ * @default 'center'
72
+ */
73
+ valign: "top" | "center" | "bottom";
74
+ /**
75
+ * The padding of the box
76
+ * @default 2
77
+ */
78
+ padding: number;
79
+ /**
80
+ * The left margin of the box
81
+ * @default 1
82
+ */
83
+ marginLeft: number;
84
+ /**
85
+ * The top margin of the box
86
+ * @default 1
87
+ */
88
+ marginTop: number;
89
+ /**
90
+ * The top margin of the box
91
+ * @default 1
92
+ */
93
+ marginBottom: number;
18
94
  };
95
+ /**
96
+ * The border options of the box
97
+ */
19
98
  export type BoxOpts = {
20
- title?: string;
99
+ /**
100
+ * Title that will be displayed on top of the box
101
+ * @example 'Hello World'
102
+ * @example 'Hello {name}'
103
+ */
104
+ title?: string;
21
105
  style?: Partial<BoxStyle>;
22
106
  };
107
+ /**
108
+ * Creates a styled box with text content, customizable via options.
109
+ * @param {string} text - The text to display in the box.
110
+ * @param {BoxOpts} [_opts={}] - Optional settings for the appearance and behavior of the box. See {@link BoxOpts}.
111
+ * @returns {string} The formatted box as a string, ready for printing or logging.
112
+ */
23
113
  export declare function box(text: string, _opts?: BoxOpts): string;
24
114
  export {};
@@ -87,7 +87,7 @@ export function box(text, _opts = {}) {
87
87
  const boxLines = [];
88
88
  const _color = getColor(opts.style.borderColor);
89
89
  const borderStyle = {
90
- ...typeof opts.style.borderStyle === "string" ? boxStylePresets[opts.style.borderStyle] || boxStylePresets.solid : opts.style.borderStyle
90
+ ...typeof opts.style.borderStyle === "string" ? boxStylePresets[opts.style.borderStyle] || boxStylePresets["solid"] : opts.style.borderStyle
91
91
  };
92
92
  if (_color) {
93
93
  for (const key in borderStyle) {
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Based on https://github.com/jorgebucaran/colorette
3
+ * Read LICENSE file for more information
4
+ * https://github.com/jorgebucaran/colorette/blob/20fc196d07d0f87c61e0256eadd7831c79b24108/index.js
5
+ */
1
6
  declare const colorDefs: {
2
7
  reset: (string: string) => string;
3
8
  bold: (string: string) => string;
@@ -43,7 +48,22 @@ declare const colorDefs: {
43
48
  };
44
49
  export type ColorName = keyof typeof colorDefs;
45
50
  export type ColorFunction = (text: string | number) => string;
51
+ /**
52
+ * An object containing functions for coloring text. Each function corresponds to a terminal color. See {@link ColorName} for available colors.
53
+ */
46
54
  export declare const colors: Record<ColorName, ColorFunction>;
55
+ /**
56
+ * Gets a color function by name, with an option for a fallback color if the requested color is not found.
57
+ * @param {ColorName} color - The name of the color function to get. See {@link ColorName}.
58
+ * @param {ColorName} [fallback="reset"] - The name of the fallback color function if the requested color is not found. See {@link ColorName}.
59
+ * @returns {ColorFunction} The color function that corresponds to the requested color, or the fallback color function. See {@link ColorFunction}.
60
+ */
47
61
  export declare function getColor(color: ColorName, fallback?: ColorName): ColorFunction;
62
+ /**
63
+ * Applies a specified color to a given text string or number.
64
+ * @param {ColorName} color - The color to apply. See {@link ColorName}.
65
+ * @param {string | number} text - The text to color.
66
+ * @returns {string} The colored text.
67
+ */
48
68
  export declare function colorize(color: ColorName, text: string | number): string;
49
69
  export {};
@@ -7,10 +7,10 @@ const {
7
7
  const isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
8
8
  const isForced = "FORCE_COLOR" in env || argv.includes("--color");
9
9
  const isWindows = platform === "win32";
10
- const isDumbTerminal = env.TERM === "dumb";
10
+ const isDumbTerminal = env["TERM"] === "dumb";
11
11
  const isCompatibleTerminal = (
12
-
13
- tty && tty.isatty && tty.isatty(1) && env.TERM && !isDumbTerminal
12
+ // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
13
+ tty && tty.isatty && tty.isatty(1) && env["TERM"] && !isDumbTerminal
14
14
  );
15
15
  const isCI = "CI" in env && ("GITHUB_ACTIONS" in env || "GITLAB_CI" in env || "CIRCLECI" in env);
16
16
  const isColorSupported = !isDisabled && (isForced || isWindows && !isDumbTerminal || isCompatibleTerminal || isCI);
@@ -1 +1,6 @@
1
+ /**
2
+ * Parses a stack trace string and normalizes its paths by removing the current working directory and the "file://" protocol.
3
+ * @param {string} stack - The stack trace string.
4
+ * @returns {string[]} An array of stack trace lines with normalized paths.
5
+ */
1
6
  export declare function parseStack(stack: string): string[];
@@ -1,2 +1,14 @@
1
+ /**
2
+ * Compiles a format string by replacing placeholders with appropriate position indices.
3
+ * Caches compiled formats for efficiency.
4
+ * @param {string} format - The format string containing the placeholders to replace.
5
+ * @returns {string} The compiled format string with placeholders replaced by positional indices.
6
+ */
1
7
  export declare function compileFormat(format: string): any;
8
+ /**
9
+ * Formats a string according to a custom format, using vsprintf for string formatting.
10
+ * @param {string} format - The custom format string.
11
+ * @param {any[]} argv - The arguments to format into the string.
12
+ * @returns {string} The formatted string.
13
+ */
2
14
  export declare function formatString(format: string, argv: any): string;
@@ -1,2 +1,13 @@
1
+ /**
2
+ * Checks if the given argument is a simple JavaScript object.
3
+ * @param {any} obj - The object to test.
4
+ * @returns {boolean} `true` if the argument is a plain object, otherwise `false`.
5
+ */
1
6
  export declare function isPlainObject(obj: any): boolean;
7
+ /**
8
+ * Determines whether the given argument is a protocol object. A log object must be a simple object and
9
+ * must contain either a 'message' or 'args' field, but not a 'stack' field.
10
+ * @param {any} arg - The argument to check.
11
+ * @returns {boolean} `true` if the argument is a log object according to the specified criteria, otherwise `false`.
12
+ */
2
13
  export declare function isLogObj(arg: any): boolean;
@@ -1 +1,14 @@
1
+ /**
2
+ * Writes data to a specified NodeJS writable stream. This function supports streams that have a custom
3
+ * `__write' method, and will fall back to the default `write' method if `__write' is not present.
4
+ *
5
+ * @param {any} data - The data to write to the stream. This can be a string, a buffer, or any data type
6
+ * supported by the stream's `write' or `__write' method.
7
+ * @param {NodeJS.WriteStream} stream - The writable stream to write the data to. This stream
8
+ * must implement the `write' method, and can optionally implement a custom `__write' method.
9
+ * @returns {boolean} `true` if the data has been completely processed by the write operation,
10
+ * indicating that further writes can be performed immediately. Returns `false` if the data is
11
+ * buffered by the stream, indicating that the `drain` event should be waited for before writing
12
+ * more data.
13
+ */
1
14
  export declare function writeStream(data: any, stream: NodeJS.WriteStream): any;
@@ -1,5 +1,50 @@
1
+ /**
2
+ * Removes ANSI escape codes from a given string. This is particularly useful for
3
+ * processing text that contains formatting codes, such as colors or styles, so that the
4
+ * the raw text without any visual formatting.
5
+ *
6
+ * @param {string} text - The text string from which to strip the ANSI escape codes.
7
+ * @returns {string} The text without ANSI escape codes.
8
+ */
1
9
  export declare function stripAnsi(text: string): string;
10
+ /**
11
+ * Centers a string within a specified total width, padding it with spaces or another specified character.
12
+ * If the string is longer than the total width, it is returned as is.
13
+ *
14
+ * @param {string} str - The string to centre.
15
+ * @param {number} len - The total width in which to centre the string.
16
+ * @param {string} [space=" "] - The character to use for padding. Defaults to a space.
17
+ * @returns {string} The centred string.
18
+ */
2
19
  export declare function centerAlign(str: string, len: number, space?: string): string;
20
+ /**
21
+ * Right-justifies a string within a given total width, padding it with whitespace or another specified character.
22
+ * If the string is longer than the total width, it is returned as is.
23
+ *
24
+ * @param {string} str - The string to right-justify.
25
+ * @param {number} len - The total width to align the string.
26
+ * @param {string} [space=" "] - The character to use for padding. Defaults to a space.
27
+ * @returns {string} The right-justified string.
28
+ */
3
29
  export declare function rightAlign(str: string, len: number, space?: string): string;
30
+ /**
31
+ * Left-aligns a string within a given total width, padding it with whitespace or another specified character on the right.
32
+ * If the string is longer than the total width, it is returned as is.
33
+ *
34
+ * @param {string} str - The string to align left.
35
+ * @param {number} len - The total width to align the string.
36
+ * @param {string} [space=" "] - The character to use for padding. Defaults to a space.
37
+ * @returns {string} The left-justified string.
38
+ */
4
39
  export declare function leftAlign(str: string, len: number, space?: string): string;
40
+ /**
41
+ * Aligns a string (left, right, or centre) within a given total width, padding it with spaces or another specified character.
42
+ * If the string is longer than the total width, it is returned as is. This function acts as a wrapper for individual alignment functions.
43
+ *
44
+ * @param {"left" | "right" | "centre"} alignment - The desired alignment of the string.
45
+ * @param {string} str - The string to align.
46
+ * @param {number} len - The total width in which to align the string.
47
+ * @param {string} [space=" "] - The character to use for padding. Defaults to a space.
48
+ * @returns {string} The aligned string, according to the given alignment.
49
+ */
5
50
  export declare function align(alignment: "left" | "right" | "center", str: string, len: number, space?: string): string;
@@ -1,12 +1,41 @@
1
1
  import { type ColorName } from "./color.js";
2
2
  export type TreeItemObject = {
3
- text: string;
4
- children?: TreeItem[];
5
- color?: ColorName;
3
+ /**
4
+ * Text of the item
5
+ */
6
+ text: string;
7
+ /**
8
+ * Children of the item
9
+ */
10
+ children?: TreeItem[];
11
+ /**
12
+ * Color of the item
13
+ */
14
+ color?: ColorName;
6
15
  };
7
16
  export type TreeItem = string | TreeItemObject;
8
17
  export type TreeOptions = {
9
- color?: ColorName;
10
- prefix?: string;
18
+ /**
19
+ * Color of the tree
20
+ */
21
+ color?: ColorName;
22
+ /**
23
+ * Prefix of the tree
24
+ *
25
+ * @default " "
26
+ */
27
+ prefix?: string;
11
28
  };
29
+ /**
30
+ * Formats a hierarchical list of items into a string representing a tree structure.
31
+ * Each item in the tree can be a simple string or an object defining the text of the item,
32
+ * optional children, and color. The tree structure can be customized with options
33
+ * Specify the overall color and the prefix used for indentation and tree lines.
34
+ *
35
+ * @param {TreeItem[]} items - An array of items to include in the tree. Each item can be
36
+ * either a string or an object with `text', `children' and `color' properties.
37
+ * @param {TreeOptions} [options] - Optional settings to customize the appearance of the tree, including
38
+ * the color of the tree text and the prefix for branches. See {@link TreeOptions}.
39
+ * @returns {string} The formatted tree as a string, ready for printing to the console or elsewhere.
40
+ */
12
41
  export declare function formatTree(items: TreeItem[], options?: TreeOptions): string;
package/package.json CHANGED
@@ -1,29 +1,28 @@
1
1
  {
2
2
  "name": "@reliverse/relinka",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "author": "blefnk",
5
5
  "type": "module",
6
6
  "description": "@reliverse/relinka is a powerful logger for your terminal.",
7
7
  "scripts": {
8
- "dev": "tsx examples/main.ts",
9
- "check": "redrun typecheck lint format attw",
10
- "release": "bumpp && bun check && bun pub",
11
- "build:jsr": "tsx build.optim.ts --jsr",
12
- "build:npm": "unbuild && tsx build.optim.ts",
13
- "build": "redrun build:jsr build:npm optimize",
14
- "pub:jsr": "tsx build.publish.ts --jsr",
15
- "pub:npm": "tsx build.publish.ts",
16
- "pub:dry": "tsx build.publish.ts --dry-run",
17
- "pub": "redrun pub:npm pub:jsr",
8
+ "dev": "bun examples/main.ts",
9
+ "check": "bun typecheck && bun lint && bun format",
10
+ "build:npm": "unbuild && bun build.optim.ts",
11
+ "build:jsr": "bun build.optim.ts --jsr",
12
+ "build": "bun build:npm && bun build:jsr",
13
+ "pub:npm": "bun build.publish.ts",
14
+ "pub:jsr": "bun build.publish.ts --jsr",
15
+ "pub:dry": "bun build.publish.ts --dry-run",
16
+ "pub": "bun publish.ts",
18
17
  "typecheck": "tsc --noEmit",
19
18
  "lint": "eslint --cache --fix .",
20
19
  "lint:i": "eslint --inspect-config",
21
20
  "format": "biome check --write .",
22
- "optimize": "putout dist-npm --fix",
23
21
  "attw": "bunx @arethetypeswrong/cli",
24
22
  "unpub": "npm unpublish",
25
23
  "test": "vitest",
26
- "knip": "knip"
24
+ "knip": "knip",
25
+ "latest": "bun update --latest"
27
26
  },
28
27
  "publishConfig": {
29
28
  "access": "public"
@@ -49,29 +48,30 @@
49
48
  "license": "MIT",
50
49
  "dependencies": {
51
50
  "@figliolia/chalk-animation": "^1.0.4",
52
- "@sinclair/typebox": "^0.34.9",
51
+ "@sinclair/typebox": "^0.34.13",
53
52
  "ansi-diff-stream": "^1.2.1",
54
53
  "ansi-escapes": "^7.0.0",
55
- "chalk": "^5.3.0",
54
+ "chalk": "^5.4.1",
56
55
  "cli-spinners": "^3.2.0",
57
56
  "cli-styles": "^1.0.0",
58
57
  "cli-width": "^4.1.0",
59
58
  "defu": "^6.1.4",
60
59
  "detect-package-manager": "^3.0.2",
61
60
  "external-editor": "^3.1.0",
62
- "fast-glob": "^3.3.2",
61
+ "fast-glob": "^3.3.3",
63
62
  "figlet": "^1.8.0",
64
63
  "fs-extra": "^11.2.0",
65
64
  "get-pixels": "^3.3.3",
65
+ "globby": "^14.0.2",
66
66
  "gradient-string": "^3.0.0",
67
67
  "is-unicode-supported": "^2.1.0",
68
68
  "kleur": "^4.1.5",
69
69
  "log-update": "^6.1.0",
70
70
  "mute-stream": "^2.0.0",
71
- "node-emoji": "^2.1.3",
72
- "nypm": "^0.4.0",
71
+ "node-emoji": "^2.2.0",
72
+ "nypm": "^0.4.1",
73
73
  "ora": "^8.1.1",
74
- "pathe": "^1.1.2",
74
+ "pathe": "^2.0.1",
75
75
  "picocolors": "^1.1.1",
76
76
  "precision": "^1.0.1",
77
77
  "seventh": "^0.9.2",
@@ -80,44 +80,46 @@
80
80
  "std-env": "^3.8.0",
81
81
  "string-width": "^7.2.0",
82
82
  "strip-ansi": "^7.1.0",
83
+ "terminal-size": "^4.0.0",
83
84
  "ts-regex-builder": "^1.8.2",
84
85
  "window-size": "^1.1.1",
85
86
  "wrap-ansi": "^9.0.0"
86
87
  },
87
88
  "devDependencies": {
88
- "@arethetypeswrong/cli": "^0.17.0",
89
+ "@arethetypeswrong/cli": "^0.17.2",
89
90
  "@biomejs/biome": "1.9.4",
90
- "@cspell/dict-npm": "^5.1.14",
91
- "@eslint/js": "^9.15.0",
91
+ "@cspell/dict-npm": "^5.1.22",
92
+ "@eslint/js": "^9.18.0",
93
+ "@eslint/json": "^0.9.0",
94
+ "@eslint/markdown": "^6.2.1",
95
+ "@stylistic/eslint-plugin": "^2.12.1",
92
96
  "@types/ansi-diff-stream": "^1.2.3",
93
- "@types/bun": "^1.1.14",
97
+ "@types/bun": "^1.1.16",
94
98
  "@types/chalk-animation": "^1.6.3",
95
99
  "@types/eslint__js": "^8.42.3",
96
100
  "@types/figlet": "^1.7.0",
97
101
  "@types/fs-extra": "^11.0.4",
98
102
  "@types/mute-stream": "^0.0.4",
99
- "@types/node": "^22.10.0",
103
+ "@types/node": "^22.10.5",
100
104
  "@types/sentencer": "^0.2.3",
101
105
  "@types/signal-exit": "^3.0.4",
102
106
  "@types/strip-comments": "^2.0.4",
103
107
  "@types/window-size": "^1.1.4",
104
- "bumpp": "^9.8.1",
105
108
  "c12": "^2.0.1",
106
- "eslint": "^9.15.0",
107
- "eslint-plugin-perfectionist": "^4.1.2",
108
- "execa": "^9.5.1",
109
- "jiti": "^2.4.0",
110
- "knip": "^5.38.1",
109
+ "citty": "^0.1.6",
110
+ "eslint": "^9.18.0",
111
+ "eslint-plugin-perfectionist": "^4.6.0",
112
+ "execa": "^9.5.2",
113
+ "jiti": "^2.4.2",
114
+ "knip": "^5.42.0",
111
115
  "mock-stdin": "^1.0.0",
112
116
  "printj": "^1.3.1",
113
- "putout": "^36.14.0",
114
- "redrun": "^11.0.5",
115
117
  "sentencer": "^0.2.1",
116
118
  "strip-comments": "^2.0.1",
117
119
  "tsx": "^4.19.2",
118
- "typescript": "^5.7.2",
119
- "typescript-eslint": "^8.16.0",
120
- "unbuild": "^2.0.0",
121
- "vitest": "^2.1.6"
120
+ "typescript": "^5.7.3",
121
+ "typescript-eslint": "^8.19.1",
122
+ "unbuild": "^3.2.0",
123
+ "vitest": "^2.1.8"
122
124
  }
123
125
  }
package/LICENSE.md DELETED
@@ -1,21 +0,0 @@
1
- # MIT License
2
-
3
- Copyright (c) 2024 Nazarii Korniienko
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.