struct-fakerator 3.0.0 → 3.1.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 +152 -145
- package/dist/config.cjs +4 -4
- package/dist/config_scheme.cjs +30 -46
- package/dist/config_scheme.js +24 -40
- package/dist/create_config.cjs +12 -11
- package/dist/create_config.js +8 -7
- package/dist/create_generator_fn.cjs +15 -14
- package/dist/create_generator_fn.js +9 -8
- package/dist/generator_fn.cjs +5 -5
- package/dist/index.cjs +33 -39
- package/dist/index.js +3 -3
- package/dist/type.cjs +2 -2
- package/dist/types/config_scheme.d.ts +35 -29
- package/dist/types/create_generator_fn.d.ts +2 -2
- package/dist/types/type.d.ts +1 -10
- package/dist/types/utils/airline.d.ts +4 -4
- package/dist/types/utils/color.d.ts +7 -7
- package/dist/types/utils/commerce.d.ts +2 -2
- package/dist/types/utils/common.d.ts +2 -1
- package/dist/types/utils/datatype.d.ts +1 -1
- package/dist/types/utils/datetime.d.ts +8 -8
- package/dist/types/utils/finance.d.ts +7 -7
- package/dist/types/utils/git.d.ts +3 -3
- package/dist/types/utils/image.d.ts +4 -4
- package/dist/types/utils/internet.d.ts +11 -11
- package/dist/types/utils/location.d.ts +11 -11
- package/dist/types/utils/lorem.d.ts +8 -8
- package/dist/types/utils/number.d.ts +7 -7
- package/dist/types/utils/person.d.ts +8 -6
- package/dist/types/utils/phone.d.ts +1 -1
- package/dist/types/utils/string.d.ts +14 -11
- package/dist/types/utils/system.d.ts +5 -5
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/types/utils/word.d.ts +9 -9
- package/dist/utils/airline.cjs +7 -7
- package/dist/utils/animal.cjs +6 -6
- package/dist/utils/book.cjs +4 -4
- package/dist/utils/color.cjs +6 -6
- package/dist/utils/commerce.cjs +6 -6
- package/dist/utils/common.cjs +5 -5
- package/dist/utils/common.js +1 -1
- package/dist/utils/company.cjs +9 -9
- package/dist/utils/database.cjs +6 -6
- package/dist/utils/datatype.cjs +3 -3
- package/dist/utils/datetime.cjs +6 -6
- package/dist/utils/finance.cjs +16 -16
- package/dist/utils/food.cjs +4 -4
- package/dist/utils/git.cjs +5 -5
- package/dist/utils/hacker.cjs +5 -5
- package/dist/utils/image.cjs +5 -5
- package/dist/utils/index.cjs +13 -13
- package/dist/utils/index.js +29 -29
- package/dist/utils/internet.cjs +15 -15
- package/dist/utils/location.cjs +14 -14
- package/dist/utils/lorem.cjs +8 -8
- package/dist/utils/music.cjs +3 -3
- package/dist/utils/number.cjs +3 -3
- package/dist/utils/person.cjs +10 -10
- package/dist/utils/phone.cjs +3 -3
- package/dist/utils/science.cjs +3 -3
- package/dist/utils/string.cjs +9 -9
- package/dist/utils/system.cjs +11 -11
- package/dist/utils/utils.cjs +5 -5
- package/dist/utils/utils.js +1 -1
- package/dist/utils/vehicle.cjs +3 -3
- package/dist/utils/word.cjs +6 -6
- package/package.json +54 -51
|
@@ -8,7 +8,7 @@ export declare const alpha: (options?: number | {
|
|
|
8
8
|
exclude?: ReadonlyArray<(("a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")) | (string & {
|
|
9
9
|
zz_IGNORE_ME?: never;
|
|
10
10
|
})> | string;
|
|
11
|
-
}) => import("..").ValueConfig<string>;
|
|
11
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
12
12
|
/** String [alphanumeric](https://fakerjs.dev/api/string.html#alphanumeric) */
|
|
13
13
|
export declare const alphanumeric: (options?: number | {
|
|
14
14
|
length?: number | {
|
|
@@ -19,7 +19,7 @@ export declare const alphanumeric: (options?: number | {
|
|
|
19
19
|
exclude?: ReadonlyArray<(string & {
|
|
20
20
|
zz_IGNORE_ME?: never;
|
|
21
21
|
}) | ((("a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")) | ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"))> | string;
|
|
22
|
-
}) => import("..").ValueConfig<string>;
|
|
22
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
23
23
|
/** String [binary](https://fakerjs.dev/api/string.html#binary) */
|
|
24
24
|
export declare const binary: (options?: {
|
|
25
25
|
length?: number | {
|
|
@@ -27,12 +27,12 @@ export declare const binary: (options?: {
|
|
|
27
27
|
max: number;
|
|
28
28
|
};
|
|
29
29
|
prefix?: string;
|
|
30
|
-
}) => import("..").ValueConfig<string>;
|
|
30
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
31
31
|
/** String [fromCharacters](https://fakerjs.dev/api/string.html#fromCharacters) */
|
|
32
32
|
export declare const fromCharacters: (characters: string | readonly string[], length?: number | {
|
|
33
33
|
min: number;
|
|
34
34
|
max: number;
|
|
35
|
-
}) => import("..").ValueConfig<string>;
|
|
35
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
36
36
|
/** String [hexadecimal](https://fakerjs.dev/api/string.html#hexadecimal) */
|
|
37
37
|
export declare const hexadecimal: (options?: {
|
|
38
38
|
length?: number | {
|
|
@@ -41,12 +41,12 @@ export declare const hexadecimal: (options?: {
|
|
|
41
41
|
};
|
|
42
42
|
casing?: "lower" | "upper" | "mixed";
|
|
43
43
|
prefix?: string;
|
|
44
|
-
}) => import("..").ValueConfig<string>;
|
|
44
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
45
45
|
/** String [nanoid](https://fakerjs.dev/api/string.html#nanoid) */
|
|
46
46
|
export declare const nanoid: (length?: number | {
|
|
47
47
|
min: number;
|
|
48
48
|
max: number;
|
|
49
|
-
}) => import("..").ValueConfig<string>;
|
|
49
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
50
50
|
/** String [octal](https://fakerjs.dev/api/string.html#octal) */
|
|
51
51
|
export declare const octal: (options?: {
|
|
52
52
|
length?: number | {
|
|
@@ -54,20 +54,23 @@ export declare const octal: (options?: {
|
|
|
54
54
|
max: number;
|
|
55
55
|
};
|
|
56
56
|
prefix?: string;
|
|
57
|
-
}) => import("..").ValueConfig<string>;
|
|
57
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
58
58
|
/** String [sample](https://fakerjs.dev/api/string.html#sample) */
|
|
59
59
|
export declare const sample: (length?: number | {
|
|
60
60
|
min: number;
|
|
61
61
|
max: number;
|
|
62
|
-
}) => import("..").ValueConfig<string>;
|
|
62
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
63
63
|
/** String [symbol](https://fakerjs.dev/api/string.html#symbol) */
|
|
64
64
|
export declare const symbol: (length?: number | {
|
|
65
65
|
min: number;
|
|
66
66
|
max: number;
|
|
67
|
-
}) => import("..").ValueConfig<string>;
|
|
67
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
68
68
|
/** String [ulid](https://fakerjs.dev/api/string.html#ulid) */
|
|
69
69
|
export declare const ulid: (options?: {
|
|
70
70
|
refDate?: string | Date | number;
|
|
71
|
-
}) => import("..").ValueConfig<string>;
|
|
71
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
72
72
|
/** String [uuid](https://fakerjs.dev/api/string.html#uuid) */
|
|
73
|
-
export declare const uuid: (
|
|
73
|
+
export declare const uuid: (options?: {
|
|
74
|
+
version?: 4 | 7;
|
|
75
|
+
refDate?: string | Date | number;
|
|
76
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
/** System [commonFileExt](https://fakerjs.dev/api/system.html#commonFileExt) */
|
|
2
2
|
export declare const commonFileExt: () => import("..").ValueConfig<string>;
|
|
3
3
|
/** System [commonFileName](https://fakerjs.dev/api/system.html#commonFileName) */
|
|
4
|
-
export declare const commonFileName: (extension?: string) => import("..").ValueConfig<string>;
|
|
4
|
+
export declare const commonFileName: (extension?: string | undefined) => import("..").ValueConfig<string>;
|
|
5
5
|
/** System [commonFileType](https://fakerjs.dev/api/system.html#commonFileType) */
|
|
6
6
|
export declare const commonFileType: () => import("..").ValueConfig<string>;
|
|
7
7
|
/** System [cron](https://fakerjs.dev/api/system.html#cron) */
|
|
8
8
|
export declare const cron: (options?: {
|
|
9
9
|
includeYear?: boolean;
|
|
10
10
|
includeNonStandard?: boolean;
|
|
11
|
-
}) => import("..").ValueConfig<string>;
|
|
11
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
12
12
|
/** System [directoryPath](https://fakerjs.dev/api/system.html#directoryPath) */
|
|
13
13
|
export declare const directoryPath: () => import("..").ValueConfig<string>;
|
|
14
14
|
/** System [fileExt](https://fakerjs.dev/api/system.html#fileExt) */
|
|
15
|
-
export declare const fileExt: (mimeType?: string) => import("..").ValueConfig<string>;
|
|
15
|
+
export declare const fileExt: (mimeType?: string | undefined) => import("..").ValueConfig<string>;
|
|
16
16
|
/** System [fileName](https://fakerjs.dev/api/system.html#fileName) */
|
|
17
17
|
export declare const fileName: (options?: {
|
|
18
18
|
extensionCount?: number | {
|
|
19
19
|
min: number;
|
|
20
20
|
max: number;
|
|
21
21
|
};
|
|
22
|
-
}) => import("..").ValueConfig<string>;
|
|
22
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
23
23
|
/** System [filePath](https://fakerjs.dev/api/system.html#filePath) */
|
|
24
24
|
export declare const filePath: () => import("..").ValueConfig<string>;
|
|
25
25
|
/** System [fileType](https://fakerjs.dev/api/system.html#fileType) */
|
|
@@ -30,6 +30,6 @@ export declare const mimeType: () => import("..").ValueConfig<string>;
|
|
|
30
30
|
export declare const networkInterface: (options?: {
|
|
31
31
|
interfaceType?: "en" | "wl" | "ww";
|
|
32
32
|
interfaceSchema?: "index" | "slot" | "mac" | "pci";
|
|
33
|
-
}) => import("..").ValueConfig<string>;
|
|
33
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
34
34
|
/** System [semver](https://fakerjs.dev/api/system.html#semver) */
|
|
35
35
|
export declare const semver: () => import("..").ValueConfig<string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ValueConfig } from "
|
|
1
|
+
import type { ValueConfig } from "..";
|
|
2
2
|
export declare function makeValueConfigFn<Args extends Array<unknown>, R>(fn: (...options: Args) => R): (...options: Args) => ValueConfig<R>;
|
|
@@ -5,7 +5,7 @@ export declare const adjective: (options?: number | {
|
|
|
5
5
|
max: number;
|
|
6
6
|
};
|
|
7
7
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
8
|
-
}) => import("..").ValueConfig<string>;
|
|
8
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
9
9
|
/** Word [adverb](https://fakerjs.dev/word.html#adverb) */
|
|
10
10
|
export declare const adverb: (options?: number | {
|
|
11
11
|
length?: number | {
|
|
@@ -13,7 +13,7 @@ export declare const adverb: (options?: number | {
|
|
|
13
13
|
max: number;
|
|
14
14
|
};
|
|
15
15
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
16
|
-
}) => import("..").ValueConfig<string>;
|
|
16
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
17
17
|
/** Word [conjunction](https://fakerjs.dev/word.html#conjunction) */
|
|
18
18
|
export declare const conjunction: (options?: number | {
|
|
19
19
|
length?: number | {
|
|
@@ -21,7 +21,7 @@ export declare const conjunction: (options?: number | {
|
|
|
21
21
|
max: number;
|
|
22
22
|
};
|
|
23
23
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
24
|
-
}) => import("..").ValueConfig<string>;
|
|
24
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
25
25
|
/** Word [interjection](https://fakerjs.dev/word.html#interjection) */
|
|
26
26
|
export declare const interjection: (options?: number | {
|
|
27
27
|
length?: number | {
|
|
@@ -29,7 +29,7 @@ export declare const interjection: (options?: number | {
|
|
|
29
29
|
max: number;
|
|
30
30
|
};
|
|
31
31
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
32
|
-
}) => import("..").ValueConfig<string>;
|
|
32
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
33
33
|
/** Word [noun](https://fakerjs.dev/word.html#noun) */
|
|
34
34
|
export declare const noun: (options?: number | {
|
|
35
35
|
length?: number | {
|
|
@@ -37,7 +37,7 @@ export declare const noun: (options?: number | {
|
|
|
37
37
|
max: number;
|
|
38
38
|
};
|
|
39
39
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
40
|
-
}) => import("..").ValueConfig<string>;
|
|
40
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
41
41
|
/** Word [preposition](https://fakerjs.dev/word.html#preposition) */
|
|
42
42
|
export declare const preposition: (options?: number | {
|
|
43
43
|
length?: number | {
|
|
@@ -45,7 +45,7 @@ export declare const preposition: (options?: number | {
|
|
|
45
45
|
max: number;
|
|
46
46
|
};
|
|
47
47
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
48
|
-
}) => import("..").ValueConfig<string>;
|
|
48
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
49
49
|
/** Word [sample](https://fakerjs.dev/word.html#sample) */
|
|
50
50
|
export declare const sample: (options?: number | {
|
|
51
51
|
length?: number | {
|
|
@@ -53,7 +53,7 @@ export declare const sample: (options?: number | {
|
|
|
53
53
|
max: number;
|
|
54
54
|
};
|
|
55
55
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
56
|
-
}) => import("..").ValueConfig<string>;
|
|
56
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
57
57
|
/** Word [verb](https://fakerjs.dev/word.html#verb) */
|
|
58
58
|
export declare const verb: (options?: number | {
|
|
59
59
|
length?: number | {
|
|
@@ -61,11 +61,11 @@ export declare const verb: (options?: number | {
|
|
|
61
61
|
max: number;
|
|
62
62
|
};
|
|
63
63
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
64
|
-
}) => import("..").ValueConfig<string>;
|
|
64
|
+
} | undefined) => import("..").ValueConfig<string>;
|
|
65
65
|
/** Word [words](https://fakerjs.dev/word.html#words) */
|
|
66
66
|
export declare const words: (options?: number | {
|
|
67
67
|
count?: number | {
|
|
68
68
|
min: number;
|
|
69
69
|
max: number;
|
|
70
70
|
};
|
|
71
|
-
}) => import("..").ValueConfig<string>;
|
|
71
|
+
} | undefined) => import("..").ValueConfig<string>;
|
package/dist/utils/airline.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -25,12 +25,12 @@ var __webpack_exports__ = {};
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
airport: ()=>airport,
|
|
28
|
-
|
|
28
|
+
airplane: ()=>airplane,
|
|
29
29
|
flightNumber: ()=>flightNumber,
|
|
30
|
-
aircraftType: ()=>aircraftType,
|
|
31
|
-
airline: ()=>airline,
|
|
32
30
|
seat: ()=>seat,
|
|
33
|
-
|
|
31
|
+
airline: ()=>airline,
|
|
32
|
+
aircraftType: ()=>aircraftType,
|
|
33
|
+
recordLocator: ()=>recordLocator
|
|
34
34
|
});
|
|
35
35
|
const faker_namespaceObject = require("@faker-js/faker");
|
|
36
36
|
const external_utils_cjs_namespaceObject = require("./utils.cjs");
|
|
@@ -48,7 +48,7 @@ exports.airport = __webpack_exports__.airport;
|
|
|
48
48
|
exports.flightNumber = __webpack_exports__.flightNumber;
|
|
49
49
|
exports.recordLocator = __webpack_exports__.recordLocator;
|
|
50
50
|
exports.seat = __webpack_exports__.seat;
|
|
51
|
-
for(var
|
|
51
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
52
52
|
"aircraftType",
|
|
53
53
|
"airline",
|
|
54
54
|
"airplane",
|
|
@@ -56,7 +56,7 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
56
56
|
"flightNumber",
|
|
57
57
|
"recordLocator",
|
|
58
58
|
"seat"
|
|
59
|
-
].indexOf(
|
|
59
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
60
60
|
Object.defineProperty(exports, '__esModule', {
|
|
61
61
|
value: true
|
|
62
62
|
});
|
package/dist/utils/animal.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -26,17 +26,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
dog: ()=>dog,
|
|
28
28
|
cow: ()=>cow,
|
|
29
|
-
cetacean: ()=>cetacean,
|
|
30
29
|
lion: ()=>lion,
|
|
31
30
|
bird: ()=>bird,
|
|
32
31
|
insect: ()=>insect,
|
|
33
32
|
rodent: ()=>rodent,
|
|
34
33
|
bear: ()=>bear,
|
|
35
|
-
|
|
34
|
+
crocodilia: ()=>crocodilia,
|
|
36
35
|
fish: ()=>fish,
|
|
36
|
+
type: ()=>type,
|
|
37
37
|
snake: ()=>snake,
|
|
38
38
|
rabbit: ()=>rabbit,
|
|
39
|
-
|
|
39
|
+
cetacean: ()=>cetacean,
|
|
40
40
|
petName: ()=>petName,
|
|
41
41
|
cat: ()=>cat,
|
|
42
42
|
horse: ()=>horse
|
|
@@ -75,7 +75,7 @@ exports.rabbit = __webpack_exports__.rabbit;
|
|
|
75
75
|
exports.rodent = __webpack_exports__.rodent;
|
|
76
76
|
exports.snake = __webpack_exports__.snake;
|
|
77
77
|
exports.type = __webpack_exports__.type;
|
|
78
|
-
for(var
|
|
78
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
79
79
|
"bear",
|
|
80
80
|
"bird",
|
|
81
81
|
"cat",
|
|
@@ -92,7 +92,7 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
92
92
|
"rodent",
|
|
93
93
|
"snake",
|
|
94
94
|
"type"
|
|
95
|
-
].indexOf(
|
|
95
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
96
96
|
Object.defineProperty(exports, '__esModule', {
|
|
97
97
|
value: true
|
|
98
98
|
});
|
package/dist/utils/book.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -25,8 +25,8 @@ var __webpack_exports__ = {};
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
title: ()=>title,
|
|
28
|
-
publisher: ()=>publisher,
|
|
29
28
|
series: ()=>series,
|
|
29
|
+
publisher: ()=>publisher,
|
|
30
30
|
author: ()=>author,
|
|
31
31
|
format: ()=>format,
|
|
32
32
|
genre: ()=>genre
|
|
@@ -45,14 +45,14 @@ exports.genre = __webpack_exports__.genre;
|
|
|
45
45
|
exports.publisher = __webpack_exports__.publisher;
|
|
46
46
|
exports.series = __webpack_exports__.series;
|
|
47
47
|
exports.title = __webpack_exports__.title;
|
|
48
|
-
for(var
|
|
48
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
49
49
|
"author",
|
|
50
50
|
"format",
|
|
51
51
|
"genre",
|
|
52
52
|
"publisher",
|
|
53
53
|
"series",
|
|
54
54
|
"title"
|
|
55
|
-
].indexOf(
|
|
55
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
56
56
|
Object.defineProperty(exports, '__esModule', {
|
|
57
57
|
value: true
|
|
58
58
|
});
|
package/dist/utils/color.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -24,15 +24,15 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
colorByCSSColorSpace: ()=>colorByCSSColorSpace,
|
|
28
|
-
cssSupportedFunction: ()=>cssSupportedFunction,
|
|
29
27
|
space: ()=>space,
|
|
30
28
|
cmyk: ()=>cmyk,
|
|
31
|
-
human: ()=>human,
|
|
32
29
|
cssSupportedSpace: ()=>cssSupportedSpace,
|
|
30
|
+
human: ()=>human,
|
|
33
31
|
rgb: ()=>rgb,
|
|
34
32
|
hwb: ()=>hwb,
|
|
33
|
+
colorByCSSColorSpace: ()=>colorByCSSColorSpace,
|
|
35
34
|
lab: ()=>lab,
|
|
35
|
+
cssSupportedFunction: ()=>cssSupportedFunction,
|
|
36
36
|
hsl: ()=>hsl,
|
|
37
37
|
lch: ()=>lch
|
|
38
38
|
});
|
|
@@ -60,7 +60,7 @@ exports.lab = __webpack_exports__.lab;
|
|
|
60
60
|
exports.lch = __webpack_exports__.lch;
|
|
61
61
|
exports.rgb = __webpack_exports__.rgb;
|
|
62
62
|
exports.space = __webpack_exports__.space;
|
|
63
|
-
for(var
|
|
63
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
64
64
|
"cmyk",
|
|
65
65
|
"colorByCSSColorSpace",
|
|
66
66
|
"cssSupportedFunction",
|
|
@@ -72,7 +72,7 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
72
72
|
"lch",
|
|
73
73
|
"rgb",
|
|
74
74
|
"space"
|
|
75
|
-
].indexOf(
|
|
75
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
76
76
|
Object.defineProperty(exports, '__esModule', {
|
|
77
77
|
value: true
|
|
78
78
|
});
|
package/dist/utils/commerce.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -27,11 +27,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
price: ()=>price,
|
|
28
28
|
isbn: ()=>isbn,
|
|
29
29
|
productDescription: ()=>productDescription,
|
|
30
|
-
|
|
30
|
+
productName: ()=>productName,
|
|
31
31
|
department: ()=>department,
|
|
32
|
-
product: ()=>product,
|
|
33
32
|
productAdjective: ()=>productAdjective,
|
|
34
|
-
|
|
33
|
+
product: ()=>product,
|
|
34
|
+
productMaterial: ()=>productMaterial
|
|
35
35
|
});
|
|
36
36
|
const faker_namespaceObject = require("@faker-js/faker");
|
|
37
37
|
const external_utils_cjs_namespaceObject = require("./utils.cjs");
|
|
@@ -51,7 +51,7 @@ exports.productAdjective = __webpack_exports__.productAdjective;
|
|
|
51
51
|
exports.productDescription = __webpack_exports__.productDescription;
|
|
52
52
|
exports.productMaterial = __webpack_exports__.productMaterial;
|
|
53
53
|
exports.productName = __webpack_exports__.productName;
|
|
54
|
-
for(var
|
|
54
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
55
55
|
"department",
|
|
56
56
|
"isbn",
|
|
57
57
|
"price",
|
|
@@ -60,7 +60,7 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
60
60
|
"productDescription",
|
|
61
61
|
"productMaterial",
|
|
62
62
|
"productName"
|
|
63
|
-
].indexOf(
|
|
63
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
64
64
|
Object.defineProperty(exports, '__esModule', {
|
|
65
65
|
value: true
|
|
66
66
|
});
|
package/dist/utils/common.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -26,12 +26,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
constant: ()=>constant
|
|
28
28
|
});
|
|
29
|
-
const
|
|
30
|
-
const constant = (value)=>(0,
|
|
29
|
+
const external_index_cjs_namespaceObject = require("../index.cjs");
|
|
30
|
+
const constant = (value)=>(0, external_index_cjs_namespaceObject.createValueConfig)(()=>value);
|
|
31
31
|
exports.constant = __webpack_exports__.constant;
|
|
32
|
-
for(var
|
|
32
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
33
33
|
"constant"
|
|
34
|
-
].indexOf(
|
|
34
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
35
35
|
Object.defineProperty(exports, '__esModule', {
|
|
36
36
|
value: true
|
|
37
37
|
});
|
package/dist/utils/common.js
CHANGED
package/dist/utils/company.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -24,15 +24,15 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
catchPhraseAdjective: ()=>catchPhraseAdjective,
|
|
28
|
+
buzzVerb: ()=>buzzVerb,
|
|
29
|
+
catchPhraseDescriptor: ()=>catchPhraseDescriptor,
|
|
29
30
|
name: ()=>company_name,
|
|
30
|
-
|
|
31
|
+
buzzAdjective: ()=>buzzAdjective,
|
|
31
32
|
buzzNoun: ()=>buzzNoun,
|
|
32
|
-
|
|
33
|
+
buzzPhrase: ()=>buzzPhrase,
|
|
33
34
|
catchPhrase: ()=>catchPhrase,
|
|
34
|
-
|
|
35
|
-
catchPhraseDescriptor: ()=>catchPhraseDescriptor
|
|
35
|
+
catchPhraseNoun: ()=>catchPhraseNoun
|
|
36
36
|
});
|
|
37
37
|
const faker_namespaceObject = require("@faker-js/faker");
|
|
38
38
|
const external_utils_cjs_namespaceObject = require("./utils.cjs");
|
|
@@ -54,7 +54,7 @@ exports.catchPhraseAdjective = __webpack_exports__.catchPhraseAdjective;
|
|
|
54
54
|
exports.catchPhraseDescriptor = __webpack_exports__.catchPhraseDescriptor;
|
|
55
55
|
exports.catchPhraseNoun = __webpack_exports__.catchPhraseNoun;
|
|
56
56
|
exports.name = __webpack_exports__.name;
|
|
57
|
-
for(var
|
|
57
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
58
58
|
"buzzAdjective",
|
|
59
59
|
"buzzNoun",
|
|
60
60
|
"buzzPhrase",
|
|
@@ -64,7 +64,7 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
64
64
|
"catchPhraseDescriptor",
|
|
65
65
|
"catchPhraseNoun",
|
|
66
66
|
"name"
|
|
67
|
-
].indexOf(
|
|
67
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
68
68
|
Object.defineProperty(exports, '__esModule', {
|
|
69
69
|
value: true
|
|
70
70
|
});
|
package/dist/utils/database.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -25,10 +25,10 @@ var __webpack_exports__ = {};
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
type: ()=>type,
|
|
28
|
-
|
|
28
|
+
mongodbObjectId: ()=>mongodbObjectId,
|
|
29
29
|
column: ()=>column,
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
collation: ()=>collation,
|
|
31
|
+
engine: ()=>engine
|
|
32
32
|
});
|
|
33
33
|
const faker_namespaceObject = require("@faker-js/faker");
|
|
34
34
|
const external_utils_cjs_namespaceObject = require("./utils.cjs");
|
|
@@ -42,13 +42,13 @@ exports.column = __webpack_exports__.column;
|
|
|
42
42
|
exports.engine = __webpack_exports__.engine;
|
|
43
43
|
exports.mongodbObjectId = __webpack_exports__.mongodbObjectId;
|
|
44
44
|
exports.type = __webpack_exports__.type;
|
|
45
|
-
for(var
|
|
45
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
46
46
|
"collation",
|
|
47
47
|
"column",
|
|
48
48
|
"engine",
|
|
49
49
|
"mongodbObjectId",
|
|
50
50
|
"type"
|
|
51
|
-
].indexOf(
|
|
51
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
52
52
|
Object.defineProperty(exports, '__esModule', {
|
|
53
53
|
value: true
|
|
54
54
|
});
|
package/dist/utils/datatype.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -30,9 +30,9 @@ const faker_namespaceObject = require("@faker-js/faker");
|
|
|
30
30
|
const external_utils_cjs_namespaceObject = require("./utils.cjs");
|
|
31
31
|
const datatype_boolean = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.datatype.boolean);
|
|
32
32
|
exports.boolean = __webpack_exports__.boolean;
|
|
33
|
-
for(var
|
|
33
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
34
34
|
"boolean"
|
|
35
|
-
].indexOf(
|
|
35
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
36
36
|
Object.defineProperty(exports, '__esModule', {
|
|
37
37
|
value: true
|
|
38
38
|
});
|
package/dist/utils/datetime.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var __webpack_require__ = {};
|
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
15
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
17
|
value: 'Module'
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -26,13 +26,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
weekday: ()=>weekday,
|
|
28
28
|
between: ()=>between,
|
|
29
|
+
birthdate: ()=>birthdate,
|
|
29
30
|
month: ()=>month,
|
|
30
31
|
past: ()=>past,
|
|
31
32
|
recent: ()=>recent,
|
|
32
|
-
future: ()=>future,
|
|
33
|
-
betweens: ()=>betweens,
|
|
34
33
|
timeZone: ()=>timeZone,
|
|
35
|
-
|
|
34
|
+
betweens: ()=>betweens,
|
|
35
|
+
future: ()=>future,
|
|
36
36
|
soon: ()=>soon,
|
|
37
37
|
anytime: ()=>anytime
|
|
38
38
|
});
|
|
@@ -60,7 +60,7 @@ exports.recent = __webpack_exports__.recent;
|
|
|
60
60
|
exports.soon = __webpack_exports__.soon;
|
|
61
61
|
exports.timeZone = __webpack_exports__.timeZone;
|
|
62
62
|
exports.weekday = __webpack_exports__.weekday;
|
|
63
|
-
for(var
|
|
63
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
64
64
|
"anytime",
|
|
65
65
|
"between",
|
|
66
66
|
"betweens",
|
|
@@ -72,7 +72,7 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
72
72
|
"soon",
|
|
73
73
|
"timeZone",
|
|
74
74
|
"weekday"
|
|
75
|
-
].indexOf(
|
|
75
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
76
76
|
Object.defineProperty(exports, '__esModule', {
|
|
77
77
|
value: true
|
|
78
78
|
});
|