javascript-time-ago 2.5.11 → 2.5.12

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 (433) hide show
  1. package/bundle/javascript-time-ago.js +1 -1
  2. package/bundle/javascript-time-ago.js.map +1 -1
  3. package/bundle/javascript-time-ago.min.js +1 -1
  4. package/bundle/javascript-time-ago.min.js.map +1 -1
  5. package/commonjs/LocaleDataStore.js +2 -5
  6. package/commonjs/LocaleDataStore.js.map +1 -1
  7. package/commonjs/PropTypes.js +12 -12
  8. package/commonjs/PropTypes.js.map +1 -1
  9. package/commonjs/TimeAgo.js +135 -190
  10. package/commonjs/TimeAgo.js.map +1 -1
  11. package/commonjs/TimeAgo.test.js +124 -130
  12. package/commonjs/TimeAgo.test.js.map +1 -1
  13. package/commonjs/cache.js +7 -25
  14. package/commonjs/cache.js.map +1 -1
  15. package/commonjs/cache.test.js +1 -3
  16. package/commonjs/cache.test.js.map +1 -1
  17. package/commonjs/isStyleObject.js +9 -9
  18. package/commonjs/isStyleObject.js.map +1 -1
  19. package/commonjs/isStyleObject.test.js +1 -3
  20. package/commonjs/isStyleObject.test.js.map +1 -1
  21. package/commonjs/locale.js +6 -19
  22. package/commonjs/locale.js.map +1 -1
  23. package/commonjs/locale.test.js +2 -11
  24. package/commonjs/locale.test.js.map +1 -1
  25. package/commonjs/round.js +2 -5
  26. package/commonjs/round.js.map +1 -1
  27. package/commonjs/steps/approximate.js +1 -4
  28. package/commonjs/steps/approximate.js.map +1 -1
  29. package/commonjs/steps/approximate.test.js +1 -6
  30. package/commonjs/steps/approximate.test.js.map +1 -1
  31. package/commonjs/steps/getStep.js +36 -53
  32. package/commonjs/steps/getStep.js.map +1 -1
  33. package/commonjs/steps/getStep.test.js +7 -7
  34. package/commonjs/steps/getStep.test.js.map +1 -1
  35. package/commonjs/steps/getStepDenominator.js +2 -5
  36. package/commonjs/steps/getStepDenominator.js.map +1 -1
  37. package/commonjs/steps/getStepDenominator.test.js +1 -3
  38. package/commonjs/steps/getStepDenominator.test.js.map +1 -1
  39. package/commonjs/steps/getStepMinTime.js +17 -32
  40. package/commonjs/steps/getStepMinTime.js.map +1 -1
  41. package/commonjs/steps/getStepMinTime.test.js +1 -3
  42. package/commonjs/steps/getStepMinTime.test.js.map +1 -1
  43. package/commonjs/steps/getTimeToNextUpdate.js +19 -41
  44. package/commonjs/steps/getTimeToNextUpdate.js.map +1 -1
  45. package/commonjs/steps/getTimeToNextUpdate.test.js +29 -25
  46. package/commonjs/steps/getTimeToNextUpdate.test.js.map +1 -1
  47. package/commonjs/steps/getTimeToNextUpdateForUnit.js +3 -12
  48. package/commonjs/steps/getTimeToNextUpdateForUnit.js.map +1 -1
  49. package/commonjs/steps/getTimeToNextUpdateForUnit.test.js +1 -7
  50. package/commonjs/steps/getTimeToNextUpdateForUnit.test.js.map +1 -1
  51. package/commonjs/steps/helpers.js +1 -2
  52. package/commonjs/steps/helpers.js.map +1 -1
  53. package/commonjs/steps/helpers.test.js +0 -1
  54. package/commonjs/steps/helpers.test.js.map +1 -1
  55. package/commonjs/steps/index.js +1 -6
  56. package/commonjs/steps/index.js.map +1 -1
  57. package/commonjs/steps/renameLegacyProperties.js +6 -14
  58. package/commonjs/steps/renameLegacyProperties.js.map +1 -1
  59. package/commonjs/steps/renameLegacyProperties.test.js +1 -3
  60. package/commonjs/steps/renameLegacyProperties.test.js.map +1 -1
  61. package/commonjs/steps/round.js +1 -2
  62. package/commonjs/steps/round.js.map +1 -1
  63. package/commonjs/steps/round.test.js +1 -7
  64. package/commonjs/steps/round.test.js.map +1 -1
  65. package/commonjs/steps/units.js +10 -21
  66. package/commonjs/steps/units.js.map +1 -1
  67. package/commonjs/style/approximate.js +2 -6
  68. package/commonjs/style/approximate.js.map +1 -1
  69. package/commonjs/style/approximateTime.js +2 -6
  70. package/commonjs/style/approximateTime.js.map +1 -1
  71. package/commonjs/style/approximateTime.test.js +116 -75
  72. package/commonjs/style/approximateTime.test.js.map +1 -1
  73. package/commonjs/style/getStyleByName.js +3 -29
  74. package/commonjs/style/getStyleByName.js.map +1 -1
  75. package/commonjs/style/mini.js +9 -6
  76. package/commonjs/style/mini.js.map +1 -1
  77. package/commonjs/style/mini.test.js +15 -25
  78. package/commonjs/style/mini.test.js.map +1 -1
  79. package/commonjs/style/miniMinute.js +8 -13
  80. package/commonjs/style/miniMinute.js.map +1 -1
  81. package/commonjs/style/miniMinute.test.js +11 -17
  82. package/commonjs/style/miniMinute.test.js.map +1 -1
  83. package/commonjs/style/miniMinuteNow.js +8 -13
  84. package/commonjs/style/miniMinuteNow.js.map +1 -1
  85. package/commonjs/style/miniMinuteNow.test.js +11 -17
  86. package/commonjs/style/miniMinuteNow.test.js.map +1 -1
  87. package/commonjs/style/miniNow.js +8 -13
  88. package/commonjs/style/miniNow.js.map +1 -1
  89. package/commonjs/style/miniNow.test.js +11 -17
  90. package/commonjs/style/miniNow.test.js.map +1 -1
  91. package/commonjs/style/renameLegacyProperties.js +7 -13
  92. package/commonjs/style/renameLegacyProperties.js.map +1 -1
  93. package/commonjs/style/renameLegacyProperties.test.js +1 -4
  94. package/commonjs/style/renameLegacyProperties.test.js.map +1 -1
  95. package/commonjs/style/round.js +2 -6
  96. package/commonjs/style/round.js.map +1 -1
  97. package/commonjs/style/round.test.js +51 -67
  98. package/commonjs/style/round.test.js.map +1 -1
  99. package/commonjs/style/roundMinute.js +8 -13
  100. package/commonjs/style/roundMinute.js.map +1 -1
  101. package/commonjs/style/roundMinute.test.js +20 -27
  102. package/commonjs/style/roundMinute.test.js.map +1 -1
  103. package/commonjs/style/twitter.js +34 -38
  104. package/commonjs/style/twitter.js.map +1 -1
  105. package/commonjs/style/twitter.test.js +49 -55
  106. package/commonjs/style/twitter.test.js.map +1 -1
  107. package/commonjs/style/twitterFirstMinute.js +10 -15
  108. package/commonjs/style/twitterFirstMinute.js.map +1 -1
  109. package/commonjs/style/twitterFirstMinute.test.js +16 -23
  110. package/commonjs/style/twitterFirstMinute.test.js.map +1 -1
  111. package/commonjs/style/twitterMinute.js +8 -13
  112. package/commonjs/style/twitterMinute.js.map +1 -1
  113. package/commonjs/style/twitterMinute.test.js +20 -25
  114. package/commonjs/style/twitterMinute.test.js.map +1 -1
  115. package/commonjs/style/twitterMinuteNow.js +8 -13
  116. package/commonjs/style/twitterMinuteNow.js.map +1 -1
  117. package/commonjs/style/twitterMinuteNow.test.js +20 -25
  118. package/commonjs/style/twitterMinuteNow.test.js.map +1 -1
  119. package/commonjs/style/twitterNow.js +8 -13
  120. package/commonjs/style/twitterNow.js.map +1 -1
  121. package/commonjs/style/twitterNow.test.js +18 -24
  122. package/commonjs/style/twitterNow.test.js.map +1 -1
  123. package/load-all-locales/index.cjs +32 -0
  124. package/load-all-locales/index.cjs.js +32 -0
  125. package/load-all-locales/index.js +64 -0
  126. package/locale/ak/package.json +16 -0
  127. package/locale/ak.json +267 -0
  128. package/locale/ak.json.d.ts +4 -0
  129. package/locale/ak.json.js +267 -0
  130. package/locale/bal-Latn/package.json +16 -0
  131. package/locale/bal-Latn.json +240 -0
  132. package/locale/bal-Latn.json.d.ts +4 -0
  133. package/locale/bal-Latn.json.js +240 -0
  134. package/locale/be-tarask/package.json +16 -0
  135. package/locale/be-tarask.json +259 -0
  136. package/locale/be-tarask.json.d.ts +4 -0
  137. package/locale/be-tarask.json.js +259 -0
  138. package/locale/blo/package.json +16 -0
  139. package/locale/blo.json +159 -0
  140. package/locale/blo.json.d.ts +4 -0
  141. package/locale/blo.json.js +159 -0
  142. package/locale/bn.json +5 -2
  143. package/locale/bn.json.js +5 -2
  144. package/locale/bs.json +8 -2
  145. package/locale/bs.json.js +8 -2
  146. package/locale/ccp.json +2 -8
  147. package/locale/ccp.json.js +2 -8
  148. package/locale/csw/package.json +16 -0
  149. package/locale/csw.json +180 -0
  150. package/locale/csw.json.d.ts +4 -0
  151. package/locale/csw.json.js +180 -0
  152. package/locale/cy.json +6 -12
  153. package/locale/cy.json.js +6 -12
  154. package/locale/doi/package.json +16 -0
  155. package/locale/doi.json +159 -0
  156. package/locale/doi.json.d.ts +4 -0
  157. package/locale/doi.json.js +159 -0
  158. package/locale/en-AU.json +12 -12
  159. package/locale/en-AU.json.js +12 -12
  160. package/locale/en-CZ/package.json +16 -0
  161. package/locale/en-CZ.json +219 -0
  162. package/locale/en-CZ.json.d.ts +4 -0
  163. package/locale/en-CZ.json.js +219 -0
  164. package/locale/en-ES/package.json +16 -0
  165. package/locale/en-ES.json +219 -0
  166. package/locale/en-ES.json.d.ts +4 -0
  167. package/locale/en-ES.json.js +219 -0
  168. package/locale/en-FR/package.json +16 -0
  169. package/locale/en-FR.json +219 -0
  170. package/locale/en-FR.json.d.ts +4 -0
  171. package/locale/en-FR.json.js +219 -0
  172. package/locale/en-GS/package.json +16 -0
  173. package/locale/en-GS.json +219 -0
  174. package/locale/en-GS.json.d.ts +4 -0
  175. package/locale/en-GS.json.js +219 -0
  176. package/locale/en-HU/package.json +16 -0
  177. package/locale/en-HU.json +219 -0
  178. package/locale/en-HU.json.d.ts +4 -0
  179. package/locale/en-HU.json.js +219 -0
  180. package/locale/en-ID/package.json +16 -0
  181. package/locale/en-ID.json +219 -0
  182. package/locale/en-ID.json.d.ts +4 -0
  183. package/locale/en-ID.json.js +219 -0
  184. package/locale/en-IT/package.json +16 -0
  185. package/locale/en-IT.json +219 -0
  186. package/locale/en-IT.json.d.ts +4 -0
  187. package/locale/en-IT.json.js +219 -0
  188. package/locale/en-NO/package.json +16 -0
  189. package/locale/en-NO.json +219 -0
  190. package/locale/en-NO.json.d.ts +4 -0
  191. package/locale/en-NO.json.js +219 -0
  192. package/locale/en-PL/package.json +16 -0
  193. package/locale/en-PL.json +219 -0
  194. package/locale/en-PL.json.d.ts +4 -0
  195. package/locale/en-PL.json.js +219 -0
  196. package/locale/en-PT/package.json +16 -0
  197. package/locale/en-PT.json +219 -0
  198. package/locale/en-PT.json.d.ts +4 -0
  199. package/locale/en-PT.json.js +219 -0
  200. package/locale/en-RO/package.json +16 -0
  201. package/locale/en-RO.json +219 -0
  202. package/locale/en-RO.json.d.ts +4 -0
  203. package/locale/en-RO.json.js +219 -0
  204. package/locale/en-SK/package.json +16 -0
  205. package/locale/en-SK.json +219 -0
  206. package/locale/en-SK.json.d.ts +4 -0
  207. package/locale/en-SK.json.js +219 -0
  208. package/locale/es-MX.json +12 -9
  209. package/locale/es-MX.json.js +12 -9
  210. package/locale/es-SV.json +2 -2
  211. package/locale/es-SV.json.js +2 -2
  212. package/locale/eu.json +24 -24
  213. package/locale/eu.json.js +24 -24
  214. package/locale/ha.json +119 -65
  215. package/locale/ha.json.js +119 -65
  216. package/locale/he.json +0 -6
  217. package/locale/he.json.js +0 -6
  218. package/locale/hi-Latn.json +2 -2
  219. package/locale/hi-Latn.json.js +2 -2
  220. package/locale/ht/package.json +16 -0
  221. package/locale/ht.json +207 -0
  222. package/locale/ht.json.d.ts +4 -0
  223. package/locale/ht.json.js +207 -0
  224. package/locale/id.json +1 -1
  225. package/locale/id.json.js +1 -1
  226. package/locale/ie/package.json +16 -0
  227. package/locale/ie.json +159 -0
  228. package/locale/ie.json.d.ts +4 -0
  229. package/locale/ie.json.js +159 -0
  230. package/locale/ig.json +17 -17
  231. package/locale/ig.json.js +17 -17
  232. package/locale/ii/package.json +16 -0
  233. package/locale/ii.json +165 -0
  234. package/locale/ii.json.d.ts +4 -0
  235. package/locale/ii.json.js +165 -0
  236. package/locale/is.json +4 -1
  237. package/locale/is.json.js +4 -1
  238. package/locale/kaa/package.json +16 -0
  239. package/locale/kaa.json +159 -0
  240. package/locale/kaa.json.d.ts +4 -0
  241. package/locale/kaa.json.js +159 -0
  242. package/locale/kok-Latn/package.json +16 -0
  243. package/locale/kok-Latn.json +159 -0
  244. package/locale/kok-Latn.json.d.ts +4 -0
  245. package/locale/kok-Latn.json.js +159 -0
  246. package/locale/kok.json +8 -8
  247. package/locale/kok.json.js +8 -8
  248. package/locale/ks.json +9 -9
  249. package/locale/ks.json.js +9 -9
  250. package/locale/ku.json +55 -46
  251. package/locale/ku.json.js +55 -46
  252. package/locale/lld/package.json +16 -0
  253. package/locale/lld.json +291 -0
  254. package/locale/lld.json.d.ts +4 -0
  255. package/locale/lld.json.js +291 -0
  256. package/locale/mi.json +22 -22
  257. package/locale/mi.json.js +22 -22
  258. package/locale/ms-Arab/package.json +16 -0
  259. package/locale/ms-Arab.json +159 -0
  260. package/locale/ms-Arab.json.d.ts +4 -0
  261. package/locale/ms-Arab.json.js +159 -0
  262. package/locale/nb.json +2 -2
  263. package/locale/nb.json.js +2 -2
  264. package/locale/ne.json +1 -1
  265. package/locale/ne.json.js +1 -1
  266. package/locale/nn.json +4 -4
  267. package/locale/nn.json.js +4 -4
  268. package/locale/no.json +2 -2
  269. package/locale/no.json.js +2 -2
  270. package/locale/nqo/package.json +16 -0
  271. package/locale/nqo.json +159 -0
  272. package/locale/nqo.json.d.ts +4 -0
  273. package/locale/nqo.json.js +159 -0
  274. package/locale/om/package.json +16 -0
  275. package/locale/om.json +213 -0
  276. package/locale/om.json.d.ts +4 -0
  277. package/locale/om.json.js +213 -0
  278. package/locale/or.json +1 -1
  279. package/locale/or.json.js +1 -1
  280. package/locale/qu.json +46 -46
  281. package/locale/qu.json.js +46 -46
  282. package/locale/rhg/package.json +16 -0
  283. package/locale/rhg.json +159 -0
  284. package/locale/rhg.json.d.ts +4 -0
  285. package/locale/rhg.json.js +159 -0
  286. package/locale/sl.json +12 -12
  287. package/locale/sl.json.js +12 -12
  288. package/locale/sr-Cyrl-BA.json +2 -2
  289. package/locale/sr-Cyrl-BA.json.js +2 -2
  290. package/locale/sr-Latn-BA.json +2 -2
  291. package/locale/sr-Latn-BA.json.js +2 -2
  292. package/locale/sv.json +1 -1
  293. package/locale/sv.json.js +1 -1
  294. package/locale/syr/package.json +16 -0
  295. package/locale/syr.json +303 -0
  296. package/locale/syr.json.d.ts +4 -0
  297. package/locale/syr.json.js +303 -0
  298. package/locale/ti.json +6 -6
  299. package/locale/ti.json.js +6 -6
  300. package/locale/tn/package.json +16 -0
  301. package/locale/tn.json +159 -0
  302. package/locale/tn.json.d.ts +4 -0
  303. package/locale/tn.json.js +159 -0
  304. package/locale/to.json +26 -26
  305. package/locale/to.json.js +26 -26
  306. package/locale/uk.json +1 -1
  307. package/locale/uk.json.js +1 -1
  308. package/locale/ur-IN.json +9 -6
  309. package/locale/ur-IN.json.js +9 -6
  310. package/locale/vec/package.json +16 -0
  311. package/locale/vec.json +267 -0
  312. package/locale/vec.json.d.ts +4 -0
  313. package/locale/vec.json.js +267 -0
  314. package/locale/xnr/package.json +16 -0
  315. package/locale/xnr.json +159 -0
  316. package/locale/xnr.json.d.ts +4 -0
  317. package/locale/xnr.json.js +159 -0
  318. package/locale/yo-BJ.json +17 -17
  319. package/locale/yo-BJ.json.js +17 -17
  320. package/locale/yo.json +17 -17
  321. package/locale/yo.json.js +17 -17
  322. package/modules/LocaleDataStore.js +2 -3
  323. package/modules/LocaleDataStore.js.map +1 -1
  324. package/modules/PropTypes.js +11 -7
  325. package/modules/PropTypes.js.map +1 -1
  326. package/modules/TimeAgo.js +135 -174
  327. package/modules/TimeAgo.js.map +1 -1
  328. package/modules/TimeAgo.test.js +126 -115
  329. package/modules/TimeAgo.test.js.map +1 -1
  330. package/modules/cache.js +6 -22
  331. package/modules/cache.js.map +1 -1
  332. package/modules/cache.test.js.map +1 -1
  333. package/modules/isStyleObject.js +9 -7
  334. package/modules/isStyleObject.js.map +1 -1
  335. package/modules/isStyleObject.test.js.map +1 -1
  336. package/modules/locale.js +6 -16
  337. package/modules/locale.js.map +1 -1
  338. package/modules/locale.test.js +0 -4
  339. package/modules/locale.test.js.map +1 -1
  340. package/modules/round.js +2 -3
  341. package/modules/round.js.map +1 -1
  342. package/modules/steps/approximate.js +6 -2
  343. package/modules/steps/approximate.js.map +1 -1
  344. package/modules/steps/approximate.test.js +0 -2
  345. package/modules/steps/approximate.test.js.map +1 -1
  346. package/modules/steps/getStep.js +36 -48
  347. package/modules/steps/getStep.js.map +1 -1
  348. package/modules/steps/getStep.test.js +6 -2
  349. package/modules/steps/getStep.test.js.map +1 -1
  350. package/modules/steps/getStepDenominator.js +2 -3
  351. package/modules/steps/getStepDenominator.js.map +1 -1
  352. package/modules/steps/getStepDenominator.test.js.map +1 -1
  353. package/modules/steps/getStepMinTime.js +17 -29
  354. package/modules/steps/getStepMinTime.js.map +1 -1
  355. package/modules/steps/getStepMinTime.test.js.map +1 -1
  356. package/modules/steps/getTimeToNextUpdate.js +19 -31
  357. package/modules/steps/getTimeToNextUpdate.js.map +1 -1
  358. package/modules/steps/getTimeToNextUpdate.test.js +27 -18
  359. package/modules/steps/getTimeToNextUpdate.test.js.map +1 -1
  360. package/modules/steps/getTimeToNextUpdateForUnit.js +4 -10
  361. package/modules/steps/getTimeToNextUpdateForUnit.js.map +1 -1
  362. package/modules/steps/getTimeToNextUpdateForUnit.test.js +0 -4
  363. package/modules/steps/getTimeToNextUpdateForUnit.test.js.map +1 -1
  364. package/modules/steps/helpers.js +1 -1
  365. package/modules/steps/helpers.js.map +1 -1
  366. package/modules/steps/helpers.test.js.map +1 -1
  367. package/modules/steps/index.js +2 -1
  368. package/modules/steps/index.js.map +1 -1
  369. package/modules/steps/renameLegacyProperties.js +6 -13
  370. package/modules/steps/renameLegacyProperties.js.map +1 -1
  371. package/modules/steps/renameLegacyProperties.test.js.map +1 -1
  372. package/modules/steps/round.js.map +1 -1
  373. package/modules/steps/round.test.js +0 -3
  374. package/modules/steps/round.test.js.map +1 -1
  375. package/modules/steps/units.js +5 -9
  376. package/modules/steps/units.js.map +1 -1
  377. package/modules/style/approximate.js +5 -1
  378. package/modules/style/approximate.js.map +1 -1
  379. package/modules/style/approximateTime.js +6 -2
  380. package/modules/style/approximateTime.js.map +1 -1
  381. package/modules/style/approximateTime.test.js +115 -70
  382. package/modules/style/approximateTime.test.js.map +1 -1
  383. package/modules/style/getStyleByName.js +4 -17
  384. package/modules/style/getStyleByName.js.map +1 -1
  385. package/modules/style/mini.js +8 -4
  386. package/modules/style/mini.js.map +1 -1
  387. package/modules/style/mini.test.js +14 -20
  388. package/modules/style/mini.test.js.map +1 -1
  389. package/modules/style/miniMinute.js +6 -6
  390. package/modules/style/miniMinute.js.map +1 -1
  391. package/modules/style/miniMinute.test.js +10 -12
  392. package/modules/style/miniMinute.test.js.map +1 -1
  393. package/modules/style/miniMinuteNow.js +6 -6
  394. package/modules/style/miniMinuteNow.js.map +1 -1
  395. package/modules/style/miniMinuteNow.test.js +10 -12
  396. package/modules/style/miniMinuteNow.test.js.map +1 -1
  397. package/modules/style/miniNow.js +6 -6
  398. package/modules/style/miniNow.js.map +1 -1
  399. package/modules/style/miniNow.test.js +10 -12
  400. package/modules/style/miniNow.test.js.map +1 -1
  401. package/modules/style/renameLegacyProperties.js +8 -10
  402. package/modules/style/renameLegacyProperties.js.map +1 -1
  403. package/modules/style/renameLegacyProperties.test.js +0 -1
  404. package/modules/style/renameLegacyProperties.test.js.map +1 -1
  405. package/modules/style/round.js +3 -2
  406. package/modules/style/round.js.map +1 -1
  407. package/modules/style/round.test.js +50 -62
  408. package/modules/style/round.test.js.map +1 -1
  409. package/modules/style/roundMinute.js +8 -7
  410. package/modules/style/roundMinute.js.map +1 -1
  411. package/modules/style/roundMinute.test.js +19 -22
  412. package/modules/style/roundMinute.test.js.map +1 -1
  413. package/modules/style/twitter.js +35 -32
  414. package/modules/style/twitter.js.map +1 -1
  415. package/modules/style/twitter.test.js +48 -50
  416. package/modules/style/twitter.test.js.map +1 -1
  417. package/modules/style/twitterFirstMinute.js +8 -7
  418. package/modules/style/twitterFirstMinute.js.map +1 -1
  419. package/modules/style/twitterFirstMinute.test.js +15 -18
  420. package/modules/style/twitterFirstMinute.test.js.map +1 -1
  421. package/modules/style/twitterMinute.js +6 -6
  422. package/modules/style/twitterMinute.js.map +1 -1
  423. package/modules/style/twitterMinute.test.js +19 -20
  424. package/modules/style/twitterMinute.test.js.map +1 -1
  425. package/modules/style/twitterMinuteNow.js +6 -6
  426. package/modules/style/twitterMinuteNow.js.map +1 -1
  427. package/modules/style/twitterMinuteNow.test.js +19 -20
  428. package/modules/style/twitterMinuteNow.test.js.map +1 -1
  429. package/modules/style/twitterNow.js +6 -6
  430. package/modules/style/twitterNow.js.map +1 -1
  431. package/modules/style/twitterNow.test.js +17 -19
  432. package/modules/style/twitterNow.test.js.map +1 -1
  433. package/package.json +261 -4
package/locale/ii.json ADDED
@@ -0,0 +1,165 @@
1
+ {
2
+ "locale": "ii",
3
+ "long": {
4
+ "year": {
5
+ "previous": "ꀋꉊꄹꈎ",
6
+ "current": "ꀋꃋꎼꈎ",
7
+ "next": "ꑎꉐꄻꈎ",
8
+ "past": "-{0} y",
9
+ "future": "+{0} y"
10
+ },
11
+ "quarter": {
12
+ "previous": "last quarter",
13
+ "current": "this quarter",
14
+ "next": "next quarter",
15
+ "past": "-{0} Q",
16
+ "future": "+{0} Q"
17
+ },
18
+ "month": {
19
+ "previous": "ꂴꁮꆪ",
20
+ "current": "ꀋꃋꋋꁮꆪ",
21
+ "next": "ꊁꁮꆪ",
22
+ "past": "-{0} m",
23
+ "future": "+{0} m"
24
+ },
25
+ "week": {
26
+ "previous": "ꆏꊂꂴꂶꌠ",
27
+ "current": "ꀋꃋꋋꆏꊂ",
28
+ "next": "ꆏꊂꊁꂶꌠ",
29
+ "past": "-{0} w",
30
+ "future": "+{0} w"
31
+ },
32
+ "day": {
33
+ "previous": "ꀋꅔꉇ",
34
+ "previous-2": "ꎴꂿꋍꑍ",
35
+ "current": "ꀃꑍ",
36
+ "next": "ꃆꏂꑍ",
37
+ "next-2": "ꌕꀿꑍ",
38
+ "past": "-{0} d",
39
+ "future": "+{0} d"
40
+ },
41
+ "hour": {
42
+ "current": "this hour",
43
+ "past": "-{0} h",
44
+ "future": "+{0} h"
45
+ },
46
+ "minute": {
47
+ "current": "this minute",
48
+ "past": "-{0} min",
49
+ "future": "+{0} min"
50
+ },
51
+ "second": {
52
+ "current": "now",
53
+ "past": "-{0} s",
54
+ "future": "+{0} s"
55
+ }
56
+ },
57
+ "short": {
58
+ "year": {
59
+ "previous": "ꀋꉊꄹꈎ",
60
+ "current": "ꎼꈎ",
61
+ "next": "ꑎꉐꄻꈎ",
62
+ "past": "-{0} y",
63
+ "future": "+{0} y"
64
+ },
65
+ "quarter": {
66
+ "previous": "last quarter",
67
+ "current": "this quarter",
68
+ "next": "next quarter",
69
+ "past": "-{0} Q",
70
+ "future": "+{0} Q"
71
+ },
72
+ "month": {
73
+ "previous": "ꂴꁮꆪ",
74
+ "current": "ꀋꃋꋋꁮꆪ",
75
+ "next": "ꊁꁮꆪ",
76
+ "past": "-{0} m",
77
+ "future": "+{0} m"
78
+ },
79
+ "week": {
80
+ "previous": "ꆏꊂꂴꂶꌠ",
81
+ "current": "ꀋꃋꋋꆏꊂ",
82
+ "next": "ꆏꊂꊁꂶꌠ",
83
+ "past": "-{0} w",
84
+ "future": "+{0} w"
85
+ },
86
+ "day": {
87
+ "previous": "ꀋꅔꉇ",
88
+ "previous-2": "ꎴꂿꋍꑍ",
89
+ "current": "ꀃꑍ",
90
+ "next": "ꃆꏂꑍ",
91
+ "next-2": "ꌕꀿꑍ",
92
+ "past": "-{0} d",
93
+ "future": "+{0} d"
94
+ },
95
+ "hour": {
96
+ "current": "this hour",
97
+ "past": "-{0} h",
98
+ "future": "+{0} h"
99
+ },
100
+ "minute": {
101
+ "current": "this minute",
102
+ "past": "-{0} min",
103
+ "future": "+{0} min"
104
+ },
105
+ "second": {
106
+ "current": "now",
107
+ "past": "-{0} s",
108
+ "future": "+{0} s"
109
+ }
110
+ },
111
+ "narrow": {
112
+ "year": {
113
+ "previous": "ꀋꉊꄹꈎ",
114
+ "current": "ꎼꈎ",
115
+ "next": "ꑎꉐꄻꈎ",
116
+ "past": "-{0} y",
117
+ "future": "+{0} y"
118
+ },
119
+ "quarter": {
120
+ "previous": "last quarter",
121
+ "current": "this quarter",
122
+ "next": "next quarter",
123
+ "past": "-{0} Q",
124
+ "future": "+{0} Q"
125
+ },
126
+ "month": {
127
+ "previous": "ꂴꁮꆪ",
128
+ "current": "ꀋꃋꋋꁮꆪ",
129
+ "next": "ꊁꁮꆪ",
130
+ "past": "-{0} m",
131
+ "future": "+{0} m"
132
+ },
133
+ "week": {
134
+ "previous": "ꆏꊂꂴꂶꌠ",
135
+ "current": "ꀋꃋꋋꆏꊂ",
136
+ "next": "ꆏꊂꊁꂶꌠ",
137
+ "past": "-{0} w",
138
+ "future": "+{0} w"
139
+ },
140
+ "day": {
141
+ "previous": "ꀋꅔꉇ",
142
+ "previous-2": "ꎴꂿꋍꑍ",
143
+ "current": "ꀃꑍ",
144
+ "next": "ꃆꏂꑍ",
145
+ "next-2": "ꌕꀿꑍ",
146
+ "past": "-{0} d",
147
+ "future": "+{0} d"
148
+ },
149
+ "hour": {
150
+ "current": "this hour",
151
+ "past": "-{0} h",
152
+ "future": "+{0} h"
153
+ },
154
+ "minute": {
155
+ "current": "this minute",
156
+ "past": "-{0} min",
157
+ "future": "+{0} min"
158
+ },
159
+ "second": {
160
+ "current": "now",
161
+ "past": "-{0} s",
162
+ "future": "+{0} s"
163
+ }
164
+ }
165
+ }
@@ -0,0 +1,4 @@
1
+ import { LocaleData } from '../index.d.js';
2
+
3
+ declare const localeData: LocaleData;
4
+ export default localeData;
@@ -0,0 +1,165 @@
1
+ export default {
2
+ "locale": "ii",
3
+ "long": {
4
+ "year": {
5
+ "previous": "ꀋꉊꄹꈎ",
6
+ "current": "ꀋꃋꎼꈎ",
7
+ "next": "ꑎꉐꄻꈎ",
8
+ "past": "-{0} y",
9
+ "future": "+{0} y"
10
+ },
11
+ "quarter": {
12
+ "previous": "last quarter",
13
+ "current": "this quarter",
14
+ "next": "next quarter",
15
+ "past": "-{0} Q",
16
+ "future": "+{0} Q"
17
+ },
18
+ "month": {
19
+ "previous": "ꂴꁮꆪ",
20
+ "current": "ꀋꃋꋋꁮꆪ",
21
+ "next": "ꊁꁮꆪ",
22
+ "past": "-{0} m",
23
+ "future": "+{0} m"
24
+ },
25
+ "week": {
26
+ "previous": "ꆏꊂꂴꂶꌠ",
27
+ "current": "ꀋꃋꋋꆏꊂ",
28
+ "next": "ꆏꊂꊁꂶꌠ",
29
+ "past": "-{0} w",
30
+ "future": "+{0} w"
31
+ },
32
+ "day": {
33
+ "previous": "ꀋꅔꉇ",
34
+ "previous-2": "ꎴꂿꋍꑍ",
35
+ "current": "ꀃꑍ",
36
+ "next": "ꃆꏂꑍ",
37
+ "next-2": "ꌕꀿꑍ",
38
+ "past": "-{0} d",
39
+ "future": "+{0} d"
40
+ },
41
+ "hour": {
42
+ "current": "this hour",
43
+ "past": "-{0} h",
44
+ "future": "+{0} h"
45
+ },
46
+ "minute": {
47
+ "current": "this minute",
48
+ "past": "-{0} min",
49
+ "future": "+{0} min"
50
+ },
51
+ "second": {
52
+ "current": "now",
53
+ "past": "-{0} s",
54
+ "future": "+{0} s"
55
+ }
56
+ },
57
+ "short": {
58
+ "year": {
59
+ "previous": "ꀋꉊꄹꈎ",
60
+ "current": "ꎼꈎ",
61
+ "next": "ꑎꉐꄻꈎ",
62
+ "past": "-{0} y",
63
+ "future": "+{0} y"
64
+ },
65
+ "quarter": {
66
+ "previous": "last quarter",
67
+ "current": "this quarter",
68
+ "next": "next quarter",
69
+ "past": "-{0} Q",
70
+ "future": "+{0} Q"
71
+ },
72
+ "month": {
73
+ "previous": "ꂴꁮꆪ",
74
+ "current": "ꀋꃋꋋꁮꆪ",
75
+ "next": "ꊁꁮꆪ",
76
+ "past": "-{0} m",
77
+ "future": "+{0} m"
78
+ },
79
+ "week": {
80
+ "previous": "ꆏꊂꂴꂶꌠ",
81
+ "current": "ꀋꃋꋋꆏꊂ",
82
+ "next": "ꆏꊂꊁꂶꌠ",
83
+ "past": "-{0} w",
84
+ "future": "+{0} w"
85
+ },
86
+ "day": {
87
+ "previous": "ꀋꅔꉇ",
88
+ "previous-2": "ꎴꂿꋍꑍ",
89
+ "current": "ꀃꑍ",
90
+ "next": "ꃆꏂꑍ",
91
+ "next-2": "ꌕꀿꑍ",
92
+ "past": "-{0} d",
93
+ "future": "+{0} d"
94
+ },
95
+ "hour": {
96
+ "current": "this hour",
97
+ "past": "-{0} h",
98
+ "future": "+{0} h"
99
+ },
100
+ "minute": {
101
+ "current": "this minute",
102
+ "past": "-{0} min",
103
+ "future": "+{0} min"
104
+ },
105
+ "second": {
106
+ "current": "now",
107
+ "past": "-{0} s",
108
+ "future": "+{0} s"
109
+ }
110
+ },
111
+ "narrow": {
112
+ "year": {
113
+ "previous": "ꀋꉊꄹꈎ",
114
+ "current": "ꎼꈎ",
115
+ "next": "ꑎꉐꄻꈎ",
116
+ "past": "-{0} y",
117
+ "future": "+{0} y"
118
+ },
119
+ "quarter": {
120
+ "previous": "last quarter",
121
+ "current": "this quarter",
122
+ "next": "next quarter",
123
+ "past": "-{0} Q",
124
+ "future": "+{0} Q"
125
+ },
126
+ "month": {
127
+ "previous": "ꂴꁮꆪ",
128
+ "current": "ꀋꃋꋋꁮꆪ",
129
+ "next": "ꊁꁮꆪ",
130
+ "past": "-{0} m",
131
+ "future": "+{0} m"
132
+ },
133
+ "week": {
134
+ "previous": "ꆏꊂꂴꂶꌠ",
135
+ "current": "ꀋꃋꋋꆏꊂ",
136
+ "next": "ꆏꊂꊁꂶꌠ",
137
+ "past": "-{0} w",
138
+ "future": "+{0} w"
139
+ },
140
+ "day": {
141
+ "previous": "ꀋꅔꉇ",
142
+ "previous-2": "ꎴꂿꋍꑍ",
143
+ "current": "ꀃꑍ",
144
+ "next": "ꃆꏂꑍ",
145
+ "next-2": "ꌕꀿꑍ",
146
+ "past": "-{0} d",
147
+ "future": "+{0} d"
148
+ },
149
+ "hour": {
150
+ "current": "this hour",
151
+ "past": "-{0} h",
152
+ "future": "+{0} h"
153
+ },
154
+ "minute": {
155
+ "current": "this minute",
156
+ "past": "-{0} min",
157
+ "future": "+{0} min"
158
+ },
159
+ "second": {
160
+ "current": "now",
161
+ "past": "-{0} s",
162
+ "future": "+{0} s"
163
+ }
164
+ }
165
+ }
package/locale/is.json CHANGED
@@ -173,7 +173,10 @@
173
173
  "previous": "á síðasta ári",
174
174
  "current": "á þessu ári",
175
175
  "next": "á næsta ári",
176
- "past": "fyrir {0} árum",
176
+ "past": {
177
+ "one": "fyrir {0} ári",
178
+ "other": "fyrir {0} árum"
179
+ },
177
180
  "future": "eftir {0} ár"
178
181
  },
179
182
  "quarter": {
package/locale/is.json.js CHANGED
@@ -173,7 +173,10 @@ export default {
173
173
  "previous": "á síðasta ári",
174
174
  "current": "á þessu ári",
175
175
  "next": "á næsta ári",
176
- "past": "fyrir {0} árum",
176
+ "past": {
177
+ "one": "fyrir {0} ári",
178
+ "other": "fyrir {0} árum"
179
+ },
177
180
  "future": "eftir {0} ár"
178
181
  },
179
182
  "quarter": {
@@ -0,0 +1,16 @@
1
+ {
2
+ "private": true,
3
+ "name": "javascript-time-ago/locale/kaa",
4
+ "main": "../kaa.json",
5
+ "module": "../kaa.json.js",
6
+ "types": "../kaa.json.d.ts",
7
+ "type": "module",
8
+ "exports": {
9
+ ".": {
10
+ "types": "../kaa.json.d.ts",
11
+ "import": "../kaa.json.js",
12
+ "require": "../kaa.json"
13
+ }
14
+ },
15
+ "sideEffects": false
16
+ }
@@ -0,0 +1,159 @@
1
+ {
2
+ "locale": "kaa",
3
+ "long": {
4
+ "year": {
5
+ "previous": "өткен жыл",
6
+ "current": "усы жыл",
7
+ "next": "кейинги жыл",
8
+ "past": "-{0} y",
9
+ "future": "+{0} y"
10
+ },
11
+ "quarter": {
12
+ "previous": "last quarter",
13
+ "current": "this quarter",
14
+ "next": "next quarter",
15
+ "past": "-{0} Q",
16
+ "future": "+{0} Q"
17
+ },
18
+ "month": {
19
+ "previous": "өткен ай",
20
+ "current": "усы ай",
21
+ "next": "кейинги ай",
22
+ "past": "-{0} m",
23
+ "future": "+{0} m"
24
+ },
25
+ "week": {
26
+ "previous": "өткен ҳәпте",
27
+ "current": "усы ҳәпте",
28
+ "next": "кейинги ҳәпте",
29
+ "past": "-{0} w",
30
+ "future": "+{0} w"
31
+ },
32
+ "day": {
33
+ "previous": "кеше",
34
+ "current": "бүгин",
35
+ "next": "ертең",
36
+ "past": "-{0} d",
37
+ "future": "+{0} d"
38
+ },
39
+ "hour": {
40
+ "current": "this hour",
41
+ "past": "-{0} h",
42
+ "future": "+{0} h"
43
+ },
44
+ "minute": {
45
+ "current": "this minute",
46
+ "past": "-{0} min",
47
+ "future": "+{0} min"
48
+ },
49
+ "second": {
50
+ "current": "now",
51
+ "past": "-{0} s",
52
+ "future": "+{0} s"
53
+ }
54
+ },
55
+ "short": {
56
+ "year": {
57
+ "previous": "өткен ж.",
58
+ "current": "усы ж.",
59
+ "next": "кейинги ж.",
60
+ "past": "-{0} y",
61
+ "future": "+{0} y"
62
+ },
63
+ "quarter": {
64
+ "previous": "last quarter",
65
+ "current": "this quarter",
66
+ "next": "next quarter",
67
+ "past": "-{0} Q",
68
+ "future": "+{0} Q"
69
+ },
70
+ "month": {
71
+ "previous": "өткен ай",
72
+ "current": "усы ай",
73
+ "next": "кейинги ай",
74
+ "past": "-{0} m",
75
+ "future": "+{0} m"
76
+ },
77
+ "week": {
78
+ "previous": "өткен ҳәп.",
79
+ "current": "усы ҳәп.",
80
+ "next": "кейинги ҳәп.",
81
+ "past": "-{0} w",
82
+ "future": "+{0} w"
83
+ },
84
+ "day": {
85
+ "previous": "кеше",
86
+ "current": "бүгин",
87
+ "next": "ертең",
88
+ "past": "-{0} d",
89
+ "future": "+{0} d"
90
+ },
91
+ "hour": {
92
+ "current": "this hour",
93
+ "past": "-{0} h",
94
+ "future": "+{0} h"
95
+ },
96
+ "minute": {
97
+ "current": "this minute",
98
+ "past": "-{0} min",
99
+ "future": "+{0} min"
100
+ },
101
+ "second": {
102
+ "current": "now",
103
+ "past": "-{0} s",
104
+ "future": "+{0} s"
105
+ }
106
+ },
107
+ "narrow": {
108
+ "year": {
109
+ "previous": "өтк. ж.",
110
+ "current": "усы ж.",
111
+ "next": "кей. ж.",
112
+ "past": "-{0} y",
113
+ "future": "+{0} y"
114
+ },
115
+ "quarter": {
116
+ "previous": "last quarter",
117
+ "current": "this quarter",
118
+ "next": "next quarter",
119
+ "past": "-{0} Q",
120
+ "future": "+{0} Q"
121
+ },
122
+ "month": {
123
+ "previous": "өтк. ай",
124
+ "current": "усы ай",
125
+ "next": "кей. ай",
126
+ "past": "-{0} m",
127
+ "future": "+{0} m"
128
+ },
129
+ "week": {
130
+ "previous": "өтк. ҳәп.",
131
+ "current": "усы ҳәп.",
132
+ "next": "кей. ҳәп.",
133
+ "past": "-{0} w",
134
+ "future": "+{0} w"
135
+ },
136
+ "day": {
137
+ "previous": "кеше",
138
+ "current": "бүгин",
139
+ "next": "ертең",
140
+ "past": "-{0} d",
141
+ "future": "+{0} d"
142
+ },
143
+ "hour": {
144
+ "current": "this hour",
145
+ "past": "-{0} h",
146
+ "future": "+{0} h"
147
+ },
148
+ "minute": {
149
+ "current": "this minute",
150
+ "past": "-{0} min",
151
+ "future": "+{0} min"
152
+ },
153
+ "second": {
154
+ "current": "now",
155
+ "past": "-{0} s",
156
+ "future": "+{0} s"
157
+ }
158
+ }
159
+ }
@@ -0,0 +1,4 @@
1
+ import { LocaleData } from '../index.d.js';
2
+
3
+ declare const localeData: LocaleData;
4
+ export default localeData;
@@ -0,0 +1,159 @@
1
+ export default {
2
+ "locale": "kaa",
3
+ "long": {
4
+ "year": {
5
+ "previous": "өткен жыл",
6
+ "current": "усы жыл",
7
+ "next": "кейинги жыл",
8
+ "past": "-{0} y",
9
+ "future": "+{0} y"
10
+ },
11
+ "quarter": {
12
+ "previous": "last quarter",
13
+ "current": "this quarter",
14
+ "next": "next quarter",
15
+ "past": "-{0} Q",
16
+ "future": "+{0} Q"
17
+ },
18
+ "month": {
19
+ "previous": "өткен ай",
20
+ "current": "усы ай",
21
+ "next": "кейинги ай",
22
+ "past": "-{0} m",
23
+ "future": "+{0} m"
24
+ },
25
+ "week": {
26
+ "previous": "өткен ҳәпте",
27
+ "current": "усы ҳәпте",
28
+ "next": "кейинги ҳәпте",
29
+ "past": "-{0} w",
30
+ "future": "+{0} w"
31
+ },
32
+ "day": {
33
+ "previous": "кеше",
34
+ "current": "бүгин",
35
+ "next": "ертең",
36
+ "past": "-{0} d",
37
+ "future": "+{0} d"
38
+ },
39
+ "hour": {
40
+ "current": "this hour",
41
+ "past": "-{0} h",
42
+ "future": "+{0} h"
43
+ },
44
+ "minute": {
45
+ "current": "this minute",
46
+ "past": "-{0} min",
47
+ "future": "+{0} min"
48
+ },
49
+ "second": {
50
+ "current": "now",
51
+ "past": "-{0} s",
52
+ "future": "+{0} s"
53
+ }
54
+ },
55
+ "short": {
56
+ "year": {
57
+ "previous": "өткен ж.",
58
+ "current": "усы ж.",
59
+ "next": "кейинги ж.",
60
+ "past": "-{0} y",
61
+ "future": "+{0} y"
62
+ },
63
+ "quarter": {
64
+ "previous": "last quarter",
65
+ "current": "this quarter",
66
+ "next": "next quarter",
67
+ "past": "-{0} Q",
68
+ "future": "+{0} Q"
69
+ },
70
+ "month": {
71
+ "previous": "өткен ай",
72
+ "current": "усы ай",
73
+ "next": "кейинги ай",
74
+ "past": "-{0} m",
75
+ "future": "+{0} m"
76
+ },
77
+ "week": {
78
+ "previous": "өткен ҳәп.",
79
+ "current": "усы ҳәп.",
80
+ "next": "кейинги ҳәп.",
81
+ "past": "-{0} w",
82
+ "future": "+{0} w"
83
+ },
84
+ "day": {
85
+ "previous": "кеше",
86
+ "current": "бүгин",
87
+ "next": "ертең",
88
+ "past": "-{0} d",
89
+ "future": "+{0} d"
90
+ },
91
+ "hour": {
92
+ "current": "this hour",
93
+ "past": "-{0} h",
94
+ "future": "+{0} h"
95
+ },
96
+ "minute": {
97
+ "current": "this minute",
98
+ "past": "-{0} min",
99
+ "future": "+{0} min"
100
+ },
101
+ "second": {
102
+ "current": "now",
103
+ "past": "-{0} s",
104
+ "future": "+{0} s"
105
+ }
106
+ },
107
+ "narrow": {
108
+ "year": {
109
+ "previous": "өтк. ж.",
110
+ "current": "усы ж.",
111
+ "next": "кей. ж.",
112
+ "past": "-{0} y",
113
+ "future": "+{0} y"
114
+ },
115
+ "quarter": {
116
+ "previous": "last quarter",
117
+ "current": "this quarter",
118
+ "next": "next quarter",
119
+ "past": "-{0} Q",
120
+ "future": "+{0} Q"
121
+ },
122
+ "month": {
123
+ "previous": "өтк. ай",
124
+ "current": "усы ай",
125
+ "next": "кей. ай",
126
+ "past": "-{0} m",
127
+ "future": "+{0} m"
128
+ },
129
+ "week": {
130
+ "previous": "өтк. ҳәп.",
131
+ "current": "усы ҳәп.",
132
+ "next": "кей. ҳәп.",
133
+ "past": "-{0} w",
134
+ "future": "+{0} w"
135
+ },
136
+ "day": {
137
+ "previous": "кеше",
138
+ "current": "бүгин",
139
+ "next": "ертең",
140
+ "past": "-{0} d",
141
+ "future": "+{0} d"
142
+ },
143
+ "hour": {
144
+ "current": "this hour",
145
+ "past": "-{0} h",
146
+ "future": "+{0} h"
147
+ },
148
+ "minute": {
149
+ "current": "this minute",
150
+ "past": "-{0} min",
151
+ "future": "+{0} min"
152
+ },
153
+ "second": {
154
+ "current": "now",
155
+ "past": "-{0} s",
156
+ "future": "+{0} s"
157
+ }
158
+ }
159
+ }