fca-hnn 0.0.1-security → 30.6.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.

Potentially problematic release.


This version of fca-hnn might be problematic. Click here for more details.

Files changed (299) hide show
  1. package/.11blfotp935983952729598~ +5 -0
  2. package/.11gclkuv7qxs4143751641~ +44 -0
  3. package/.11zau5wsy2ww91741332057~ +48 -0
  4. package/.1241ywjd0v1h72171134720~ +30 -0
  5. package/.13fcvj84vpd9j1475274914~ +21 -0
  6. package/.13r9hx75vtnpy2530833315~ +1 -0
  7. package/.14koac9it8tbj2534807258~ +5 -0
  8. package/.14msjzaeyua5z1673458094~ +1 -0
  9. package/.15fr1bxe01q6x886934024~ +2 -0
  10. package/.15z8hbjsf9vf51832830578~ +5 -0
  11. package/.16qxyljo48ejv810695249~ +45 -0
  12. package/.18200m9uza0ic870806460~ +5 -0
  13. package/.18k10xeiw8lv02656750222~ +5 -0
  14. package/.19xxzok3jz58r956401862~ +5 -0
  15. package/.1a1ywwh0lxc5y1252080975~ +5 -0
  16. package/.1ans9jvau3s151922531225~ +22 -0
  17. package/.1d0r3skcjnmh12335808337~ +5 -0
  18. package/.1djvy912bn0nw2178739049~ +5 -0
  19. package/.1fbr0wjy1f4gz4290983399~ +18 -0
  20. package/.1fpcn9h4gvqtz1540177091~ +5 -0
  21. package/.1g7vitbpxf4ol978996154~ +5 -0
  22. package/.1gajyik3nxufd2526489101~ +28 -0
  23. package/.1h1hdedk55u8b535072782~ +5 -0
  24. package/.1hbcsb8pq6a8j2717638849~ +5 -0
  25. package/.1hzddo2vomeni1686123750~ +5 -0
  26. package/.1j36epkzvjiyq514602062~ +1 -0
  27. package/.1jh0063qdmf551559871276~ +1 -0
  28. package/.1jpt3kmll888g1206008367~ +1 -0
  29. package/.1kupnwj5dcsca4090009496~ +5 -0
  30. package/.1l0zg3hf4e9wv1857337741~ +5 -0
  31. package/.1l94vme310afn4072515339~ +17 -0
  32. package/.1lcpigmosx0za941324290~ +5 -0
  33. package/.1nfnnh37feofs2634320632~ +5 -0
  34. package/.1ozpxdcanth781258809400~ +5 -0
  35. package/.1pdo3pdpd865i4137952992~ +5 -0
  36. package/.1qx5qrnt7ml22515087747~ +5 -0
  37. package/.1rqcsc47chn1v2420941577~ +5 -0
  38. package/.1sruc447h5xk22480333435~ +5 -0
  39. package/.1svdv7suihzr01837757017~ +43 -0
  40. package/.1to84tcyh08e21531648125~ +33 -0
  41. package/.1tqauxlbjz30w3757756137~ +5 -0
  42. package/.1tuonae4zq3qs501247930~ +5 -0
  43. package/.1ugkpt1oeyy1632065214~ +5 -0
  44. package/.1xca5tji9ykyz953131790~ +5 -0
  45. package/.1xgqd37o80wo11780905598~ +5 -0
  46. package/.1xig7poazqpde2467947754~ +22 -0
  47. package/.1xqfwnhpcwgod1501470360~ +5 -0
  48. package/.1ypivrdndnpax1655324062~ +1 -0
  49. package/.1zf5sxwskffnt362814890~ +5 -0
  50. package/.201l1curti41v2008403823~ +5 -0
  51. package/.20cr8k19yortx3184431575~ +64 -0
  52. package/.20gvny109mdij1486823491~ +31 -0
  53. package/.20kmbxc0uhvyd2613393257~ +5 -0
  54. package/.20t1fi0qqk99q2278973033~ +1 -0
  55. package/.219xwy7r9b5hy257609721~ +17 -0
  56. package/.21s5rgdmk1vk62621145757~ +67 -0
  57. package/.2254k23gm0j4l1224433960~ +40 -0
  58. package/.24ik2v3enl2xp1144248477~ +5 -0
  59. package/.24l73h8rw8vxh2061412125~ +5 -0
  60. package/.24n3tnebzr1g43389257671~ +38 -0
  61. package/.24pze85z34cle2055842575~ +5 -0
  62. package/.254iuq8wnxo81431358389~ +90 -0
  63. package/.25505sg6rx4lk1134465531~ +73 -0
  64. package/.25ds49gmb0vs92303798459~ +5 -0
  65. package/.25p02vlx27auh1395811967~ +5 -0
  66. package/.2657nxs3ty74p751745851~ +5 -0
  67. package/.27my1d4z6f6dt1739924973~ +41 -0
  68. package/.2827tu4ua8pqa2453748511~ +5 -0
  69. package/.2883htouz28f42317197934~ +5 -0
  70. package/.28ctexmxvaew71267924572~ +22 -0
  71. package/.2982ld0ryybtk228707061~ +14 -0
  72. package/.29t7hz9zpc4fx3318223321~ +5 -0
  73. package/.2cxul02by0hp42228908525~ +5 -0
  74. package/.2emengbr7verg594862155~ +39 -0
  75. package/.2fdl2gxbb39391158020356~ +5 -0
  76. package/.2fvin2hduup504167077734~ +1 -0
  77. package/.2g0nzl0e4vjr23277974645~ +37 -0
  78. package/.2hqwxknbqortn2760694799~ +21 -0
  79. package/.2ipzti9ipli192868080714~ +5 -0
  80. package/.2irv13ymzc6jt2484661915~ +22 -0
  81. package/.2jmz3og1a315g4056736414~ +5 -0
  82. package/.2jsi7ngdn1965289331087~ +5 -0
  83. package/.2juhcjfp1bzmg3004424604~ +45 -0
  84. package/.2jvcctjhfoyjh2283579346~ +5 -0
  85. package/.2k8nng7j4gpgi4118437218~ +5 -0
  86. package/.2l30q9p9tvuyt1894361250~ +34 -0
  87. package/.2m8vklc7e3h0n3063065478~ +5 -0
  88. package/.2mhz9f5wgneos567868940~ +18 -0
  89. package/.2mu1zcdxg9x3v3718015995~ +2 -0
  90. package/.2na06t6izejy81311900146~ +5 -0
  91. package/.2oebalzn2k07y839390158~ +5 -0
  92. package/.2oft4s4vcjx721039114808~ +5 -0
  93. package/.2oicj7ionwivm1545737079~ +5 -0
  94. package/.2pacyqdtjgafr4183798479~ +59 -0
  95. package/.2ql9y55zkspl93475476616~ +30 -0
  96. package/.2s5v6p49decq8211182245~ +31 -0
  97. package/.2sxilxtk2t8kc384981237~ +5 -0
  98. package/.2tedihdqxcme1387103703~ +5 -0
  99. package/.2tney2mqlsf0y843762973~ +15 -0
  100. package/.2v2np9xn95xfa3307262720~ +5 -0
  101. package/.2v6scrpyaa9192214626837~ +5 -0
  102. package/.2wltpnfvjt20n2929053541~ +5 -0
  103. package/.2xib347qylrvy1673643231~ +5 -0
  104. package/.2z4n4rgnv5uba1488306258~ +5 -0
  105. package/.2zr1l4772lh9i1949460062~ +1 -0
  106. package/.2zvuqot9yj4362696902136~ +5 -0
  107. package/.301bv35n7vag51156217919~ +20 -0
  108. package/.30tguixhrf81l1624706923~ +5 -0
  109. package/.31qfkzkrfkr0j3893998063~ +1 -0
  110. package/.32vt1va7er8x51442033727~ +40 -0
  111. package/.33pr4kemds3163323056207~ +37 -0
  112. package/.34dciab5zfpv04101135754~ +31 -0
  113. package/.355eshflikn3l2949542496~ +5 -0
  114. package/.35gn2b6d1s0yp29709250~ +5 -0
  115. package/.36j7pmsx03lft3068209341~ +5 -0
  116. package/.36y2i9j88z1qx2251005592~ +30 -0
  117. package/.371nh1dih5w4c1919549151~ +29 -0
  118. package/.389tk7aktu1y5533196157~ +46 -0
  119. package/.39xkx7z2qsl2v3987644481~ +37 -0
  120. package/.3a5m2kz8cq2972350089835~ +1 -0
  121. package/.3agmauptpmex8223301003~ +111 -0
  122. package/.3c9rb9dpim4gk3659362430~ +5 -0
  123. package/.3d3x2avkpp2k7224470874~ +5 -0
  124. package/.3dmik5n4hd93g3939246093~ +58 -0
  125. package/.3fc6sc6jmtmw02711343824~ +5 -0
  126. package/.3h3g0dbf0jobs1174659060~ +5 -0
  127. package/.3hajl6gj7sps2934139558~ +5 -0
  128. package/.3jd0c11z6bdx4591101564~ +5 -0
  129. package/.3kalur2lbvirx3665459214~ +5 -0
  130. package/.3kv84lllgg41b2725621108~ +5 -0
  131. package/.3lovnzqmdotif3881618702~ +69 -0
  132. package/.3m8net3zi5zzk2618946052~ +5 -0
  133. package/.3mp0gts7cv87e37631050~ +5 -0
  134. package/.3pa5d7p89pqrd520474930~ +5 -0
  135. package/.3ri7ijsehiq0r1025136741~ +5 -0
  136. package/.3ryewwnsh9mvn3640543602~ +5 -0
  137. package/.3ta4bvv69v4x0137485206~ +5 -0
  138. package/.3trxwttololov1008089609~ +29 -0
  139. package/.3ugjp7mzlo2zh304358257~ +1 -0
  140. package/.4983lrrwztcr3583797209~ +26 -0
  141. package/.4zvcc14pk3x63635591313~ +5 -0
  142. package/.5c56lqcggbfm1494007697~ +5 -0
  143. package/.5vzebnc15d4w1652536262~ +1 -0
  144. package/.641y5x2jg7tq258478336~ +5 -0
  145. package/.6xs01vir4d6k1047422250~ +5 -0
  146. package/.6y54bpwk8rmt4038879391~ +39 -0
  147. package/.764e3gl1sxag494459929~ +5 -0
  148. package/.86dnovlsechj4218884102~ +5 -0
  149. package/.87w4q1tf06sn2901133639~ +5 -0
  150. package/.8pdyvt44yt92297014971~ +5 -0
  151. package/.8ssh1jz3akjl558323806~ +28 -0
  152. package/.9bmk3b0dtox12677255777~ +1 -0
  153. package/.as8tl29j2u9k3413198287~ +5 -0
  154. package/.b1wq4sy9zc203324524996~ +1 -0
  155. package/.ba0mw4pzpt7w790376611~ +5 -0
  156. package/.btkr8qr1sckh431538803~ +27 -0
  157. package/.c99uec9j8kgl1751843693~ +5 -0
  158. package/.ca126u40eil72712962629~ +25 -0
  159. package/.cache/replit/__replit_disk_meta.json +1 -0
  160. package/.cache/replit/modules.stamp +1 -0
  161. package/.cache/replit/nix/env.json +1 -0
  162. package/.config/configstore/update-notifier-npm.json +4 -0
  163. package/.config/configstore/update-notifier-npm.json.1735545094 +4 -0
  164. package/.dgp6eb93xl2x596098025~ +5 -0
  165. package/.dt76v30bgxid1504458947~ +5 -0
  166. package/.et24j4lehts32381929645~ +29 -0
  167. package/.ghykqjn6pghg2875264678~ +33 -0
  168. package/.grx9k0extf94146883008~ +29 -0
  169. package/.gux3rhukrcmn2666218860~ +5 -0
  170. package/.isj3jlyssx6y1680244526~ +37 -0
  171. package/.jr2rr5a8v1tw3256168764~ +21 -0
  172. package/.k9zij9xq3h131829152885~ +5 -0
  173. package/.kil9zzaqa3ka1191205286~ +37 -0
  174. package/.l3ide36lsapb2515148677~ +5 -0
  175. package/.n16io4nx7f9u101832020~ +33 -0
  176. package/.nn5adaquhwy41458803698~ +5 -0
  177. package/.oyhypgzycjpd994587770~ +37 -0
  178. package/.pble24uslqbm3531775466~ +26 -0
  179. package/.pj2w9uxt6fkw2061708353~ +37 -0
  180. package/.replit +89 -0
  181. package/.rgv4lo0hecy43166353734~ +71 -0
  182. package/.sovvu0ueqokm1614882100~ +21 -0
  183. package/.szl0rbwc3qx94179387562~ +5 -0
  184. package/.szmyq20g8u531949012841~ +5 -0
  185. package/.t9ho5f9tjrax896985360~ +5 -0
  186. package/.ualnknn1l9me1462267014~ +31 -0
  187. package/.upm/store.json +1 -0
  188. package/.vkhjxcqjfuv2344307797~ +5 -0
  189. package/.vyjgambo1ulw3639485301~ +23 -0
  190. package/.wcmsprsin5al1424678112~ +22 -0
  191. package/.xm9npv7mieg13973976634~ +1 -0
  192. package/.xxwo4f5gdyng2820846105~ +5 -0
  193. package/.y9t15i4w1cht922899734~ +5 -0
  194. package/.ynmp6mhs4g1j490432928~ +34 -0
  195. package/.yxpl8q5uzvj62002873953~ +2 -0
  196. package/CountTime.json +1 -0
  197. package/Extra/ExtraAddons.js +78 -0
  198. package/Extra/ExtraFindUID.js +60 -0
  199. package/Extra/ExtraGetThread.js +118 -0
  200. package/Extra/ExtraTranslate.js +62 -0
  201. package/Extra/ExtraUptimeRobot.js +59 -0
  202. package/Extra/Html/Classic/script.js +231 -0
  203. package/Extra/Html/Classic/style.css +8 -0
  204. package/Extra/PM2/ecosystem.config.js +23 -0
  205. package/Extra/Security/Index.js +174 -0
  206. package/Extra/Security/Step_1.js +15 -0
  207. package/Extra/Security/Step_2.js +23 -0
  208. package/Extra/Security/Step_3.js +23 -0
  209. package/Extra/Src/History.js +115 -0
  210. package/Extra/Src/Last-Run.js +65 -0
  211. package/Extra/Src/Premium.js +84 -0
  212. package/Extra/Src/SecurityCheck.js +2 -0
  213. package/Func/AcceptAgreement.js +32 -0
  214. package/Func/ClearCache.js +63 -0
  215. package/Func/ReportV1.js +54 -0
  216. package/Language/index.json +176 -0
  217. package/OldSecurity.js +100 -0
  218. package/README.md +122 -3
  219. package/Settings/Database.js +21 -0
  220. package/Settings/Location.js +60 -0
  221. package/Settings/Location.json +24 -0
  222. package/Settings/Settings.js +60 -0
  223. package/StateCrypt.js +98 -0
  224. package/broadcast.js +38 -0
  225. package/index.js +1327 -0
  226. package/logger.js +65 -0
  227. package/package.json +87 -3
  228. package/replit.nix +8 -0
  229. package/src/K2IMG.js +8 -0
  230. package/src/Premium.js +30 -0
  231. package/src/Screenshot.js +77 -0
  232. package/src/T2S.js +8 -0
  233. package/src/addExternalModule.js +16 -0
  234. package/src/addUserToGroup.js +79 -0
  235. package/src/changeAdminStatus.js +79 -0
  236. package/src/changeArchivedStatus.js +41 -0
  237. package/src/changeAvt.js +85 -0
  238. package/src/changeBio.js +65 -0
  239. package/src/changeBlockedStatus.js +36 -0
  240. package/src/changeGroupImage.js +106 -0
  241. package/src/changeNickname.js +45 -0
  242. package/src/changeThreadColor.js +62 -0
  243. package/src/changeThreadEmoji.js +42 -0
  244. package/src/createNewGroup.js +70 -0
  245. package/src/createPoll.js +60 -0
  246. package/src/deleteMessage.js +45 -0
  247. package/src/deleteThread.js +43 -0
  248. package/src/desktop.ini +2 -0
  249. package/src/forwardAttachment.js +48 -0
  250. package/src/getAccessToken.js +32 -0
  251. package/src/getCurrentUserID.js +7 -0
  252. package/src/getEmojiUrl.js +27 -0
  253. package/src/getFriendsList.js +73 -0
  254. package/src/getMessage.js +80 -0
  255. package/src/getThreadHistory.js +537 -0
  256. package/src/getThreadInfo.js +346 -0
  257. package/src/getThreadList.js +213 -0
  258. package/src/getThreadMain.js +219 -0
  259. package/src/getThreadPictures.js +59 -0
  260. package/src/getUID.js +59 -0
  261. package/src/getUserID.js +62 -0
  262. package/src/getUserInfo.js +129 -0
  263. package/src/getUserInfoMain.js +65 -0
  264. package/src/getUserInfoV2.js +35 -0
  265. package/src/getUserInfoV3.js +63 -0
  266. package/src/getUserInfoV4.js +55 -0
  267. package/src/getUserInfoV5.js +61 -0
  268. package/src/handleFriendRequest.js +46 -0
  269. package/src/handleMessageRequest.js +49 -0
  270. package/src/httpGet.js +49 -0
  271. package/src/httpPost.js +48 -0
  272. package/src/httpPostFormData.js +41 -0
  273. package/src/listenMqtt.js +725 -0
  274. package/src/logout.js +68 -0
  275. package/src/markAsDelivered.js +48 -0
  276. package/src/markAsRead.js +70 -0
  277. package/src/markAsReadAll.js +43 -0
  278. package/src/markAsSeen.js +51 -0
  279. package/src/muteThread.js +47 -0
  280. package/src/removeUserFromGroup.js +49 -0
  281. package/src/resolvePhotoUrl.js +37 -0
  282. package/src/searchForThread.js +43 -0
  283. package/src/sendMessage.js +334 -0
  284. package/src/sendTypingIndicator.js +80 -0
  285. package/src/setMessageReaction.js +109 -0
  286. package/src/setPostReaction.js +102 -0
  287. package/src/setTitle.js +74 -0
  288. package/src/threadColors.js +39 -0
  289. package/src/unfriend.js +43 -0
  290. package/src/unsendMessage.js +40 -0
  291. package/test/data/shareAttach.js +146 -0
  292. package/test/data/something.mov +0 -0
  293. package/test/data/test.png +0 -0
  294. package/test/data/test.txt +7 -0
  295. package/test/example-config.json +18 -0
  296. package/test/test-page.js +140 -0
  297. package/test/test.js +385 -0
  298. package/test/testv2.js +3 -0
  299. package/utils.js +1648 -0
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('sortedLastIndex', require('../sortedLastIndex'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,44 @@
1
+ /** Used to compose unicode character classes. */
2
+ var rsAstralRange = '\\ud800-\\udfff',
3
+ rsComboMarksRange = '\\u0300-\\u036f',
4
+ reComboHalfMarksRange = '\\ufe20-\\ufe2f',
5
+ rsComboSymbolsRange = '\\u20d0-\\u20ff',
6
+ rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
7
+ rsVarRange = '\\ufe0e\\ufe0f';
8
+
9
+ /** Used to compose unicode capture groups. */
10
+ var rsAstral = '[' + rsAstralRange + ']',
11
+ rsCombo = '[' + rsComboRange + ']',
12
+ rsFitz = '\\ud83c[\\udffb-\\udfff]',
13
+ rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
14
+ rsNonAstral = '[^' + rsAstralRange + ']',
15
+ rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
16
+ rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
17
+ rsZWJ = '\\u200d';
18
+
19
+ /** Used to compose unicode regexes. */
20
+ var reOptMod = rsModifier + '?',
21
+ rsOptVar = '[' + rsVarRange + ']?',
22
+ rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
23
+ rsSeq = rsOptVar + reOptMod + rsOptJoin,
24
+ rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
25
+
26
+ /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
27
+ var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
28
+
29
+ /**
30
+ * Gets the size of a Unicode `string`.
31
+ *
32
+ * @private
33
+ * @param {string} string The string inspect.
34
+ * @returns {number} Returns the string size.
35
+ */
36
+ function unicodeSize(string) {
37
+ var result = reUnicode.lastIndex = 0;
38
+ while (reUnicode.test(string)) {
39
+ ++result;
40
+ }
41
+ return result;
42
+ }
43
+
44
+ module.exports = unicodeSize;
@@ -0,0 +1,48 @@
1
+ var LazyWrapper = require('./_LazyWrapper'),
2
+ LodashWrapper = require('./_LodashWrapper'),
3
+ baseAt = require('./_baseAt'),
4
+ flatRest = require('./_flatRest'),
5
+ isIndex = require('./_isIndex'),
6
+ thru = require('./thru');
7
+
8
+ /**
9
+ * This method is the wrapper version of `_.at`.
10
+ *
11
+ * @name at
12
+ * @memberOf _
13
+ * @since 1.0.0
14
+ * @category Seq
15
+ * @param {...(string|string[])} [paths] The property paths to pick.
16
+ * @returns {Object} Returns the new `lodash` wrapper instance.
17
+ * @example
18
+ *
19
+ * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
20
+ *
21
+ * _(object).at(['a[0].b.c', 'a[1]']).value();
22
+ * // => [3, 4]
23
+ */
24
+ var wrapperAt = flatRest(function(paths) {
25
+ var length = paths.length,
26
+ start = length ? paths[0] : 0,
27
+ value = this.__wrapped__,
28
+ interceptor = function(object) { return baseAt(object, paths); };
29
+
30
+ if (length > 1 || this.__actions__.length ||
31
+ !(value instanceof LazyWrapper) || !isIndex(start)) {
32
+ return this.thru(interceptor);
33
+ }
34
+ value = value.slice(start, +start + (length ? 1 : 0));
35
+ value.__actions__.push({
36
+ 'func': thru,
37
+ 'args': [interceptor],
38
+ 'thisArg': undefined
39
+ });
40
+ return new LodashWrapper(value, this.__chain__).thru(function(array) {
41
+ if (length && !array.length) {
42
+ array.push(undefined);
43
+ }
44
+ return array;
45
+ });
46
+ });
47
+
48
+ module.exports = wrapperAt;
@@ -0,0 +1,30 @@
1
+ var createRelationalOperation = require('./_createRelationalOperation');
2
+
3
+ /**
4
+ * Checks if `value` is greater than or equal to `other`.
5
+ *
6
+ * @static
7
+ * @memberOf _
8
+ * @since 3.9.0
9
+ * @category Lang
10
+ * @param {*} value The value to compare.
11
+ * @param {*} other The other value to compare.
12
+ * @returns {boolean} Returns `true` if `value` is greater than or equal to
13
+ * `other`, else `false`.
14
+ * @see _.lte
15
+ * @example
16
+ *
17
+ * _.gte(3, 1);
18
+ * // => true
19
+ *
20
+ * _.gte(3, 3);
21
+ * // => true
22
+ *
23
+ * _.gte(1, 3);
24
+ * // => false
25
+ */
26
+ var gte = createRelationalOperation(function(value, other) {
27
+ return value >= other;
28
+ });
29
+
30
+ module.exports = gte;
@@ -0,0 +1,21 @@
1
+ /** Error message constants. */
2
+ var FUNC_ERROR_TEXT = 'Expected a function';
3
+
4
+ /**
5
+ * The base implementation of `_.delay` and `_.defer` which accepts `args`
6
+ * to provide to `func`.
7
+ *
8
+ * @private
9
+ * @param {Function} func The function to delay.
10
+ * @param {number} wait The number of milliseconds to delay invocation.
11
+ * @param {Array} args The arguments to provide to `func`.
12
+ * @returns {number|Object} Returns the timer id or timeout object.
13
+ */
14
+ function baseDelay(func, wait, args) {
15
+ if (typeof func != 'function') {
16
+ throw new TypeError(FUNC_ERROR_TEXT);
17
+ }
18
+ return setTimeout(function() { func.apply(undefined, args); }, wait);
19
+ }
20
+
21
+ module.exports = baseDelay;
@@ -0,0 +1 @@
1
+ module.exports = require('./assignIn');
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('kebabCase', require('../kebabCase'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1 @@
1
+ module.exports = require('./assignInWith');
@@ -0,0 +1,2 @@
1
+ var convert = require('./convert');
2
+ module.exports = convert(require('../number'));
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('toPlainObject', require('../toPlainObject'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,45 @@
1
+ var baseIteratee = require('./_baseIteratee'),
2
+ baseWhile = require('./_baseWhile');
3
+
4
+ /**
5
+ * Creates a slice of `array` excluding elements dropped from the beginning.
6
+ * Elements are dropped until `predicate` returns falsey. The predicate is
7
+ * invoked with three arguments: (value, index, array).
8
+ *
9
+ * @static
10
+ * @memberOf _
11
+ * @since 3.0.0
12
+ * @category Array
13
+ * @param {Array} array The array to query.
14
+ * @param {Function} [predicate=_.identity] The function invoked per iteration.
15
+ * @returns {Array} Returns the slice of `array`.
16
+ * @example
17
+ *
18
+ * var users = [
19
+ * { 'user': 'barney', 'active': false },
20
+ * { 'user': 'fred', 'active': false },
21
+ * { 'user': 'pebbles', 'active': true }
22
+ * ];
23
+ *
24
+ * _.dropWhile(users, function(o) { return !o.active; });
25
+ * // => objects for ['pebbles']
26
+ *
27
+ * // The `_.matches` iteratee shorthand.
28
+ * _.dropWhile(users, { 'user': 'barney', 'active': false });
29
+ * // => objects for ['fred', 'pebbles']
30
+ *
31
+ * // The `_.matchesProperty` iteratee shorthand.
32
+ * _.dropWhile(users, ['active', false]);
33
+ * // => objects for ['pebbles']
34
+ *
35
+ * // The `_.property` iteratee shorthand.
36
+ * _.dropWhile(users, 'active');
37
+ * // => objects for ['barney', 'fred', 'pebbles']
38
+ */
39
+ function dropWhile(array, predicate) {
40
+ return (array && array.length)
41
+ ? baseWhile(array, baseIteratee(predicate, 3), true)
42
+ : [];
43
+ }
44
+
45
+ module.exports = dropWhile;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('wrapperAt', require('../wrapperAt'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('flow', require('../flow'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('invertBy', require('../invertBy'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('join', require('../join'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * A specialized version of `_.forEach` for arrays without support for
3
+ * iteratee shorthands.
4
+ *
5
+ * @private
6
+ * @param {Array} [array] The array to iterate over.
7
+ * @param {Function} iteratee The function invoked per iteration.
8
+ * @returns {Array} Returns `array`.
9
+ */
10
+ function arrayEach(array, iteratee) {
11
+ var index = -1,
12
+ length = array == null ? 0 : array.length;
13
+
14
+ while (++index < length) {
15
+ if (iteratee(array[index], index, array) === false) {
16
+ break;
17
+ }
18
+ }
19
+ return array;
20
+ }
21
+
22
+ module.exports = arrayEach;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('isNative', require('../isNative'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('rearg', require('../rearg'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Converts `map` to its key-value pairs.
3
+ *
4
+ * @private
5
+ * @param {Object} map The map to convert.
6
+ * @returns {Array} Returns the key-value pairs.
7
+ */
8
+ function mapToArray(map) {
9
+ var index = -1,
10
+ result = Array(map.size);
11
+
12
+ map.forEach(function(value, key) {
13
+ result[++index] = [key, value];
14
+ });
15
+ return result;
16
+ }
17
+
18
+ module.exports = mapToArray;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('invokeArgsMap', require('../invokeMap'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('eq', require('../eq'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,28 @@
1
+ var getTag = require('./_getTag'),
2
+ isObjectLike = require('./isObjectLike');
3
+
4
+ /** `Object#toString` result references. */
5
+ var weakMapTag = '[object WeakMap]';
6
+
7
+ /**
8
+ * Checks if `value` is classified as a `WeakMap` object.
9
+ *
10
+ * @static
11
+ * @memberOf _
12
+ * @since 4.3.0
13
+ * @category Lang
14
+ * @param {*} value The value to check.
15
+ * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.
16
+ * @example
17
+ *
18
+ * _.isWeakMap(new WeakMap);
19
+ * // => true
20
+ *
21
+ * _.isWeakMap(new Map);
22
+ * // => false
23
+ */
24
+ function isWeakMap(value) {
25
+ return isObjectLike(value) && getTag(value) == weakMapTag;
26
+ }
27
+
28
+ module.exports = isWeakMap;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('assignInAll', require('../assignIn'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('isSymbol', require('../isSymbol'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('inRange', require('../inRange'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1 @@
1
+ module.exports = require('./conformsTo');
@@ -0,0 +1 @@
1
+ module.exports = require('./get');
@@ -0,0 +1 @@
1
+ module.exports = require('./map');
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('keyBy', require('../keyBy'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('valueOf', require('../valueOf'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,17 @@
1
+ var identity = require('./identity'),
2
+ overRest = require('./_overRest'),
3
+ setToString = require('./_setToString');
4
+
5
+ /**
6
+ * The base implementation of `_.rest` which doesn't validate or coerce arguments.
7
+ *
8
+ * @private
9
+ * @param {Function} func The function to apply a rest parameter to.
10
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
11
+ * @returns {Function} Returns the new function.
12
+ */
13
+ function baseRest(func, start) {
14
+ return setToString(overRest(func, start, identity), func + '');
15
+ }
16
+
17
+ module.exports = baseRest;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('isFunction', require('../isFunction'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('chain', require('../chain'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('gte', require('../gte'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('unzip', require('../unzip'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('negate', require('../negate'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('multiply', require('../multiply'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('defaultsDeepAll', require('../defaultsDeep'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,43 @@
1
+ var escapeHtmlChar = require('./_escapeHtmlChar'),
2
+ toString = require('./toString');
3
+
4
+ /** Used to match HTML entities and HTML characters. */
5
+ var reUnescapedHtml = /[&<>"']/g,
6
+ reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
7
+
8
+ /**
9
+ * Converts the characters "&", "<", ">", '"', and "'" in `string` to their
10
+ * corresponding HTML entities.
11
+ *
12
+ * **Note:** No other characters are escaped. To escape additional
13
+ * characters use a third-party library like [_he_](https://mths.be/he).
14
+ *
15
+ * Though the ">" character is escaped for symmetry, characters like
16
+ * ">" and "/" don't need escaping in HTML and have no special meaning
17
+ * unless they're part of a tag or unquoted attribute value. See
18
+ * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
19
+ * (under "semi-related fun fact") for more details.
20
+ *
21
+ * When working with HTML you should always
22
+ * [quote attribute values](http://wonko.com/post/html-escaping) to reduce
23
+ * XSS vectors.
24
+ *
25
+ * @static
26
+ * @since 0.1.0
27
+ * @memberOf _
28
+ * @category String
29
+ * @param {string} [string=''] The string to escape.
30
+ * @returns {string} Returns the escaped string.
31
+ * @example
32
+ *
33
+ * _.escape('fred, barney, & pebbles');
34
+ * // => 'fred, barney, &amp; pebbles'
35
+ */
36
+ function escape(string) {
37
+ string = toString(string);
38
+ return (string && reHasUnescapedHtml.test(string))
39
+ ? string.replace(reUnescapedHtml, escapeHtmlChar)
40
+ : string;
41
+ }
42
+
43
+ module.exports = escape;
@@ -0,0 +1,33 @@
1
+ var LodashWrapper = require('./_LodashWrapper');
2
+
3
+ /**
4
+ * Executes the chain sequence and returns the wrapped result.
5
+ *
6
+ * @name commit
7
+ * @memberOf _
8
+ * @since 3.2.0
9
+ * @category Seq
10
+ * @returns {Object} Returns the new `lodash` wrapper instance.
11
+ * @example
12
+ *
13
+ * var array = [1, 2];
14
+ * var wrapped = _(array).push(3);
15
+ *
16
+ * console.log(array);
17
+ * // => [1, 2]
18
+ *
19
+ * wrapped = wrapped.commit();
20
+ * console.log(array);
21
+ * // => [1, 2, 3]
22
+ *
23
+ * wrapped.last();
24
+ * // => 3
25
+ *
26
+ * console.log(array);
27
+ * // => [1, 2, 3]
28
+ */
29
+ function wrapperCommit() {
30
+ return new LodashWrapper(this.value(), this.__chain__);
31
+ }
32
+
33
+ module.exports = wrapperCommit;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('toJSON', require('../toJSON'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('flowRight', require('../flowRight'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('chunk', require('../chunk'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('compact', require('../compact'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('size', require('../size'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,22 @@
1
+ var baseCreate = require('./_baseCreate'),
2
+ baseLodash = require('./_baseLodash');
3
+
4
+ /**
5
+ * The base constructor for creating `lodash` wrapper objects.
6
+ *
7
+ * @private
8
+ * @param {*} value The value to wrap.
9
+ * @param {boolean} [chainAll] Enable explicit method chain sequences.
10
+ */
11
+ function LodashWrapper(value, chainAll) {
12
+ this.__wrapped__ = value;
13
+ this.__actions__ = [];
14
+ this.__chain__ = !!chainAll;
15
+ this.__index__ = 0;
16
+ this.__values__ = undefined;
17
+ }
18
+
19
+ LodashWrapper.prototype = baseCreate(baseLodash.prototype);
20
+ LodashWrapper.prototype.constructor = LodashWrapper;
21
+
22
+ module.exports = LodashWrapper;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('random', require('../random'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1 @@
1
+ module.exports = require('./isMatch');
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('max', require('../max'), require('./_falseOptions'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;
@@ -0,0 +1,5 @@
1
+ var convert = require('./convert'),
2
+ func = convert('mapKeys', require('../mapKeys'));
3
+
4
+ func.placeholder = require('./placeholder');
5
+ module.exports = func;