@visulima/fmt 1.1.14 → 1.1.16
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/CHANGELOG.md +25 -0
- package/README.md +1 -0
- package/dist/index.cjs +1 -664
- package/dist/index.d.cts +3 -2
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +1 -659
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const format: (fmt: Record<string, any> | string, arguments_?: any[], options?: Options) => string;
|
|
2
|
-
declare const build: (options?: Options) => (
|
|
2
|
+
declare const build: (options?: Options) => (f: NonNullable<Record<string, any> | string>, arguments_?: any[], formatOptions?: Omit<Options, "formatters">) => string;
|
|
3
3
|
type FormatterFunction = (argument: any) => string;
|
|
4
4
|
type FormatterMap = Record<number, FormatterFunction>;
|
|
5
5
|
interface Options {
|
|
@@ -7,4 +7,5 @@ interface Options {
|
|
|
7
7
|
stringify?: (o: any) => string;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export {
|
|
10
|
+
export { build, format };
|
|
11
|
+
export type { FormatterFunction, FormatterMap, Options };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const format: (fmt: Record<string, any> | string, arguments_?: any[], options?: Options) => string;
|
|
2
|
-
declare const build: (options?: Options) => (
|
|
2
|
+
declare const build: (options?: Options) => (f: NonNullable<Record<string, any> | string>, arguments_?: any[], formatOptions?: Omit<Options, "formatters">) => string;
|
|
3
3
|
type FormatterFunction = (argument: any) => string;
|
|
4
4
|
type FormatterMap = Record<number, FormatterFunction>;
|
|
5
5
|
interface Options {
|
|
@@ -7,4 +7,5 @@ interface Options {
|
|
|
7
7
|
stringify?: (o: any) => string;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export {
|
|
10
|
+
export { build, format };
|
|
11
|
+
export type { FormatterFunction, FormatterMap, Options };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const format: (fmt: Record<string, any> | string, arguments_?: any[], options?: Options) => string;
|
|
2
|
-
declare const build: (options?: Options) => (
|
|
2
|
+
declare const build: (options?: Options) => (f: NonNullable<Record<string, any> | string>, arguments_?: any[], formatOptions?: Omit<Options, "formatters">) => string;
|
|
3
3
|
type FormatterFunction = (argument: any) => string;
|
|
4
4
|
type FormatterMap = Record<number, FormatterFunction>;
|
|
5
5
|
interface Options {
|
|
@@ -7,4 +7,5 @@ interface Options {
|
|
|
7
7
|
stringify?: (o: any) => string;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export {
|
|
10
|
+
export { build, format };
|
|
11
|
+
export type { FormatterFunction, FormatterMap, Options };
|