struct-fakerator 2.8.9 → 3.0.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.
Files changed (188) hide show
  1. package/LICENSE +21 -0
  2. package/dist/config.cjs +51 -0
  3. package/dist/config.js +2 -51
  4. package/dist/config_scheme.cjs +95 -0
  5. package/dist/config_scheme.js +24 -73
  6. package/dist/create_config.cjs +110 -0
  7. package/dist/create_config.js +9 -58
  8. package/dist/{create_generator_fn.mjs → create_generator_fn.cjs} +63 -11
  9. package/dist/create_generator_fn.js +11 -63
  10. package/dist/generator_fn.cjs +54 -0
  11. package/dist/generator_fn.js +2 -54
  12. package/dist/index.cjs +107 -0
  13. package/dist/index.js +6 -107
  14. package/dist/type.cjs +18 -0
  15. package/dist/type.js +0 -18
  16. package/dist/{type.d.ts → types/type.d.ts} +10 -1
  17. package/dist/types/utils/airline.d.ts +31 -0
  18. package/dist/{utils → types/utils}/animal.d.ts +2 -0
  19. package/dist/types/utils/book.d.ts +12 -0
  20. package/dist/{utils → types/utils}/color.d.ts +9 -9
  21. package/dist/{utils → types/utils}/finance.d.ts +7 -9
  22. package/dist/{utils → types/utils}/image.d.ts +0 -11
  23. package/dist/{utils → types/utils}/index.d.ts +2 -0
  24. package/dist/{utils → types/utils}/internet.d.ts +9 -7
  25. package/dist/{utils → types/utils}/location.d.ts +29 -16
  26. package/dist/{utils → types/utils}/number.d.ts +5 -0
  27. package/dist/{utils → types/utils}/person.d.ts +1 -1
  28. package/dist/{utils → types/utils}/science.d.ts +2 -2
  29. package/dist/{utils → types/utils}/string.d.ts +4 -0
  30. package/dist/utils/airline.cjs +62 -0
  31. package/dist/utils/airline.js +10 -46
  32. package/dist/utils/animal.cjs +98 -0
  33. package/dist/utils/animal.js +19 -94
  34. package/dist/utils/book.cjs +58 -0
  35. package/dist/utils/book.js +9 -0
  36. package/dist/utils/color.cjs +78 -0
  37. package/dist/utils/color.js +14 -78
  38. package/dist/utils/commerce.cjs +66 -0
  39. package/dist/utils/commerce.js +11 -66
  40. package/dist/utils/common.cjs +37 -0
  41. package/dist/utils/common.js +3 -37
  42. package/dist/utils/company.cjs +70 -0
  43. package/dist/utils/company.js +12 -70
  44. package/dist/utils/database.cjs +54 -0
  45. package/dist/utils/database.js +8 -54
  46. package/dist/utils/datatype.cjs +38 -0
  47. package/dist/utils/datatype.js +4 -38
  48. package/dist/utils/datetime.cjs +78 -0
  49. package/dist/utils/datetime.js +14 -78
  50. package/dist/utils/finance.cjs +114 -0
  51. package/dist/utils/finance.js +23 -110
  52. package/dist/utils/food.cjs +70 -0
  53. package/dist/utils/food.js +12 -70
  54. package/dist/utils/git.cjs +54 -0
  55. package/dist/utils/git.js +8 -54
  56. package/dist/utils/hacker.cjs +58 -0
  57. package/dist/utils/hacker.js +9 -58
  58. package/dist/utils/image.cjs +58 -0
  59. package/dist/utils/image.js +9 -66
  60. package/dist/utils/index.cjs +143 -0
  61. package/dist/utils/index.js +29 -136
  62. package/dist/utils/internet.cjs +118 -0
  63. package/dist/utils/internet.js +24 -114
  64. package/dist/utils/location.cjs +110 -0
  65. package/dist/utils/location.js +22 -98
  66. package/dist/utils/lorem.cjs +70 -0
  67. package/dist/utils/lorem.js +12 -70
  68. package/dist/utils/music.cjs +50 -0
  69. package/dist/utils/music.js +7 -50
  70. package/dist/utils/number.cjs +62 -0
  71. package/dist/utils/number.js +10 -58
  72. package/dist/utils/person.cjs +94 -0
  73. package/dist/utils/person.js +18 -94
  74. package/dist/utils/phone.cjs +42 -0
  75. package/dist/utils/phone.js +5 -42
  76. package/dist/utils/science.cjs +42 -0
  77. package/dist/utils/science.js +5 -42
  78. package/dist/utils/string.cjs +78 -0
  79. package/dist/utils/string.js +14 -74
  80. package/dist/utils/system.cjs +82 -0
  81. package/dist/utils/system.js +15 -82
  82. package/dist/utils/utils.cjs +39 -0
  83. package/dist/utils/utils.js +3 -37
  84. package/dist/utils/vehicle.cjs +70 -0
  85. package/dist/utils/vehicle.js +12 -70
  86. package/dist/utils/word.cjs +70 -0
  87. package/dist/utils/word.js +12 -70
  88. package/package.json +26 -36
  89. package/biome.json +0 -31
  90. package/dist/config.mjs +0 -2
  91. package/dist/config_scheme.mjs +0 -46
  92. package/dist/create_config.mjs +0 -61
  93. package/dist/generator_fn.mjs +0 -2
  94. package/dist/index.mjs +0 -6
  95. package/dist/type.mjs +0 -0
  96. package/dist/utils/airline.d.ts +0 -14
  97. package/dist/utils/airline.mjs +0 -6
  98. package/dist/utils/animal.mjs +0 -18
  99. package/dist/utils/color.mjs +0 -14
  100. package/dist/utils/commerce.mjs +0 -11
  101. package/dist/utils/common.mjs +0 -3
  102. package/dist/utils/company.mjs +0 -12
  103. package/dist/utils/database.mjs +0 -8
  104. package/dist/utils/datatype.mjs +0 -4
  105. package/dist/utils/datetime.mjs +0 -14
  106. package/dist/utils/finance.mjs +0 -22
  107. package/dist/utils/food.mjs +0 -12
  108. package/dist/utils/git.mjs +0 -8
  109. package/dist/utils/hacker.mjs +0 -9
  110. package/dist/utils/image.mjs +0 -11
  111. package/dist/utils/index.mjs +0 -27
  112. package/dist/utils/internet.mjs +0 -23
  113. package/dist/utils/location.mjs +0 -19
  114. package/dist/utils/lorem.mjs +0 -12
  115. package/dist/utils/music.mjs +0 -7
  116. package/dist/utils/number.mjs +0 -9
  117. package/dist/utils/person.mjs +0 -18
  118. package/dist/utils/phone.mjs +0 -5
  119. package/dist/utils/science.mjs +0 -5
  120. package/dist/utils/string.mjs +0 -13
  121. package/dist/utils/system.mjs +0 -15
  122. package/dist/utils/utils.mjs +0 -5
  123. package/dist/utils/vehicle.mjs +0 -12
  124. package/dist/utils/word.mjs +0 -12
  125. package/pnpm-workspace.yaml +0 -2
  126. package/rslib.config.ts +0 -26
  127. package/src/config.ts +0 -8
  128. package/src/config_scheme.ts +0 -41
  129. package/src/create_config.test.ts +0 -70
  130. package/src/create_config.ts +0 -170
  131. package/src/create_generator_fn.test.ts +0 -229
  132. package/src/create_generator_fn.ts +0 -342
  133. package/src/generator_fn.ts +0 -9
  134. package/src/index.ts +0 -5
  135. package/src/type.ts +0 -167
  136. package/src/utils/airline.ts +0 -11
  137. package/src/utils/animal.ts +0 -47
  138. package/src/utils/color.ts +0 -41
  139. package/src/utils/commerce.ts +0 -32
  140. package/src/utils/common.ts +0 -4
  141. package/src/utils/company.ts +0 -33
  142. package/src/utils/database.ts +0 -19
  143. package/src/utils/datatype.ts +0 -5
  144. package/src/utils/datetime.ts +0 -35
  145. package/src/utils/finance.ts +0 -65
  146. package/src/utils/food.ts +0 -29
  147. package/src/utils/git.ts +0 -17
  148. package/src/utils/hacker.ts +0 -20
  149. package/src/utils/image.ts +0 -26
  150. package/src/utils/index.ts +0 -26
  151. package/src/utils/internet.ts +0 -62
  152. package/src/utils/location.ts +0 -58
  153. package/src/utils/lorem.ts +0 -29
  154. package/src/utils/music.ts +0 -14
  155. package/src/utils/number.ts +0 -20
  156. package/src/utils/person.ts +0 -47
  157. package/src/utils/phone.ts +0 -8
  158. package/src/utils/science.ts +0 -8
  159. package/src/utils/string.ts +0 -32
  160. package/src/utils/system.ts +0 -40
  161. package/src/utils/utils.ts +0 -8
  162. package/src/utils/vehicle.ts +0 -29
  163. package/src/utils/word.ts +0 -29
  164. package/tsconfig.json +0 -18
  165. /package/dist/{config.d.ts → types/config.d.ts} +0 -0
  166. /package/dist/{config_scheme.d.ts → types/config_scheme.d.ts} +0 -0
  167. /package/dist/{create_config.d.ts → types/create_config.d.ts} +0 -0
  168. /package/dist/{create_config.test.d.ts → types/create_config.test.d.ts} +0 -0
  169. /package/dist/{create_generator_fn.d.ts → types/create_generator_fn.d.ts} +0 -0
  170. /package/dist/{create_generator_fn.test.d.ts → types/create_generator_fn.test.d.ts} +0 -0
  171. /package/dist/{generator_fn.d.ts → types/generator_fn.d.ts} +0 -0
  172. /package/dist/{index.d.ts → types/index.d.ts} +0 -0
  173. /package/dist/{utils → types/utils}/commerce.d.ts +0 -0
  174. /package/dist/{utils → types/utils}/common.d.ts +0 -0
  175. /package/dist/{utils → types/utils}/company.d.ts +0 -0
  176. /package/dist/{utils → types/utils}/database.d.ts +0 -0
  177. /package/dist/{utils → types/utils}/datatype.d.ts +0 -0
  178. /package/dist/{utils → types/utils}/datetime.d.ts +0 -0
  179. /package/dist/{utils → types/utils}/food.d.ts +0 -0
  180. /package/dist/{utils → types/utils}/git.d.ts +0 -0
  181. /package/dist/{utils → types/utils}/hacker.d.ts +0 -0
  182. /package/dist/{utils → types/utils}/lorem.d.ts +0 -0
  183. /package/dist/{utils → types/utils}/music.d.ts +0 -0
  184. /package/dist/{utils → types/utils}/phone.d.ts +0 -0
  185. /package/dist/{utils → types/utils}/system.d.ts +0 -0
  186. /package/dist/{utils → types/utils}/utils.d.ts +0 -0
  187. /package/dist/{utils → types/utils}/vehicle.d.ts +0 -0
  188. /package/dist/{utils → types/utils}/word.d.ts +0 -0
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ countryCode: ()=>countryCode,
28
+ secondaryAddress: ()=>secondaryAddress,
29
+ longitude: ()=>longitude,
30
+ streetAddress: ()=>streetAddress,
31
+ direction: ()=>direction,
32
+ latitude: ()=>latitude,
33
+ buildingNumber: ()=>buildingNumber,
34
+ country: ()=>country,
35
+ cardinalDirection: ()=>cardinalDirection,
36
+ language: ()=>language,
37
+ nearbyGPSCoordinate: ()=>nearbyGPSCoordinate,
38
+ county: ()=>county,
39
+ ordinalDirection: ()=>ordinalDirection,
40
+ state: ()=>state,
41
+ street: ()=>street,
42
+ timeZone: ()=>timeZone,
43
+ city: ()=>city,
44
+ zipCode: ()=>zipCode,
45
+ continent: ()=>continent
46
+ });
47
+ const faker_namespaceObject = require("@faker-js/faker");
48
+ const external_utils_cjs_namespaceObject = require("./utils.cjs");
49
+ const buildingNumber = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.buildingNumber);
50
+ const cardinalDirection = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.cardinalDirection);
51
+ const city = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.city);
52
+ const continent = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.continent);
53
+ const country = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.country);
54
+ const countryCode = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.countryCode);
55
+ const county = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.county);
56
+ const direction = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.direction);
57
+ const language = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.language);
58
+ const latitude = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.latitude);
59
+ const longitude = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.longitude);
60
+ const nearbyGPSCoordinate = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.nearbyGPSCoordinate);
61
+ const ordinalDirection = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.ordinalDirection);
62
+ const secondaryAddress = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.secondaryAddress);
63
+ const state = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.state);
64
+ const street = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.street);
65
+ const streetAddress = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.streetAddress);
66
+ const timeZone = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.timeZone);
67
+ const zipCode = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.zipCode);
68
+ exports.buildingNumber = __webpack_exports__.buildingNumber;
69
+ exports.cardinalDirection = __webpack_exports__.cardinalDirection;
70
+ exports.city = __webpack_exports__.city;
71
+ exports.continent = __webpack_exports__.continent;
72
+ exports.country = __webpack_exports__.country;
73
+ exports.countryCode = __webpack_exports__.countryCode;
74
+ exports.county = __webpack_exports__.county;
75
+ exports.direction = __webpack_exports__.direction;
76
+ exports.language = __webpack_exports__.language;
77
+ exports.latitude = __webpack_exports__.latitude;
78
+ exports.longitude = __webpack_exports__.longitude;
79
+ exports.nearbyGPSCoordinate = __webpack_exports__.nearbyGPSCoordinate;
80
+ exports.ordinalDirection = __webpack_exports__.ordinalDirection;
81
+ exports.secondaryAddress = __webpack_exports__.secondaryAddress;
82
+ exports.state = __webpack_exports__.state;
83
+ exports.street = __webpack_exports__.street;
84
+ exports.streetAddress = __webpack_exports__.streetAddress;
85
+ exports.timeZone = __webpack_exports__.timeZone;
86
+ exports.zipCode = __webpack_exports__.zipCode;
87
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
88
+ "buildingNumber",
89
+ "cardinalDirection",
90
+ "city",
91
+ "continent",
92
+ "country",
93
+ "countryCode",
94
+ "county",
95
+ "direction",
96
+ "language",
97
+ "latitude",
98
+ "longitude",
99
+ "nearbyGPSCoordinate",
100
+ "ordinalDirection",
101
+ "secondaryAddress",
102
+ "state",
103
+ "street",
104
+ "streetAddress",
105
+ "timeZone",
106
+ "zipCode"
107
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
108
+ Object.defineProperty(exports, '__esModule', {
109
+ value: true
110
+ });
@@ -1,98 +1,22 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- countryCode: ()=>countryCode,
28
- secondaryAddress: ()=>secondaryAddress,
29
- longitude: ()=>longitude,
30
- streetAddress: ()=>streetAddress,
31
- direction: ()=>direction,
32
- latitude: ()=>latitude,
33
- buildingNumber: ()=>buildingNumber,
34
- country: ()=>country,
35
- cardinalDirection: ()=>cardinalDirection,
36
- nearbyGPSCoordinate: ()=>nearbyGPSCoordinate,
37
- ordinalDirection: ()=>ordinalDirection,
38
- county: ()=>county,
39
- state: ()=>state,
40
- street: ()=>street,
41
- timeZone: ()=>timeZone,
42
- city: ()=>city
43
- });
44
- const faker_namespaceObject = require("@faker-js/faker");
45
- const external_utils_js_namespaceObject = require("./utils.js");
46
- const buildingNumber = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.buildingNumber);
47
- const cardinalDirection = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.cardinalDirection);
48
- const city = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.city);
49
- const country = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.country);
50
- const countryCode = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.countryCode);
51
- const county = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.county);
52
- const direction = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.direction);
53
- const latitude = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.latitude);
54
- const longitude = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.longitude);
55
- const nearbyGPSCoordinate = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.nearbyGPSCoordinate);
56
- const ordinalDirection = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.ordinalDirection);
57
- const secondaryAddress = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.secondaryAddress);
58
- const state = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.state);
59
- const street = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.street);
60
- const streetAddress = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.streetAddress);
61
- const timeZone = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.location.timeZone);
62
- exports.buildingNumber = __webpack_exports__.buildingNumber;
63
- exports.cardinalDirection = __webpack_exports__.cardinalDirection;
64
- exports.city = __webpack_exports__.city;
65
- exports.country = __webpack_exports__.country;
66
- exports.countryCode = __webpack_exports__.countryCode;
67
- exports.county = __webpack_exports__.county;
68
- exports.direction = __webpack_exports__.direction;
69
- exports.latitude = __webpack_exports__.latitude;
70
- exports.longitude = __webpack_exports__.longitude;
71
- exports.nearbyGPSCoordinate = __webpack_exports__.nearbyGPSCoordinate;
72
- exports.ordinalDirection = __webpack_exports__.ordinalDirection;
73
- exports.secondaryAddress = __webpack_exports__.secondaryAddress;
74
- exports.state = __webpack_exports__.state;
75
- exports.street = __webpack_exports__.street;
76
- exports.streetAddress = __webpack_exports__.streetAddress;
77
- exports.timeZone = __webpack_exports__.timeZone;
78
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
79
- "buildingNumber",
80
- "cardinalDirection",
81
- "city",
82
- "country",
83
- "countryCode",
84
- "county",
85
- "direction",
86
- "latitude",
87
- "longitude",
88
- "nearbyGPSCoordinate",
89
- "ordinalDirection",
90
- "secondaryAddress",
91
- "state",
92
- "street",
93
- "streetAddress",
94
- "timeZone"
95
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
96
- Object.defineProperty(exports, '__esModule', {
97
- value: true
98
- });
1
+ import { faker } from "@faker-js/faker";
2
+ import { makeValueConfigFn } from "./utils.js";
3
+ const buildingNumber = makeValueConfigFn(faker.location.buildingNumber);
4
+ const cardinalDirection = makeValueConfigFn(faker.location.cardinalDirection);
5
+ const city = makeValueConfigFn(faker.location.city);
6
+ const continent = makeValueConfigFn(faker.location.continent);
7
+ const country = makeValueConfigFn(faker.location.country);
8
+ const countryCode = makeValueConfigFn(faker.location.countryCode);
9
+ const county = makeValueConfigFn(faker.location.county);
10
+ const direction = makeValueConfigFn(faker.location.direction);
11
+ const language = makeValueConfigFn(faker.location.language);
12
+ const latitude = makeValueConfigFn(faker.location.latitude);
13
+ const longitude = makeValueConfigFn(faker.location.longitude);
14
+ const nearbyGPSCoordinate = makeValueConfigFn(faker.location.nearbyGPSCoordinate);
15
+ const ordinalDirection = makeValueConfigFn(faker.location.ordinalDirection);
16
+ const secondaryAddress = makeValueConfigFn(faker.location.secondaryAddress);
17
+ const state = makeValueConfigFn(faker.location.state);
18
+ const street = makeValueConfigFn(faker.location.street);
19
+ const streetAddress = makeValueConfigFn(faker.location.streetAddress);
20
+ const timeZone = makeValueConfigFn(faker.location.timeZone);
21
+ const zipCode = makeValueConfigFn(faker.location.zipCode);
22
+ export { buildingNumber, cardinalDirection, city, continent, country, countryCode, county, direction, language, latitude, longitude, nearbyGPSCoordinate, ordinalDirection, secondaryAddress, state, street, streetAddress, timeZone, zipCode };
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ text: ()=>lorem_text,
28
+ paragraph: ()=>paragraph,
29
+ paragraphs: ()=>paragraphs,
30
+ lines: ()=>lines,
31
+ words: ()=>words,
32
+ sentences: ()=>sentences,
33
+ sentence: ()=>sentence,
34
+ word: ()=>word,
35
+ slug: ()=>slug
36
+ });
37
+ const faker_namespaceObject = require("@faker-js/faker");
38
+ const external_utils_cjs_namespaceObject = require("./utils.cjs");
39
+ const lines = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.lines);
40
+ const paragraph = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.paragraph);
41
+ const paragraphs = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.paragraphs);
42
+ const sentence = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.sentence);
43
+ const sentences = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.sentences);
44
+ const slug = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.slug);
45
+ const lorem_text = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.text);
46
+ const word = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.word);
47
+ const words = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.words);
48
+ exports.lines = __webpack_exports__.lines;
49
+ exports.paragraph = __webpack_exports__.paragraph;
50
+ exports.paragraphs = __webpack_exports__.paragraphs;
51
+ exports.sentence = __webpack_exports__.sentence;
52
+ exports.sentences = __webpack_exports__.sentences;
53
+ exports.slug = __webpack_exports__.slug;
54
+ exports.text = __webpack_exports__.text;
55
+ exports.word = __webpack_exports__.word;
56
+ exports.words = __webpack_exports__.words;
57
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
58
+ "lines",
59
+ "paragraph",
60
+ "paragraphs",
61
+ "sentence",
62
+ "sentences",
63
+ "slug",
64
+ "text",
65
+ "word",
66
+ "words"
67
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
68
+ Object.defineProperty(exports, '__esModule', {
69
+ value: true
70
+ });
@@ -1,70 +1,12 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- text: ()=>lorem_text,
28
- paragraph: ()=>paragraph,
29
- paragraphs: ()=>paragraphs,
30
- lines: ()=>lines,
31
- words: ()=>words,
32
- sentences: ()=>sentences,
33
- sentence: ()=>sentence,
34
- word: ()=>word,
35
- slug: ()=>slug
36
- });
37
- const faker_namespaceObject = require("@faker-js/faker");
38
- const external_utils_js_namespaceObject = require("./utils.js");
39
- const lines = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.lines);
40
- const paragraph = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.paragraph);
41
- const paragraphs = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.paragraphs);
42
- const sentence = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.sentence);
43
- const sentences = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.sentences);
44
- const slug = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.slug);
45
- const lorem_text = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.text);
46
- const word = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.word);
47
- const words = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.lorem.words);
48
- exports.lines = __webpack_exports__.lines;
49
- exports.paragraph = __webpack_exports__.paragraph;
50
- exports.paragraphs = __webpack_exports__.paragraphs;
51
- exports.sentence = __webpack_exports__.sentence;
52
- exports.sentences = __webpack_exports__.sentences;
53
- exports.slug = __webpack_exports__.slug;
54
- exports.text = __webpack_exports__.text;
55
- exports.word = __webpack_exports__.word;
56
- exports.words = __webpack_exports__.words;
57
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
58
- "lines",
59
- "paragraph",
60
- "paragraphs",
61
- "sentence",
62
- "sentences",
63
- "slug",
64
- "text",
65
- "word",
66
- "words"
67
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
68
- Object.defineProperty(exports, '__esModule', {
69
- value: true
70
- });
1
+ import { faker } from "@faker-js/faker";
2
+ import { makeValueConfigFn } from "./utils.js";
3
+ const lines = makeValueConfigFn(faker.lorem.lines);
4
+ const paragraph = makeValueConfigFn(faker.lorem.paragraph);
5
+ const paragraphs = makeValueConfigFn(faker.lorem.paragraphs);
6
+ const sentence = makeValueConfigFn(faker.lorem.sentence);
7
+ const sentences = makeValueConfigFn(faker.lorem.sentences);
8
+ const slug = makeValueConfigFn(faker.lorem.slug);
9
+ const lorem_text = makeValueConfigFn(faker.lorem.text);
10
+ const word = makeValueConfigFn(faker.lorem.word);
11
+ const words = makeValueConfigFn(faker.lorem.words);
12
+ export { lines, paragraph, paragraphs, sentence, sentences, slug, lorem_text as text, word, words };
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ album: ()=>album,
28
+ songName: ()=>songName,
29
+ genre: ()=>genre,
30
+ artist: ()=>artist
31
+ });
32
+ const faker_namespaceObject = require("@faker-js/faker");
33
+ const external_utils_cjs_namespaceObject = require("./utils.cjs");
34
+ const album = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.album);
35
+ const artist = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.artist);
36
+ const genre = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.genre);
37
+ const songName = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.songName);
38
+ exports.album = __webpack_exports__.album;
39
+ exports.artist = __webpack_exports__.artist;
40
+ exports.genre = __webpack_exports__.genre;
41
+ exports.songName = __webpack_exports__.songName;
42
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
43
+ "album",
44
+ "artist",
45
+ "genre",
46
+ "songName"
47
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
48
+ Object.defineProperty(exports, '__esModule', {
49
+ value: true
50
+ });
@@ -1,50 +1,7 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- album: ()=>album,
28
- songName: ()=>songName,
29
- genre: ()=>genre,
30
- artist: ()=>artist
31
- });
32
- const faker_namespaceObject = require("@faker-js/faker");
33
- const external_utils_js_namespaceObject = require("./utils.js");
34
- const album = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.album);
35
- const artist = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.artist);
36
- const genre = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.genre);
37
- const songName = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.music.songName);
38
- exports.album = __webpack_exports__.album;
39
- exports.artist = __webpack_exports__.artist;
40
- exports.genre = __webpack_exports__.genre;
41
- exports.songName = __webpack_exports__.songName;
42
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
43
- "album",
44
- "artist",
45
- "genre",
46
- "songName"
47
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
48
- Object.defineProperty(exports, '__esModule', {
49
- value: true
50
- });
1
+ import { faker } from "@faker-js/faker";
2
+ import { makeValueConfigFn } from "./utils.js";
3
+ const album = makeValueConfigFn(faker.music.album);
4
+ const artist = makeValueConfigFn(faker.music.artist);
5
+ const genre = makeValueConfigFn(faker.music.genre);
6
+ const songName = makeValueConfigFn(faker.music.songName);
7
+ export { album, artist, genre, songName };
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ hex: ()=>hex,
28
+ bigInt: ()=>bigInt,
29
+ romanNumeral: ()=>romanNumeral,
30
+ octal: ()=>octal,
31
+ int: ()=>number_int,
32
+ float: ()=>number_float,
33
+ binary: ()=>binary
34
+ });
35
+ const faker_namespaceObject = require("@faker-js/faker");
36
+ const external_utils_cjs_namespaceObject = require("./utils.cjs");
37
+ const bigInt = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.bigInt);
38
+ const binary = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.binary);
39
+ const number_float = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.float);
40
+ const hex = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.hex);
41
+ const number_int = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.int);
42
+ const octal = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.octal);
43
+ const romanNumeral = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.romanNumeral);
44
+ exports.bigInt = __webpack_exports__.bigInt;
45
+ exports.binary = __webpack_exports__.binary;
46
+ exports.float = __webpack_exports__.float;
47
+ exports.hex = __webpack_exports__.hex;
48
+ exports.int = __webpack_exports__.int;
49
+ exports.octal = __webpack_exports__.octal;
50
+ exports.romanNumeral = __webpack_exports__.romanNumeral;
51
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
52
+ "bigInt",
53
+ "binary",
54
+ "float",
55
+ "hex",
56
+ "int",
57
+ "octal",
58
+ "romanNumeral"
59
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
60
+ Object.defineProperty(exports, '__esModule', {
61
+ value: true
62
+ });
@@ -1,58 +1,10 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- hex: ()=>hex,
28
- bigInt: ()=>bigInt,
29
- octal: ()=>octal,
30
- int: ()=>number_int,
31
- float: ()=>number_float,
32
- binary: ()=>binary
33
- });
34
- const faker_namespaceObject = require("@faker-js/faker");
35
- const external_utils_js_namespaceObject = require("./utils.js");
36
- const bigInt = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.bigInt);
37
- const binary = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.binary);
38
- const number_float = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.float);
39
- const hex = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.hex);
40
- const number_int = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.int);
41
- const octal = (0, external_utils_js_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.number.octal);
42
- exports.bigInt = __webpack_exports__.bigInt;
43
- exports.binary = __webpack_exports__.binary;
44
- exports.float = __webpack_exports__.float;
45
- exports.hex = __webpack_exports__.hex;
46
- exports.int = __webpack_exports__.int;
47
- exports.octal = __webpack_exports__.octal;
48
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
49
- "bigInt",
50
- "binary",
51
- "float",
52
- "hex",
53
- "int",
54
- "octal"
55
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
56
- Object.defineProperty(exports, '__esModule', {
57
- value: true
58
- });
1
+ import { faker } from "@faker-js/faker";
2
+ import { makeValueConfigFn } from "./utils.js";
3
+ const bigInt = makeValueConfigFn(faker.number.bigInt);
4
+ const binary = makeValueConfigFn(faker.number.binary);
5
+ const number_float = makeValueConfigFn(faker.number.float);
6
+ const hex = makeValueConfigFn(faker.number.hex);
7
+ const number_int = makeValueConfigFn(faker.number.int);
8
+ const octal = makeValueConfigFn(faker.number.octal);
9
+ const romanNumeral = makeValueConfigFn(faker.number.romanNumeral);
10
+ export { bigInt, binary, number_float as float, hex, number_int as int, octal, romanNumeral };