struct-fakerator 2.7.9 → 2.9.9
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/LICENSE +21 -0
- package/README.md +8 -8
- package/dist/config.cjs +51 -0
- package/dist/config.d.ts +1 -2
- package/dist/config.js +2 -19
- package/dist/config_scheme.cjs +95 -0
- package/dist/config_scheme.d.ts +7 -10
- package/dist/config_scheme.js +46 -17
- package/dist/create_config.cjs +110 -0
- package/dist/create_config.d.ts +9 -11
- package/dist/create_config.js +61 -18
- package/dist/create_config.test.d.ts +1 -2
- package/dist/create_generator_fn.cjs +168 -0
- package/dist/create_generator_fn.d.ts +9 -11
- package/dist/create_generator_fn.js +116 -20
- package/dist/create_generator_fn.test.d.ts +1 -2
- package/dist/generator_fn.cjs +54 -0
- package/dist/generator_fn.d.ts +1 -2
- package/dist/generator_fn.js +2 -21
- package/dist/index.cjs +107 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -43
- package/dist/type.cjs +18 -0
- package/dist/type.d.ts +9 -11
- package/dist/type.js +0 -1
- package/dist/utils/airline.cjs +46 -0
- package/dist/utils/airline.d.ts +14 -3
- package/dist/utils/airline.js +6 -14
- package/dist/utils/animal.cjs +94 -0
- package/dist/utils/animal.d.ts +30 -2
- package/dist/utils/animal.js +18 -38
- package/dist/utils/color.cjs +78 -0
- package/dist/utils/color.d.ts +41 -3
- package/dist/utils/color.js +14 -30
- package/dist/utils/commerce.cjs +66 -0
- package/dist/utils/commerce.d.ts +24 -2
- package/dist/utils/commerce.js +11 -24
- package/dist/utils/common.cjs +37 -0
- package/dist/utils/common.d.ts +2 -2
- package/dist/utils/common.js +3 -9
- package/dist/utils/company.cjs +70 -0
- package/dist/utils/company.d.ts +18 -2
- package/dist/utils/company.js +12 -26
- package/dist/utils/database.cjs +54 -0
- package/dist/utils/database.d.ts +10 -2
- package/dist/utils/database.js +8 -18
- package/dist/utils/datatype.cjs +38 -0
- package/dist/utils/datatype.d.ts +4 -2
- package/dist/utils/datatype.js +4 -10
- package/dist/utils/datetime.cjs +78 -0
- package/dist/utils/datetime.d.ts +59 -2
- package/dist/utils/datetime.js +14 -30
- package/dist/utils/finance.cjs +110 -0
- package/dist/utils/finance.d.ts +62 -3
- package/dist/utils/finance.js +22 -46
- package/dist/utils/food.cjs +70 -0
- package/dist/utils/food.d.ts +18 -2
- package/dist/utils/food.js +12 -26
- package/dist/utils/git.cjs +54 -0
- package/dist/utils/git.d.ts +18 -2
- package/dist/utils/git.js +8 -18
- package/dist/utils/hacker.cjs +58 -0
- package/dist/utils/hacker.d.ts +12 -2
- package/dist/utils/hacker.js +9 -20
- package/dist/utils/image.cjs +66 -0
- package/dist/utils/image.d.ts +40 -2
- package/dist/utils/image.js +11 -24
- package/dist/utils/index.cjs +136 -0
- package/dist/utils/index.d.ts +26 -28
- package/dist/utils/index.js +27 -109
- package/dist/utils/internet.cjs +114 -0
- package/dist/utils/internet.d.ts +77 -3
- package/dist/utils/internet.js +23 -48
- package/dist/utils/location.cjs +98 -0
- package/dist/utils/location.d.ts +56 -2
- package/dist/utils/location.js +19 -40
- package/dist/utils/lorem.cjs +70 -0
- package/dist/utils/lorem.d.ts +45 -2
- package/dist/utils/lorem.js +12 -26
- package/dist/utils/music.cjs +50 -0
- package/dist/utils/music.d.ts +8 -2
- package/dist/utils/music.js +7 -16
- package/dist/utils/number.cjs +58 -0
- package/dist/utils/number.d.ts +34 -2
- package/dist/utils/number.js +9 -20
- package/dist/utils/person.cjs +94 -0
- package/dist/utils/person.d.ts +34 -3
- package/dist/utils/person.js +18 -38
- package/dist/utils/phone.cjs +42 -0
- package/dist/utils/phone.d.ts +6 -2
- package/dist/utils/phone.js +5 -12
- package/dist/utils/science.cjs +42 -0
- package/dist/utils/science.d.ts +4 -3
- package/dist/utils/science.js +5 -12
- package/dist/utils/string.cjs +74 -0
- package/dist/utils/string.d.ts +69 -2
- package/dist/utils/string.js +13 -28
- package/dist/utils/system.cjs +82 -0
- package/dist/utils/system.d.ts +35 -2
- package/dist/utils/system.js +15 -32
- package/dist/utils/utils.cjs +39 -0
- package/dist/utils/utils.d.ts +2 -2
- package/dist/utils/utils.js +5 -9
- package/dist/utils/vehicle.cjs +70 -0
- package/dist/utils/vehicle.d.ts +18 -2
- package/dist/utils/vehicle.js +12 -26
- package/dist/utils/word.cjs +70 -0
- package/dist/utils/word.d.ts +18 -22
- package/dist/utils/word.js +12 -29
- package/package.json +27 -35
- package/biome.json +0 -27
- package/dist/airline-98MCzMN8.d.ts +0 -26
- package/dist/airline-BUwgrfsj.d.ts +0 -26
- package/dist/airline-C0ManYED.d.mts +0 -26
- package/dist/airline-CuAxOEYH.d.mts +0 -26
- package/dist/animal-BohQ7s0w.d.mts +0 -53
- package/dist/animal-arG64NM6.d.mts +0 -53
- package/dist/animal-erAZXs_d.d.ts +0 -53
- package/dist/animal-o8BFF7gd.d.ts +0 -53
- package/dist/chunk-25HDDMTE.js +0 -45
- package/dist/chunk-266JLHQ7.mjs +0 -27
- package/dist/chunk-266W7TLD.mjs +0 -45
- package/dist/chunk-2FTPTSHD.mjs +0 -1972
- package/dist/chunk-2HHTDZ5W.mjs +0 -27
- package/dist/chunk-2P6DPKAW.js +0 -35
- package/dist/chunk-2QPSWN3J.js +0 -24
- package/dist/chunk-2SF54GZN.mjs +0 -24
- package/dist/chunk-2UAN3WRZ.js +0 -51
- package/dist/chunk-2VTSGFBK.mjs +0 -56
- package/dist/chunk-2ZR6AR26.js +0 -24
- package/dist/chunk-3APOILUV.js +0 -81
- package/dist/chunk-3AXS7RA6.mjs +0 -18
- package/dist/chunk-3DIP4M5Y.mjs +0 -36
- package/dist/chunk-3E2B272L.js +0 -25
- package/dist/chunk-3FFGDXA5.mjs +0 -48
- package/dist/chunk-3HQMGDUF.js +0 -98
- package/dist/chunk-3KXIZTCT.mjs +0 -20
- package/dist/chunk-3MYH2PDS.js +0 -24
- package/dist/chunk-3P4RJMMV.js +0 -79
- package/dist/chunk-3PSJD6BF.js +0 -67
- package/dist/chunk-3SVV5GDL.js +0 -22
- package/dist/chunk-3U6BNHWG.mjs +0 -2040
- package/dist/chunk-3WINWLTB.js +0 -34
- package/dist/chunk-42EKB2FX.js +0 -74
- package/dist/chunk-44Q7WXPL.mjs +0 -30
- package/dist/chunk-474WFN7X.js +0 -33
- package/dist/chunk-4ESFUYHU.js +0 -48
- package/dist/chunk-4OB35J4Q.mjs +0 -151
- package/dist/chunk-4UGSTE5Q.js +0 -1968
- package/dist/chunk-4VNS5WPM.js +0 -42
- package/dist/chunk-4XEKUGKR.js +0 -35
- package/dist/chunk-4XQBQAPC.mjs +0 -33
- package/dist/chunk-52ZOIHJM.js +0 -26
- package/dist/chunk-55HSOHNN.js +0 -36
- package/dist/chunk-5A3HJWPX.mjs +0 -33
- package/dist/chunk-5KKLW4SD.js +0 -26
- package/dist/chunk-5LCWZUVP.mjs +0 -19
- package/dist/chunk-5M3DUBFV.mjs +0 -24
- package/dist/chunk-5NC3JFHS.mjs +0 -63
- package/dist/chunk-5PCIFPK7.js +0 -15721
- package/dist/chunk-5TG43IWT.js +0 -36
- package/dist/chunk-5UFZ4NET.mjs +0 -26
- package/dist/chunk-5VTJIH2Q.mjs +0 -63
- package/dist/chunk-5ZNSQDU5.js +0 -81
- package/dist/chunk-62MDIAG3.js +0 -19
- package/dist/chunk-62NUC6UZ.js +0 -51
- package/dist/chunk-6BWS3CLP.mjs +0 -16
- package/dist/chunk-6GXFVYK2.js +0 -18
- package/dist/chunk-6LNIYJMV.mjs +0 -21
- package/dist/chunk-6OOU3BX5.mjs +0 -35
- package/dist/chunk-6QXR4Q23.js +0 -43
- package/dist/chunk-6QZF75LH.js +0 -20
- package/dist/chunk-6TGTIMX2.mjs +0 -151
- package/dist/chunk-6UVWD65N.mjs +0 -63
- package/dist/chunk-73BBBL26.js +0 -49
- package/dist/chunk-7C2MCLYX.mjs +0 -15721
- package/dist/chunk-7IQW6MWT.mjs +0 -81
- package/dist/chunk-7IWAOHPW.mjs +0 -27
- package/dist/chunk-7LDYF5VW.js +0 -78
- package/dist/chunk-7POVLKQR.mjs +0 -20
- package/dist/chunk-7QCNINQB.js +0 -43
- package/dist/chunk-7RP7F74O.js +0 -49
- package/dist/chunk-7TMD372Q.mjs +0 -165
- package/dist/chunk-7UQSPUCL.mjs +0 -0
- package/dist/chunk-7V3T6MQ3.mjs +0 -21
- package/dist/chunk-7ZAVU2DI.mjs +0 -81
- package/dist/chunk-A4QVPMYT.js +0 -44
- package/dist/chunk-A5YXOL6G.mjs +0 -63
- package/dist/chunk-ABZZ2Y2O.mjs +0 -45
- package/dist/chunk-AH3KD37M.js +0 -45
- package/dist/chunk-AQWBYQGF.js +0 -54
- package/dist/chunk-AT4FPDTE.mjs +0 -51
- package/dist/chunk-AWKBY27N.js +0 -35
- package/dist/chunk-B2NENAKV.mjs +0 -34
- package/dist/chunk-B3RA7BAM.mjs +0 -30
- package/dist/chunk-B7MK7WHV.mjs +0 -21
- package/dist/chunk-BGE4WZH7.js +0 -27
- package/dist/chunk-BMQ2NETL.js +0 -63
- package/dist/chunk-BNJUSXEO.js +0 -27
- package/dist/chunk-BNUCXH6Q.js +0 -49
- package/dist/chunk-BS7IEV74.mjs +0 -1968
- package/dist/chunk-BVGE5IMC.js +0 -45
- package/dist/chunk-C3RGM3CB.js +0 -67
- package/dist/chunk-C6FQYK5T.js +0 -81
- package/dist/chunk-C6IEYVWV.mjs +0 -21
- package/dist/chunk-CC255UJD.mjs +0 -27
- package/dist/chunk-CK65OFQQ.mjs +0 -56
- package/dist/chunk-CKNDI3RH.js +0 -24
- package/dist/chunk-CRW5Q4VB.js +0 -30
- package/dist/chunk-CSOXFDKC.mjs +0 -42
- package/dist/chunk-D3DPNIYF.mjs +0 -36
- package/dist/chunk-D6QN54CO.js +0 -46
- package/dist/chunk-D74AUXZW.mjs +0 -35
- package/dist/chunk-DM5VFX6B.js +0 -17008
- package/dist/chunk-DN6VWFMI.js +0 -56
- package/dist/chunk-DONFLQME.js +0 -49
- package/dist/chunk-DQBTHPWE.js +0 -24
- package/dist/chunk-DSDX7NOV.mjs +0 -40
- package/dist/chunk-DX6NQK6H.js +0 -49
- package/dist/chunk-DXVB5THL.js +0 -36
- package/dist/chunk-DZCTAI2Q.js +0 -49
- package/dist/chunk-E3EZHXI2.mjs +0 -45
- package/dist/chunk-E3N3PWFI.js +0 -45
- package/dist/chunk-E7JW4TGQ.mjs +0 -49
- package/dist/chunk-ECTLN5SO.mjs +0 -63
- package/dist/chunk-EGCGEPYD.mjs +0 -24
- package/dist/chunk-ELK6OOE6.js +0 -55
- package/dist/chunk-EM67LVYX.mjs +0 -18
- package/dist/chunk-EPWKT75L.js +0 -63
- package/dist/chunk-ES6I4JEP.js +0 -24
- package/dist/chunk-ETS5PP3N.js +0 -42
- package/dist/chunk-EXLV2IRM.mjs +0 -26
- package/dist/chunk-EZFWJGGR.js +0 -28
- package/dist/chunk-F4NIEPKF.mjs +0 -48
- package/dist/chunk-F4WSUHUB.js +0 -27
- package/dist/chunk-F54WJZPR.mjs +0 -48
- package/dist/chunk-FDIHUTKO.mjs +0 -34
- package/dist/chunk-FG2O523S.js +0 -48
- package/dist/chunk-FGA73ALI.mjs +0 -45
- package/dist/chunk-FT5QWXEO.mjs +0 -21
- package/dist/chunk-FXTLAJTY.mjs +0 -74
- package/dist/chunk-G73JPAKW.mjs +0 -16831
- package/dist/chunk-GAOFL72U.mjs +0 -24
- package/dist/chunk-GF4PSVJ7.js +0 -81
- package/dist/chunk-GL777PKT.js +0 -21
- package/dist/chunk-GLK5ZVJB.js +0 -47
- package/dist/chunk-GMOMLI4W.js +0 -56
- package/dist/chunk-GNFZ7Z6V.mjs +0 -28
- package/dist/chunk-GNLLMLQX.js +0 -48
- package/dist/chunk-GNPP2GGZ.js +0 -16831
- package/dist/chunk-GR5EJCJ2.js +0 -24
- package/dist/chunk-GSFJYUDA.js +0 -63
- package/dist/chunk-GUIYTTMP.mjs +0 -24
- package/dist/chunk-HAIK2LXD.js +0 -63
- package/dist/chunk-HEHR64VN.js +0 -1972
- package/dist/chunk-HK4L636Y.mjs +0 -49
- package/dist/chunk-HLHMXAI2.js +0 -21
- package/dist/chunk-HMDAKHLF.js +0 -151
- package/dist/chunk-HMGGQ5ZJ.js +0 -45
- package/dist/chunk-HNCQJ5F3.js +0 -56
- package/dist/chunk-HVWSAC7Q.js +0 -74
- package/dist/chunk-I3BHVE4B.js +0 -43
- package/dist/chunk-IEYIHOHM.js +0 -57
- package/dist/chunk-IHDAERZ6.mjs +0 -61
- package/dist/chunk-IM5JST4B.js +0 -76
- package/dist/chunk-IN3R3ABZ.mjs +0 -45
- package/dist/chunk-IOLQKV4S.js +0 -51
- package/dist/chunk-IOXGSFEU.js +0 -20
- package/dist/chunk-IRHHL256.mjs +0 -36
- package/dist/chunk-IY4LBMAL.js +0 -78
- package/dist/chunk-IZVHA6FO.js +0 -45
- package/dist/chunk-JA2F23JA.mjs +0 -79
- package/dist/chunk-JC2FY5K5.mjs +0 -42
- package/dist/chunk-JFYN4RCQ.mjs +0 -24
- package/dist/chunk-JHNWL66I.mjs +0 -47
- package/dist/chunk-JIPBMHNL.mjs +0 -63
- package/dist/chunk-JIWCYW33.js +0 -35
- package/dist/chunk-JSZXNY5A.js +0 -33
- package/dist/chunk-JTURHVCR.mjs +0 -67
- package/dist/chunk-JUS3FQET.js +0 -63
- package/dist/chunk-JY2DLJQ7.js +0 -74
- package/dist/chunk-KB4QNLUX.js +0 -30
- package/dist/chunk-KDRX2A7A.mjs +0 -45
- package/dist/chunk-KDTNND32.js +0 -63
- package/dist/chunk-KESFLCJB.mjs +0 -57
- package/dist/chunk-KK4QURZV.mjs +0 -63
- package/dist/chunk-KKDNACGF.js +0 -78
- package/dist/chunk-KLYK2EDS.js +0 -18
- package/dist/chunk-KMAT3MEQ.mjs +0 -24
- package/dist/chunk-KMGBR4B7.mjs +0 -49
- package/dist/chunk-KO4BOJXG.mjs +0 -18
- package/dist/chunk-KSBJZ7PZ.mjs +0 -48
- package/dist/chunk-KUNWO6DB.js +0 -20
- package/dist/chunk-KVPPJDFE.mjs +0 -63
- package/dist/chunk-L55R55BM.mjs +0 -24
- package/dist/chunk-L5EOJC4C.mjs +0 -78
- package/dist/chunk-L63CILKL.js +0 -36
- package/dist/chunk-L7SUBSOS.mjs +0 -74
- package/dist/chunk-LCQV5ZXR.js +0 -63
- package/dist/chunk-LDVSCWU7.mjs +0 -51
- package/dist/chunk-LGYUIU5L.js +0 -33
- package/dist/chunk-LKLQIBRC.mjs +0 -18
- package/dist/chunk-LPLLITHD.mjs +0 -33
- package/dist/chunk-LSFOERXQ.js +0 -18
- package/dist/chunk-LSP4VVPM.mjs +0 -45
- package/dist/chunk-LYYFKB5U.mjs +0 -48
- package/dist/chunk-M2ERA63H.mjs +0 -20
- package/dist/chunk-M3JRMFX2.js +0 -36
- package/dist/chunk-M7SBPX3E.mjs +0 -45
- package/dist/chunk-MCHBNMZ7.js +0 -48
- package/dist/chunk-MHBVLDC4.js +0 -30
- package/dist/chunk-MJWNNESP.js +0 -57
- package/dist/chunk-MKTV5ZCC.mjs +0 -30
- package/dist/chunk-MLJAHDYX.mjs +0 -167
- package/dist/chunk-MNRDBDJD.js +0 -33
- package/dist/chunk-MTNLYYS2.mjs +0 -51
- package/dist/chunk-MYNHKOPJ.js +0 -34
- package/dist/chunk-N2ZA6SQB.mjs +0 -45
- package/dist/chunk-NBUVTD24.js +0 -24
- package/dist/chunk-NEFBZJ7G.mjs +0 -42
- package/dist/chunk-NGJNM6BX.mjs +0 -48
- package/dist/chunk-NO44Z2RV.mjs +0 -55
- package/dist/chunk-NOD5QLN5.js +0 -40
- package/dist/chunk-NP7ZKTAA.js +0 -36
- package/dist/chunk-NPYKAZ5O.mjs +0 -42
- package/dist/chunk-NWVKBRLA.js +0 -30
- package/dist/chunk-O73LDQID.mjs +0 -57
- package/dist/chunk-OAPPDES4.js +0 -51
- package/dist/chunk-OCKZOACK.js +0 -24
- package/dist/chunk-OETKBS7R.mjs +0 -63
- package/dist/chunk-OFMBEI6Y.js +0 -20
- package/dist/chunk-OJRNPQVE.js +0 -45
- package/dist/chunk-OKDN5R6M.mjs +0 -78
- package/dist/chunk-OLSCXZ3D.mjs +0 -98
- package/dist/chunk-OTDJMFZE.js +0 -36
- package/dist/chunk-OYP22DDC.mjs +0 -31
- package/dist/chunk-OZ5VJVBQ.js +0 -21
- package/dist/chunk-OZ7Y3D4Z.js +0 -48
- package/dist/chunk-OZU24BQP.mjs +0 -81
- package/dist/chunk-P2NEBQQH.mjs +0 -78
- package/dist/chunk-PBOBMHB3.js +0 -45
- package/dist/chunk-PECDKT6F.js +0 -76
- package/dist/chunk-PEMTSFQT.mjs +0 -36
- package/dist/chunk-PFTS7XQK.js +0 -27
- package/dist/chunk-PFVCJYEK.js +0 -46
- package/dist/chunk-PLNNO4GL.js +0 -36
- package/dist/chunk-PPQIZT6A.mjs +0 -48
- package/dist/chunk-PS673ZMG.mjs +0 -78
- package/dist/chunk-PSTZXVEM.mjs +0 -45
- package/dist/chunk-PXVILWPC.js +0 -51
- package/dist/chunk-PXXIPMA2.mjs +0 -17567
- package/dist/chunk-PYIUSFN2.js +0 -48
- package/dist/chunk-Q4BXZB6O.mjs +0 -35
- package/dist/chunk-Q6CVTFPU.mjs +0 -2022
- package/dist/chunk-Q7THO24V.js +0 -45
- package/dist/chunk-QEVQSGOW.mjs +0 -49
- package/dist/chunk-QFG2B4XU.js +0 -35
- package/dist/chunk-QH2RT36U.js +0 -57
- package/dist/chunk-QHW2YYKY.js +0 -45
- package/dist/chunk-QMNACCJG.mjs +0 -30
- package/dist/chunk-QN2KYEUJ.js +0 -28
- package/dist/chunk-QOATILWS.mjs +0 -48
- package/dist/chunk-QQWZ56UO.js +0 -33
- package/dist/chunk-QTT2TUDM.js +0 -165
- package/dist/chunk-QZQ32UPU.mjs +0 -28
- package/dist/chunk-R3MBRFOY.js +0 -22
- package/dist/chunk-R5U7XKVJ.js +0 -16
- package/dist/chunk-R7ZZJULR.js +0 -61
- package/dist/chunk-RA35MXTT.mjs +0 -51
- package/dist/chunk-RCDDW7NN.js +0 -36
- package/dist/chunk-RDATYKAG.mjs +0 -58
- package/dist/chunk-RDMAE6F2.js +0 -17567
- package/dist/chunk-RFTRP37B.mjs +0 -74
- package/dist/chunk-RIOEYYMH.mjs +0 -30
- package/dist/chunk-RJPUHGKC.mjs +0 -54
- package/dist/chunk-RM7GMMWN.mjs +0 -49
- package/dist/chunk-ROM4ZH2A.js +0 -56
- package/dist/chunk-RTENULN5.mjs +0 -36
- package/dist/chunk-RUTM5ENW.js +0 -57
- package/dist/chunk-RUUOAMRF.mjs +0 -43
- package/dist/chunk-RW4IZD3J.js +0 -74
- package/dist/chunk-RWSXJDFQ.mjs +0 -57
- package/dist/chunk-S2AEEWWW.mjs +0 -36
- package/dist/chunk-SAYLPMKP.js +0 -74
- package/dist/chunk-SDPCOC7O.mjs +0 -76
- package/dist/chunk-SEUDYVHA.js +0 -45
- package/dist/chunk-SMIDTCUZ.mjs +0 -56
- package/dist/chunk-SN2ALAEI.mjs +0 -36
- package/dist/chunk-SN4QTD6R.js +0 -1
- package/dist/chunk-SOFVWH6A.js +0 -56
- package/dist/chunk-SSFS7U3T.mjs +0 -72
- package/dist/chunk-SSZ5GGDT.js +0 -45
- package/dist/chunk-STKSA23M.mjs +0 -33
- package/dist/chunk-SVHWBNOB.mjs +0 -61
- package/dist/chunk-SVMTK42D.mjs +0 -48
- package/dist/chunk-SYIPILT6.mjs +0 -35
- package/dist/chunk-T4IVAGFU.mjs +0 -48
- package/dist/chunk-TKS2PTMF.mjs +0 -18
- package/dist/chunk-TLH73HQN.js +0 -63
- package/dist/chunk-TQIJQZBP.js +0 -57
- package/dist/chunk-TQTDHXR6.mjs +0 -22
- package/dist/chunk-TSDTKUIT.mjs +0 -151
- package/dist/chunk-TTPRXCNS.mjs +0 -46
- package/dist/chunk-TYWXW3FQ.mjs +0 -46
- package/dist/chunk-TZ2RKEBF.js +0 -2040
- package/dist/chunk-U3EACZZ3.js +0 -18
- package/dist/chunk-U3TS432W.js +0 -48
- package/dist/chunk-U634RJNK.js +0 -36
- package/dist/chunk-U7MLTDS4.js +0 -167
- package/dist/chunk-UCRPFQYY.js +0 -48
- package/dist/chunk-UEXFND2J.mjs +0 -56
- package/dist/chunk-UIYW7U2O.js +0 -28
- package/dist/chunk-UJ5Q7MZB.js +0 -78
- package/dist/chunk-UOSN6FPU.js +0 -42
- package/dist/chunk-UOY5QUAW.js +0 -63
- package/dist/chunk-UP3FJ7EK.mjs +0 -44
- package/dist/chunk-UQYEFGMG.mjs +0 -43
- package/dist/chunk-URX5VRVB.js +0 -24
- package/dist/chunk-USLYTOPD.mjs +0 -41
- package/dist/chunk-UUIIGFUZ.js +0 -33
- package/dist/chunk-UX7CIOBD.js +0 -61
- package/dist/chunk-V2AWKRQI.js +0 -26
- package/dist/chunk-V4JFB4H6.mjs +0 -45
- package/dist/chunk-V4P2FTIC.js +0 -72
- package/dist/chunk-VE3Q5LC3.mjs +0 -26
- package/dist/chunk-VKKQV6UO.js +0 -42
- package/dist/chunk-VOMHZHCC.js +0 -21
- package/dist/chunk-VTSJ33HJ.js +0 -18
- package/dist/chunk-VVELSEXL.mjs +0 -27
- package/dist/chunk-VX2IFBCP.mjs +0 -17008
- package/dist/chunk-VX346ARA.js +0 -42
- package/dist/chunk-VYV7BUJR.js +0 -42
- package/dist/chunk-W4CBCFMS.mjs +0 -36
- package/dist/chunk-W6QSJNDJ.js +0 -58
- package/dist/chunk-WDFGFSCS.js +0 -63
- package/dist/chunk-WGRAINAP.mjs +0 -43
- package/dist/chunk-WH4MHYUQ.mjs +0 -33
- package/dist/chunk-WJ6C635R.mjs +0 -45
- package/dist/chunk-WSYHZP5C.mjs +0 -28
- package/dist/chunk-X5WN73EF.js +0 -48
- package/dist/chunk-X7YFEBIL.mjs +0 -28
- package/dist/chunk-XB5AI72P.mjs +0 -24
- package/dist/chunk-XCCBDMTZ.mjs +0 -22
- package/dist/chunk-XG6RUZSI.mjs +0 -16
- package/dist/chunk-XGB3TDIC.mjs +0 -42
- package/dist/chunk-XI5L2ENL.js +0 -28
- package/dist/chunk-XIROUDIK.js +0 -151
- package/dist/chunk-XJ3B37LJ.js +0 -45
- package/dist/chunk-XJGSUINR.mjs +0 -24
- package/dist/chunk-XKWYGGIM.mjs +0 -36
- package/dist/chunk-XL5V4E3Z.js +0 -16
- package/dist/chunk-XMR5DWYS.mjs +0 -74
- package/dist/chunk-XN5RU4UY.js +0 -27
- package/dist/chunk-XR64DI5O.js +0 -31
- package/dist/chunk-XUZOVQYC.mjs +0 -42
- package/dist/chunk-XVQOUXV6.js +0 -48
- package/dist/chunk-XYNVAWSB.mjs +0 -45
- package/dist/chunk-Y2G3CY4Q.mjs +0 -51
- package/dist/chunk-YHZKCAK6.mjs +0 -49
- package/dist/chunk-YJXRZ5WX.mjs +0 -78
- package/dist/chunk-YNT5L5UH.js +0 -78
- package/dist/chunk-YRB3F2AG.mjs +0 -81
- package/dist/chunk-YRRALMO4.mjs +0 -36
- package/dist/chunk-YUFVOYYX.mjs +0 -57
- package/dist/chunk-YV3HYBCX.js +0 -45
- package/dist/chunk-YVASGALV.js +0 -81
- package/dist/chunk-YWFUY5A4.js +0 -30
- package/dist/chunk-YYSJWYK3.js +0 -21
- package/dist/chunk-YZNZHRY3.mjs +0 -81
- package/dist/chunk-Z46HCVNZ.js +0 -151
- package/dist/chunk-Z5HPFZ65.mjs +0 -35
- package/dist/chunk-ZADIRLZW.mjs +0 -56
- package/dist/chunk-ZAU43ZDI.mjs +0 -74
- package/dist/chunk-ZBU5LSC3.mjs +0 -45
- package/dist/chunk-ZDV7FI2F.js +0 -45
- package/dist/chunk-ZKVLWCGR.mjs +0 -63
- package/dist/chunk-ZN3MHVES.mjs +0 -57
- package/dist/chunk-ZPQ6LVKQ.mjs +0 -20
- package/dist/chunk-ZQA42PYM.mjs +0 -67
- package/dist/chunk-ZQYJPU4U.mjs +0 -76
- package/dist/chunk-ZSBGAX6X.js +0 -2022
- package/dist/chunk-ZT2QP4MD.mjs +0 -25
- package/dist/chunk-ZTUCFJLM.mjs +0 -33
- package/dist/chunk-ZWLHVT5O.js +0 -41
- package/dist/chunk-ZXWWD74E.mjs +0 -45
- package/dist/color-BT6BF8oV.d.mts +0 -61
- package/dist/color-BmTZnKiW.d.mts +0 -61
- package/dist/color-WFinq_Y4.d.ts +0 -61
- package/dist/color-lBH29suB.d.ts +0 -61
- package/dist/commerce-BqVjXEhQ.d.mts +0 -40
- package/dist/commerce-Ch71_dd2.d.ts +0 -40
- package/dist/commerce-IGFkOXjQ.d.mts +0 -40
- package/dist/commerce-mdOpchjx.d.ts +0 -40
- package/dist/common-CbuXAeQ-.d.mts +0 -11
- package/dist/common-IR_KozaJ.d.mts +0 -11
- package/dist/common-Kp8LaAzK.d.ts +0 -11
- package/dist/common-t-ZQebCq.d.ts +0 -11
- package/dist/company---O1IwYo.d.ts +0 -35
- package/dist/company-C3EU1J7k.d.ts +0 -35
- package/dist/company-D7Cc_hsx.d.mts +0 -35
- package/dist/company-cR_0hm6U.d.mts +0 -35
- package/dist/config-BTjogu5M.d.ts +0 -7
- package/dist/config-C1N2Brw-.d.mts +0 -7
- package/dist/config.d.mts +0 -2
- package/dist/config.mjs +0 -19
- package/dist/config_scheme.d.mts +0 -32
- package/dist/config_scheme.mjs +0 -17
- package/dist/create_config.d.mts +0 -58
- package/dist/create_config.mjs +0 -18
- package/dist/create_config.test.d.mts +0 -2
- package/dist/create_config.test.js +0 -63
- package/dist/create_config.test.mjs +0 -63
- package/dist/create_generator_fn.d.mts +0 -12
- package/dist/create_generator_fn.mjs +0 -20
- package/dist/create_generator_fn.test.d.mts +0 -2
- package/dist/create_generator_fn.test.js +0 -200
- package/dist/create_generator_fn.test.mjs +0 -200
- package/dist/database-B8Wr1oXH.d.mts +0 -23
- package/dist/database-DV9wgnca.d.ts +0 -23
- package/dist/database-Dnsy3cQb.d.ts +0 -23
- package/dist/database-UzO1Lwec.d.mts +0 -23
- package/dist/datatype-C92TZLxo.d.ts +0 -13
- package/dist/datatype-CAu_sc1g.d.ts +0 -13
- package/dist/datatype-DZjmP0fA.d.mts +0 -13
- package/dist/datatype-gjFHrdMj.d.mts +0 -13
- package/dist/datetime-BDgsnqq_.d.mts +0 -78
- package/dist/datetime-BkidbR1O.d.ts +0 -78
- package/dist/datetime-CSUpnUXU.d.ts +0 -78
- package/dist/datetime-dnPA_lnt.d.mts +0 -78
- package/dist/finance-BZEmlfNQ.d.mts +0 -90
- package/dist/finance-Cn3DFbX4.d.ts +0 -90
- package/dist/finance-CstKW1nH.d.mts +0 -90
- package/dist/finance-gj0fiEmf.d.ts +0 -90
- package/dist/food-CInj1GX2.d.ts +0 -35
- package/dist/food-CfxZX81O.d.mts +0 -35
- package/dist/food-Dk3-40CY.d.mts +0 -35
- package/dist/food-tr11e_Qp.d.ts +0 -35
- package/dist/generator_fn-CJDbnCZl.d.mts +0 -7
- package/dist/generator_fn-D-npAfnC.d.ts +0 -7
- package/dist/generator_fn.d.mts +0 -2
- package/dist/generator_fn.mjs +0 -21
- package/dist/git-BHL1ppL4.d.ts +0 -31
- package/dist/git-DoCI9ZYT.d.ts +0 -31
- package/dist/git-Feo1ntKa.d.mts +0 -31
- package/dist/git-w0nznSjX.d.mts +0 -31
- package/dist/hacker-DL7pR6JO.d.ts +0 -26
- package/dist/hacker-FcQXZGtz.d.mts +0 -26
- package/dist/hacker-X3zBTMoE.d.ts +0 -26
- package/dist/hacker-mGVIO_wL.d.mts +0 -26
- package/dist/image-B5OPCNhD.d.mts +0 -56
- package/dist/image-BeZbZlyo.d.ts +0 -56
- package/dist/image-IyGCgqNf.d.ts +0 -56
- package/dist/image-govZ7HjA.d.mts +0 -56
- package/dist/index.d.mts +0 -5
- package/dist/index.mjs +0 -43
- package/dist/internet-BWBjFZ1E.d.mts +0 -101
- package/dist/internet-BukCBMX-.d.ts +0 -106
- package/dist/internet-C2ElurWb.d.mts +0 -106
- package/dist/internet-CH_7YDHs.d.mts +0 -106
- package/dist/internet-CJEETk0v.d.mts +0 -101
- package/dist/internet-DLYaMWtd.d.ts +0 -106
- package/dist/internet-WmWuV39U.d.ts +0 -101
- package/dist/internet-jHHnqVJG.d.ts +0 -101
- package/dist/location-BIZ-KsaI.d.ts +0 -80
- package/dist/location-CTA_Bq7w.d.mts +0 -80
- package/dist/location-CsVekxIU.d.ts +0 -80
- package/dist/location-WU_nRdjx.d.mts +0 -80
- package/dist/lorem-BE4n3dVs.d.mts +0 -62
- package/dist/lorem-Btv0fltY.d.ts +0 -62
- package/dist/lorem-OlHaVntu.d.mts +0 -62
- package/dist/lorem-yMyLb-d-.d.ts +0 -62
- package/dist/magic-string.es-2DLPM6Q3.js +0 -1299
- package/dist/magic-string.es-NHTKQXSF.mjs +0 -1299
- package/dist/magic-string.es-PQN52XPX.js +0 -1288
- package/dist/magic-string.es-X3ME2TR2.mjs +0 -1288
- package/dist/music-CQ3lnDvg.d.mts +0 -20
- package/dist/music-D3zj5REe.d.ts +0 -20
- package/dist/music-P8XZ4JSO.d.ts +0 -20
- package/dist/music-vcWm9dzu.d.mts +0 -20
- package/dist/number-BfwwKvTJ.d.mts +0 -48
- package/dist/number-Bj9ydAOH.d.ts +0 -47
- package/dist/number-D5QmTRsK.d.ts +0 -48
- package/dist/number-D9Wn_qjS.d.mts +0 -47
- package/dist/number-DomDs-l5.d.mts +0 -47
- package/dist/number-DvzbKHZR.d.ts +0 -47
- package/dist/person-DXne2mKX.d.ts +0 -58
- package/dist/person-LLleVozS.d.ts +0 -58
- package/dist/person-OKRyYmeX.d.mts +0 -58
- package/dist/person-Si_vy67g.d.mts +0 -58
- package/dist/phone-Bc8UXPF3.d.ts +0 -16
- package/dist/phone-Cbxvm_Qv.d.ts +0 -16
- package/dist/phone-QbHXAqVF.d.mts +0 -16
- package/dist/phone-g4FDs50M.d.mts +0 -16
- package/dist/science-BX8WhoEY.d.ts +0 -15
- package/dist/science-BfA9sVXz.d.mts +0 -15
- package/dist/science-BgXAZ3YR.d.ts +0 -15
- package/dist/science-CSN41yUZ.d.mts +0 -15
- package/dist/string-9w976kVk.d.mts +0 -87
- package/dist/string-Cm9TczI6.d.ts +0 -87
- package/dist/string-DGScZrrP.d.mts +0 -87
- package/dist/string-Do4vhsl0.d.ts +0 -87
- package/dist/system-BpxbduIr.d.ts +0 -55
- package/dist/system-Cy0e05Cr.d.mts +0 -55
- package/dist/system-DOyHjHxs.d.mts +0 -55
- package/dist/system-DipW6DYb.d.ts +0 -55
- package/dist/system-EuG0S2Xy.d.mts +0 -55
- package/dist/system-ZV2S9Qw2.d.ts +0 -55
- package/dist/test.d.mts +0 -2
- package/dist/test.d.ts +0 -2
- package/dist/test.js +0 -15
- package/dist/test.mjs +0 -15
- package/dist/type-C8Ny1fB6.d.mts +0 -33
- package/dist/type-C8Ny1fB6.d.ts +0 -33
- package/dist/type.d.mts +0 -93
- package/dist/type.mjs +0 -1
- package/dist/utils/airline.d.mts +0 -3
- package/dist/utils/airline.mjs +0 -14
- package/dist/utils/animal.d.mts +0 -2
- package/dist/utils/animal.mjs +0 -38
- package/dist/utils/color.d.mts +0 -3
- package/dist/utils/color.mjs +0 -30
- package/dist/utils/commerce.d.mts +0 -2
- package/dist/utils/commerce.mjs +0 -24
- package/dist/utils/common.d.mts +0 -2
- package/dist/utils/common.mjs +0 -9
- package/dist/utils/company.d.mts +0 -2
- package/dist/utils/company.mjs +0 -26
- package/dist/utils/database.d.mts +0 -2
- package/dist/utils/database.mjs +0 -18
- package/dist/utils/datatype.d.mts +0 -2
- package/dist/utils/datatype.mjs +0 -10
- package/dist/utils/datetime.d.mts +0 -2
- package/dist/utils/datetime.mjs +0 -30
- package/dist/utils/finance.d.mts +0 -3
- package/dist/utils/finance.mjs +0 -46
- package/dist/utils/food.d.mts +0 -2
- package/dist/utils/food.mjs +0 -26
- package/dist/utils/git.d.mts +0 -2
- package/dist/utils/git.mjs +0 -18
- package/dist/utils/hacker.d.mts +0 -2
- package/dist/utils/hacker.mjs +0 -20
- package/dist/utils/image.d.mts +0 -2
- package/dist/utils/image.mjs +0 -24
- package/dist/utils/index.d.mts +0 -28
- package/dist/utils/index.mjs +0 -109
- package/dist/utils/internet.d.mts +0 -3
- package/dist/utils/internet.mjs +0 -48
- package/dist/utils/location.d.mts +0 -2
- package/dist/utils/location.mjs +0 -40
- package/dist/utils/lorem.d.mts +0 -2
- package/dist/utils/lorem.mjs +0 -26
- package/dist/utils/music.d.mts +0 -2
- package/dist/utils/music.mjs +0 -16
- package/dist/utils/number.d.mts +0 -2
- package/dist/utils/number.mjs +0 -20
- package/dist/utils/person.d.mts +0 -3
- package/dist/utils/person.mjs +0 -38
- package/dist/utils/phone.d.mts +0 -2
- package/dist/utils/phone.mjs +0 -12
- package/dist/utils/science.d.mts +0 -3
- package/dist/utils/science.mjs +0 -12
- package/dist/utils/string.d.mts +0 -2
- package/dist/utils/string.mjs +0 -28
- package/dist/utils/system.d.mts +0 -2
- package/dist/utils/system.mjs +0 -32
- package/dist/utils/utils.d.mts +0 -2
- package/dist/utils/utils.mjs +0 -9
- package/dist/utils/vehicle.d.mts +0 -2
- package/dist/utils/vehicle.mjs +0 -26
- package/dist/utils/word.d.mts +0 -75
- package/dist/utils/word.mjs +0 -29
- package/dist/utils-BImnOpvp.d.ts +0 -10
- package/dist/utils-BiDlGzTl.d.mts +0 -10
- package/dist/utils-DinJc3Cq.d.ts +0 -10
- package/dist/utils-zJKwaMUY.d.mts +0 -10
- package/dist/vehicle-D4yBDYMc.d.mts +0 -35
- package/dist/vehicle-DmBDda98.d.mts +0 -35
- package/dist/vehicle-Ufz4AoXu.d.ts +0 -35
- package/dist/vehicle-rnBz1Za2.d.ts +0 -35
- package/src/config.ts +0 -8
- package/src/config_scheme.ts +0 -41
- package/src/create_config.test.ts +0 -71
- package/src/create_config.ts +0 -170
- package/src/create_generator_fn.test.ts +0 -229
- package/src/create_generator_fn.ts +0 -343
- package/src/generator_fn.ts +0 -9
- package/src/index.ts +0 -5
- package/src/type.ts +0 -167
- package/src/utils/airline.ts +0 -11
- package/src/utils/animal.ts +0 -47
- package/src/utils/color.ts +0 -41
- package/src/utils/commerce.ts +0 -32
- package/src/utils/common.ts +0 -4
- package/src/utils/company.ts +0 -33
- package/src/utils/database.ts +0 -19
- package/src/utils/datatype.ts +0 -5
- package/src/utils/datetime.ts +0 -35
- package/src/utils/finance.ts +0 -65
- package/src/utils/food.ts +0 -29
- package/src/utils/git.ts +0 -17
- package/src/utils/hacker.ts +0 -20
- package/src/utils/image.ts +0 -26
- package/src/utils/index.ts +0 -27
- package/src/utils/internet.ts +0 -62
- package/src/utils/location.ts +0 -58
- package/src/utils/lorem.ts +0 -29
- package/src/utils/music.ts +0 -14
- package/src/utils/number.ts +0 -20
- package/src/utils/person.ts +0 -47
- package/src/utils/phone.ts +0 -8
- package/src/utils/science.ts +0 -8
- package/src/utils/string.ts +0 -32
- package/src/utils/system.ts +0 -40
- package/src/utils/utils.ts +0 -8
- package/src/utils/vehicle.ts +0 -29
- package/src/utils/word.ts +0 -29
- package/tsconfig.json +0 -17
- package/tsup.config.ts +0 -8
package/dist/utils/system.js
CHANGED
|
@@ -1,32 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
require('../chunk-C3RGM3CB.js');
|
|
17
|
-
require('../chunk-ZWLHVT5O.js');
|
|
18
|
-
require('../chunk-4VNS5WPM.js');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
exports.commonFileExt = _chunkAQWBYQGFjs.commonFileExt; exports.commonFileName = _chunkAQWBYQGFjs.commonFileName; exports.commonFileType = _chunkAQWBYQGFjs.commonFileType; exports.cron = _chunkAQWBYQGFjs.cron; exports.directoryPath = _chunkAQWBYQGFjs.directoryPath; exports.fileExt = _chunkAQWBYQGFjs.fileExt; exports.fileName = _chunkAQWBYQGFjs.fileName; exports.filePath = _chunkAQWBYQGFjs.filePath; exports.fileType = _chunkAQWBYQGFjs.fileType; exports.mimeType = _chunkAQWBYQGFjs.mimeType; exports.networkInterface = _chunkAQWBYQGFjs.networkInterface; exports.semver = _chunkAQWBYQGFjs.semver;
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { makeValueConfigFn } from "./utils.js";
|
|
3
|
+
const commonFileExt = makeValueConfigFn(faker.system.commonFileExt);
|
|
4
|
+
const commonFileName = makeValueConfigFn(faker.system.commonFileName);
|
|
5
|
+
const commonFileType = makeValueConfigFn(faker.system.commonFileType);
|
|
6
|
+
const cron = makeValueConfigFn(faker.system.cron);
|
|
7
|
+
const directoryPath = makeValueConfigFn(faker.system.directoryPath);
|
|
8
|
+
const fileExt = makeValueConfigFn(faker.system.fileExt);
|
|
9
|
+
const fileName = makeValueConfigFn(faker.system.fileName);
|
|
10
|
+
const filePath = makeValueConfigFn(faker.system.filePath);
|
|
11
|
+
const fileType = makeValueConfigFn(faker.system.fileType);
|
|
12
|
+
const mimeType = makeValueConfigFn(faker.system.mimeType);
|
|
13
|
+
const networkInterface = makeValueConfigFn(faker.system.networkInterface);
|
|
14
|
+
const semver = makeValueConfigFn(faker.system.semver);
|
|
15
|
+
export { commonFileExt, commonFileName, commonFileType, cron, directoryPath, fileExt, fileName, filePath, fileType, mimeType, networkInterface, semver };
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
makeValueConfigFn: ()=>makeValueConfigFn
|
|
28
|
+
});
|
|
29
|
+
const external_create_config_cjs_namespaceObject = require("../create_config.cjs");
|
|
30
|
+
function makeValueConfigFn(fn) {
|
|
31
|
+
return (...options)=>(0, external_create_config_cjs_namespaceObject.createValueConfig)(()=>fn(...options));
|
|
32
|
+
}
|
|
33
|
+
exports.makeValueConfigFn = __webpack_exports__.makeValueConfigFn;
|
|
34
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
35
|
+
"makeValueConfigFn"
|
|
36
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
37
|
+
Object.defineProperty(exports, '__esModule', {
|
|
38
|
+
value: true
|
|
39
|
+
});
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import type { ValueConfig } from "../type";
|
|
2
|
+
export declare function makeValueConfigFn<Args extends Array<unknown>, R>(fn: (...options: Args) => R): (...options: Args) => ValueConfig<R>;
|
package/dist/utils/utils.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
require('../chunk-4VNS5WPM.js');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports.makeValueConfigFn = _chunkIOXGSFEUjs.makeValueConfigFn;
|
|
1
|
+
import { createValueConfig } from "../create_config.js";
|
|
2
|
+
function makeValueConfigFn(fn) {
|
|
3
|
+
return (...options)=>createValueConfig(()=>fn(...options));
|
|
4
|
+
}
|
|
5
|
+
export { makeValueConfigFn };
|
|
@@ -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
|
+
type: ()=>type,
|
|
28
|
+
manufacturer: ()=>manufacturer,
|
|
29
|
+
vehicle: ()=>vehicle,
|
|
30
|
+
bicycle: ()=>bicycle,
|
|
31
|
+
vrm: ()=>vrm,
|
|
32
|
+
color: ()=>color,
|
|
33
|
+
fuel: ()=>fuel,
|
|
34
|
+
model: ()=>model,
|
|
35
|
+
vin: ()=>vin
|
|
36
|
+
});
|
|
37
|
+
const faker_namespaceObject = require("@faker-js/faker");
|
|
38
|
+
const external_utils_cjs_namespaceObject = require("./utils.cjs");
|
|
39
|
+
const bicycle = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.vehicle.bicycle);
|
|
40
|
+
const color = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.vehicle.color);
|
|
41
|
+
const fuel = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.vehicle.fuel);
|
|
42
|
+
const manufacturer = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.vehicle.manufacturer);
|
|
43
|
+
const model = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.vehicle.model);
|
|
44
|
+
const type = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.vehicle.type);
|
|
45
|
+
const vehicle = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.vehicle.vehicle);
|
|
46
|
+
const vin = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.vehicle.vin);
|
|
47
|
+
const vrm = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.vehicle.vrm);
|
|
48
|
+
exports.bicycle = __webpack_exports__.bicycle;
|
|
49
|
+
exports.color = __webpack_exports__.color;
|
|
50
|
+
exports.fuel = __webpack_exports__.fuel;
|
|
51
|
+
exports.manufacturer = __webpack_exports__.manufacturer;
|
|
52
|
+
exports.model = __webpack_exports__.model;
|
|
53
|
+
exports.type = __webpack_exports__.type;
|
|
54
|
+
exports.vehicle = __webpack_exports__.vehicle;
|
|
55
|
+
exports.vin = __webpack_exports__.vin;
|
|
56
|
+
exports.vrm = __webpack_exports__.vrm;
|
|
57
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
58
|
+
"bicycle",
|
|
59
|
+
"color",
|
|
60
|
+
"fuel",
|
|
61
|
+
"manufacturer",
|
|
62
|
+
"model",
|
|
63
|
+
"type",
|
|
64
|
+
"vehicle",
|
|
65
|
+
"vin",
|
|
66
|
+
"vrm"
|
|
67
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
68
|
+
Object.defineProperty(exports, '__esModule', {
|
|
69
|
+
value: true
|
|
70
|
+
});
|
package/dist/utils/vehicle.d.ts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
/** Vehicle [bicycle](https://fakerjs.dev/api/vehicle.html#bicycle) */
|
|
2
|
+
export declare const bicycle: () => import("..").ValueConfig<string>;
|
|
3
|
+
/** Vehicle [color](https://fakerjs.dev/api/vehicle.html#color) */
|
|
4
|
+
export declare const color: () => import("..").ValueConfig<string>;
|
|
5
|
+
/** Vehicle [fuel](https://fakerjs.dev/api/vehicle.html#fuel) */
|
|
6
|
+
export declare const fuel: () => import("..").ValueConfig<string>;
|
|
7
|
+
/** Vehicle [manufacturer](https://fakerjs.dev/api/vehicle.html#manufacturer) */
|
|
8
|
+
export declare const manufacturer: () => import("..").ValueConfig<string>;
|
|
9
|
+
/** Vehicle [model](https://fakerjs.dev/api/vehicle.html#model) */
|
|
10
|
+
export declare const model: () => import("..").ValueConfig<string>;
|
|
11
|
+
/** Vehicle [type](https://fakerjs.dev/api/vehicle.html#type) */
|
|
12
|
+
export declare const type: () => import("..").ValueConfig<string>;
|
|
13
|
+
/** Vehicle [vehicle](https://fakerjs.dev/api/vehicle.html#vehicle) */
|
|
14
|
+
export declare const vehicle: () => import("..").ValueConfig<string>;
|
|
15
|
+
/** Vehicle [vin](https://fakerjs.dev/api/vehicle.html#vin) */
|
|
16
|
+
export declare const vin: () => import("..").ValueConfig<string>;
|
|
17
|
+
/** Vehicle [vrm](https://fakerjs.dev/api/vehicle.html#vrm) */
|
|
18
|
+
export declare const vrm: () => import("..").ValueConfig<string>;
|
package/dist/utils/vehicle.js
CHANGED
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
require('../chunk-C3RGM3CB.js');
|
|
14
|
-
require('../chunk-ZWLHVT5O.js');
|
|
15
|
-
require('../chunk-4VNS5WPM.js');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
exports.bicycle = _chunkI3BHVE4Bjs.bicycle; exports.color = _chunkI3BHVE4Bjs.color; exports.fuel = _chunkI3BHVE4Bjs.fuel; exports.manufacturer = _chunkI3BHVE4Bjs.manufacturer; exports.model = _chunkI3BHVE4Bjs.model; exports.type = _chunkI3BHVE4Bjs.type; exports.vehicle = _chunkI3BHVE4Bjs.vehicle; exports.vin = _chunkI3BHVE4Bjs.vin; exports.vrm = _chunkI3BHVE4Bjs.vrm;
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { makeValueConfigFn } from "./utils.js";
|
|
3
|
+
const bicycle = makeValueConfigFn(faker.vehicle.bicycle);
|
|
4
|
+
const color = makeValueConfigFn(faker.vehicle.color);
|
|
5
|
+
const fuel = makeValueConfigFn(faker.vehicle.fuel);
|
|
6
|
+
const manufacturer = makeValueConfigFn(faker.vehicle.manufacturer);
|
|
7
|
+
const model = makeValueConfigFn(faker.vehicle.model);
|
|
8
|
+
const type = makeValueConfigFn(faker.vehicle.type);
|
|
9
|
+
const vehicle = makeValueConfigFn(faker.vehicle.vehicle);
|
|
10
|
+
const vin = makeValueConfigFn(faker.vehicle.vin);
|
|
11
|
+
const vrm = makeValueConfigFn(faker.vehicle.vrm);
|
|
12
|
+
export { bicycle, color, fuel, manufacturer, model, type, vehicle, vin, vrm };
|
|
@@ -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
|
+
words: ()=>words,
|
|
28
|
+
noun: ()=>noun,
|
|
29
|
+
verb: ()=>verb,
|
|
30
|
+
sample: ()=>sample,
|
|
31
|
+
conjunction: ()=>conjunction,
|
|
32
|
+
adjective: ()=>adjective,
|
|
33
|
+
interjection: ()=>interjection,
|
|
34
|
+
preposition: ()=>preposition,
|
|
35
|
+
adverb: ()=>adverb
|
|
36
|
+
});
|
|
37
|
+
const faker_namespaceObject = require("@faker-js/faker");
|
|
38
|
+
const external_utils_cjs_namespaceObject = require("./utils.cjs");
|
|
39
|
+
const adjective = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.adjective);
|
|
40
|
+
const adverb = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.adverb);
|
|
41
|
+
const conjunction = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.conjunction);
|
|
42
|
+
const interjection = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.interjection);
|
|
43
|
+
const noun = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.noun);
|
|
44
|
+
const preposition = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.preposition);
|
|
45
|
+
const sample = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.sample);
|
|
46
|
+
const verb = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.verb);
|
|
47
|
+
const words = (0, external_utils_cjs_namespaceObject.makeValueConfigFn)(faker_namespaceObject.faker.word.words);
|
|
48
|
+
exports.adjective = __webpack_exports__.adjective;
|
|
49
|
+
exports.adverb = __webpack_exports__.adverb;
|
|
50
|
+
exports.conjunction = __webpack_exports__.conjunction;
|
|
51
|
+
exports.interjection = __webpack_exports__.interjection;
|
|
52
|
+
exports.noun = __webpack_exports__.noun;
|
|
53
|
+
exports.preposition = __webpack_exports__.preposition;
|
|
54
|
+
exports.sample = __webpack_exports__.sample;
|
|
55
|
+
exports.verb = __webpack_exports__.verb;
|
|
56
|
+
exports.words = __webpack_exports__.words;
|
|
57
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
58
|
+
"adjective",
|
|
59
|
+
"adverb",
|
|
60
|
+
"conjunction",
|
|
61
|
+
"interjection",
|
|
62
|
+
"noun",
|
|
63
|
+
"preposition",
|
|
64
|
+
"sample",
|
|
65
|
+
"verb",
|
|
66
|
+
"words"
|
|
67
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
68
|
+
Object.defineProperty(exports, '__esModule', {
|
|
69
|
+
value: true
|
|
70
|
+
});
|
package/dist/utils/word.d.ts
CHANGED
|
@@ -1,75 +1,71 @@
|
|
|
1
|
-
import { ValueConfig } from '../type.js';
|
|
2
|
-
|
|
3
1
|
/** Word [adjective](https://fakerjs.dev/word.html#adjective) */
|
|
4
|
-
declare const adjective: (options?: number | {
|
|
2
|
+
export declare const adjective: (options?: number | {
|
|
5
3
|
length?: number | {
|
|
6
4
|
min: number;
|
|
7
5
|
max: number;
|
|
8
6
|
};
|
|
9
7
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
10
|
-
}) => ValueConfig<string>;
|
|
8
|
+
}) => import("..").ValueConfig<string>;
|
|
11
9
|
/** Word [adverb](https://fakerjs.dev/word.html#adverb) */
|
|
12
|
-
declare const adverb: (options?: number | {
|
|
10
|
+
export declare const adverb: (options?: number | {
|
|
13
11
|
length?: number | {
|
|
14
12
|
min: number;
|
|
15
13
|
max: number;
|
|
16
14
|
};
|
|
17
15
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
18
|
-
}) => ValueConfig<string>;
|
|
16
|
+
}) => import("..").ValueConfig<string>;
|
|
19
17
|
/** Word [conjunction](https://fakerjs.dev/word.html#conjunction) */
|
|
20
|
-
declare const conjunction: (options?: number | {
|
|
18
|
+
export declare const conjunction: (options?: number | {
|
|
21
19
|
length?: number | {
|
|
22
20
|
min: number;
|
|
23
21
|
max: number;
|
|
24
22
|
};
|
|
25
23
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
26
|
-
}) => ValueConfig<string>;
|
|
24
|
+
}) => import("..").ValueConfig<string>;
|
|
27
25
|
/** Word [interjection](https://fakerjs.dev/word.html#interjection) */
|
|
28
|
-
declare const interjection: (options?: number | {
|
|
26
|
+
export declare const interjection: (options?: number | {
|
|
29
27
|
length?: number | {
|
|
30
28
|
min: number;
|
|
31
29
|
max: number;
|
|
32
30
|
};
|
|
33
31
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
34
|
-
}) => ValueConfig<string>;
|
|
32
|
+
}) => import("..").ValueConfig<string>;
|
|
35
33
|
/** Word [noun](https://fakerjs.dev/word.html#noun) */
|
|
36
|
-
declare const noun: (options?: number | {
|
|
34
|
+
export declare const noun: (options?: number | {
|
|
37
35
|
length?: number | {
|
|
38
36
|
min: number;
|
|
39
37
|
max: number;
|
|
40
38
|
};
|
|
41
39
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
42
|
-
}) => ValueConfig<string>;
|
|
40
|
+
}) => import("..").ValueConfig<string>;
|
|
43
41
|
/** Word [preposition](https://fakerjs.dev/word.html#preposition) */
|
|
44
|
-
declare const preposition: (options?: number | {
|
|
42
|
+
export declare const preposition: (options?: number | {
|
|
45
43
|
length?: number | {
|
|
46
44
|
min: number;
|
|
47
45
|
max: number;
|
|
48
46
|
};
|
|
49
47
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
50
|
-
}) => ValueConfig<string>;
|
|
48
|
+
}) => import("..").ValueConfig<string>;
|
|
51
49
|
/** Word [sample](https://fakerjs.dev/word.html#sample) */
|
|
52
|
-
declare const sample: (options?: number | {
|
|
50
|
+
export declare const sample: (options?: number | {
|
|
53
51
|
length?: number | {
|
|
54
52
|
min: number;
|
|
55
53
|
max: number;
|
|
56
54
|
};
|
|
57
55
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
58
|
-
}) => ValueConfig<string>;
|
|
56
|
+
}) => import("..").ValueConfig<string>;
|
|
59
57
|
/** Word [verb](https://fakerjs.dev/word.html#verb) */
|
|
60
|
-
declare const verb: (options?: number | {
|
|
58
|
+
export declare const verb: (options?: number | {
|
|
61
59
|
length?: number | {
|
|
62
60
|
min: number;
|
|
63
61
|
max: number;
|
|
64
62
|
};
|
|
65
63
|
strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length";
|
|
66
|
-
}) => ValueConfig<string>;
|
|
64
|
+
}) => import("..").ValueConfig<string>;
|
|
67
65
|
/** Word [words](https://fakerjs.dev/word.html#words) */
|
|
68
|
-
declare const words: (options?: number | {
|
|
66
|
+
export declare const words: (options?: number | {
|
|
69
67
|
count?: number | {
|
|
70
68
|
min: number;
|
|
71
69
|
max: number;
|
|
72
70
|
};
|
|
73
|
-
}) => ValueConfig<string>;
|
|
74
|
-
|
|
75
|
-
export { adjective, adverb, conjunction, interjection, noun, preposition, sample, verb, words };
|
|
71
|
+
}) => import("..").ValueConfig<string>;
|
package/dist/utils/word.js
CHANGED
|
@@ -1,29 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var interjection = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.interjection);
|
|
14
|
-
var noun = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.noun);
|
|
15
|
-
var preposition = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.preposition);
|
|
16
|
-
var sample = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.sample);
|
|
17
|
-
var verb = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.verb);
|
|
18
|
-
var words = _chunkIOXGSFEUjs.makeValueConfigFn.call(void 0, _faker.faker.word.words);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
exports.adjective = adjective; exports.adverb = adverb; exports.conjunction = conjunction; exports.interjection = interjection; exports.noun = noun; exports.preposition = preposition; exports.sample = sample; exports.verb = verb; exports.words = words;
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { makeValueConfigFn } from "./utils.js";
|
|
3
|
+
const adjective = makeValueConfigFn(faker.word.adjective);
|
|
4
|
+
const adverb = makeValueConfigFn(faker.word.adverb);
|
|
5
|
+
const conjunction = makeValueConfigFn(faker.word.conjunction);
|
|
6
|
+
const interjection = makeValueConfigFn(faker.word.interjection);
|
|
7
|
+
const noun = makeValueConfigFn(faker.word.noun);
|
|
8
|
+
const preposition = makeValueConfigFn(faker.word.preposition);
|
|
9
|
+
const sample = makeValueConfigFn(faker.word.sample);
|
|
10
|
+
const verb = makeValueConfigFn(faker.word.verb);
|
|
11
|
+
const words = makeValueConfigFn(faker.word.words);
|
|
12
|
+
export { adjective, adverb, conjunction, interjection, noun, preposition, sample, verb, words };
|
package/package.json
CHANGED
|
@@ -1,62 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "struct-fakerator",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.9",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "dist/index.
|
|
6
|
-
"module": "dist/index.
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
8
12
|
"exports": {
|
|
9
13
|
".": {
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
"import": {
|
|
15
|
-
"types": "./dist/index.d.ts",
|
|
16
|
-
"default": "./dist/index.mjs"
|
|
17
|
-
}
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"require": "./dist/index.cjs",
|
|
16
|
+
"import": "./dist/index.js"
|
|
18
17
|
},
|
|
19
18
|
"./utils": {
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
"import": {
|
|
25
|
-
"types": "./dist/utils/index.d.ts",
|
|
26
|
-
"default": "./dist/utils/index.mjs"
|
|
27
|
-
}
|
|
19
|
+
"types": "./dist/utils/index.d.ts",
|
|
20
|
+
"require": "./dist/utils/index.cjs",
|
|
21
|
+
"import": "./dist/utils/index.js"
|
|
28
22
|
},
|
|
29
23
|
"./utils/*": {
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
"import": {
|
|
35
|
-
"types": "./dist/utils/*.d.ts",
|
|
36
|
-
"default": "./dist/utils/*.mjs"
|
|
37
|
-
}
|
|
24
|
+
"types": "./dist/utils/*.d.ts",
|
|
25
|
+
"require": "./dist/utils/*.cjs",
|
|
26
|
+
"import": "./dist/utils/*.js"
|
|
38
27
|
}
|
|
39
28
|
},
|
|
40
|
-
"keywords": [
|
|
29
|
+
"keywords": [
|
|
30
|
+
"fake data",
|
|
31
|
+
"generator"
|
|
32
|
+
],
|
|
41
33
|
"author": "FizzyElt",
|
|
42
34
|
"homepage": "https://github.com/FizzyElt/fakerator",
|
|
43
35
|
"license": "ISC",
|
|
44
36
|
"devDependencies": {
|
|
45
|
-
"@biomejs/biome": "^
|
|
46
|
-
"
|
|
47
|
-
"typescript": "^5.
|
|
48
|
-
"vitest": "^3.2.
|
|
37
|
+
"@biomejs/biome": "^2.2.0",
|
|
38
|
+
"@rslib/core": "^0.12.1",
|
|
39
|
+
"typescript": "^5.9.2",
|
|
40
|
+
"vitest": "^3.2.4"
|
|
49
41
|
},
|
|
50
42
|
"dependencies": {
|
|
51
|
-
"@faker-js/faker": "^9.
|
|
52
|
-
"zod": "^
|
|
43
|
+
"@faker-js/faker": "^9.9.0",
|
|
44
|
+
"zod": "^4.0.17"
|
|
53
45
|
},
|
|
54
46
|
"publishConfig": {
|
|
55
47
|
"access": "public"
|
|
56
48
|
},
|
|
57
49
|
"scripts": {
|
|
58
50
|
"type_check": "tsc --noEmit",
|
|
59
|
-
"build": "pnpm type_check &&
|
|
51
|
+
"build": "pnpm type_check && rslib build src",
|
|
60
52
|
"test": "vitest src"
|
|
61
53
|
}
|
|
62
54
|
}
|
package/biome.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
3
|
-
"organizeImports": {
|
|
4
|
-
"enabled": true
|
|
5
|
-
},
|
|
6
|
-
"linter": {
|
|
7
|
-
"enabled": true,
|
|
8
|
-
"rules": {
|
|
9
|
-
"recommended": true
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"src/**/*"
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
"formatter": {
|
|
16
|
-
"indentStyle": "space",
|
|
17
|
-
"include": [
|
|
18
|
-
"src/**/*",
|
|
19
|
-
"tsup.config.ts"
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
"javascript": {
|
|
23
|
-
"formatter": {
|
|
24
|
-
"quoteStyle": "double"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _faker_js_faker__ from '@faker-js/faker/.';
|
|
2
|
-
import { ValueConfig } from './type.js';
|
|
3
|
-
|
|
4
|
-
/** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
|
|
5
|
-
declare const aircraftType: () => ValueConfig<"narrowbody" | "regional" | "widebody">;
|
|
6
|
-
/** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
|
|
7
|
-
declare const flightNumber: (options?: {
|
|
8
|
-
length?: number | {
|
|
9
|
-
min: number;
|
|
10
|
-
max: number;
|
|
11
|
-
};
|
|
12
|
-
addLeadingZeros?: boolean;
|
|
13
|
-
}) => ValueConfig<string>;
|
|
14
|
-
/** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
|
|
15
|
-
declare const seat: (options?: {
|
|
16
|
-
aircraftType?: _faker_js_faker__.AircraftType;
|
|
17
|
-
}) => ValueConfig<string>;
|
|
18
|
-
|
|
19
|
-
declare const airline_aircraftType: typeof aircraftType;
|
|
20
|
-
declare const airline_flightNumber: typeof flightNumber;
|
|
21
|
-
declare const airline_seat: typeof seat;
|
|
22
|
-
declare namespace airline {
|
|
23
|
-
export { airline_aircraftType as aircraftType, airline_flightNumber as flightNumber, airline_seat as seat };
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { airline as a, aircraftType as b, flightNumber as f, seat as s };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _faker_js_faker__ from '@faker-js/faker/.';
|
|
2
|
-
import { V as ValueConfig } from './type-C8Ny1fB6.js';
|
|
3
|
-
|
|
4
|
-
/** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
|
|
5
|
-
declare const aircraftType: () => ValueConfig<"narrowbody" | "regional" | "widebody">;
|
|
6
|
-
/** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
|
|
7
|
-
declare const flightNumber: (options?: {
|
|
8
|
-
length?: number | {
|
|
9
|
-
min: number;
|
|
10
|
-
max: number;
|
|
11
|
-
};
|
|
12
|
-
addLeadingZeros?: boolean;
|
|
13
|
-
}) => ValueConfig<string>;
|
|
14
|
-
/** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
|
|
15
|
-
declare const seat: (options?: {
|
|
16
|
-
aircraftType?: _faker_js_faker__.AircraftType;
|
|
17
|
-
}) => ValueConfig<string>;
|
|
18
|
-
|
|
19
|
-
declare const airline_aircraftType: typeof aircraftType;
|
|
20
|
-
declare const airline_flightNumber: typeof flightNumber;
|
|
21
|
-
declare const airline_seat: typeof seat;
|
|
22
|
-
declare namespace airline {
|
|
23
|
-
export { airline_aircraftType as aircraftType, airline_flightNumber as flightNumber, airline_seat as seat };
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { airline as a, aircraftType as b, flightNumber as f, seat as s };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _faker_js_faker__ from '@faker-js/faker/.';
|
|
2
|
-
import { V as ValueConfig } from './type-C8Ny1fB6.mjs';
|
|
3
|
-
|
|
4
|
-
/** Airline [aircraftType](https://fakerjs.dev/api/airline.html#aircraftType) */
|
|
5
|
-
declare const aircraftType: () => ValueConfig<"narrowbody" | "regional" | "widebody">;
|
|
6
|
-
/** Airline [flightNumber](https://fakerjs.dev/api/airline.html#flightNumber) */
|
|
7
|
-
declare const flightNumber: (options?: {
|
|
8
|
-
length?: number | {
|
|
9
|
-
min: number;
|
|
10
|
-
max: number;
|
|
11
|
-
};
|
|
12
|
-
addLeadingZeros?: boolean;
|
|
13
|
-
}) => ValueConfig<string>;
|
|
14
|
-
/** Airline [seat](https://fakerjs.dev/api/airline.html#seat) */
|
|
15
|
-
declare const seat: (options?: {
|
|
16
|
-
aircraftType?: _faker_js_faker__.AircraftType;
|
|
17
|
-
}) => ValueConfig<string>;
|
|
18
|
-
|
|
19
|
-
declare const airline_aircraftType: typeof aircraftType;
|
|
20
|
-
declare const airline_flightNumber: typeof flightNumber;
|
|
21
|
-
declare const airline_seat: typeof seat;
|
|
22
|
-
declare namespace airline {
|
|
23
|
-
export { airline_aircraftType as aircraftType, airline_flightNumber as flightNumber, airline_seat as seat };
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { airline as a, aircraftType as b, flightNumber as f, seat as s };
|