@orderly.network/utils 0.0.4 → 0.0.6
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/index.js +104 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +62 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,2 +1,105 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/index.ts
|
|
31
|
+
var src_exports = {};
|
|
32
|
+
__export(src_exports, {
|
|
33
|
+
Decimal: () => decimal_default,
|
|
34
|
+
commify: () => commify,
|
|
35
|
+
cutNumber: () => cutNumber,
|
|
36
|
+
dayjs: () => import_dayjs.default,
|
|
37
|
+
getPrecisionByNumber: () => getPrecisionByNumber,
|
|
38
|
+
numberToHumanStyle: () => numberToHumanStyle,
|
|
39
|
+
timeConvertString: () => timeConvertString,
|
|
40
|
+
zero: () => zero
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(src_exports);
|
|
43
|
+
var import_dayjs = __toESM(require("dayjs"));
|
|
44
|
+
|
|
45
|
+
// src/decimal.ts
|
|
46
|
+
var import_decimal = __toESM(require("decimal.js-light"));
|
|
47
|
+
import_decimal.default.set({
|
|
48
|
+
rounding: import_decimal.default.ROUND_DOWN
|
|
49
|
+
});
|
|
50
|
+
var decimal_default = import_decimal.default;
|
|
51
|
+
var cutNumber = (num, lenght) => {
|
|
52
|
+
};
|
|
53
|
+
var zero = new import_decimal.default(0);
|
|
54
|
+
var commify = (num) => {
|
|
55
|
+
var parts = num.toString().split(".");
|
|
56
|
+
const numberPart = parts[0];
|
|
57
|
+
const decimalPart = parts[1];
|
|
58
|
+
const thousands = /\B(?=(\d{3})+(?!\d))/g;
|
|
59
|
+
return numberPart.replace(thousands, ",") + (decimalPart ? "." + decimalPart : "");
|
|
60
|
+
};
|
|
61
|
+
var getPrecisionByNumber = (num) => {
|
|
62
|
+
const parts = num.toString().split(".");
|
|
63
|
+
return parts[1] ? parts[1].length : 0;
|
|
64
|
+
};
|
|
65
|
+
function numberToHumanStyle(number) {
|
|
66
|
+
const units = [
|
|
67
|
+
"",
|
|
68
|
+
"thousand",
|
|
69
|
+
"million",
|
|
70
|
+
"billion",
|
|
71
|
+
"trillion",
|
|
72
|
+
"quadrillion"
|
|
73
|
+
];
|
|
74
|
+
const delimiter = ",";
|
|
75
|
+
if (number < 1e3) {
|
|
76
|
+
return number.toString();
|
|
77
|
+
}
|
|
78
|
+
const sign = Math.sign(number);
|
|
79
|
+
const num = Math.abs(number);
|
|
80
|
+
const exp = Math.floor(Math.log10(num) / 3);
|
|
81
|
+
const rounded = Math.round(num / Math.pow(1e3, exp) * 10) / 10;
|
|
82
|
+
const formatted = rounded.toLocaleString();
|
|
83
|
+
return (sign < 0 ? "-" : "") + formatted + " " + units[exp];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// src/dateTime.ts
|
|
87
|
+
var timeConvertString = (time) => {
|
|
88
|
+
time /= 1e3;
|
|
89
|
+
const h = Math.floor(time / 3600);
|
|
90
|
+
const m = Math.floor(time / 60 % 60);
|
|
91
|
+
const s = Math.floor(time % 60);
|
|
92
|
+
return [h, m, s];
|
|
93
|
+
};
|
|
94
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
95
|
+
0 && (module.exports = {
|
|
96
|
+
Decimal,
|
|
97
|
+
commify,
|
|
98
|
+
cutNumber,
|
|
99
|
+
dayjs,
|
|
100
|
+
getPrecisionByNumber,
|
|
101
|
+
numberToHumanStyle,
|
|
102
|
+
timeConvertString,
|
|
103
|
+
zero
|
|
104
|
+
});
|
|
2
105
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/decimal.ts","../src/dateTime.ts"],"sourcesContent":["export { default as dayjs } from \"dayjs\";\n\nexport { default as Decimal } from \"./decimal\";\nexport * from \"./decimal\";\nexport * from \"./dateTime\";\n","import Decimal from \"decimal.js-light\";\n\nDecimal.set({\n rounding: Decimal.ROUND_DOWN,\n});\n\nexport default Decimal;\n\nexport const cutNumber = (num: number | string, lenght: number) => {};\n\nexport const zero = new Decimal(0);\n\nexport const commify = (num: number | string): string => {\n var parts = num.toString().split(\".\");\n const numberPart = parts[0];\n const decimalPart = parts[1];\n const thousands = /\\B(?=(\\d{3})+(?!\\d))/g;\n return (\n numberPart.replace(thousands, \",\") + (decimalPart ? \".\" + decimalPart : \"\")\n );\n};\n\nexport const getPrecisionByNumber = (num: number | string): number => {\n // if(Math.floor(num) === num) return 0;\n const parts = num.toString().split(\".\");\n return parts[1] ? parts[1].length : 0;\n};\n\nexport function numberToHumanStyle(number: number): string {\n const units = [\n \"\",\n \"thousand\",\n \"million\",\n \"billion\",\n \"trillion\",\n \"quadrillion\",\n ];\n const delimiter = \",\";\n\n if (number < 1000) {\n return number.toString();\n }\n\n const sign = Math.sign(number);\n const num = Math.abs(number);\n const exp = Math.floor(Math.log10(num) / 3);\n const rounded = Math.round((num / Math.pow(1000, exp)) * 10) / 10;\n const formatted = rounded.toLocaleString();\n\n return (sign < 0 ? \"-\" : \"\") + formatted + \" \" + units[exp];\n}\n","export const timeConvertString = (time: number): number[] => {\n time /= 1000;\n const h = Math.floor(time / 3600);\n const m = Math.floor((time / 60) % 60);\n const s = Math.floor(time % 60);\n // return result = h + \"小时\" + m + \"分钟\" + s + \"秒\";\n return [h, m, s];\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/decimal.ts","../src/dateTime.ts"],"sourcesContent":["export { default as dayjs } from \"dayjs\";\n\nexport { default as Decimal } from \"./decimal\";\nexport * from \"./decimal\";\nexport * from \"./dateTime\";\n","import Decimal from \"decimal.js-light\";\n\nDecimal.set({\n rounding: Decimal.ROUND_DOWN,\n});\n\nexport default Decimal;\n\nexport const cutNumber = (num: number | string, lenght: number) => {};\n\nexport const zero = new Decimal(0);\n\nexport const commify = (num: number | string): string => {\n var parts = num.toString().split(\".\");\n const numberPart = parts[0];\n const decimalPart = parts[1];\n const thousands = /\\B(?=(\\d{3})+(?!\\d))/g;\n return (\n numberPart.replace(thousands, \",\") + (decimalPart ? \".\" + decimalPart : \"\")\n );\n};\n\nexport const getPrecisionByNumber = (num: number | string): number => {\n // if(Math.floor(num) === num) return 0;\n const parts = num.toString().split(\".\");\n return parts[1] ? parts[1].length : 0;\n};\n\nexport function numberToHumanStyle(number: number): string {\n const units = [\n \"\",\n \"thousand\",\n \"million\",\n \"billion\",\n \"trillion\",\n \"quadrillion\",\n ];\n const delimiter = \",\";\n\n if (number < 1000) {\n return number.toString();\n }\n\n const sign = Math.sign(number);\n const num = Math.abs(number);\n const exp = Math.floor(Math.log10(num) / 3);\n const rounded = Math.round((num / Math.pow(1000, exp)) * 10) / 10;\n const formatted = rounded.toLocaleString();\n\n return (sign < 0 ? \"-\" : \"\") + formatted + \" \" + units[exp];\n}\n","export const timeConvertString = (time: number): number[] => {\n time /= 1000;\n const h = Math.floor(time / 3600);\n const m = Math.floor((time / 60) % 60);\n const s = Math.floor(time % 60);\n // return result = h + \"小时\" + m + \"分钟\" + s + \"秒\";\n return [h, m, s];\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAiC;;;ACAjC,qBAAoB;AAEpB,eAAAA,QAAQ,IAAI;AAAA,EACV,UAAU,eAAAA,QAAQ;AACpB,CAAC;AAED,IAAO,kBAAQ,eAAAA;AAER,IAAM,YAAY,CAAC,KAAsB,WAAmB;AAAC;AAE7D,IAAM,OAAO,IAAI,eAAAA,QAAQ,CAAC;AAE1B,IAAM,UAAU,CAAC,QAAiC;AACvD,MAAI,QAAQ,IAAI,SAAS,EAAE,MAAM,GAAG;AACpC,QAAM,aAAa,MAAM,CAAC;AAC1B,QAAM,cAAc,MAAM,CAAC;AAC3B,QAAM,YAAY;AAClB,SACE,WAAW,QAAQ,WAAW,GAAG,KAAK,cAAc,MAAM,cAAc;AAE5E;AAEO,IAAM,uBAAuB,CAAC,QAAiC;AAEpE,QAAM,QAAQ,IAAI,SAAS,EAAE,MAAM,GAAG;AACtC,SAAO,MAAM,CAAC,IAAI,MAAM,CAAC,EAAE,SAAS;AACtC;AAEO,SAAS,mBAAmB,QAAwB;AACzD,QAAM,QAAQ;AAAA,IACZ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACA,QAAM,YAAY;AAElB,MAAI,SAAS,KAAM;AACjB,WAAO,OAAO,SAAS;AAAA,EACzB;AAEA,QAAM,OAAO,KAAK,KAAK,MAAM;AAC7B,QAAM,MAAM,KAAK,IAAI,MAAM;AAC3B,QAAM,MAAM,KAAK,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;AAC1C,QAAM,UAAU,KAAK,MAAO,MAAM,KAAK,IAAI,KAAM,GAAG,IAAK,EAAE,IAAI;AAC/D,QAAM,YAAY,QAAQ,eAAe;AAEzC,UAAQ,OAAO,IAAI,MAAM,MAAM,YAAY,MAAM,MAAM,GAAG;AAC5D;;;AClDO,IAAM,oBAAoB,CAAC,SAA2B;AAC3D,UAAQ;AACR,QAAM,IAAI,KAAK,MAAM,OAAO,IAAI;AAChC,QAAM,IAAI,KAAK,MAAO,OAAO,KAAM,EAAE;AACrC,QAAM,IAAI,KAAK,MAAM,OAAO,EAAE;AAE9B,SAAO,CAAC,GAAG,GAAG,CAAC;AACjB;","names":["Decimal"]}
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,63 @@
|
|
|
1
|
-
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import { default as default2 } from "dayjs";
|
|
3
|
+
|
|
4
|
+
// src/decimal.ts
|
|
5
|
+
import Decimal from "decimal.js-light";
|
|
6
|
+
Decimal.set({
|
|
7
|
+
rounding: Decimal.ROUND_DOWN
|
|
8
|
+
});
|
|
9
|
+
var decimal_default = Decimal;
|
|
10
|
+
var cutNumber = (num, lenght) => {
|
|
11
|
+
};
|
|
12
|
+
var zero = new Decimal(0);
|
|
13
|
+
var commify = (num) => {
|
|
14
|
+
var parts = num.toString().split(".");
|
|
15
|
+
const numberPart = parts[0];
|
|
16
|
+
const decimalPart = parts[1];
|
|
17
|
+
const thousands = /\B(?=(\d{3})+(?!\d))/g;
|
|
18
|
+
return numberPart.replace(thousands, ",") + (decimalPart ? "." + decimalPart : "");
|
|
19
|
+
};
|
|
20
|
+
var getPrecisionByNumber = (num) => {
|
|
21
|
+
const parts = num.toString().split(".");
|
|
22
|
+
return parts[1] ? parts[1].length : 0;
|
|
23
|
+
};
|
|
24
|
+
function numberToHumanStyle(number) {
|
|
25
|
+
const units = [
|
|
26
|
+
"",
|
|
27
|
+
"thousand",
|
|
28
|
+
"million",
|
|
29
|
+
"billion",
|
|
30
|
+
"trillion",
|
|
31
|
+
"quadrillion"
|
|
32
|
+
];
|
|
33
|
+
const delimiter = ",";
|
|
34
|
+
if (number < 1e3) {
|
|
35
|
+
return number.toString();
|
|
36
|
+
}
|
|
37
|
+
const sign = Math.sign(number);
|
|
38
|
+
const num = Math.abs(number);
|
|
39
|
+
const exp = Math.floor(Math.log10(num) / 3);
|
|
40
|
+
const rounded = Math.round(num / Math.pow(1e3, exp) * 10) / 10;
|
|
41
|
+
const formatted = rounded.toLocaleString();
|
|
42
|
+
return (sign < 0 ? "-" : "") + formatted + " " + units[exp];
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// src/dateTime.ts
|
|
46
|
+
var timeConvertString = (time) => {
|
|
47
|
+
time /= 1e3;
|
|
48
|
+
const h = Math.floor(time / 3600);
|
|
49
|
+
const m = Math.floor(time / 60 % 60);
|
|
50
|
+
const s = Math.floor(time % 60);
|
|
51
|
+
return [h, m, s];
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
decimal_default as Decimal,
|
|
55
|
+
commify,
|
|
56
|
+
cutNumber,
|
|
57
|
+
default2 as dayjs,
|
|
58
|
+
getPrecisionByNumber,
|
|
59
|
+
numberToHumanStyle,
|
|
60
|
+
timeConvertString,
|
|
61
|
+
zero
|
|
62
|
+
};
|
|
2
63
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/decimal.ts","../src/dateTime.ts"],"sourcesContent":["export { default as dayjs } from \"dayjs\";\n\nexport { default as Decimal } from \"./decimal\";\nexport * from \"./decimal\";\nexport * from \"./dateTime\";\n","import Decimal from \"decimal.js-light\";\n\nDecimal.set({\n rounding: Decimal.ROUND_DOWN,\n});\n\nexport default Decimal;\n\nexport const cutNumber = (num: number | string, lenght: number) => {};\n\nexport const zero = new Decimal(0);\n\nexport const commify = (num: number | string): string => {\n var parts = num.toString().split(\".\");\n const numberPart = parts[0];\n const decimalPart = parts[1];\n const thousands = /\\B(?=(\\d{3})+(?!\\d))/g;\n return (\n numberPart.replace(thousands, \",\") + (decimalPart ? \".\" + decimalPart : \"\")\n );\n};\n\nexport const getPrecisionByNumber = (num: number | string): number => {\n // if(Math.floor(num) === num) return 0;\n const parts = num.toString().split(\".\");\n return parts[1] ? parts[1].length : 0;\n};\n\nexport function numberToHumanStyle(number: number): string {\n const units = [\n \"\",\n \"thousand\",\n \"million\",\n \"billion\",\n \"trillion\",\n \"quadrillion\",\n ];\n const delimiter = \",\";\n\n if (number < 1000) {\n return number.toString();\n }\n\n const sign = Math.sign(number);\n const num = Math.abs(number);\n const exp = Math.floor(Math.log10(num) / 3);\n const rounded = Math.round((num / Math.pow(1000, exp)) * 10) / 10;\n const formatted = rounded.toLocaleString();\n\n return (sign < 0 ? \"-\" : \"\") + formatted + \" \" + units[exp];\n}\n","export const timeConvertString = (time: number): number[] => {\n time /= 1000;\n const h = Math.floor(time / 3600);\n const m = Math.floor((time / 60) % 60);\n const s = Math.floor(time % 60);\n // return result = h + \"小时\" + m + \"分钟\" + s + \"秒\";\n return [h, m, s];\n};\n"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/decimal.ts","../src/dateTime.ts"],"sourcesContent":["export { default as dayjs } from \"dayjs\";\n\nexport { default as Decimal } from \"./decimal\";\nexport * from \"./decimal\";\nexport * from \"./dateTime\";\n","import Decimal from \"decimal.js-light\";\n\nDecimal.set({\n rounding: Decimal.ROUND_DOWN,\n});\n\nexport default Decimal;\n\nexport const cutNumber = (num: number | string, lenght: number) => {};\n\nexport const zero = new Decimal(0);\n\nexport const commify = (num: number | string): string => {\n var parts = num.toString().split(\".\");\n const numberPart = parts[0];\n const decimalPart = parts[1];\n const thousands = /\\B(?=(\\d{3})+(?!\\d))/g;\n return (\n numberPart.replace(thousands, \",\") + (decimalPart ? \".\" + decimalPart : \"\")\n );\n};\n\nexport const getPrecisionByNumber = (num: number | string): number => {\n // if(Math.floor(num) === num) return 0;\n const parts = num.toString().split(\".\");\n return parts[1] ? parts[1].length : 0;\n};\n\nexport function numberToHumanStyle(number: number): string {\n const units = [\n \"\",\n \"thousand\",\n \"million\",\n \"billion\",\n \"trillion\",\n \"quadrillion\",\n ];\n const delimiter = \",\";\n\n if (number < 1000) {\n return number.toString();\n }\n\n const sign = Math.sign(number);\n const num = Math.abs(number);\n const exp = Math.floor(Math.log10(num) / 3);\n const rounded = Math.round((num / Math.pow(1000, exp)) * 10) / 10;\n const formatted = rounded.toLocaleString();\n\n return (sign < 0 ? \"-\" : \"\") + formatted + \" \" + units[exp];\n}\n","export const timeConvertString = (time: number): number[] => {\n time /= 1000;\n const h = Math.floor(time / 3600);\n const m = Math.floor((time / 60) % 60);\n const s = Math.floor(time % 60);\n // return result = h + \"小时\" + m + \"分钟\" + s + \"秒\";\n return [h, m, s];\n};\n"],"mappings":";AAAA,SAAoB,WAAXA,gBAAwB;;;ACAjC,OAAO,aAAa;AAEpB,QAAQ,IAAI;AAAA,EACV,UAAU,QAAQ;AACpB,CAAC;AAED,IAAO,kBAAQ;AAER,IAAM,YAAY,CAAC,KAAsB,WAAmB;AAAC;AAE7D,IAAM,OAAO,IAAI,QAAQ,CAAC;AAE1B,IAAM,UAAU,CAAC,QAAiC;AACvD,MAAI,QAAQ,IAAI,SAAS,EAAE,MAAM,GAAG;AACpC,QAAM,aAAa,MAAM,CAAC;AAC1B,QAAM,cAAc,MAAM,CAAC;AAC3B,QAAM,YAAY;AAClB,SACE,WAAW,QAAQ,WAAW,GAAG,KAAK,cAAc,MAAM,cAAc;AAE5E;AAEO,IAAM,uBAAuB,CAAC,QAAiC;AAEpE,QAAM,QAAQ,IAAI,SAAS,EAAE,MAAM,GAAG;AACtC,SAAO,MAAM,CAAC,IAAI,MAAM,CAAC,EAAE,SAAS;AACtC;AAEO,SAAS,mBAAmB,QAAwB;AACzD,QAAM,QAAQ;AAAA,IACZ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACA,QAAM,YAAY;AAElB,MAAI,SAAS,KAAM;AACjB,WAAO,OAAO,SAAS;AAAA,EACzB;AAEA,QAAM,OAAO,KAAK,KAAK,MAAM;AAC7B,QAAM,MAAM,KAAK,IAAI,MAAM;AAC3B,QAAM,MAAM,KAAK,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;AAC1C,QAAM,UAAU,KAAK,MAAO,MAAM,KAAK,IAAI,KAAM,GAAG,IAAK,EAAE,IAAI;AAC/D,QAAM,YAAY,QAAQ,eAAe;AAEzC,UAAQ,OAAO,IAAI,MAAM,MAAM,YAAY,MAAM,MAAM,GAAG;AAC5D;;;AClDO,IAAM,oBAAoB,CAAC,SAA2B;AAC3D,UAAQ;AACR,QAAM,IAAI,KAAK,MAAM,OAAO,IAAI;AAChC,QAAM,IAAI,KAAK,MAAO,OAAO,KAAM,EAAE;AACrC,QAAM,IAAI,KAAK,MAAM,OAAO,EAAE;AAE9B,SAAO,CAAC,GAAG,GAAG,CAAC;AACjB;","names":["default"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orderly.network/utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"jest": "^29.6.1",
|
|
19
19
|
"tsup": "^7.1.0",
|
|
20
20
|
"typescript": "^5.1.6",
|
|
21
|
-
"tsconfig": "0.0.
|
|
21
|
+
"tsconfig": "0.0.10"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"dayjs": "^1.11.9",
|