├── .idea
├── .gitignore
├── github-bot.iml
├── inspectionProfiles
│ └── profiles_settings.xml
├── modules.xml
└── vcs.xml
├── README.md
├── data.json
├── index.js
├── node_modules
├── .package-lock.json
├── @kwsites
│ ├── file-exists
│ │ ├── CHANGELOG.md
│ │ ├── LICENSE
│ │ ├── dist
│ │ │ ├── index.d.ts
│ │ │ ├── index.js
│ │ │ ├── index.js.map
│ │ │ ├── src
│ │ │ │ ├── index.d.ts
│ │ │ │ ├── index.js
│ │ │ │ └── index.js.map
│ │ │ └── test
│ │ │ │ ├── __mocks__
│ │ │ │ ├── fs.d.ts
│ │ │ │ ├── fs.js
│ │ │ │ └── fs.js.map
│ │ │ │ ├── exists.spec.d.ts
│ │ │ │ ├── exists.spec.js
│ │ │ │ └── exists.spec.js.map
│ │ ├── package.json
│ │ └── readme.md
│ └── promise-deferred
│ │ ├── LICENSE
│ │ ├── dist
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ └── index.js.map
│ │ └── package.json
├── debug
│ ├── LICENSE
│ ├── README.md
│ ├── package.json
│ └── src
│ │ ├── browser.js
│ │ ├── common.js
│ │ ├── index.js
│ │ └── node.js
├── graceful-fs
│ ├── LICENSE
│ ├── README.md
│ ├── clone.js
│ ├── graceful-fs.js
│ ├── legacy-streams.js
│ ├── package.json
│ └── polyfills.js
├── jsonfile
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── package.json
│ └── utils.js
├── moment
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── dist
│ │ ├── locale
│ │ │ ├── af.js
│ │ │ ├── ar-dz.js
│ │ │ ├── ar-kw.js
│ │ │ ├── ar-ly.js
│ │ │ ├── ar-ma.js
│ │ │ ├── ar-ps.js
│ │ │ ├── ar-sa.js
│ │ │ ├── ar-tn.js
│ │ │ ├── ar.js
│ │ │ ├── az.js
│ │ │ ├── be.js
│ │ │ ├── bg.js
│ │ │ ├── bm.js
│ │ │ ├── bn-bd.js
│ │ │ ├── bn.js
│ │ │ ├── bo.js
│ │ │ ├── br.js
│ │ │ ├── bs.js
│ │ │ ├── ca.js
│ │ │ ├── cs.js
│ │ │ ├── cv.js
│ │ │ ├── cy.js
│ │ │ ├── da.js
│ │ │ ├── de-at.js
│ │ │ ├── de-ch.js
│ │ │ ├── de.js
│ │ │ ├── dv.js
│ │ │ ├── el.js
│ │ │ ├── en-au.js
│ │ │ ├── en-ca.js
│ │ │ ├── en-gb.js
│ │ │ ├── en-ie.js
│ │ │ ├── en-il.js
│ │ │ ├── en-in.js
│ │ │ ├── en-nz.js
│ │ │ ├── en-sg.js
│ │ │ ├── eo.js
│ │ │ ├── es-do.js
│ │ │ ├── es-mx.js
│ │ │ ├── es-us.js
│ │ │ ├── es.js
│ │ │ ├── et.js
│ │ │ ├── eu.js
│ │ │ ├── fa.js
│ │ │ ├── fi.js
│ │ │ ├── fil.js
│ │ │ ├── fo.js
│ │ │ ├── fr-ca.js
│ │ │ ├── fr-ch.js
│ │ │ ├── fr.js
│ │ │ ├── fy.js
│ │ │ ├── ga.js
│ │ │ ├── gd.js
│ │ │ ├── gl.js
│ │ │ ├── gom-deva.js
│ │ │ ├── gom-latn.js
│ │ │ ├── gu.js
│ │ │ ├── he.js
│ │ │ ├── hi.js
│ │ │ ├── hr.js
│ │ │ ├── hu.js
│ │ │ ├── hy-am.js
│ │ │ ├── id.js
│ │ │ ├── is.js
│ │ │ ├── it-ch.js
│ │ │ ├── it.js
│ │ │ ├── ja.js
│ │ │ ├── jv.js
│ │ │ ├── ka.js
│ │ │ ├── kk.js
│ │ │ ├── km.js
│ │ │ ├── kn.js
│ │ │ ├── ko.js
│ │ │ ├── ku-kmr.js
│ │ │ ├── ku.js
│ │ │ ├── ky.js
│ │ │ ├── lb.js
│ │ │ ├── lo.js
│ │ │ ├── lt.js
│ │ │ ├── lv.js
│ │ │ ├── me.js
│ │ │ ├── mi.js
│ │ │ ├── mk.js
│ │ │ ├── ml.js
│ │ │ ├── mn.js
│ │ │ ├── mr.js
│ │ │ ├── ms-my.js
│ │ │ ├── ms.js
│ │ │ ├── mt.js
│ │ │ ├── my.js
│ │ │ ├── nb.js
│ │ │ ├── ne.js
│ │ │ ├── nl-be.js
│ │ │ ├── nl.js
│ │ │ ├── nn.js
│ │ │ ├── oc-lnc.js
│ │ │ ├── pa-in.js
│ │ │ ├── pl.js
│ │ │ ├── pt-br.js
│ │ │ ├── pt.js
│ │ │ ├── ro.js
│ │ │ ├── ru.js
│ │ │ ├── sd.js
│ │ │ ├── se.js
│ │ │ ├── si.js
│ │ │ ├── sk.js
│ │ │ ├── sl.js
│ │ │ ├── sq.js
│ │ │ ├── sr-cyrl.js
│ │ │ ├── sr.js
│ │ │ ├── ss.js
│ │ │ ├── sv.js
│ │ │ ├── sw.js
│ │ │ ├── ta.js
│ │ │ ├── te.js
│ │ │ ├── tet.js
│ │ │ ├── tg.js
│ │ │ ├── th.js
│ │ │ ├── tk.js
│ │ │ ├── tl-ph.js
│ │ │ ├── tlh.js
│ │ │ ├── tr.js
│ │ │ ├── tzl.js
│ │ │ ├── tzm-latn.js
│ │ │ ├── tzm.js
│ │ │ ├── ug-cn.js
│ │ │ ├── uk.js
│ │ │ ├── ur.js
│ │ │ ├── uz-latn.js
│ │ │ ├── uz.js
│ │ │ ├── vi.js
│ │ │ ├── x-pseudo.js
│ │ │ ├── yo.js
│ │ │ ├── zh-cn.js
│ │ │ ├── zh-hk.js
│ │ │ ├── zh-mo.js
│ │ │ └── zh-tw.js
│ │ └── moment.js
│ ├── ender.js
│ ├── locale
│ │ ├── af.js
│ │ ├── ar-dz.js
│ │ ├── ar-kw.js
│ │ ├── ar-ly.js
│ │ ├── ar-ma.js
│ │ ├── ar-ps.js
│ │ ├── ar-sa.js
│ │ ├── ar-tn.js
│ │ ├── ar.js
│ │ ├── az.js
│ │ ├── be.js
│ │ ├── bg.js
│ │ ├── bm.js
│ │ ├── bn-bd.js
│ │ ├── bn.js
│ │ ├── bo.js
│ │ ├── br.js
│ │ ├── bs.js
│ │ ├── ca.js
│ │ ├── cs.js
│ │ ├── cv.js
│ │ ├── cy.js
│ │ ├── da.js
│ │ ├── de-at.js
│ │ ├── de-ch.js
│ │ ├── de.js
│ │ ├── dv.js
│ │ ├── el.js
│ │ ├── en-au.js
│ │ ├── en-ca.js
│ │ ├── en-gb.js
│ │ ├── en-ie.js
│ │ ├── en-il.js
│ │ ├── en-in.js
│ │ ├── en-nz.js
│ │ ├── en-sg.js
│ │ ├── eo.js
│ │ ├── es-do.js
│ │ ├── es-mx.js
│ │ ├── es-us.js
│ │ ├── es.js
│ │ ├── et.js
│ │ ├── eu.js
│ │ ├── fa.js
│ │ ├── fi.js
│ │ ├── fil.js
│ │ ├── fo.js
│ │ ├── fr-ca.js
│ │ ├── fr-ch.js
│ │ ├── fr.js
│ │ ├── fy.js
│ │ ├── ga.js
│ │ ├── gd.js
│ │ ├── gl.js
│ │ ├── gom-deva.js
│ │ ├── gom-latn.js
│ │ ├── gu.js
│ │ ├── he.js
│ │ ├── hi.js
│ │ ├── hr.js
│ │ ├── hu.js
│ │ ├── hy-am.js
│ │ ├── id.js
│ │ ├── is.js
│ │ ├── it-ch.js
│ │ ├── it.js
│ │ ├── ja.js
│ │ ├── jv.js
│ │ ├── ka.js
│ │ ├── kk.js
│ │ ├── km.js
│ │ ├── kn.js
│ │ ├── ko.js
│ │ ├── ku-kmr.js
│ │ ├── ku.js
│ │ ├── ky.js
│ │ ├── lb.js
│ │ ├── lo.js
│ │ ├── lt.js
│ │ ├── lv.js
│ │ ├── me.js
│ │ ├── mi.js
│ │ ├── mk.js
│ │ ├── ml.js
│ │ ├── mn.js
│ │ ├── mr.js
│ │ ├── ms-my.js
│ │ ├── ms.js
│ │ ├── mt.js
│ │ ├── my.js
│ │ ├── nb.js
│ │ ├── ne.js
│ │ ├── nl-be.js
│ │ ├── nl.js
│ │ ├── nn.js
│ │ ├── oc-lnc.js
│ │ ├── pa-in.js
│ │ ├── pl.js
│ │ ├── pt-br.js
│ │ ├── pt.js
│ │ ├── ro.js
│ │ ├── ru.js
│ │ ├── sd.js
│ │ ├── se.js
│ │ ├── si.js
│ │ ├── sk.js
│ │ ├── sl.js
│ │ ├── sq.js
│ │ ├── sr-cyrl.js
│ │ ├── sr.js
│ │ ├── ss.js
│ │ ├── sv.js
│ │ ├── sw.js
│ │ ├── ta.js
│ │ ├── te.js
│ │ ├── tet.js
│ │ ├── tg.js
│ │ ├── th.js
│ │ ├── tk.js
│ │ ├── tl-ph.js
│ │ ├── tlh.js
│ │ ├── tr.js
│ │ ├── tzl.js
│ │ ├── tzm-latn.js
│ │ ├── tzm.js
│ │ ├── ug-cn.js
│ │ ├── uk.js
│ │ ├── ur.js
│ │ ├── uz-latn.js
│ │ ├── uz.js
│ │ ├── vi.js
│ │ ├── x-pseudo.js
│ │ ├── yo.js
│ │ ├── zh-cn.js
│ │ ├── zh-hk.js
│ │ ├── zh-mo.js
│ │ └── zh-tw.js
│ ├── min
│ │ ├── locales.js
│ │ ├── locales.min.js
│ │ ├── locales.min.js.map
│ │ ├── moment-with-locales.js
│ │ ├── moment-with-locales.min.js
│ │ ├── moment-with-locales.min.js.map
│ │ ├── moment.min.js
│ │ └── moment.min.js.map
│ ├── moment.d.ts
│ ├── moment.js
│ ├── package.js
│ ├── package.json
│ ├── src
│ │ ├── lib
│ │ │ ├── create
│ │ │ │ ├── check-overflow.js
│ │ │ │ ├── date-from-array.js
│ │ │ │ ├── from-anything.js
│ │ │ │ ├── from-array.js
│ │ │ │ ├── from-object.js
│ │ │ │ ├── from-string-and-array.js
│ │ │ │ ├── from-string-and-format.js
│ │ │ │ ├── from-string.js
│ │ │ │ ├── local.js
│ │ │ │ ├── parsing-flags.js
│ │ │ │ ├── utc.js
│ │ │ │ └── valid.js
│ │ │ ├── duration
│ │ │ │ ├── abs.js
│ │ │ │ ├── add-subtract.js
│ │ │ │ ├── as.js
│ │ │ │ ├── bubble.js
│ │ │ │ ├── clone.js
│ │ │ │ ├── constructor.js
│ │ │ │ ├── create.js
│ │ │ │ ├── duration.js
│ │ │ │ ├── get.js
│ │ │ │ ├── humanize.js
│ │ │ │ ├── iso-string.js
│ │ │ │ ├── prototype.js
│ │ │ │ └── valid.js
│ │ │ ├── format
│ │ │ │ └── format.js
│ │ │ ├── locale
│ │ │ │ ├── base-config.js
│ │ │ │ ├── calendar.js
│ │ │ │ ├── constructor.js
│ │ │ │ ├── en.js
│ │ │ │ ├── formats.js
│ │ │ │ ├── invalid.js
│ │ │ │ ├── lists.js
│ │ │ │ ├── locale.js
│ │ │ │ ├── locales.js
│ │ │ │ ├── ordinal.js
│ │ │ │ ├── pre-post-format.js
│ │ │ │ ├── prototype.js
│ │ │ │ ├── relative.js
│ │ │ │ └── set.js
│ │ │ ├── moment
│ │ │ │ ├── add-subtract.js
│ │ │ │ ├── calendar.js
│ │ │ │ ├── clone.js
│ │ │ │ ├── compare.js
│ │ │ │ ├── constructor.js
│ │ │ │ ├── creation-data.js
│ │ │ │ ├── diff.js
│ │ │ │ ├── format.js
│ │ │ │ ├── from.js
│ │ │ │ ├── get-set.js
│ │ │ │ ├── locale.js
│ │ │ │ ├── min-max.js
│ │ │ │ ├── moment.js
│ │ │ │ ├── now.js
│ │ │ │ ├── prototype.js
│ │ │ │ ├── start-end-of.js
│ │ │ │ ├── to-type.js
│ │ │ │ ├── to.js
│ │ │ │ └── valid.js
│ │ │ ├── parse
│ │ │ │ ├── regex.js
│ │ │ │ └── token.js
│ │ │ ├── units
│ │ │ │ ├── aliases.js
│ │ │ │ ├── constants.js
│ │ │ │ ├── day-of-month.js
│ │ │ │ ├── day-of-week.js
│ │ │ │ ├── day-of-year.js
│ │ │ │ ├── era.js
│ │ │ │ ├── hour.js
│ │ │ │ ├── millisecond.js
│ │ │ │ ├── minute.js
│ │ │ │ ├── month.js
│ │ │ │ ├── offset.js
│ │ │ │ ├── priorities.js
│ │ │ │ ├── quarter.js
│ │ │ │ ├── second.js
│ │ │ │ ├── timestamp.js
│ │ │ │ ├── timezone.js
│ │ │ │ ├── units.js
│ │ │ │ ├── week-calendar-utils.js
│ │ │ │ ├── week-year.js
│ │ │ │ ├── week.js
│ │ │ │ └── year.js
│ │ │ └── utils
│ │ │ │ ├── abs-ceil.js
│ │ │ │ ├── abs-floor.js
│ │ │ │ ├── abs-round.js
│ │ │ │ ├── compare-arrays.js
│ │ │ │ ├── defaults.js
│ │ │ │ ├── deprecate.js
│ │ │ │ ├── extend.js
│ │ │ │ ├── has-own-prop.js
│ │ │ │ ├── hooks.js
│ │ │ │ ├── index-of.js
│ │ │ │ ├── is-array.js
│ │ │ │ ├── is-calendar-spec.js
│ │ │ │ ├── is-date.js
│ │ │ │ ├── is-function.js
│ │ │ │ ├── is-leap-year.js
│ │ │ │ ├── is-moment-input.js
│ │ │ │ ├── is-number.js
│ │ │ │ ├── is-object-empty.js
│ │ │ │ ├── is-object.js
│ │ │ │ ├── is-string.js
│ │ │ │ ├── is-undefined.js
│ │ │ │ ├── keys.js
│ │ │ │ ├── map.js
│ │ │ │ ├── mod.js
│ │ │ │ ├── some.js
│ │ │ │ ├── to-int.js
│ │ │ │ └── zero-fill.js
│ │ ├── locale
│ │ │ ├── af.js
│ │ │ ├── ar-dz.js
│ │ │ ├── ar-kw.js
│ │ │ ├── ar-ly.js
│ │ │ ├── ar-ma.js
│ │ │ ├── ar-ps.js
│ │ │ ├── ar-sa.js
│ │ │ ├── ar-tn.js
│ │ │ ├── ar.js
│ │ │ ├── az.js
│ │ │ ├── be.js
│ │ │ ├── bg.js
│ │ │ ├── bm.js
│ │ │ ├── bn-bd.js
│ │ │ ├── bn.js
│ │ │ ├── bo.js
│ │ │ ├── br.js
│ │ │ ├── bs.js
│ │ │ ├── ca.js
│ │ │ ├── cs.js
│ │ │ ├── cv.js
│ │ │ ├── cy.js
│ │ │ ├── da.js
│ │ │ ├── de-at.js
│ │ │ ├── de-ch.js
│ │ │ ├── de.js
│ │ │ ├── dv.js
│ │ │ ├── el.js
│ │ │ ├── en-au.js
│ │ │ ├── en-ca.js
│ │ │ ├── en-gb.js
│ │ │ ├── en-ie.js
│ │ │ ├── en-il.js
│ │ │ ├── en-in.js
│ │ │ ├── en-nz.js
│ │ │ ├── en-sg.js
│ │ │ ├── eo.js
│ │ │ ├── es-do.js
│ │ │ ├── es-mx.js
│ │ │ ├── es-us.js
│ │ │ ├── es.js
│ │ │ ├── et.js
│ │ │ ├── eu.js
│ │ │ ├── fa.js
│ │ │ ├── fi.js
│ │ │ ├── fil.js
│ │ │ ├── fo.js
│ │ │ ├── fr-ca.js
│ │ │ ├── fr-ch.js
│ │ │ ├── fr.js
│ │ │ ├── fy.js
│ │ │ ├── ga.js
│ │ │ ├── gd.js
│ │ │ ├── gl.js
│ │ │ ├── gom-deva.js
│ │ │ ├── gom-latn.js
│ │ │ ├── gu.js
│ │ │ ├── he.js
│ │ │ ├── hi.js
│ │ │ ├── hr.js
│ │ │ ├── hu.js
│ │ │ ├── hy-am.js
│ │ │ ├── id.js
│ │ │ ├── is.js
│ │ │ ├── it-ch.js
│ │ │ ├── it.js
│ │ │ ├── ja.js
│ │ │ ├── jv.js
│ │ │ ├── ka.js
│ │ │ ├── kk.js
│ │ │ ├── km.js
│ │ │ ├── kn.js
│ │ │ ├── ko.js
│ │ │ ├── ku-kmr.js
│ │ │ ├── ku.js
│ │ │ ├── ky.js
│ │ │ ├── lb.js
│ │ │ ├── lo.js
│ │ │ ├── lt.js
│ │ │ ├── lv.js
│ │ │ ├── me.js
│ │ │ ├── mi.js
│ │ │ ├── mk.js
│ │ │ ├── ml.js
│ │ │ ├── mn.js
│ │ │ ├── mr.js
│ │ │ ├── ms-my.js
│ │ │ ├── ms.js
│ │ │ ├── mt.js
│ │ │ ├── my.js
│ │ │ ├── nb.js
│ │ │ ├── ne.js
│ │ │ ├── nl-be.js
│ │ │ ├── nl.js
│ │ │ ├── nn.js
│ │ │ ├── oc-lnc.js
│ │ │ ├── pa-in.js
│ │ │ ├── pl.js
│ │ │ ├── pt-br.js
│ │ │ ├── pt.js
│ │ │ ├── ro.js
│ │ │ ├── ru.js
│ │ │ ├── sd.js
│ │ │ ├── se.js
│ │ │ ├── si.js
│ │ │ ├── sk.js
│ │ │ ├── sl.js
│ │ │ ├── sq.js
│ │ │ ├── sr-cyrl.js
│ │ │ ├── sr.js
│ │ │ ├── ss.js
│ │ │ ├── sv.js
│ │ │ ├── sw.js
│ │ │ ├── ta.js
│ │ │ ├── te.js
│ │ │ ├── tet.js
│ │ │ ├── tg.js
│ │ │ ├── th.js
│ │ │ ├── tk.js
│ │ │ ├── tl-ph.js
│ │ │ ├── tlh.js
│ │ │ ├── tr.js
│ │ │ ├── tzl.js
│ │ │ ├── tzm-latn.js
│ │ │ ├── tzm.js
│ │ │ ├── ug-cn.js
│ │ │ ├── uk.js
│ │ │ ├── ur.js
│ │ │ ├── uz-latn.js
│ │ │ ├── uz.js
│ │ │ ├── vi.js
│ │ │ ├── x-pseudo.js
│ │ │ ├── yo.js
│ │ │ ├── zh-cn.js
│ │ │ ├── zh-hk.js
│ │ │ ├── zh-mo.js
│ │ │ └── zh-tw.js
│ │ └── moment.js
│ └── ts3.1-typings
│ │ └── moment.d.ts
├── ms
│ ├── index.js
│ ├── license.md
│ ├── package.json
│ └── readme.md
├── random
│ ├── dist
│ │ ├── distributions
│ │ │ ├── bates.d.ts
│ │ │ ├── bernoulli.d.ts
│ │ │ ├── binomial.d.ts
│ │ │ ├── exponential.d.ts
│ │ │ ├── geometric.d.ts
│ │ │ ├── irwin-hall.d.ts
│ │ │ ├── log-normal.d.ts
│ │ │ ├── normal.d.ts
│ │ │ ├── pareto.d.ts
│ │ │ ├── poisson.d.ts
│ │ │ ├── uniform-boolean.d.ts
│ │ │ ├── uniform-int.d.ts
│ │ │ └── uniform.d.ts
│ │ ├── generators
│ │ │ ├── function.d.ts
│ │ │ ├── math-random.d.ts
│ │ │ └── xor128.d.ts
│ │ ├── index.d.ts
│ │ ├── random.d.ts
│ │ ├── random.module.js
│ │ ├── random.module.js.map
│ │ ├── rng-factory.d.ts
│ │ ├── rng.d.ts
│ │ └── validation.d.ts
│ ├── license
│ ├── package.json
│ └── readme.md
├── seedrandom
│ ├── .coveralls.yml
│ ├── .nvmrc
│ ├── .nyc_output
│ │ ├── f02e18a9-b1c7-4946-836e-c3dbfb9635a3.json
│ │ └── processinfo
│ │ │ ├── f02e18a9-b1c7-4946-836e-c3dbfb9635a3.json
│ │ │ └── index.json
│ ├── .travis.yml
│ ├── Gruntfile.js
│ ├── README.md
│ ├── bower.json
│ ├── component.json
│ ├── coverage
│ │ ├── coverage.json
│ │ ├── lcov-report
│ │ │ ├── base.css
│ │ │ ├── block-navigation.js
│ │ │ ├── index.html
│ │ │ ├── prettify.css
│ │ │ ├── prettify.js
│ │ │ ├── seedrandom
│ │ │ │ ├── index.html
│ │ │ │ ├── lib
│ │ │ │ │ ├── alea.js.html
│ │ │ │ │ ├── index.html
│ │ │ │ │ ├── tychei.js.html
│ │ │ │ │ ├── xor128.js.html
│ │ │ │ │ ├── xor4096.js.html
│ │ │ │ │ ├── xorshift7.js.html
│ │ │ │ │ └── xorwow.js.html
│ │ │ │ └── seedrandom.js.html
│ │ │ ├── sort-arrow-sprite.png
│ │ │ └── sorter.js
│ │ └── lcov.info
│ ├── index.js
│ ├── lib
│ │ ├── alea.js
│ │ ├── alea.min.js
│ │ ├── crypto.js
│ │ ├── tychei.js
│ │ ├── tychei.min.js
│ │ ├── xor128.js
│ │ ├── xor128.min.js
│ │ ├── xor4096.js
│ │ ├── xor4096.min.js
│ │ ├── xorshift7.js
│ │ ├── xorshift7.min.js
│ │ ├── xorwow.js
│ │ └── xorwow.min.js
│ ├── package.json
│ ├── seedrandom.js
│ └── seedrandom.min.js
├── simple-git
│ ├── dist
│ │ ├── cjs
│ │ │ ├── index.js
│ │ │ └── index.js.map
│ │ ├── esm
│ │ │ ├── index.js
│ │ │ ├── index.js.map
│ │ │ └── package.json
│ │ ├── src
│ │ │ └── lib
│ │ │ │ ├── api.d.ts
│ │ │ │ ├── args
│ │ │ │ ├── log-format.d.ts
│ │ │ │ └── pathspec.d.ts
│ │ │ │ ├── errors
│ │ │ │ ├── git-construct-error.d.ts
│ │ │ │ ├── git-error.d.ts
│ │ │ │ ├── git-plugin-error.d.ts
│ │ │ │ ├── git-response-error.d.ts
│ │ │ │ └── task-configuration-error.d.ts
│ │ │ │ ├── git-factory.d.ts
│ │ │ │ ├── git-logger.d.ts
│ │ │ │ ├── parsers
│ │ │ │ ├── parse-branch-delete.d.ts
│ │ │ │ ├── parse-branch.d.ts
│ │ │ │ ├── parse-commit.d.ts
│ │ │ │ ├── parse-diff-summary.d.ts
│ │ │ │ ├── parse-fetch.d.ts
│ │ │ │ ├── parse-list-log-summary.d.ts
│ │ │ │ ├── parse-merge.d.ts
│ │ │ │ ├── parse-move.d.ts
│ │ │ │ ├── parse-pull.d.ts
│ │ │ │ ├── parse-push.d.ts
│ │ │ │ ├── parse-remote-messages.d.ts
│ │ │ │ └── parse-remote-objects.d.ts
│ │ │ │ ├── plugins
│ │ │ │ ├── abort-plugin.d.ts
│ │ │ │ ├── block-unsafe-operations-plugin.d.ts
│ │ │ │ ├── command-config-prefixing-plugin.d.ts
│ │ │ │ ├── completion-detection.plugin.d.ts
│ │ │ │ ├── custom-binary.plugin.d.ts
│ │ │ │ ├── error-detection.plugin.d.ts
│ │ │ │ ├── index.d.ts
│ │ │ │ ├── plugin-store.d.ts
│ │ │ │ ├── progress-monitor-plugin.d.ts
│ │ │ │ ├── simple-git-plugin.d.ts
│ │ │ │ ├── spawn-options-plugin.d.ts
│ │ │ │ ├── suffix-paths.plugin.d.ts
│ │ │ │ └── timout-plugin.d.ts
│ │ │ │ ├── responses
│ │ │ │ ├── BranchDeleteSummary.d.ts
│ │ │ │ ├── BranchSummary.d.ts
│ │ │ │ ├── CheckIgnore.d.ts
│ │ │ │ ├── CleanSummary.d.ts
│ │ │ │ ├── ConfigList.d.ts
│ │ │ │ ├── DiffSummary.d.ts
│ │ │ │ ├── FileStatusSummary.d.ts
│ │ │ │ ├── GetRemoteSummary.d.ts
│ │ │ │ ├── InitSummary.d.ts
│ │ │ │ ├── MergeSummary.d.ts
│ │ │ │ ├── PullSummary.d.ts
│ │ │ │ ├── StatusSummary.d.ts
│ │ │ │ └── TagList.d.ts
│ │ │ │ ├── runners
│ │ │ │ ├── git-executor-chain.d.ts
│ │ │ │ ├── git-executor.d.ts
│ │ │ │ ├── promise-wrapped.d.ts
│ │ │ │ ├── scheduler.d.ts
│ │ │ │ └── tasks-pending-queue.d.ts
│ │ │ │ ├── simple-git-api.d.ts
│ │ │ │ ├── task-callback.d.ts
│ │ │ │ ├── tasks
│ │ │ │ ├── apply-patch.d.ts
│ │ │ │ ├── branch.d.ts
│ │ │ │ ├── change-working-directory.d.ts
│ │ │ │ ├── check-ignore.d.ts
│ │ │ │ ├── check-is-repo.d.ts
│ │ │ │ ├── checkout.d.ts
│ │ │ │ ├── clean.d.ts
│ │ │ │ ├── clone.d.ts
│ │ │ │ ├── commit.d.ts
│ │ │ │ ├── config.d.ts
│ │ │ │ ├── diff-name-status.d.ts
│ │ │ │ ├── diff.d.ts
│ │ │ │ ├── fetch.d.ts
│ │ │ │ ├── first-commit.d.ts
│ │ │ │ ├── grep.d.ts
│ │ │ │ ├── hash-object.d.ts
│ │ │ │ ├── init.d.ts
│ │ │ │ ├── log.d.ts
│ │ │ │ ├── merge.d.ts
│ │ │ │ ├── move.d.ts
│ │ │ │ ├── pull.d.ts
│ │ │ │ ├── push.d.ts
│ │ │ │ ├── remote.d.ts
│ │ │ │ ├── reset.d.ts
│ │ │ │ ├── show.d.ts
│ │ │ │ ├── stash-list.d.ts
│ │ │ │ ├── status.d.ts
│ │ │ │ ├── sub-module.d.ts
│ │ │ │ ├── tag.d.ts
│ │ │ │ ├── task.d.ts
│ │ │ │ └── version.d.ts
│ │ │ │ ├── types
│ │ │ │ ├── handlers.d.ts
│ │ │ │ ├── index.d.ts
│ │ │ │ └── tasks.d.ts
│ │ │ │ └── utils
│ │ │ │ ├── argument-filters.d.ts
│ │ │ │ ├── exit-codes.d.ts
│ │ │ │ ├── git-output-streams.d.ts
│ │ │ │ ├── index.d.ts
│ │ │ │ ├── line-parser.d.ts
│ │ │ │ ├── simple-git-options.d.ts
│ │ │ │ ├── task-options.d.ts
│ │ │ │ ├── task-parser.d.ts
│ │ │ │ └── util.d.ts
│ │ └── typings
│ │ │ ├── errors.d.ts
│ │ │ ├── index.d.ts
│ │ │ ├── response.d.ts
│ │ │ ├── simple-git.d.ts
│ │ │ └── types.d.ts
│ ├── package.json
│ ├── promise.js
│ └── readme.md
└── universalify
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── package-lock.json
└── package.json
/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 |
--------------------------------------------------------------------------------
/.idea/github-bot.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Json
2 |
--------------------------------------------------------------------------------
/data.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/d1yas/Test/ebec96e2027b9e74ce899f1d47c7b0a7a0de8f88/data.json
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | import jsonfile from 'jsonfile';
2 | import moment from 'moment';
3 | import simpleGit from 'simple-git';
4 | import { default as random } from 'random';
5 |
6 | const FILE_PATH = './data.json';
7 |
8 | const makeCommit = async (n) => {
9 | if (n === 0) return simpleGit().push();
10 | const x = random.int(0, 54);
11 | const y = random.int(0, 6);
12 | const DATE = moment().subtract(1, 'y').add(1, 'd').add(x, 'w').add(y, 'd').format();
13 | const data = { date: DATE };
14 | console.log(DATE);
15 |
16 | await jsonfile.writeFile(FILE_PATH, data);
17 | await simpleGit().add([FILE_PATH]).commit(DATE, { '--date': DATE });
18 | makeCommit(n - 1);
19 | }
20 |
21 | makeCommit(500);
22 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/CHANGELOG.md:
--------------------------------------------------------------------------------
1 |
2 | # Release History
3 |
4 | ## 1.1.1
5 |
6 | - Add dependency on `debug` to log results of the file system checks
7 | - Add `jest` tests
8 |
9 | # 1.0.0
10 |
11 | - First public release, a simple typescript library for checking whether a path exists
12 | on the file system and optionally whether it points to a file or folder.
13 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 Steve King
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './src';
2 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | function __export(m) {
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4 | }
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | __export(require("./src"));
7 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;AACA,2BAAsB"}
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/src/index.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Synchronous validation of a path existing either as a file or as a directory.
3 | *
4 | * @param {string} path The path to check
5 | * @param {number} type One or both of the exported numeric constants
6 | */
7 | export declare function exists(path: string, type?: number): boolean;
8 | /**
9 | * Constant representing a file
10 | */
11 | export declare const FILE = 1;
12 | /**
13 | * Constant representing a folder
14 | */
15 | export declare const FOLDER = 2;
16 | /**
17 | * Constant representing either a file or a folder
18 | */
19 | export declare const READABLE: number;
20 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/src/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | var __importDefault = (this && this.__importDefault) || function (mod) {
3 | return (mod && mod.__esModule) ? mod : { "default": mod };
4 | };
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | const fs_1 = require("fs");
7 | const debug_1 = __importDefault(require("debug"));
8 | const log = debug_1.default('@kwsites/file-exists');
9 | function check(path, isFile, isDirectory) {
10 | log(`checking %s`, path);
11 | try {
12 | const stat = fs_1.statSync(path);
13 | if (stat.isFile() && isFile) {
14 | log(`[OK] path represents a file`);
15 | return true;
16 | }
17 | if (stat.isDirectory() && isDirectory) {
18 | log(`[OK] path represents a directory`);
19 | return true;
20 | }
21 | log(`[FAIL] path represents something other than a file or directory`);
22 | return false;
23 | }
24 | catch (e) {
25 | if (e.code === 'ENOENT') {
26 | log(`[FAIL] path is not accessible: %o`, e);
27 | return false;
28 | }
29 | log(`[FATAL] %o`, e);
30 | throw e;
31 | }
32 | }
33 | /**
34 | * Synchronous validation of a path existing either as a file or as a directory.
35 | *
36 | * @param {string} path The path to check
37 | * @param {number} type One or both of the exported numeric constants
38 | */
39 | function exists(path, type = exports.READABLE) {
40 | return check(path, (type & exports.FILE) > 0, (type & exports.FOLDER) > 0);
41 | }
42 | exports.exists = exists;
43 | /**
44 | * Constant representing a file
45 | */
46 | exports.FILE = 1;
47 | /**
48 | * Constant representing a folder
49 | */
50 | exports.FOLDER = 2;
51 | /**
52 | * Constant representing either a file or a folder
53 | */
54 | exports.READABLE = exports.FILE + exports.FOLDER;
55 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/src/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,2BAA8B;AAC9B,kDAA0B;AAE1B,MAAM,GAAG,GAAG,eAAK,CAAC,sBAAsB,CAAC,CAAC;AAE1C,SAAS,KAAK,CAAC,IAAY,EAAE,MAAe,EAAE,WAAoB;IAC/D,GAAG,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;IAEzB,IAAI;QACD,MAAM,IAAI,GAAG,aAAQ,CAAC,IAAI,CAAC,CAAC;QAE5B,IAAI,IAAI,CAAC,MAAM,EAAE,IAAI,MAAM,EAAE;YAC1B,GAAG,CAAC,6BAA6B,CAAC,CAAC;YACnC,OAAO,IAAI,CAAC;SACd;QAED,IAAI,IAAI,CAAC,WAAW,EAAE,IAAI,WAAW,EAAE;YACpC,GAAG,CAAC,kCAAkC,CAAC,CAAC;YACxC,OAAO,IAAI,CAAC;SACd;QAED,GAAG,CAAC,iEAAiE,CAAC,CAAC;QACvE,OAAO,KAAK,CAAC;KACf;IAAC,OAAO,CAAC,EAAE;QACT,IAAI,CAAC,CAAC,IAAI,KAAK,QAAQ,EAAE;YACtB,GAAG,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;YAC5C,OAAO,KAAK,CAAC;SACf;QAED,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;QACrB,MAAM,CAAC,CAAC;KACV;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,IAAY,EAAE,OAAe,gBAAQ;IACzD,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,GAAG,YAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,GAAG,cAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AAC9D,CAAC;AAFD,wBAEC;AAED;;GAEG;AACU,QAAA,IAAI,GAAG,CAAC,CAAC;AAEtB;;GAEG;AACU,QAAA,MAAM,GAAG,CAAC,CAAC;AAExB;;GAEG;AACU,QAAA,QAAQ,GAAG,YAAI,GAAG,cAAM,CAAC"}
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.d.ts:
--------------------------------------------------------------------------------
1 | export declare function statSync(...args: any[]): any;
2 | export declare function addStatSyncMock(fn: any): void;
3 | export declare function assertMocksUsed(): void;
4 | declare const mockFs: {
5 | statSync: typeof statSync;
6 | };
7 | export default mockFs;
8 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | let statSyncMocks = [];
4 | function statSync(...args) {
5 | const mock = statSyncMocks.shift();
6 | if (typeof mock !== 'function') {
7 | throw new Error(`fs.statSync called without configuring a mock`);
8 | }
9 | return mock(...args);
10 | }
11 | exports.statSync = statSync;
12 | function addStatSyncMock(fn) {
13 | statSyncMocks.push(fn);
14 | }
15 | exports.addStatSyncMock = addStatSyncMock;
16 | function assertMocksUsed() {
17 | if (statSyncMocks.length) {
18 | throw new Error(`fs.afterEach: statSync has ${statSyncMocks.length} unused mocks`);
19 | }
20 | }
21 | exports.assertMocksUsed = assertMocksUsed;
22 | const mockFs = {
23 | statSync,
24 | };
25 | exports.default = mockFs;
26 | //# sourceMappingURL=fs.js.map
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"fs.js","sourceRoot":"","sources":["../../../test/__mocks__/fs.ts"],"names":[],"mappings":";;AACA,IAAI,aAAa,GAAU,EAAE,CAAC;AAE9B,SAAgB,QAAQ,CAAC,GAAG,IAAW;IACpC,MAAO,IAAI,GAAG,aAAa,CAAC,KAAK,EAAE,CAAC;IACpC,IAAI,OAAO,IAAI,KAAK,UAAU,EAAE;QAC7B,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;KACnE;IAED,OAAO,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;AACxB,CAAC;AAPD,4BAOC;AAED,SAAgB,eAAe,CAAC,EAAO;IACpC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1B,CAAC;AAFD,0CAEC;AAED,SAAgB,eAAe;IAC5B,IAAI,aAAa,CAAC,MAAM,EAAE;QACvB,MAAM,IAAI,KAAK,CAAC,8BAA8B,aAAa,CAAC,MAAM,eAAe,CAAC,CAAC;KACrF;AACJ,CAAC;AAJD,0CAIC;AAED,MAAM,MAAM,GAAG;IACZ,QAAQ;CACV,CAAA;AAED,kBAAe,MAAM,CAAC"}
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/dist/test/exists.spec.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@kwsites/file-exists",
3 | "version": "1.1.1",
4 | "main": "./dist/index.js",
5 | "types": "./dist/index.d.ts",
6 | "license": "MIT",
7 | "repository": "git@github.com:kwsites/file-exists.git",
8 | "author": "Steve King ",
9 | "contributors": [
10 | {
11 | "name": "Steve King",
12 | "email": "steve@mydev.co"
13 | }
14 | ],
15 | "files": [
16 | "dist/**/*.*"
17 | ],
18 | "scripts": {
19 | "clean": "rimraf ./dist",
20 | "build": "yarn run clean && tsc",
21 | "preversion": "yarn run clean && yarn run build && yarn test",
22 | "postversion": "npm publish --access=public && git push && git push --tags",
23 | "test": "jest --coverage",
24 | "tsc": "tsc"
25 | },
26 | "devDependencies": {
27 | "@babel/core": "^7.10.1",
28 | "@babel/preset-env": "^7.10.1",
29 | "@babel/preset-typescript": "^7.10.1",
30 | "@types/debug": "^4.1.5",
31 | "@types/jest": "^26.0.0",
32 | "@types/node": "^10.12.0",
33 | "babel-jest": "^26.0.1",
34 | "jest": "^25.3.0",
35 | "rimraf": "^2.6.2",
36 | "ts-node": "^8.10.2",
37 | "typescript": "^3.1.3"
38 | },
39 | "dependencies": {
40 | "debug": "^4.1.1"
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/file-exists/readme.md:
--------------------------------------------------------------------------------
1 | # @kwsites/file-exists
2 |
3 | Synchronous validation of a path existing either as a file or as a directory.
4 |
5 | ```
6 | const { exists, FILE, FOLDER, READABLE } = require('@kwsites/file-exists');
7 |
8 | // check for a folder existing
9 | assert(exists(__dirname, FOLDER));
10 | assert(!exists(__filename, FOLDER));
11 |
12 | // check for a file existing
13 | assert(!exists(__filename, FILE));
14 | assert(exists(__filename, FILE));
15 |
16 | // when no type is specified, both folders and files are allowed
17 | assert(exists(__dirname));
18 | assert(exists(__filename));
19 |
20 | // alternatively specify both files and folders
21 | assert(exists(__dirname, FILE + FOLDER));
22 |
23 | // or just that the path is readable (can be either a file or folder)
24 | assert(exists(__filename, READABLE));
25 | ```
26 |
27 | ## Troubleshooting
28 |
29 | This library uses [debug](https://www.npmjs.com/package/debug) to handle logging,
30 | to enable logging, use either the environment variable:
31 |
32 | ```
33 | "DEBUG=@kwsites/file-exists" node ./your-app.js
34 | ```
35 |
36 | Or explicitly enable logging using the `debug` library itself:
37 |
38 | ```javascript
39 | require('debug').enable('@kwsites/file-exists');
40 | ```
41 |
42 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/promise-deferred/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 kwsites
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/promise-deferred/dist/index.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * The `DeferredPromise` has a `promise` property in an initially pending state,
3 | * that will be resolved when the `done` method is called or rejected when the
4 | * `fail` method is called.
5 | */
6 | export interface DeferredPromise {
7 | done(result: RESOLVES): void;
8 | fail(error: REJECTS): void;
9 | readonly status: DeferredPromiseStatus;
10 | readonly fulfilled: boolean;
11 | promise: Promise;
12 | }
13 | /**
14 | * The three states the DeferredPromise can be in - initially pending then either
15 | * resolved or rejected when it is fulfilled.
16 | *
17 | * ```typescript
18 | import {createDeferred, DeferredPromiseStatus} from '@kwsites/promise-deferred`;
19 |
20 | const pending: DeferredPromiseStatus = 'pending';
21 | expect(createDeferred()).toHaveProperty('status', pending);
22 | ```
23 | */
24 | export declare type DeferredPromiseStatus = 'pending' | 'resolved' | 'rejected';
25 | /**
26 | * Creates a new `DeferredPromise`
27 | *
28 | * ```typescript
29 | import {deferred} from '@kwsites/promise-deferred`;
30 | ```
31 | */
32 | export declare function deferred(): DeferredPromise;
33 | /**
34 | * Alias of the exported `deferred` function, to help consumers wanting to use `deferred` as the
35 | * local variable name rather than the factory import name, without needing to rename on import.
36 | *
37 | * ```typescript
38 | import {createDeferred} from '@kwsites/promise-deferred`;
39 | ```
40 | */
41 | export declare const createDeferred: typeof deferred;
42 | /**
43 | * Default export allows use as:
44 | *
45 | * ```typescript
46 | import deferred from '@kwsites/promise-deferred`;
47 | ```
48 | */
49 | export default deferred;
50 |
--------------------------------------------------------------------------------
/node_modules/@kwsites/promise-deferred/dist/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | exports.createDeferred = exports.deferred = void 0;
4 | /**
5 | * Creates a new `DeferredPromise`
6 | *
7 | * ```typescript
8 | import {deferred} from '@kwsites/promise-deferred`;
9 | ```
10 | */
11 | function deferred() {
12 | let done;
13 | let fail;
14 | let status = 'pending';
15 | const promise = new Promise((_done, _fail) => {
16 | done = _done;
17 | fail = _fail;
18 | });
19 | return {
20 | promise,
21 | done(result) {
22 | if (status === 'pending') {
23 | status = 'resolved';
24 | done(result);
25 | }
26 | },
27 | fail(error) {
28 | if (status === 'pending') {
29 | status = 'rejected';
30 | fail(error);
31 | }
32 | },
33 | get fulfilled() {
34 | return status !== 'pending';
35 | },
36 | get status() {
37 | return status;
38 | },
39 | };
40 | }
41 | exports.deferred = deferred;
42 | /**
43 | * Alias of the exported `deferred` function, to help consumers wanting to use `deferred` as the
44 | * local variable name rather than the factory import name, without needing to rename on import.
45 | *
46 | * ```typescript
47 | import {createDeferred} from '@kwsites/promise-deferred`;
48 | ```
49 | */
50 | exports.createDeferred = deferred;
51 | /**
52 | * Default export allows use as:
53 | *
54 | * ```typescript
55 | import deferred from '@kwsites/promise-deferred`;
56 | ```
57 | */
58 | exports.default = deferred;
59 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/node_modules/@kwsites/promise-deferred/dist/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AA0BA;;;;;;GAMG;AACH,SAAgB,QAAQ;IACrB,IAAI,IAAyB,CAAC;IAC9B,IAAI,IAAwB,CAAC;IAC7B,IAAI,MAAM,GAA0B,SAAS,CAAC;IAE9C,MAAM,OAAO,GAAe,IAAI,OAAO,CAAI,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QACzD,IAAI,GAAG,KAAK,CAAC;QACb,IAAI,GAAG,KAAK,CAAC;IAChB,CAAC,CAAC,CAAC;IAEH,OAAO;QACJ,OAAO;QACP,IAAI,CAAE,MAAM;YACT,IAAI,MAAM,KAAK,SAAS,EAAE;gBACvB,MAAM,GAAG,UAAU,CAAC;gBACpB,IAAI,CAAC,MAAM,CAAC,CAAC;aACf;QACJ,CAAC;QACD,IAAI,CAAE,KAAK;YACR,IAAI,MAAM,KAAK,SAAS,EAAE;gBACvB,MAAM,GAAG,UAAU,CAAC;gBACpB,IAAI,CAAC,KAAK,CAAC,CAAC;aACd;QACJ,CAAC;QACD,IAAI,SAAS;YACV,OAAO,MAAM,KAAK,SAAS,CAAC;QAC/B,CAAC;QACD,IAAI,MAAM;YACP,OAAO,MAAM,CAAC;QACjB,CAAC;KACH,CAAC;AACL,CAAC;AA/BD,4BA+BC;AAED;;;;;;;GAOG;AACU,QAAA,cAAc,GAAG,QAAQ,CAAC;AAEvC;;;;;;GAMG;AACH,kBAAe,QAAQ,CAAC"}
--------------------------------------------------------------------------------
/node_modules/@kwsites/promise-deferred/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@kwsites/promise-deferred",
3 | "description": "Minimalist creation of promise wrappers, exposing the ability to resolve or reject the inner promise",
4 | "version": "1.1.1",
5 | "private": false,
6 | "author": "Steve King ",
7 | "contributors": [
8 | {
9 | "name": "Steve King",
10 | "email": "steve@mydev.co"
11 | }
12 | ],
13 | "main": "./dist/index",
14 | "types": "./dist/index",
15 | "license": "MIT",
16 | "repository": "git://github.com/kwsites/promise-deferred.git",
17 | "devDependencies": {
18 | "@babel/core": "^7.10.3",
19 | "@babel/preset-env": "^7.10.3",
20 | "@babel/preset-typescript": "^7.10.1",
21 | "@types/jest": "^26.0.0",
22 | "@types/node": "^14.0.13",
23 | "babel-jest": "^26.1.0",
24 | "babel-preset-env": "^1.7.0",
25 | "jest": "^26.1.0",
26 | "ts-node": "^8.10.2",
27 | "typescript": "^3.9.5"
28 | },
29 | "files": [
30 | "LICENSE",
31 | "dist/**/*.*"
32 | ],
33 | "scripts": {
34 | "clean": "git clean -fxd -e .idea -e node_modules",
35 | "clean:modules": "git clean -fxd node_modules",
36 | "build": "tsc --build",
37 | "build:clean": "yarn run clean && tsc",
38 | "preversion": "yarn run build:clean && yarn test",
39 | "postversion": "npm publish --access=public && git push && git push --tags",
40 | "test": "jest --coverage",
41 | "tsc": "tsc"
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/node_modules/debug/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014-2017 TJ Holowaychuk
4 | Copyright (c) 2018-2021 Josh Junon
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software
7 | and associated documentation files (the 'Software'), to deal in the Software without restriction,
8 | including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 | and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all copies or substantial
13 | portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
16 | LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
19 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 |
21 |
--------------------------------------------------------------------------------
/node_modules/debug/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "debug",
3 | "version": "4.3.4",
4 | "repository": {
5 | "type": "git",
6 | "url": "git://github.com/debug-js/debug.git"
7 | },
8 | "description": "Lightweight debugging utility for Node.js and the browser",
9 | "keywords": [
10 | "debug",
11 | "log",
12 | "debugger"
13 | ],
14 | "files": [
15 | "src",
16 | "LICENSE",
17 | "README.md"
18 | ],
19 | "author": "Josh Junon ",
20 | "contributors": [
21 | "TJ Holowaychuk ",
22 | "Nathan Rajlich (http://n8.io)",
23 | "Andrew Rhyne "
24 | ],
25 | "license": "MIT",
26 | "scripts": {
27 | "lint": "xo",
28 | "test": "npm run test:node && npm run test:browser && npm run lint",
29 | "test:node": "istanbul cover _mocha -- test.js",
30 | "test:browser": "karma start --single-run",
31 | "test:coverage": "cat ./coverage/lcov.info | coveralls"
32 | },
33 | "dependencies": {
34 | "ms": "2.1.2"
35 | },
36 | "devDependencies": {
37 | "brfs": "^2.0.1",
38 | "browserify": "^16.2.3",
39 | "coveralls": "^3.0.2",
40 | "istanbul": "^0.4.5",
41 | "karma": "^3.1.4",
42 | "karma-browserify": "^6.0.0",
43 | "karma-chrome-launcher": "^2.2.0",
44 | "karma-mocha": "^1.3.0",
45 | "mocha": "^5.2.0",
46 | "mocha-lcov-reporter": "^1.2.0",
47 | "xo": "^0.23.0"
48 | },
49 | "peerDependenciesMeta": {
50 | "supports-color": {
51 | "optional": true
52 | }
53 | },
54 | "main": "./src/index.js",
55 | "browser": "./src/browser.js",
56 | "engines": {
57 | "node": ">=6.0"
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/node_modules/debug/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Detect Electron renderer / nwjs process, which is node, but we should
3 | * treat as a browser.
4 | */
5 |
6 | if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
7 | module.exports = require('./browser.js');
8 | } else {
9 | module.exports = require('./node.js');
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/graceful-fs/LICENSE:
--------------------------------------------------------------------------------
1 | The ISC License
2 |
3 | Copyright (c) 2011-2022 Isaac Z. Schlueter, Ben Noordhuis, and Contributors
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted, provided that the above
7 | copyright notice and this permission notice appear in all copies.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 |
--------------------------------------------------------------------------------
/node_modules/graceful-fs/clone.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | module.exports = clone
4 |
5 | var getPrototypeOf = Object.getPrototypeOf || function (obj) {
6 | return obj.__proto__
7 | }
8 |
9 | function clone (obj) {
10 | if (obj === null || typeof obj !== 'object')
11 | return obj
12 |
13 | if (obj instanceof Object)
14 | var copy = { __proto__: getPrototypeOf(obj) }
15 | else
16 | var copy = Object.create(null)
17 |
18 | Object.getOwnPropertyNames(obj).forEach(function (key) {
19 | Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))
20 | })
21 |
22 | return copy
23 | }
24 |
--------------------------------------------------------------------------------
/node_modules/graceful-fs/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "graceful-fs",
3 | "description": "A drop-in replacement for fs, making various improvements.",
4 | "version": "4.2.11",
5 | "repository": {
6 | "type": "git",
7 | "url": "https://github.com/isaacs/node-graceful-fs"
8 | },
9 | "main": "graceful-fs.js",
10 | "directories": {
11 | "test": "test"
12 | },
13 | "scripts": {
14 | "preversion": "npm test",
15 | "postversion": "npm publish",
16 | "postpublish": "git push origin --follow-tags",
17 | "test": "nyc --silent node test.js | tap -c -",
18 | "posttest": "nyc report"
19 | },
20 | "keywords": [
21 | "fs",
22 | "module",
23 | "reading",
24 | "retry",
25 | "retries",
26 | "queue",
27 | "error",
28 | "errors",
29 | "handling",
30 | "EMFILE",
31 | "EAGAIN",
32 | "EINVAL",
33 | "EPERM",
34 | "EACCESS"
35 | ],
36 | "license": "ISC",
37 | "devDependencies": {
38 | "import-fresh": "^2.0.0",
39 | "mkdirp": "^0.5.0",
40 | "rimraf": "^2.2.8",
41 | "tap": "^16.3.4"
42 | },
43 | "files": [
44 | "fs.js",
45 | "graceful-fs.js",
46 | "legacy-streams.js",
47 | "polyfills.js",
48 | "clone.js"
49 | ],
50 | "tap": {
51 | "reporter": "classic"
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/node_modules/jsonfile/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012-2015, JP Richardson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
6 | (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
7 | merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11 |
12 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
14 | OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
15 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16 |
--------------------------------------------------------------------------------
/node_modules/jsonfile/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jsonfile",
3 | "version": "6.1.0",
4 | "description": "Easily read/write JSON files.",
5 | "repository": {
6 | "type": "git",
7 | "url": "git@github.com:jprichardson/node-jsonfile.git"
8 | },
9 | "keywords": [
10 | "read",
11 | "write",
12 | "file",
13 | "json",
14 | "fs",
15 | "fs-extra"
16 | ],
17 | "author": "JP Richardson ",
18 | "license": "MIT",
19 | "dependencies": {
20 | "universalify": "^2.0.0"
21 | },
22 | "optionalDependencies": {
23 | "graceful-fs": "^4.1.6"
24 | },
25 | "devDependencies": {
26 | "mocha": "^8.2.0",
27 | "rimraf": "^2.4.0",
28 | "standard": "^16.0.1"
29 | },
30 | "main": "index.js",
31 | "files": [
32 | "index.js",
33 | "utils.js"
34 | ],
35 | "scripts": {
36 | "lint": "standard",
37 | "test": "npm run lint && npm run unit",
38 | "unit": "mocha"
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/node_modules/jsonfile/utils.js:
--------------------------------------------------------------------------------
1 | function stringify (obj, { EOL = '\n', finalEOL = true, replacer = null, spaces } = {}) {
2 | const EOF = finalEOL ? EOL : ''
3 | const str = JSON.stringify(obj, replacer, spaces)
4 |
5 | return str.replace(/\n/g, EOL) + EOF
6 | }
7 |
8 | function stripBom (content) {
9 | // we do this because JSON.parse would convert it to a utf8 string if encoding wasn't specified
10 | if (Buffer.isBuffer(content)) content = content.toString('utf8')
11 | return content.replace(/^\uFEFF/, '')
12 | }
13 |
14 | module.exports = { stringify, stripBom }
15 |
--------------------------------------------------------------------------------
/node_modules/moment/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) JS Foundation and other contributors
2 |
3 | Permission is hereby granted, free of charge, to any person
4 | obtaining a copy of this software and associated documentation
5 | files (the "Software"), to deal in the Software without
6 | restriction, including without limitation the rights to use,
7 | copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the
9 | Software is furnished to do so, subject to the following
10 | conditions:
11 |
12 | The above copyright notice and this permission notice shall be
13 | included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 | OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/ar-kw.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Arabic (Kuwait) [ar-kw]
3 | //! author : Nusret Parlak: https://github.com/nusretparlak
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('ar-kw', {
8 | months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
9 | '_'
10 | ),
11 | monthsShort:
12 | 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
13 | '_'
14 | ),
15 | weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
16 | weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
17 | weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
18 | weekdaysParseExact: true,
19 | longDateFormat: {
20 | LT: 'HH:mm',
21 | LTS: 'HH:mm:ss',
22 | L: 'DD/MM/YYYY',
23 | LL: 'D MMMM YYYY',
24 | LLL: 'D MMMM YYYY HH:mm',
25 | LLLL: 'dddd D MMMM YYYY HH:mm',
26 | },
27 | calendar: {
28 | sameDay: '[اليوم على الساعة] LT',
29 | nextDay: '[غدا على الساعة] LT',
30 | nextWeek: 'dddd [على الساعة] LT',
31 | lastDay: '[أمس على الساعة] LT',
32 | lastWeek: 'dddd [على الساعة] LT',
33 | sameElse: 'L',
34 | },
35 | relativeTime: {
36 | future: 'في %s',
37 | past: 'منذ %s',
38 | s: 'ثوان',
39 | ss: '%d ثانية',
40 | m: 'دقيقة',
41 | mm: '%d دقائق',
42 | h: 'ساعة',
43 | hh: '%d ساعات',
44 | d: 'يوم',
45 | dd: '%d أيام',
46 | M: 'شهر',
47 | MM: '%d أشهر',
48 | y: 'سنة',
49 | yy: '%d سنوات',
50 | },
51 | week: {
52 | dow: 0, // Sunday is the first day of the week.
53 | doy: 12, // The week that contains Jan 12th is the first week of the year.
54 | },
55 | });
56 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/ar-ma.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Arabic (Morocco) [ar-ma]
3 | //! author : ElFadili Yassine : https://github.com/ElFadiliY
4 | //! author : Abdel Said : https://github.com/abdelsaid
5 |
6 | import moment from '../moment';
7 |
8 | export default moment.defineLocale('ar-ma', {
9 | months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
10 | '_'
11 | ),
12 | monthsShort:
13 | 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
14 | '_'
15 | ),
16 | weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
17 | weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
18 | weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
19 | weekdaysParseExact: true,
20 | longDateFormat: {
21 | LT: 'HH:mm',
22 | LTS: 'HH:mm:ss',
23 | L: 'DD/MM/YYYY',
24 | LL: 'D MMMM YYYY',
25 | LLL: 'D MMMM YYYY HH:mm',
26 | LLLL: 'dddd D MMMM YYYY HH:mm',
27 | },
28 | calendar: {
29 | sameDay: '[اليوم على الساعة] LT',
30 | nextDay: '[غدا على الساعة] LT',
31 | nextWeek: 'dddd [على الساعة] LT',
32 | lastDay: '[أمس على الساعة] LT',
33 | lastWeek: 'dddd [على الساعة] LT',
34 | sameElse: 'L',
35 | },
36 | relativeTime: {
37 | future: 'في %s',
38 | past: 'منذ %s',
39 | s: 'ثوان',
40 | ss: '%d ثانية',
41 | m: 'دقيقة',
42 | mm: '%d دقائق',
43 | h: 'ساعة',
44 | hh: '%d ساعات',
45 | d: 'يوم',
46 | dd: '%d أيام',
47 | M: 'شهر',
48 | MM: '%d أشهر',
49 | y: 'سنة',
50 | yy: '%d سنوات',
51 | },
52 | week: {
53 | dow: 1, // Monday is the first day of the week.
54 | doy: 4, // The week that contains Jan 4th is the first week of the year.
55 | },
56 | });
57 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/ar-tn.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Arabic (Tunisia) [ar-tn]
3 | //! author : Nader Toukabri : https://github.com/naderio
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('ar-tn', {
8 | months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
9 | '_'
10 | ),
11 | monthsShort:
12 | 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
13 | '_'
14 | ),
15 | weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
16 | weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
17 | weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
18 | weekdaysParseExact: true,
19 | longDateFormat: {
20 | LT: 'HH:mm',
21 | LTS: 'HH:mm:ss',
22 | L: 'DD/MM/YYYY',
23 | LL: 'D MMMM YYYY',
24 | LLL: 'D MMMM YYYY HH:mm',
25 | LLLL: 'dddd D MMMM YYYY HH:mm',
26 | },
27 | calendar: {
28 | sameDay: '[اليوم على الساعة] LT',
29 | nextDay: '[غدا على الساعة] LT',
30 | nextWeek: 'dddd [على الساعة] LT',
31 | lastDay: '[أمس على الساعة] LT',
32 | lastWeek: 'dddd [على الساعة] LT',
33 | sameElse: 'L',
34 | },
35 | relativeTime: {
36 | future: 'في %s',
37 | past: 'منذ %s',
38 | s: 'ثوان',
39 | ss: '%d ثانية',
40 | m: 'دقيقة',
41 | mm: '%d دقائق',
42 | h: 'ساعة',
43 | hh: '%d ساعات',
44 | d: 'يوم',
45 | dd: '%d أيام',
46 | M: 'شهر',
47 | MM: '%d أشهر',
48 | y: 'سنة',
49 | yy: '%d سنوات',
50 | },
51 | week: {
52 | dow: 1, // Monday is the first day of the week.
53 | doy: 4, // The week that contains Jan 4th is the first week of the year.
54 | },
55 | });
56 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/da.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Danish [da]
3 | //! author : Ulrik Nielsen : https://github.com/mrbase
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('da', {
8 | months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
9 | '_'
10 | ),
11 | monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
12 | weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
13 | weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
14 | weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
15 | longDateFormat: {
16 | LT: 'HH:mm',
17 | LTS: 'HH:mm:ss',
18 | L: 'DD.MM.YYYY',
19 | LL: 'D. MMMM YYYY',
20 | LLL: 'D. MMMM YYYY HH:mm',
21 | LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
22 | },
23 | calendar: {
24 | sameDay: '[i dag kl.] LT',
25 | nextDay: '[i morgen kl.] LT',
26 | nextWeek: 'på dddd [kl.] LT',
27 | lastDay: '[i går kl.] LT',
28 | lastWeek: '[i] dddd[s kl.] LT',
29 | sameElse: 'L',
30 | },
31 | relativeTime: {
32 | future: 'om %s',
33 | past: '%s siden',
34 | s: 'få sekunder',
35 | ss: '%d sekunder',
36 | m: 'et minut',
37 | mm: '%d minutter',
38 | h: 'en time',
39 | hh: '%d timer',
40 | d: 'en dag',
41 | dd: '%d dage',
42 | M: 'en måned',
43 | MM: '%d måneder',
44 | y: 'et år',
45 | yy: '%d år',
46 | },
47 | dayOfMonthOrdinalParse: /\d{1,2}\./,
48 | ordinal: '%d.',
49 | week: {
50 | dow: 1, // Monday is the first day of the week.
51 | doy: 4, // The week that contains Jan 4th is the first week of the year.
52 | },
53 | });
54 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/mt.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Maltese (Malta) [mt]
3 | //! author : Alessandro Maruccia : https://github.com/alesma
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('mt', {
8 | months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
9 | '_'
10 | ),
11 | monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
12 | weekdays:
13 | 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
14 | '_'
15 | ),
16 | weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
17 | weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
18 | longDateFormat: {
19 | LT: 'HH:mm',
20 | LTS: 'HH:mm:ss',
21 | L: 'DD/MM/YYYY',
22 | LL: 'D MMMM YYYY',
23 | LLL: 'D MMMM YYYY HH:mm',
24 | LLLL: 'dddd, D MMMM YYYY HH:mm',
25 | },
26 | calendar: {
27 | sameDay: '[Illum fil-]LT',
28 | nextDay: '[Għada fil-]LT',
29 | nextWeek: 'dddd [fil-]LT',
30 | lastDay: '[Il-bieraħ fil-]LT',
31 | lastWeek: 'dddd [li għadda] [fil-]LT',
32 | sameElse: 'L',
33 | },
34 | relativeTime: {
35 | future: 'f’ %s',
36 | past: '%s ilu',
37 | s: 'ftit sekondi',
38 | ss: '%d sekondi',
39 | m: 'minuta',
40 | mm: '%d minuti',
41 | h: 'siegħa',
42 | hh: '%d siegħat',
43 | d: 'ġurnata',
44 | dd: '%d ġranet',
45 | M: 'xahar',
46 | MM: '%d xhur',
47 | y: 'sena',
48 | yy: '%d sni',
49 | },
50 | dayOfMonthOrdinalParse: /\d{1,2}º/,
51 | ordinal: '%dº',
52 | week: {
53 | dow: 1, // Monday is the first day of the week.
54 | doy: 4, // The week that contains Jan 4th is the first week of the year.
55 | },
56 | });
57 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/sw.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Swahili [sw]
3 | //! author : Fahad Kassim : https://github.com/fadsel
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('sw', {
8 | months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
9 | '_'
10 | ),
11 | monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
12 | weekdays:
13 | 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
14 | '_'
15 | ),
16 | weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
17 | weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
18 | weekdaysParseExact: true,
19 | longDateFormat: {
20 | LT: 'hh:mm A',
21 | LTS: 'HH:mm:ss',
22 | L: 'DD.MM.YYYY',
23 | LL: 'D MMMM YYYY',
24 | LLL: 'D MMMM YYYY HH:mm',
25 | LLLL: 'dddd, D MMMM YYYY HH:mm',
26 | },
27 | calendar: {
28 | sameDay: '[leo saa] LT',
29 | nextDay: '[kesho saa] LT',
30 | nextWeek: '[wiki ijayo] dddd [saat] LT',
31 | lastDay: '[jana] LT',
32 | lastWeek: '[wiki iliyopita] dddd [saat] LT',
33 | sameElse: 'L',
34 | },
35 | relativeTime: {
36 | future: '%s baadaye',
37 | past: 'tokea %s',
38 | s: 'hivi punde',
39 | ss: 'sekunde %d',
40 | m: 'dakika moja',
41 | mm: 'dakika %d',
42 | h: 'saa limoja',
43 | hh: 'masaa %d',
44 | d: 'siku moja',
45 | dd: 'siku %d',
46 | M: 'mwezi mmoja',
47 | MM: 'miezi %d',
48 | y: 'mwaka mmoja',
49 | yy: 'miaka %d',
50 | },
51 | week: {
52 | dow: 1, // Monday is the first day of the week.
53 | doy: 7, // The week that contains Jan 7th is the first week of the year.
54 | },
55 | });
56 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/tzm-latn.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Central Atlas Tamazight Latin [tzm-latn]
3 | //! author : Abdel Said : https://github.com/abdelsaid
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('tzm-latn', {
8 | months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
9 | '_'
10 | ),
11 | monthsShort:
12 | 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
13 | '_'
14 | ),
15 | weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
16 | weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
17 | weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
18 | longDateFormat: {
19 | LT: 'HH:mm',
20 | LTS: 'HH:mm:ss',
21 | L: 'DD/MM/YYYY',
22 | LL: 'D MMMM YYYY',
23 | LLL: 'D MMMM YYYY HH:mm',
24 | LLLL: 'dddd D MMMM YYYY HH:mm',
25 | },
26 | calendar: {
27 | sameDay: '[asdkh g] LT',
28 | nextDay: '[aska g] LT',
29 | nextWeek: 'dddd [g] LT',
30 | lastDay: '[assant g] LT',
31 | lastWeek: 'dddd [g] LT',
32 | sameElse: 'L',
33 | },
34 | relativeTime: {
35 | future: 'dadkh s yan %s',
36 | past: 'yan %s',
37 | s: 'imik',
38 | ss: '%d imik',
39 | m: 'minuḍ',
40 | mm: '%d minuḍ',
41 | h: 'saɛa',
42 | hh: '%d tassaɛin',
43 | d: 'ass',
44 | dd: '%d ossan',
45 | M: 'ayowr',
46 | MM: '%d iyyirn',
47 | y: 'asgas',
48 | yy: '%d isgasn',
49 | },
50 | week: {
51 | dow: 6, // Saturday is the first day of the week.
52 | doy: 12, // The week that contains Jan 12th is the first week of the year.
53 | },
54 | });
55 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/tzm.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Central Atlas Tamazight [tzm]
3 | //! author : Abdel Said : https://github.com/abdelsaid
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('tzm', {
8 | months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
9 | '_'
10 | ),
11 | monthsShort:
12 | 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
13 | '_'
14 | ),
15 | weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
16 | weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
17 | weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
18 | longDateFormat: {
19 | LT: 'HH:mm',
20 | LTS: 'HH:mm:ss',
21 | L: 'DD/MM/YYYY',
22 | LL: 'D MMMM YYYY',
23 | LLL: 'D MMMM YYYY HH:mm',
24 | LLLL: 'dddd D MMMM YYYY HH:mm',
25 | },
26 | calendar: {
27 | sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
28 | nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
29 | nextWeek: 'dddd [ⴴ] LT',
30 | lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
31 | lastWeek: 'dddd [ⴴ] LT',
32 | sameElse: 'L',
33 | },
34 | relativeTime: {
35 | future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
36 | past: 'ⵢⴰⵏ %s',
37 | s: 'ⵉⵎⵉⴽ',
38 | ss: '%d ⵉⵎⵉⴽ',
39 | m: 'ⵎⵉⵏⵓⴺ',
40 | mm: '%d ⵎⵉⵏⵓⴺ',
41 | h: 'ⵙⴰⵄⴰ',
42 | hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
43 | d: 'ⴰⵙⵙ',
44 | dd: '%d oⵙⵙⴰⵏ',
45 | M: 'ⴰⵢoⵓⵔ',
46 | MM: '%d ⵉⵢⵢⵉⵔⵏ',
47 | y: 'ⴰⵙⴳⴰⵙ',
48 | yy: '%d ⵉⵙⴳⴰⵙⵏ',
49 | },
50 | week: {
51 | dow: 6, // Saturday is the first day of the week.
52 | doy: 12, // The week that contains Jan 12th is the first week of the year.
53 | },
54 | });
55 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/uz-latn.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Uzbek Latin [uz-latn]
3 | //! author : Rasulbek Mirzayev : github.com/Rasulbeeek
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('uz-latn', {
8 | months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
9 | '_'
10 | ),
11 | monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
12 | weekdays:
13 | 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
14 | '_'
15 | ),
16 | weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
17 | weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
18 | longDateFormat: {
19 | LT: 'HH:mm',
20 | LTS: 'HH:mm:ss',
21 | L: 'DD/MM/YYYY',
22 | LL: 'D MMMM YYYY',
23 | LLL: 'D MMMM YYYY HH:mm',
24 | LLLL: 'D MMMM YYYY, dddd HH:mm',
25 | },
26 | calendar: {
27 | sameDay: '[Bugun soat] LT [da]',
28 | nextDay: '[Ertaga] LT [da]',
29 | nextWeek: 'dddd [kuni soat] LT [da]',
30 | lastDay: '[Kecha soat] LT [da]',
31 | lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
32 | sameElse: 'L',
33 | },
34 | relativeTime: {
35 | future: 'Yaqin %s ichida',
36 | past: 'Bir necha %s oldin',
37 | s: 'soniya',
38 | ss: '%d soniya',
39 | m: 'bir daqiqa',
40 | mm: '%d daqiqa',
41 | h: 'bir soat',
42 | hh: '%d soat',
43 | d: 'bir kun',
44 | dd: '%d kun',
45 | M: 'bir oy',
46 | MM: '%d oy',
47 | y: 'bir yil',
48 | yy: '%d yil',
49 | },
50 | week: {
51 | dow: 1, // Monday is the first day of the week.
52 | doy: 7, // The week that contains Jan 7th is the first week of the year.
53 | },
54 | });
55 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/uz.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Uzbek [uz]
3 | //! author : Sardor Muminov : https://github.com/muminoff
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('uz', {
8 | months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
9 | '_'
10 | ),
11 | monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
12 | weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
13 | weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
14 | weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
15 | longDateFormat: {
16 | LT: 'HH:mm',
17 | LTS: 'HH:mm:ss',
18 | L: 'DD/MM/YYYY',
19 | LL: 'D MMMM YYYY',
20 | LLL: 'D MMMM YYYY HH:mm',
21 | LLLL: 'D MMMM YYYY, dddd HH:mm',
22 | },
23 | calendar: {
24 | sameDay: '[Бугун соат] LT [да]',
25 | nextDay: '[Эртага] LT [да]',
26 | nextWeek: 'dddd [куни соат] LT [да]',
27 | lastDay: '[Кеча соат] LT [да]',
28 | lastWeek: '[Утган] dddd [куни соат] LT [да]',
29 | sameElse: 'L',
30 | },
31 | relativeTime: {
32 | future: 'Якин %s ичида',
33 | past: 'Бир неча %s олдин',
34 | s: 'фурсат',
35 | ss: '%d фурсат',
36 | m: 'бир дакика',
37 | mm: '%d дакика',
38 | h: 'бир соат',
39 | hh: '%d соат',
40 | d: 'бир кун',
41 | dd: '%d кун',
42 | M: 'бир ой',
43 | MM: '%d ой',
44 | y: 'бир йил',
45 | yy: '%d йил',
46 | },
47 | week: {
48 | dow: 1, // Monday is the first day of the week.
49 | doy: 7, // The week that contains Jan 4th is the first week of the year.
50 | },
51 | });
52 |
--------------------------------------------------------------------------------
/node_modules/moment/dist/locale/yo.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Yoruba Nigeria [yo]
3 | //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('yo', {
8 | months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
9 | '_'
10 | ),
11 | monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
12 | weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
13 | weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
14 | weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
15 | longDateFormat: {
16 | LT: 'h:mm A',
17 | LTS: 'h:mm:ss A',
18 | L: 'DD/MM/YYYY',
19 | LL: 'D MMMM YYYY',
20 | LLL: 'D MMMM YYYY h:mm A',
21 | LLLL: 'dddd, D MMMM YYYY h:mm A',
22 | },
23 | calendar: {
24 | sameDay: '[Ònì ni] LT',
25 | nextDay: '[Ọ̀la ni] LT',
26 | nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
27 | lastDay: '[Àna ni] LT',
28 | lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
29 | sameElse: 'L',
30 | },
31 | relativeTime: {
32 | future: 'ní %s',
33 | past: '%s kọjá',
34 | s: 'ìsẹjú aayá die',
35 | ss: 'aayá %d',
36 | m: 'ìsẹjú kan',
37 | mm: 'ìsẹjú %d',
38 | h: 'wákati kan',
39 | hh: 'wákati %d',
40 | d: 'ọjọ́ kan',
41 | dd: 'ọjọ́ %d',
42 | M: 'osù kan',
43 | MM: 'osù %d',
44 | y: 'ọdún kan',
45 | yy: 'ọdún %d',
46 | },
47 | dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
48 | ordinal: 'ọjọ́ %d',
49 | week: {
50 | dow: 1, // Monday is the first day of the week.
51 | doy: 4, // The week that contains Jan 4th is the first week of the year.
52 | },
53 | });
54 |
--------------------------------------------------------------------------------
/node_modules/moment/ender.js:
--------------------------------------------------------------------------------
1 | $.ender({ moment: require('moment') })
2 |
--------------------------------------------------------------------------------
/node_modules/moment/package.js:
--------------------------------------------------------------------------------
1 | var profile = {
2 | resourceTags: {
3 | ignore: function(filename, mid){
4 | // only include moment/moment
5 | return mid != "moment/moment";
6 | },
7 | amd: function(filename, mid){
8 | return /\.js$/.test(filename);
9 | }
10 | }
11 | };
12 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/create/check-overflow.js:
--------------------------------------------------------------------------------
1 | import { daysInMonth } from '../units/month';
2 | import {
3 | YEAR,
4 | MONTH,
5 | DATE,
6 | HOUR,
7 | MINUTE,
8 | SECOND,
9 | MILLISECOND,
10 | WEEK,
11 | WEEKDAY,
12 | } from '../units/constants';
13 | import getParsingFlags from '../create/parsing-flags';
14 |
15 | export default function checkOverflow(m) {
16 | var overflow,
17 | a = m._a;
18 |
19 | if (a && getParsingFlags(m).overflow === -2) {
20 | overflow =
21 | a[MONTH] < 0 || a[MONTH] > 11
22 | ? MONTH
23 | : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])
24 | ? DATE
25 | : a[HOUR] < 0 ||
26 | a[HOUR] > 24 ||
27 | (a[HOUR] === 24 &&
28 | (a[MINUTE] !== 0 ||
29 | a[SECOND] !== 0 ||
30 | a[MILLISECOND] !== 0))
31 | ? HOUR
32 | : a[MINUTE] < 0 || a[MINUTE] > 59
33 | ? MINUTE
34 | : a[SECOND] < 0 || a[SECOND] > 59
35 | ? SECOND
36 | : a[MILLISECOND] < 0 || a[MILLISECOND] > 999
37 | ? MILLISECOND
38 | : -1;
39 |
40 | if (
41 | getParsingFlags(m)._overflowDayOfYear &&
42 | (overflow < YEAR || overflow > DATE)
43 | ) {
44 | overflow = DATE;
45 | }
46 | if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
47 | overflow = WEEK;
48 | }
49 | if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
50 | overflow = WEEKDAY;
51 | }
52 |
53 | getParsingFlags(m).overflow = overflow;
54 | }
55 |
56 | return m;
57 | }
58 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/create/date-from-array.js:
--------------------------------------------------------------------------------
1 | export function createDate(y, m, d, h, M, s, ms) {
2 | // can't just apply() to create a date:
3 | // https://stackoverflow.com/q/181348
4 | var date;
5 | // the date constructor remaps years 0-99 to 1900-1999
6 | if (y < 100 && y >= 0) {
7 | // preserve leap years using a full 400 year cycle, then reset
8 | date = new Date(y + 400, m, d, h, M, s, ms);
9 | if (isFinite(date.getFullYear())) {
10 | date.setFullYear(y);
11 | }
12 | } else {
13 | date = new Date(y, m, d, h, M, s, ms);
14 | }
15 |
16 | return date;
17 | }
18 |
19 | export function createUTCDate(y) {
20 | var date, args;
21 | // the Date.UTC function remaps years 0-99 to 1900-1999
22 | if (y < 100 && y >= 0) {
23 | args = Array.prototype.slice.call(arguments);
24 | // preserve leap years using a full 400 year cycle, then reset
25 | args[0] = y + 400;
26 | date = new Date(Date.UTC.apply(null, args));
27 | if (isFinite(date.getUTCFullYear())) {
28 | date.setUTCFullYear(y);
29 | }
30 | } else {
31 | date = new Date(Date.UTC.apply(null, arguments));
32 | }
33 |
34 | return date;
35 | }
36 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/create/from-object.js:
--------------------------------------------------------------------------------
1 | import { normalizeObjectUnits } from '../units/aliases';
2 | import { configFromArray } from './from-array';
3 | import map from '../utils/map';
4 |
5 | export function configFromObject(config) {
6 | if (config._d) {
7 | return;
8 | }
9 |
10 | var i = normalizeObjectUnits(config._i),
11 | dayOrDate = i.day === undefined ? i.date : i.day;
12 | config._a = map(
13 | [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],
14 | function (obj) {
15 | return obj && parseInt(obj, 10);
16 | }
17 | );
18 |
19 | configFromArray(config);
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/create/local.js:
--------------------------------------------------------------------------------
1 | import { createLocalOrUTC } from './from-anything';
2 |
3 | export function createLocal(input, format, locale, strict) {
4 | return createLocalOrUTC(input, format, locale, strict, false);
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/create/parsing-flags.js:
--------------------------------------------------------------------------------
1 | function defaultParsingFlags() {
2 | // We need to deep clone this object.
3 | return {
4 | empty: false,
5 | unusedTokens: [],
6 | unusedInput: [],
7 | overflow: -2,
8 | charsLeftOver: 0,
9 | nullInput: false,
10 | invalidEra: null,
11 | invalidMonth: null,
12 | invalidFormat: false,
13 | userInvalidated: false,
14 | iso: false,
15 | parsedDateParts: [],
16 | era: null,
17 | meridiem: null,
18 | rfc2822: false,
19 | weekdayMismatch: false,
20 | };
21 | }
22 |
23 | export default function getParsingFlags(m) {
24 | if (m._pf == null) {
25 | m._pf = defaultParsingFlags();
26 | }
27 | return m._pf;
28 | }
29 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/create/utc.js:
--------------------------------------------------------------------------------
1 | import { createLocalOrUTC } from './from-anything';
2 |
3 | export function createUTC(input, format, locale, strict) {
4 | return createLocalOrUTC(input, format, locale, strict, true).utc();
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/create/valid.js:
--------------------------------------------------------------------------------
1 | import extend from '../utils/extend';
2 | import { createUTC } from './utc';
3 | import getParsingFlags from '../create/parsing-flags';
4 | import some from '../utils/some';
5 |
6 | export function isValid(m) {
7 | var flags = null,
8 | parsedParts = false,
9 | isNowValid = m._d && !isNaN(m._d.getTime());
10 | if (isNowValid) {
11 | flags = getParsingFlags(m);
12 | parsedParts = some.call(flags.parsedDateParts, function (i) {
13 | return i != null;
14 | });
15 | isNowValid =
16 | flags.overflow < 0 &&
17 | !flags.empty &&
18 | !flags.invalidEra &&
19 | !flags.invalidMonth &&
20 | !flags.invalidWeekday &&
21 | !flags.weekdayMismatch &&
22 | !flags.nullInput &&
23 | !flags.invalidFormat &&
24 | !flags.userInvalidated &&
25 | (!flags.meridiem || (flags.meridiem && parsedParts));
26 | if (m._strict) {
27 | isNowValid =
28 | isNowValid &&
29 | flags.charsLeftOver === 0 &&
30 | flags.unusedTokens.length === 0 &&
31 | flags.bigHour === undefined;
32 | }
33 | }
34 | if (Object.isFrozen == null || !Object.isFrozen(m)) {
35 | m._isValid = isNowValid;
36 | } else {
37 | return isNowValid;
38 | }
39 | return m._isValid;
40 | }
41 |
42 | export function createInvalid(flags) {
43 | var m = createUTC(NaN);
44 | if (flags != null) {
45 | extend(getParsingFlags(m), flags);
46 | } else {
47 | getParsingFlags(m).userInvalidated = true;
48 | }
49 |
50 | return m;
51 | }
52 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/duration/abs.js:
--------------------------------------------------------------------------------
1 | var mathAbs = Math.abs;
2 |
3 | export function abs() {
4 | var data = this._data;
5 |
6 | this._milliseconds = mathAbs(this._milliseconds);
7 | this._days = mathAbs(this._days);
8 | this._months = mathAbs(this._months);
9 |
10 | data.milliseconds = mathAbs(data.milliseconds);
11 | data.seconds = mathAbs(data.seconds);
12 | data.minutes = mathAbs(data.minutes);
13 | data.hours = mathAbs(data.hours);
14 | data.months = mathAbs(data.months);
15 | data.years = mathAbs(data.years);
16 |
17 | return this;
18 | }
19 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/duration/add-subtract.js:
--------------------------------------------------------------------------------
1 | import { createDuration } from './create';
2 |
3 | function addSubtract(duration, input, value, direction) {
4 | var other = createDuration(input, value);
5 |
6 | duration._milliseconds += direction * other._milliseconds;
7 | duration._days += direction * other._days;
8 | duration._months += direction * other._months;
9 |
10 | return duration._bubble();
11 | }
12 |
13 | // supports only 2.0-style add(1, 's') or add(duration)
14 | export function add(input, value) {
15 | return addSubtract(this, input, value, 1);
16 | }
17 |
18 | // supports only 2.0-style subtract(1, 's') or subtract(duration)
19 | export function subtract(input, value) {
20 | return addSubtract(this, input, value, -1);
21 | }
22 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/duration/clone.js:
--------------------------------------------------------------------------------
1 | import { createDuration } from './create';
2 |
3 | export function clone() {
4 | return createDuration(this);
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/duration/constructor.js:
--------------------------------------------------------------------------------
1 | import { normalizeObjectUnits } from '../units/aliases';
2 | import { getLocale } from '../locale/locales';
3 | import isDurationValid from './valid.js';
4 |
5 | export function Duration(duration) {
6 | var normalizedInput = normalizeObjectUnits(duration),
7 | years = normalizedInput.year || 0,
8 | quarters = normalizedInput.quarter || 0,
9 | months = normalizedInput.month || 0,
10 | weeks = normalizedInput.week || normalizedInput.isoWeek || 0,
11 | days = normalizedInput.day || 0,
12 | hours = normalizedInput.hour || 0,
13 | minutes = normalizedInput.minute || 0,
14 | seconds = normalizedInput.second || 0,
15 | milliseconds = normalizedInput.millisecond || 0;
16 |
17 | this._isValid = isDurationValid(normalizedInput);
18 |
19 | // representation for dateAddRemove
20 | this._milliseconds =
21 | +milliseconds +
22 | seconds * 1e3 + // 1000
23 | minutes * 6e4 + // 1000 * 60
24 | hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
25 | // Because of dateAddRemove treats 24 hours as different from a
26 | // day when working around DST, we need to store them separately
27 | this._days = +days + weeks * 7;
28 | // It is impossible to translate months into days without knowing
29 | // which months you are are talking about, so we have to store
30 | // it separately.
31 | this._months = +months + quarters * 3 + years * 12;
32 |
33 | this._data = {};
34 |
35 | this._locale = getLocale();
36 |
37 | this._bubble();
38 | }
39 |
40 | export function isDuration(obj) {
41 | return obj instanceof Duration;
42 | }
43 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/duration/duration.js:
--------------------------------------------------------------------------------
1 | // Side effect imports
2 | import './prototype';
3 |
4 | import { createDuration } from './create';
5 | import { isDuration } from './constructor';
6 | import {
7 | getSetRelativeTimeRounding,
8 | getSetRelativeTimeThreshold,
9 | } from './humanize';
10 |
11 | export {
12 | createDuration,
13 | isDuration,
14 | getSetRelativeTimeRounding,
15 | getSetRelativeTimeThreshold,
16 | };
17 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/duration/get.js:
--------------------------------------------------------------------------------
1 | import { normalizeUnits } from '../units/aliases';
2 | import absFloor from '../utils/abs-floor';
3 |
4 | export function get(units) {
5 | units = normalizeUnits(units);
6 | return this.isValid() ? this[units + 's']() : NaN;
7 | }
8 |
9 | function makeGetter(name) {
10 | return function () {
11 | return this.isValid() ? this._data[name] : NaN;
12 | };
13 | }
14 |
15 | var milliseconds = makeGetter('milliseconds'),
16 | seconds = makeGetter('seconds'),
17 | minutes = makeGetter('minutes'),
18 | hours = makeGetter('hours'),
19 | days = makeGetter('days'),
20 | months = makeGetter('months'),
21 | years = makeGetter('years');
22 |
23 | export { milliseconds, seconds, minutes, hours, days, months, years };
24 |
25 | export function weeks() {
26 | return absFloor(this.days() / 7);
27 | }
28 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/duration/valid.js:
--------------------------------------------------------------------------------
1 | import hasOwnProp from '../utils/has-own-prop';
2 | import toInt from '../utils/to-int';
3 | import indexOf from '../utils/index-of';
4 | import { createDuration } from './create';
5 |
6 | var ordering = [
7 | 'year',
8 | 'quarter',
9 | 'month',
10 | 'week',
11 | 'day',
12 | 'hour',
13 | 'minute',
14 | 'second',
15 | 'millisecond',
16 | ];
17 |
18 | export default function isDurationValid(m) {
19 | var key,
20 | unitHasDecimal = false,
21 | i,
22 | orderLen = ordering.length;
23 | for (key in m) {
24 | if (
25 | hasOwnProp(m, key) &&
26 | !(
27 | indexOf.call(ordering, key) !== -1 &&
28 | (m[key] == null || !isNaN(m[key]))
29 | )
30 | ) {
31 | return false;
32 | }
33 | }
34 |
35 | for (i = 0; i < orderLen; ++i) {
36 | if (m[ordering[i]]) {
37 | if (unitHasDecimal) {
38 | return false; // only allow non-integers for smallest unit
39 | }
40 | if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {
41 | unitHasDecimal = true;
42 | }
43 | }
44 | }
45 |
46 | return true;
47 | }
48 |
49 | export function isValid() {
50 | return this._isValid;
51 | }
52 |
53 | export function createInvalid() {
54 | return createDuration(NaN);
55 | }
56 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/base-config.js:
--------------------------------------------------------------------------------
1 | import { defaultCalendar } from './calendar';
2 | import { defaultLongDateFormat } from './formats';
3 | import { defaultInvalidDate } from './invalid';
4 | import { defaultOrdinal, defaultDayOfMonthOrdinalParse } from './ordinal';
5 | import { defaultRelativeTime } from './relative';
6 |
7 | // months
8 | import { defaultLocaleMonths, defaultLocaleMonthsShort } from '../units/month';
9 |
10 | // week
11 | import { defaultLocaleWeek } from '../units/week';
12 |
13 | // weekdays
14 | import {
15 | defaultLocaleWeekdays,
16 | defaultLocaleWeekdaysMin,
17 | defaultLocaleWeekdaysShort,
18 | } from '../units/day-of-week';
19 |
20 | // meridiem
21 | import { defaultLocaleMeridiemParse } from '../units/hour';
22 |
23 | export var baseConfig = {
24 | calendar: defaultCalendar,
25 | longDateFormat: defaultLongDateFormat,
26 | invalidDate: defaultInvalidDate,
27 | ordinal: defaultOrdinal,
28 | dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
29 | relativeTime: defaultRelativeTime,
30 |
31 | months: defaultLocaleMonths,
32 | monthsShort: defaultLocaleMonthsShort,
33 |
34 | week: defaultLocaleWeek,
35 |
36 | weekdays: defaultLocaleWeekdays,
37 | weekdaysMin: defaultLocaleWeekdaysMin,
38 | weekdaysShort: defaultLocaleWeekdaysShort,
39 |
40 | meridiemParse: defaultLocaleMeridiemParse,
41 | };
42 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/calendar.js:
--------------------------------------------------------------------------------
1 | export var defaultCalendar = {
2 | sameDay: '[Today at] LT',
3 | nextDay: '[Tomorrow at] LT',
4 | nextWeek: 'dddd [at] LT',
5 | lastDay: '[Yesterday at] LT',
6 | lastWeek: '[Last] dddd [at] LT',
7 | sameElse: 'L',
8 | };
9 |
10 | import isFunction from '../utils/is-function';
11 |
12 | export function calendar(key, mom, now) {
13 | var output = this._calendar[key] || this._calendar['sameElse'];
14 | return isFunction(output) ? output.call(mom, now) : output;
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/constructor.js:
--------------------------------------------------------------------------------
1 | export function Locale(config) {
2 | if (config != null) {
3 | this.set(config);
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/en.js:
--------------------------------------------------------------------------------
1 | import './prototype';
2 | import { getSetGlobalLocale } from './locales';
3 | import toInt from '../utils/to-int';
4 |
5 | getSetGlobalLocale('en', {
6 | eras: [
7 | {
8 | since: '0001-01-01',
9 | until: +Infinity,
10 | offset: 1,
11 | name: 'Anno Domini',
12 | narrow: 'AD',
13 | abbr: 'AD',
14 | },
15 | {
16 | since: '0000-12-31',
17 | until: -Infinity,
18 | offset: 1,
19 | name: 'Before Christ',
20 | narrow: 'BC',
21 | abbr: 'BC',
22 | },
23 | ],
24 | dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
25 | ordinal: function (number) {
26 | var b = number % 10,
27 | output =
28 | toInt((number % 100) / 10) === 1
29 | ? 'th'
30 | : b === 1
31 | ? 'st'
32 | : b === 2
33 | ? 'nd'
34 | : b === 3
35 | ? 'rd'
36 | : 'th';
37 | return number + output;
38 | },
39 | });
40 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/formats.js:
--------------------------------------------------------------------------------
1 | import { formattingTokens } from '../format/format';
2 |
3 | export var defaultLongDateFormat = {
4 | LTS: 'h:mm:ss A',
5 | LT: 'h:mm A',
6 | L: 'MM/DD/YYYY',
7 | LL: 'MMMM D, YYYY',
8 | LLL: 'MMMM D, YYYY h:mm A',
9 | LLLL: 'dddd, MMMM D, YYYY h:mm A',
10 | };
11 |
12 | export function longDateFormat(key) {
13 | var format = this._longDateFormat[key],
14 | formatUpper = this._longDateFormat[key.toUpperCase()];
15 |
16 | if (format || !formatUpper) {
17 | return format;
18 | }
19 |
20 | this._longDateFormat[key] = formatUpper
21 | .match(formattingTokens)
22 | .map(function (tok) {
23 | if (
24 | tok === 'MMMM' ||
25 | tok === 'MM' ||
26 | tok === 'DD' ||
27 | tok === 'dddd'
28 | ) {
29 | return tok.slice(1);
30 | }
31 | return tok;
32 | })
33 | .join('');
34 |
35 | return this._longDateFormat[key];
36 | }
37 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/invalid.js:
--------------------------------------------------------------------------------
1 | export var defaultInvalidDate = 'Invalid date';
2 |
3 | export function invalidDate() {
4 | return this._invalidDate;
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/locale.js:
--------------------------------------------------------------------------------
1 | // Side effect imports
2 | import './prototype';
3 |
4 | import {
5 | getSetGlobalLocale,
6 | defineLocale,
7 | updateLocale,
8 | getLocale,
9 | listLocales,
10 | } from './locales';
11 |
12 | import {
13 | listMonths,
14 | listMonthsShort,
15 | listWeekdays,
16 | listWeekdaysShort,
17 | listWeekdaysMin,
18 | } from './lists';
19 |
20 | export {
21 | getSetGlobalLocale,
22 | defineLocale,
23 | updateLocale,
24 | getLocale,
25 | listLocales,
26 | listMonths,
27 | listMonthsShort,
28 | listWeekdays,
29 | listWeekdaysShort,
30 | listWeekdaysMin,
31 | };
32 |
33 | import { deprecate } from '../utils/deprecate';
34 | import { hooks } from '../utils/hooks';
35 |
36 | hooks.lang = deprecate(
37 | 'moment.lang is deprecated. Use moment.locale instead.',
38 | getSetGlobalLocale
39 | );
40 | hooks.langData = deprecate(
41 | 'moment.langData is deprecated. Use moment.localeData instead.',
42 | getLocale
43 | );
44 |
45 | import './en';
46 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/ordinal.js:
--------------------------------------------------------------------------------
1 | var defaultOrdinal = '%d',
2 | defaultDayOfMonthOrdinalParse = /\d{1,2}/;
3 |
4 | export { defaultOrdinal, defaultDayOfMonthOrdinalParse };
5 |
6 | export function ordinal(number) {
7 | return this._ordinal.replace('%d', number);
8 | }
9 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/pre-post-format.js:
--------------------------------------------------------------------------------
1 | export function preParsePostFormat(string) {
2 | return string;
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/locale/relative.js:
--------------------------------------------------------------------------------
1 | export var defaultRelativeTime = {
2 | future: 'in %s',
3 | past: '%s ago',
4 | s: 'a few seconds',
5 | ss: '%d seconds',
6 | m: 'a minute',
7 | mm: '%d minutes',
8 | h: 'an hour',
9 | hh: '%d hours',
10 | d: 'a day',
11 | dd: '%d days',
12 | w: 'a week',
13 | ww: '%d weeks',
14 | M: 'a month',
15 | MM: '%d months',
16 | y: 'a year',
17 | yy: '%d years',
18 | };
19 |
20 | import isFunction from '../utils/is-function';
21 |
22 | export function relativeTime(number, withoutSuffix, string, isFuture) {
23 | var output = this._relativeTime[string];
24 | return isFunction(output)
25 | ? output(number, withoutSuffix, string, isFuture)
26 | : output.replace(/%d/i, number);
27 | }
28 |
29 | export function pastFuture(diff, output) {
30 | var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
31 | return isFunction(format) ? format(output) : format.replace(/%s/i, output);
32 | }
33 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/moment/clone.js:
--------------------------------------------------------------------------------
1 | import { Moment } from './constructor';
2 |
3 | export function clone() {
4 | return new Moment(this);
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/moment/creation-data.js:
--------------------------------------------------------------------------------
1 | export function creationData() {
2 | return {
3 | input: this._i,
4 | format: this._f,
5 | locale: this._locale,
6 | isUTC: this._isUTC,
7 | strict: this._strict,
8 | };
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/moment/from.js:
--------------------------------------------------------------------------------
1 | import { createDuration } from '../duration/create';
2 | import { createLocal } from '../create/local';
3 | import { isMoment } from '../moment/constructor';
4 |
5 | export function from(time, withoutSuffix) {
6 | if (
7 | this.isValid() &&
8 | ((isMoment(time) && time.isValid()) || createLocal(time).isValid())
9 | ) {
10 | return createDuration({ to: this, from: time })
11 | .locale(this.locale())
12 | .humanize(!withoutSuffix);
13 | } else {
14 | return this.localeData().invalidDate();
15 | }
16 | }
17 |
18 | export function fromNow(withoutSuffix) {
19 | return this.from(createLocal(), withoutSuffix);
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/moment/locale.js:
--------------------------------------------------------------------------------
1 | import { getLocale } from '../locale/locales';
2 | import { deprecate } from '../utils/deprecate';
3 |
4 | // If passed a locale key, it will set the locale for this
5 | // instance. Otherwise, it will return the locale configuration
6 | // variables for this instance.
7 | export function locale(key) {
8 | var newLocaleData;
9 |
10 | if (key === undefined) {
11 | return this._locale._abbr;
12 | } else {
13 | newLocaleData = getLocale(key);
14 | if (newLocaleData != null) {
15 | this._locale = newLocaleData;
16 | }
17 | return this;
18 | }
19 | }
20 |
21 | export var lang = deprecate(
22 | 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',
23 | function (key) {
24 | if (key === undefined) {
25 | return this.localeData();
26 | } else {
27 | return this.locale(key);
28 | }
29 | }
30 | );
31 |
32 | export function localeData() {
33 | return this._locale;
34 | }
35 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/moment/moment.js:
--------------------------------------------------------------------------------
1 | import { createLocal } from '../create/local';
2 | import { createUTC } from '../create/utc';
3 | import { createInvalid } from '../create/valid';
4 | import { isMoment } from './constructor';
5 | import { min, max } from './min-max';
6 | import { now } from './now';
7 | import momentPrototype from './prototype';
8 |
9 | function createUnix(input) {
10 | return createLocal(input * 1000);
11 | }
12 |
13 | function createInZone() {
14 | return createLocal.apply(null, arguments).parseZone();
15 | }
16 |
17 | export {
18 | now,
19 | min,
20 | max,
21 | isMoment,
22 | createUTC,
23 | createUnix,
24 | createLocal,
25 | createInZone,
26 | createInvalid,
27 | momentPrototype,
28 | };
29 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/moment/now.js:
--------------------------------------------------------------------------------
1 | export var now = function () {
2 | return Date.now ? Date.now() : +new Date();
3 | };
4 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/moment/to-type.js:
--------------------------------------------------------------------------------
1 | export function valueOf() {
2 | return this._d.valueOf() - (this._offset || 0) * 60000;
3 | }
4 |
5 | export function unix() {
6 | return Math.floor(this.valueOf() / 1000);
7 | }
8 |
9 | export function toDate() {
10 | return new Date(this.valueOf());
11 | }
12 |
13 | export function toArray() {
14 | var m = this;
15 | return [
16 | m.year(),
17 | m.month(),
18 | m.date(),
19 | m.hour(),
20 | m.minute(),
21 | m.second(),
22 | m.millisecond(),
23 | ];
24 | }
25 |
26 | export function toObject() {
27 | var m = this;
28 | return {
29 | years: m.year(),
30 | months: m.month(),
31 | date: m.date(),
32 | hours: m.hours(),
33 | minutes: m.minutes(),
34 | seconds: m.seconds(),
35 | milliseconds: m.milliseconds(),
36 | };
37 | }
38 |
39 | export function toJSON() {
40 | // new Date(NaN).toJSON() === null
41 | return this.isValid() ? this.toISOString() : null;
42 | }
43 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/moment/to.js:
--------------------------------------------------------------------------------
1 | import { createDuration } from '../duration/create';
2 | import { createLocal } from '../create/local';
3 | import { isMoment } from '../moment/constructor';
4 |
5 | export function to(time, withoutSuffix) {
6 | if (
7 | this.isValid() &&
8 | ((isMoment(time) && time.isValid()) || createLocal(time).isValid())
9 | ) {
10 | return createDuration({ from: this, to: time })
11 | .locale(this.locale())
12 | .humanize(!withoutSuffix);
13 | } else {
14 | return this.localeData().invalidDate();
15 | }
16 | }
17 |
18 | export function toNow(withoutSuffix) {
19 | return this.to(createLocal(), withoutSuffix);
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/moment/valid.js:
--------------------------------------------------------------------------------
1 | import { isValid as _isValid } from '../create/valid';
2 | import extend from '../utils/extend';
3 | import getParsingFlags from '../create/parsing-flags';
4 |
5 | export function isValid() {
6 | return _isValid(this);
7 | }
8 |
9 | export function parsingFlags() {
10 | return extend({}, getParsingFlags(this));
11 | }
12 |
13 | export function invalidAt() {
14 | return getParsingFlags(this).overflow;
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/parse/token.js:
--------------------------------------------------------------------------------
1 | import hasOwnProp from '../utils/has-own-prop';
2 | import isNumber from '../utils/is-number';
3 | import toInt from '../utils/to-int';
4 |
5 | var tokens = {};
6 |
7 | export function addParseToken(token, callback) {
8 | var i,
9 | func = callback,
10 | tokenLen;
11 | if (typeof token === 'string') {
12 | token = [token];
13 | }
14 | if (isNumber(callback)) {
15 | func = function (input, array) {
16 | array[callback] = toInt(input);
17 | };
18 | }
19 | tokenLen = token.length;
20 | for (i = 0; i < tokenLen; i++) {
21 | tokens[token[i]] = func;
22 | }
23 | }
24 |
25 | export function addWeekParseToken(token, callback) {
26 | addParseToken(token, function (input, array, config, token) {
27 | config._w = config._w || {};
28 | callback(input, config._w, config, token);
29 | });
30 | }
31 |
32 | export function addTimeToArrayFromToken(token, input, config) {
33 | if (input != null && hasOwnProp(tokens, token)) {
34 | tokens[token](input, config._a, config, token);
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/constants.js:
--------------------------------------------------------------------------------
1 | export var YEAR = 0,
2 | MONTH = 1,
3 | DATE = 2,
4 | HOUR = 3,
5 | MINUTE = 4,
6 | SECOND = 5,
7 | MILLISECOND = 6,
8 | WEEK = 7,
9 | WEEKDAY = 8;
10 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/day-of-month.js:
--------------------------------------------------------------------------------
1 | import { makeGetSet } from '../moment/get-set';
2 | import { addFormatToken } from '../format/format';
3 | import {
4 | addRegexToken,
5 | match1to2,
6 | match2,
7 | match1to2NoLeadingZero,
8 | } from '../parse/regex';
9 | import { addParseToken } from '../parse/token';
10 | import { DATE } from './constants';
11 | import toInt from '../utils/to-int';
12 |
13 | // FORMATTING
14 |
15 | addFormatToken('D', ['DD', 2], 'Do', 'date');
16 |
17 | // PARSING
18 |
19 | addRegexToken('D', match1to2, match1to2NoLeadingZero);
20 | addRegexToken('DD', match1to2, match2);
21 | addRegexToken('Do', function (isStrict, locale) {
22 | // TODO: Remove "ordinalParse" fallback in next major release.
23 | return isStrict
24 | ? locale._dayOfMonthOrdinalParse || locale._ordinalParse
25 | : locale._dayOfMonthOrdinalParseLenient;
26 | });
27 |
28 | addParseToken(['D', 'DD'], DATE);
29 | addParseToken('Do', function (input, array) {
30 | array[DATE] = toInt(input.match(match1to2)[0]);
31 | });
32 |
33 | // MOMENTS
34 |
35 | export var getSetDayOfMonth = makeGetSet('Date', true);
36 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/day-of-year.js:
--------------------------------------------------------------------------------
1 | import { addFormatToken } from '../format/format';
2 | import { addRegexToken, match3, match1to3 } from '../parse/regex';
3 | import { addParseToken } from '../parse/token';
4 | import toInt from '../utils/to-int';
5 |
6 | // FORMATTING
7 |
8 | addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');
9 |
10 | // PARSING
11 |
12 | addRegexToken('DDD', match1to3);
13 | addRegexToken('DDDD', match3);
14 | addParseToken(['DDD', 'DDDD'], function (input, array, config) {
15 | config._dayOfYear = toInt(input);
16 | });
17 |
18 | // HELPERS
19 |
20 | // MOMENTS
21 |
22 | export function getSetDayOfYear(input) {
23 | var dayOfYear =
24 | Math.round(
25 | (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5
26 | ) + 1;
27 | return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');
28 | }
29 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/minute.js:
--------------------------------------------------------------------------------
1 | import { makeGetSet } from '../moment/get-set';
2 | import { addFormatToken } from '../format/format';
3 | import {
4 | addRegexToken,
5 | match1to2,
6 | match2,
7 | match1to2HasZero,
8 | } from '../parse/regex';
9 | import { addParseToken } from '../parse/token';
10 | import { MINUTE } from './constants';
11 |
12 | // FORMATTING
13 |
14 | addFormatToken('m', ['mm', 2], 0, 'minute');
15 |
16 | // PARSING
17 |
18 | addRegexToken('m', match1to2, match1to2HasZero);
19 | addRegexToken('mm', match1to2, match2);
20 | addParseToken(['m', 'mm'], MINUTE);
21 |
22 | // MOMENTS
23 |
24 | export var getSetMinute = makeGetSet('Minutes', false);
25 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/priorities.js:
--------------------------------------------------------------------------------
1 | import hasOwnProp from '../utils/has-own-prop';
2 |
3 | var priorities = {
4 | date: 9,
5 | day: 11,
6 | weekday: 11,
7 | isoWeekday: 11,
8 | dayOfYear: 4,
9 | hour: 13,
10 | millisecond: 16,
11 | minute: 14,
12 | month: 8,
13 | quarter: 7,
14 | second: 15,
15 | weekYear: 1,
16 | isoWeekYear: 1,
17 | week: 5,
18 | isoWeek: 5,
19 | year: 1,
20 | };
21 |
22 | export function getPrioritizedUnits(unitsObj) {
23 | var units = [],
24 | u;
25 | for (u in unitsObj) {
26 | if (hasOwnProp(unitsObj, u)) {
27 | units.push({ unit: u, priority: priorities[u] });
28 | }
29 | }
30 | units.sort(function (a, b) {
31 | return a.priority - b.priority;
32 | });
33 | return units;
34 | }
35 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/quarter.js:
--------------------------------------------------------------------------------
1 | import { addFormatToken } from '../format/format';
2 | import { addRegexToken, match1 } from '../parse/regex';
3 | import { addParseToken } from '../parse/token';
4 | import { MONTH } from './constants';
5 | import toInt from '../utils/to-int';
6 |
7 | // FORMATTING
8 |
9 | addFormatToken('Q', 0, 'Qo', 'quarter');
10 |
11 | // PARSING
12 |
13 | addRegexToken('Q', match1);
14 | addParseToken('Q', function (input, array) {
15 | array[MONTH] = (toInt(input) - 1) * 3;
16 | });
17 |
18 | // MOMENTS
19 |
20 | export function getSetQuarter(input) {
21 | return input == null
22 | ? Math.ceil((this.month() + 1) / 3)
23 | : this.month((input - 1) * 3 + (this.month() % 3));
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/second.js:
--------------------------------------------------------------------------------
1 | import { makeGetSet } from '../moment/get-set';
2 | import { addFormatToken } from '../format/format';
3 | import {
4 | addRegexToken,
5 | match1to2,
6 | match2,
7 | match1to2HasZero,
8 | } from '../parse/regex';
9 | import { addParseToken } from '../parse/token';
10 | import { SECOND } from './constants';
11 |
12 | // FORMATTING
13 |
14 | addFormatToken('s', ['ss', 2], 0, 'second');
15 |
16 | // PARSING
17 |
18 | addRegexToken('s', match1to2, match1to2HasZero);
19 | addRegexToken('ss', match1to2, match2);
20 | addParseToken(['s', 'ss'], SECOND);
21 |
22 | // MOMENTS
23 |
24 | export var getSetSecond = makeGetSet('Seconds', false);
25 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/timestamp.js:
--------------------------------------------------------------------------------
1 | import { addFormatToken } from '../format/format';
2 | import { addRegexToken, matchTimestamp, matchSigned } from '../parse/regex';
3 | import { addParseToken } from '../parse/token';
4 | import toInt from '../utils/to-int';
5 |
6 | // FORMATTING
7 |
8 | addFormatToken('X', 0, 0, 'unix');
9 | addFormatToken('x', 0, 0, 'valueOf');
10 |
11 | // PARSING
12 |
13 | addRegexToken('x', matchSigned);
14 | addRegexToken('X', matchTimestamp);
15 | addParseToken('X', function (input, array, config) {
16 | config._d = new Date(parseFloat(input) * 1000);
17 | });
18 | addParseToken('x', function (input, array, config) {
19 | config._d = new Date(toInt(input));
20 | });
21 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/timezone.js:
--------------------------------------------------------------------------------
1 | import { addFormatToken } from '../format/format';
2 |
3 | // FORMATTING
4 |
5 | addFormatToken('z', 0, 0, 'zoneAbbr');
6 | addFormatToken('zz', 0, 0, 'zoneName');
7 |
8 | // MOMENTS
9 |
10 | export function getZoneAbbr() {
11 | return this._isUTC ? 'UTC' : '';
12 | }
13 |
14 | export function getZoneName() {
15 | return this._isUTC ? 'Coordinated Universal Time' : '';
16 | }
17 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/units.js:
--------------------------------------------------------------------------------
1 | // Side effect imports
2 | import './day-of-month';
3 | import './day-of-week';
4 | import './day-of-year';
5 | import './hour';
6 | import './millisecond';
7 | import './minute';
8 | import './month';
9 | import './offset';
10 | import './quarter';
11 | import './second';
12 | import './timestamp';
13 | import './timezone';
14 | import './week-year';
15 | import './week';
16 | import './year';
17 |
18 | import { normalizeUnits } from './aliases';
19 |
20 | export { normalizeUnits };
21 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/units/week.js:
--------------------------------------------------------------------------------
1 | import { addFormatToken } from '../format/format';
2 | import {
3 | addRegexToken,
4 | match1to2,
5 | match2,
6 | match1to2NoLeadingZero,
7 | } from '../parse/regex';
8 | import { addWeekParseToken } from '../parse/token';
9 | import toInt from '../utils/to-int';
10 | import { weekOfYear } from './week-calendar-utils';
11 |
12 | // FORMATTING
13 |
14 | addFormatToken('w', ['ww', 2], 'wo', 'week');
15 | addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');
16 |
17 | // PARSING
18 |
19 | addRegexToken('w', match1to2, match1to2NoLeadingZero);
20 | addRegexToken('ww', match1to2, match2);
21 | addRegexToken('W', match1to2, match1to2NoLeadingZero);
22 | addRegexToken('WW', match1to2, match2);
23 |
24 | addWeekParseToken(
25 | ['w', 'ww', 'W', 'WW'],
26 | function (input, week, config, token) {
27 | week[token.substr(0, 1)] = toInt(input);
28 | }
29 | );
30 |
31 | // HELPERS
32 |
33 | // LOCALES
34 |
35 | export function localeWeek(mom) {
36 | return weekOfYear(mom, this._week.dow, this._week.doy).week;
37 | }
38 |
39 | export var defaultLocaleWeek = {
40 | dow: 0, // Sunday is the first day of the week.
41 | doy: 6, // The week that contains Jan 6th is the first week of the year.
42 | };
43 |
44 | export function localeFirstDayOfWeek() {
45 | return this._week.dow;
46 | }
47 |
48 | export function localeFirstDayOfYear() {
49 | return this._week.doy;
50 | }
51 |
52 | // MOMENTS
53 |
54 | export function getSetWeek(input) {
55 | var week = this.localeData().week(this);
56 | return input == null ? week : this.add((input - week) * 7, 'd');
57 | }
58 |
59 | export function getSetISOWeek(input) {
60 | var week = weekOfYear(this, 1, 4).week;
61 | return input == null ? week : this.add((input - week) * 7, 'd');
62 | }
63 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/abs-ceil.js:
--------------------------------------------------------------------------------
1 | export default function absCeil(number) {
2 | if (number < 0) {
3 | return Math.floor(number);
4 | } else {
5 | return Math.ceil(number);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/abs-floor.js:
--------------------------------------------------------------------------------
1 | export default function absFloor(number) {
2 | if (number < 0) {
3 | // -0 -> 0
4 | return Math.ceil(number) || 0;
5 | } else {
6 | return Math.floor(number);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/abs-round.js:
--------------------------------------------------------------------------------
1 | export default function absRound(number) {
2 | if (number < 0) {
3 | return Math.round(-1 * number) * -1;
4 | } else {
5 | return Math.round(number);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/compare-arrays.js:
--------------------------------------------------------------------------------
1 | import toInt from './to-int';
2 |
3 | // compare two arrays, return the number of differences
4 | export default function compareArrays(array1, array2, dontConvert) {
5 | var len = Math.min(array1.length, array2.length),
6 | lengthDiff = Math.abs(array1.length - array2.length),
7 | diffs = 0,
8 | i;
9 | for (i = 0; i < len; i++) {
10 | if (
11 | (dontConvert && array1[i] !== array2[i]) ||
12 | (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))
13 | ) {
14 | diffs++;
15 | }
16 | }
17 | return diffs + lengthDiff;
18 | }
19 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/defaults.js:
--------------------------------------------------------------------------------
1 | // Pick the first defined of two or three arguments.
2 | export default function defaults(a, b, c) {
3 | if (a != null) {
4 | return a;
5 | }
6 | if (b != null) {
7 | return b;
8 | }
9 | return c;
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/extend.js:
--------------------------------------------------------------------------------
1 | import hasOwnProp from './has-own-prop';
2 |
3 | export default function extend(a, b) {
4 | for (var i in b) {
5 | if (hasOwnProp(b, i)) {
6 | a[i] = b[i];
7 | }
8 | }
9 |
10 | if (hasOwnProp(b, 'toString')) {
11 | a.toString = b.toString;
12 | }
13 |
14 | if (hasOwnProp(b, 'valueOf')) {
15 | a.valueOf = b.valueOf;
16 | }
17 |
18 | return a;
19 | }
20 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/has-own-prop.js:
--------------------------------------------------------------------------------
1 | export default function hasOwnProp(a, b) {
2 | return Object.prototype.hasOwnProperty.call(a, b);
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/hooks.js:
--------------------------------------------------------------------------------
1 | export { hooks, setHookCallback };
2 |
3 | var hookCallback;
4 |
5 | function hooks() {
6 | return hookCallback.apply(null, arguments);
7 | }
8 |
9 | // This is done to register the method called with moment()
10 | // without creating circular dependencies.
11 | function setHookCallback(callback) {
12 | hookCallback = callback;
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/index-of.js:
--------------------------------------------------------------------------------
1 | var indexOf;
2 |
3 | if (Array.prototype.indexOf) {
4 | indexOf = Array.prototype.indexOf;
5 | } else {
6 | indexOf = function (o) {
7 | // I know
8 | var i;
9 | for (i = 0; i < this.length; ++i) {
10 | if (this[i] === o) {
11 | return i;
12 | }
13 | }
14 | return -1;
15 | };
16 | }
17 |
18 | export { indexOf as default };
19 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-array.js:
--------------------------------------------------------------------------------
1 | export default function isArray(input) {
2 | return (
3 | input instanceof Array ||
4 | Object.prototype.toString.call(input) === '[object Array]'
5 | );
6 | }
7 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-calendar-spec.js:
--------------------------------------------------------------------------------
1 | import isObjectEmpty from './is-object-empty';
2 | import hasOwnProp from './has-own-prop';
3 | import isObject from './is-object';
4 |
5 | export default function isCalendarSpec(input) {
6 | var objectTest = isObject(input) && !isObjectEmpty(input),
7 | propertyTest = false,
8 | properties = [
9 | 'sameDay',
10 | 'nextDay',
11 | 'lastDay',
12 | 'nextWeek',
13 | 'lastWeek',
14 | 'sameElse',
15 | ],
16 | i,
17 | property;
18 |
19 | for (i = 0; i < properties.length; i += 1) {
20 | property = properties[i];
21 | propertyTest = propertyTest || hasOwnProp(input, property);
22 | }
23 |
24 | return objectTest && propertyTest;
25 | }
26 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-date.js:
--------------------------------------------------------------------------------
1 | export default function isDate(input) {
2 | return (
3 | input instanceof Date ||
4 | Object.prototype.toString.call(input) === '[object Date]'
5 | );
6 | }
7 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-function.js:
--------------------------------------------------------------------------------
1 | export default function isFunction(input) {
2 | return (
3 | (typeof Function !== 'undefined' && input instanceof Function) ||
4 | Object.prototype.toString.call(input) === '[object Function]'
5 | );
6 | }
7 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-leap-year.js:
--------------------------------------------------------------------------------
1 | export function isLeapYear(year) {
2 | return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-number.js:
--------------------------------------------------------------------------------
1 | export default function isNumber(input) {
2 | return (
3 | typeof input === 'number' ||
4 | Object.prototype.toString.call(input) === '[object Number]'
5 | );
6 | }
7 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-object-empty.js:
--------------------------------------------------------------------------------
1 | import hasOwnProp from './has-own-prop';
2 |
3 | export default function isObjectEmpty(obj) {
4 | if (Object.getOwnPropertyNames) {
5 | return Object.getOwnPropertyNames(obj).length === 0;
6 | } else {
7 | var k;
8 | for (k in obj) {
9 | if (hasOwnProp(obj, k)) {
10 | return false;
11 | }
12 | }
13 | return true;
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-object.js:
--------------------------------------------------------------------------------
1 | export default function isObject(input) {
2 | // IE8 will treat undefined and null as object if it wasn't for
3 | // input != null
4 | return (
5 | input != null &&
6 | Object.prototype.toString.call(input) === '[object Object]'
7 | );
8 | }
9 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-string.js:
--------------------------------------------------------------------------------
1 | export default function isString(input) {
2 | return typeof input === 'string' || input instanceof String;
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/is-undefined.js:
--------------------------------------------------------------------------------
1 | export default function isUndefined(input) {
2 | return input === void 0;
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/keys.js:
--------------------------------------------------------------------------------
1 | import hasOwnProp from './has-own-prop';
2 |
3 | var keys;
4 |
5 | if (Object.keys) {
6 | keys = Object.keys;
7 | } else {
8 | keys = function (obj) {
9 | var i,
10 | res = [];
11 | for (i in obj) {
12 | if (hasOwnProp(obj, i)) {
13 | res.push(i);
14 | }
15 | }
16 | return res;
17 | };
18 | }
19 |
20 | export { keys as default };
21 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/map.js:
--------------------------------------------------------------------------------
1 | export default function map(arr, fn) {
2 | var res = [],
3 | i,
4 | arrLen = arr.length;
5 | for (i = 0; i < arrLen; ++i) {
6 | res.push(fn(arr[i], i));
7 | }
8 | return res;
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/mod.js:
--------------------------------------------------------------------------------
1 | export default function mod(n, x) {
2 | return ((n % x) + x) % x;
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/some.js:
--------------------------------------------------------------------------------
1 | var some;
2 | if (Array.prototype.some) {
3 | some = Array.prototype.some;
4 | } else {
5 | some = function (fun) {
6 | var t = Object(this),
7 | len = t.length >>> 0,
8 | i;
9 |
10 | for (i = 0; i < len; i++) {
11 | if (i in t && fun.call(this, t[i], i, t)) {
12 | return true;
13 | }
14 | }
15 |
16 | return false;
17 | };
18 | }
19 |
20 | export { some as default };
21 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/to-int.js:
--------------------------------------------------------------------------------
1 | import absFloor from './abs-floor';
2 |
3 | export default function toInt(argumentForCoercion) {
4 | var coercedNumber = +argumentForCoercion,
5 | value = 0;
6 |
7 | if (coercedNumber !== 0 && isFinite(coercedNumber)) {
8 | value = absFloor(coercedNumber);
9 | }
10 |
11 | return value;
12 | }
13 |
--------------------------------------------------------------------------------
/node_modules/moment/src/lib/utils/zero-fill.js:
--------------------------------------------------------------------------------
1 | export default function zeroFill(number, targetLength, forceSign) {
2 | var absNumber = '' + Math.abs(number),
3 | zerosToFill = targetLength - absNumber.length,
4 | sign = number >= 0;
5 | return (
6 | (sign ? (forceSign ? '+' : '') : '-') +
7 | Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +
8 | absNumber
9 | );
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/ar-kw.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Arabic (Kuwait) [ar-kw]
3 | //! author : Nusret Parlak: https://github.com/nusretparlak
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('ar-kw', {
8 | months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
9 | '_'
10 | ),
11 | monthsShort:
12 | 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
13 | '_'
14 | ),
15 | weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
16 | weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
17 | weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
18 | weekdaysParseExact: true,
19 | longDateFormat: {
20 | LT: 'HH:mm',
21 | LTS: 'HH:mm:ss',
22 | L: 'DD/MM/YYYY',
23 | LL: 'D MMMM YYYY',
24 | LLL: 'D MMMM YYYY HH:mm',
25 | LLLL: 'dddd D MMMM YYYY HH:mm',
26 | },
27 | calendar: {
28 | sameDay: '[اليوم على الساعة] LT',
29 | nextDay: '[غدا على الساعة] LT',
30 | nextWeek: 'dddd [على الساعة] LT',
31 | lastDay: '[أمس على الساعة] LT',
32 | lastWeek: 'dddd [على الساعة] LT',
33 | sameElse: 'L',
34 | },
35 | relativeTime: {
36 | future: 'في %s',
37 | past: 'منذ %s',
38 | s: 'ثوان',
39 | ss: '%d ثانية',
40 | m: 'دقيقة',
41 | mm: '%d دقائق',
42 | h: 'ساعة',
43 | hh: '%d ساعات',
44 | d: 'يوم',
45 | dd: '%d أيام',
46 | M: 'شهر',
47 | MM: '%d أشهر',
48 | y: 'سنة',
49 | yy: '%d سنوات',
50 | },
51 | week: {
52 | dow: 0, // Sunday is the first day of the week.
53 | doy: 12, // The week that contains Jan 12th is the first week of the year.
54 | },
55 | });
56 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/ar-ma.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Arabic (Morocco) [ar-ma]
3 | //! author : ElFadili Yassine : https://github.com/ElFadiliY
4 | //! author : Abdel Said : https://github.com/abdelsaid
5 |
6 | import moment from '../moment';
7 |
8 | export default moment.defineLocale('ar-ma', {
9 | months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
10 | '_'
11 | ),
12 | monthsShort:
13 | 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
14 | '_'
15 | ),
16 | weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
17 | weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
18 | weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
19 | weekdaysParseExact: true,
20 | longDateFormat: {
21 | LT: 'HH:mm',
22 | LTS: 'HH:mm:ss',
23 | L: 'DD/MM/YYYY',
24 | LL: 'D MMMM YYYY',
25 | LLL: 'D MMMM YYYY HH:mm',
26 | LLLL: 'dddd D MMMM YYYY HH:mm',
27 | },
28 | calendar: {
29 | sameDay: '[اليوم على الساعة] LT',
30 | nextDay: '[غدا على الساعة] LT',
31 | nextWeek: 'dddd [على الساعة] LT',
32 | lastDay: '[أمس على الساعة] LT',
33 | lastWeek: 'dddd [على الساعة] LT',
34 | sameElse: 'L',
35 | },
36 | relativeTime: {
37 | future: 'في %s',
38 | past: 'منذ %s',
39 | s: 'ثوان',
40 | ss: '%d ثانية',
41 | m: 'دقيقة',
42 | mm: '%d دقائق',
43 | h: 'ساعة',
44 | hh: '%d ساعات',
45 | d: 'يوم',
46 | dd: '%d أيام',
47 | M: 'شهر',
48 | MM: '%d أشهر',
49 | y: 'سنة',
50 | yy: '%d سنوات',
51 | },
52 | week: {
53 | dow: 1, // Monday is the first day of the week.
54 | doy: 4, // The week that contains Jan 4th is the first week of the year.
55 | },
56 | });
57 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/ar-tn.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Arabic (Tunisia) [ar-tn]
3 | //! author : Nader Toukabri : https://github.com/naderio
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('ar-tn', {
8 | months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
9 | '_'
10 | ),
11 | monthsShort:
12 | 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
13 | '_'
14 | ),
15 | weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
16 | weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
17 | weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
18 | weekdaysParseExact: true,
19 | longDateFormat: {
20 | LT: 'HH:mm',
21 | LTS: 'HH:mm:ss',
22 | L: 'DD/MM/YYYY',
23 | LL: 'D MMMM YYYY',
24 | LLL: 'D MMMM YYYY HH:mm',
25 | LLLL: 'dddd D MMMM YYYY HH:mm',
26 | },
27 | calendar: {
28 | sameDay: '[اليوم على الساعة] LT',
29 | nextDay: '[غدا على الساعة] LT',
30 | nextWeek: 'dddd [على الساعة] LT',
31 | lastDay: '[أمس على الساعة] LT',
32 | lastWeek: 'dddd [على الساعة] LT',
33 | sameElse: 'L',
34 | },
35 | relativeTime: {
36 | future: 'في %s',
37 | past: 'منذ %s',
38 | s: 'ثوان',
39 | ss: '%d ثانية',
40 | m: 'دقيقة',
41 | mm: '%d دقائق',
42 | h: 'ساعة',
43 | hh: '%d ساعات',
44 | d: 'يوم',
45 | dd: '%d أيام',
46 | M: 'شهر',
47 | MM: '%d أشهر',
48 | y: 'سنة',
49 | yy: '%d سنوات',
50 | },
51 | week: {
52 | dow: 1, // Monday is the first day of the week.
53 | doy: 4, // The week that contains Jan 4th is the first week of the year.
54 | },
55 | });
56 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/da.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Danish [da]
3 | //! author : Ulrik Nielsen : https://github.com/mrbase
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('da', {
8 | months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
9 | '_'
10 | ),
11 | monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
12 | weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
13 | weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
14 | weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
15 | longDateFormat: {
16 | LT: 'HH:mm',
17 | LTS: 'HH:mm:ss',
18 | L: 'DD.MM.YYYY',
19 | LL: 'D. MMMM YYYY',
20 | LLL: 'D. MMMM YYYY HH:mm',
21 | LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
22 | },
23 | calendar: {
24 | sameDay: '[i dag kl.] LT',
25 | nextDay: '[i morgen kl.] LT',
26 | nextWeek: 'på dddd [kl.] LT',
27 | lastDay: '[i går kl.] LT',
28 | lastWeek: '[i] dddd[s kl.] LT',
29 | sameElse: 'L',
30 | },
31 | relativeTime: {
32 | future: 'om %s',
33 | past: '%s siden',
34 | s: 'få sekunder',
35 | ss: '%d sekunder',
36 | m: 'et minut',
37 | mm: '%d minutter',
38 | h: 'en time',
39 | hh: '%d timer',
40 | d: 'en dag',
41 | dd: '%d dage',
42 | M: 'en måned',
43 | MM: '%d måneder',
44 | y: 'et år',
45 | yy: '%d år',
46 | },
47 | dayOfMonthOrdinalParse: /\d{1,2}\./,
48 | ordinal: '%d.',
49 | week: {
50 | dow: 1, // Monday is the first day of the week.
51 | doy: 4, // The week that contains Jan 4th is the first week of the year.
52 | },
53 | });
54 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/mt.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Maltese (Malta) [mt]
3 | //! author : Alessandro Maruccia : https://github.com/alesma
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('mt', {
8 | months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
9 | '_'
10 | ),
11 | monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
12 | weekdays:
13 | 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
14 | '_'
15 | ),
16 | weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
17 | weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
18 | longDateFormat: {
19 | LT: 'HH:mm',
20 | LTS: 'HH:mm:ss',
21 | L: 'DD/MM/YYYY',
22 | LL: 'D MMMM YYYY',
23 | LLL: 'D MMMM YYYY HH:mm',
24 | LLLL: 'dddd, D MMMM YYYY HH:mm',
25 | },
26 | calendar: {
27 | sameDay: '[Illum fil-]LT',
28 | nextDay: '[Għada fil-]LT',
29 | nextWeek: 'dddd [fil-]LT',
30 | lastDay: '[Il-bieraħ fil-]LT',
31 | lastWeek: 'dddd [li għadda] [fil-]LT',
32 | sameElse: 'L',
33 | },
34 | relativeTime: {
35 | future: 'f’ %s',
36 | past: '%s ilu',
37 | s: 'ftit sekondi',
38 | ss: '%d sekondi',
39 | m: 'minuta',
40 | mm: '%d minuti',
41 | h: 'siegħa',
42 | hh: '%d siegħat',
43 | d: 'ġurnata',
44 | dd: '%d ġranet',
45 | M: 'xahar',
46 | MM: '%d xhur',
47 | y: 'sena',
48 | yy: '%d sni',
49 | },
50 | dayOfMonthOrdinalParse: /\d{1,2}º/,
51 | ordinal: '%dº',
52 | week: {
53 | dow: 1, // Monday is the first day of the week.
54 | doy: 4, // The week that contains Jan 4th is the first week of the year.
55 | },
56 | });
57 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/sw.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Swahili [sw]
3 | //! author : Fahad Kassim : https://github.com/fadsel
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('sw', {
8 | months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
9 | '_'
10 | ),
11 | monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
12 | weekdays:
13 | 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
14 | '_'
15 | ),
16 | weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
17 | weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
18 | weekdaysParseExact: true,
19 | longDateFormat: {
20 | LT: 'hh:mm A',
21 | LTS: 'HH:mm:ss',
22 | L: 'DD.MM.YYYY',
23 | LL: 'D MMMM YYYY',
24 | LLL: 'D MMMM YYYY HH:mm',
25 | LLLL: 'dddd, D MMMM YYYY HH:mm',
26 | },
27 | calendar: {
28 | sameDay: '[leo saa] LT',
29 | nextDay: '[kesho saa] LT',
30 | nextWeek: '[wiki ijayo] dddd [saat] LT',
31 | lastDay: '[jana] LT',
32 | lastWeek: '[wiki iliyopita] dddd [saat] LT',
33 | sameElse: 'L',
34 | },
35 | relativeTime: {
36 | future: '%s baadaye',
37 | past: 'tokea %s',
38 | s: 'hivi punde',
39 | ss: 'sekunde %d',
40 | m: 'dakika moja',
41 | mm: 'dakika %d',
42 | h: 'saa limoja',
43 | hh: 'masaa %d',
44 | d: 'siku moja',
45 | dd: 'siku %d',
46 | M: 'mwezi mmoja',
47 | MM: 'miezi %d',
48 | y: 'mwaka mmoja',
49 | yy: 'miaka %d',
50 | },
51 | week: {
52 | dow: 1, // Monday is the first day of the week.
53 | doy: 7, // The week that contains Jan 7th is the first week of the year.
54 | },
55 | });
56 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/tzm-latn.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Central Atlas Tamazight Latin [tzm-latn]
3 | //! author : Abdel Said : https://github.com/abdelsaid
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('tzm-latn', {
8 | months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
9 | '_'
10 | ),
11 | monthsShort:
12 | 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
13 | '_'
14 | ),
15 | weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
16 | weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
17 | weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
18 | longDateFormat: {
19 | LT: 'HH:mm',
20 | LTS: 'HH:mm:ss',
21 | L: 'DD/MM/YYYY',
22 | LL: 'D MMMM YYYY',
23 | LLL: 'D MMMM YYYY HH:mm',
24 | LLLL: 'dddd D MMMM YYYY HH:mm',
25 | },
26 | calendar: {
27 | sameDay: '[asdkh g] LT',
28 | nextDay: '[aska g] LT',
29 | nextWeek: 'dddd [g] LT',
30 | lastDay: '[assant g] LT',
31 | lastWeek: 'dddd [g] LT',
32 | sameElse: 'L',
33 | },
34 | relativeTime: {
35 | future: 'dadkh s yan %s',
36 | past: 'yan %s',
37 | s: 'imik',
38 | ss: '%d imik',
39 | m: 'minuḍ',
40 | mm: '%d minuḍ',
41 | h: 'saɛa',
42 | hh: '%d tassaɛin',
43 | d: 'ass',
44 | dd: '%d ossan',
45 | M: 'ayowr',
46 | MM: '%d iyyirn',
47 | y: 'asgas',
48 | yy: '%d isgasn',
49 | },
50 | week: {
51 | dow: 6, // Saturday is the first day of the week.
52 | doy: 12, // The week that contains Jan 12th is the first week of the year.
53 | },
54 | });
55 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/tzm.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Central Atlas Tamazight [tzm]
3 | //! author : Abdel Said : https://github.com/abdelsaid
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('tzm', {
8 | months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
9 | '_'
10 | ),
11 | monthsShort:
12 | 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
13 | '_'
14 | ),
15 | weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
16 | weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
17 | weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
18 | longDateFormat: {
19 | LT: 'HH:mm',
20 | LTS: 'HH:mm:ss',
21 | L: 'DD/MM/YYYY',
22 | LL: 'D MMMM YYYY',
23 | LLL: 'D MMMM YYYY HH:mm',
24 | LLLL: 'dddd D MMMM YYYY HH:mm',
25 | },
26 | calendar: {
27 | sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
28 | nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
29 | nextWeek: 'dddd [ⴴ] LT',
30 | lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
31 | lastWeek: 'dddd [ⴴ] LT',
32 | sameElse: 'L',
33 | },
34 | relativeTime: {
35 | future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
36 | past: 'ⵢⴰⵏ %s',
37 | s: 'ⵉⵎⵉⴽ',
38 | ss: '%d ⵉⵎⵉⴽ',
39 | m: 'ⵎⵉⵏⵓⴺ',
40 | mm: '%d ⵎⵉⵏⵓⴺ',
41 | h: 'ⵙⴰⵄⴰ',
42 | hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
43 | d: 'ⴰⵙⵙ',
44 | dd: '%d oⵙⵙⴰⵏ',
45 | M: 'ⴰⵢoⵓⵔ',
46 | MM: '%d ⵉⵢⵢⵉⵔⵏ',
47 | y: 'ⴰⵙⴳⴰⵙ',
48 | yy: '%d ⵉⵙⴳⴰⵙⵏ',
49 | },
50 | week: {
51 | dow: 6, // Saturday is the first day of the week.
52 | doy: 12, // The week that contains Jan 12th is the first week of the year.
53 | },
54 | });
55 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/uz-latn.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Uzbek Latin [uz-latn]
3 | //! author : Rasulbek Mirzayev : github.com/Rasulbeeek
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('uz-latn', {
8 | months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
9 | '_'
10 | ),
11 | monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
12 | weekdays:
13 | 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
14 | '_'
15 | ),
16 | weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
17 | weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
18 | longDateFormat: {
19 | LT: 'HH:mm',
20 | LTS: 'HH:mm:ss',
21 | L: 'DD/MM/YYYY',
22 | LL: 'D MMMM YYYY',
23 | LLL: 'D MMMM YYYY HH:mm',
24 | LLLL: 'D MMMM YYYY, dddd HH:mm',
25 | },
26 | calendar: {
27 | sameDay: '[Bugun soat] LT [da]',
28 | nextDay: '[Ertaga] LT [da]',
29 | nextWeek: 'dddd [kuni soat] LT [da]',
30 | lastDay: '[Kecha soat] LT [da]',
31 | lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
32 | sameElse: 'L',
33 | },
34 | relativeTime: {
35 | future: 'Yaqin %s ichida',
36 | past: 'Bir necha %s oldin',
37 | s: 'soniya',
38 | ss: '%d soniya',
39 | m: 'bir daqiqa',
40 | mm: '%d daqiqa',
41 | h: 'bir soat',
42 | hh: '%d soat',
43 | d: 'bir kun',
44 | dd: '%d kun',
45 | M: 'bir oy',
46 | MM: '%d oy',
47 | y: 'bir yil',
48 | yy: '%d yil',
49 | },
50 | week: {
51 | dow: 1, // Monday is the first day of the week.
52 | doy: 7, // The week that contains Jan 7th is the first week of the year.
53 | },
54 | });
55 |
--------------------------------------------------------------------------------
/node_modules/moment/src/locale/uz.js:
--------------------------------------------------------------------------------
1 | //! moment.js locale configuration
2 | //! locale : Uzbek [uz]
3 | //! author : Sardor Muminov : https://github.com/muminoff
4 |
5 | import moment from '../moment';
6 |
7 | export default moment.defineLocale('uz', {
8 | months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
9 | '_'
10 | ),
11 | monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
12 | weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
13 | weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
14 | weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
15 | longDateFormat: {
16 | LT: 'HH:mm',
17 | LTS: 'HH:mm:ss',
18 | L: 'DD/MM/YYYY',
19 | LL: 'D MMMM YYYY',
20 | LLL: 'D MMMM YYYY HH:mm',
21 | LLLL: 'D MMMM YYYY, dddd HH:mm',
22 | },
23 | calendar: {
24 | sameDay: '[Бугун соат] LT [да]',
25 | nextDay: '[Эртага] LT [да]',
26 | nextWeek: 'dddd [куни соат] LT [да]',
27 | lastDay: '[Кеча соат] LT [да]',
28 | lastWeek: '[Утган] dddd [куни соат] LT [да]',
29 | sameElse: 'L',
30 | },
31 | relativeTime: {
32 | future: 'Якин %s ичида',
33 | past: 'Бир неча %s олдин',
34 | s: 'фурсат',
35 | ss: '%d фурсат',
36 | m: 'бир дакика',
37 | mm: '%d дакика',
38 | h: 'бир соат',
39 | hh: '%d соат',
40 | d: 'бир кун',
41 | dd: '%d кун',
42 | M: 'бир ой',
43 | MM: '%d ой',
44 | y: 'бир йил',
45 | yy: '%d йил',
46 | },
47 | week: {
48 | dow: 1, // Monday is the first day of the week.
49 | doy: 7, // The week that contains Jan 4th is the first week of the year.
50 | },
51 | });
52 |
--------------------------------------------------------------------------------
/node_modules/ms/license.md:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 Zeit, Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/ms/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ms",
3 | "version": "2.1.2",
4 | "description": "Tiny millisecond conversion utility",
5 | "repository": "zeit/ms",
6 | "main": "./index",
7 | "files": [
8 | "index.js"
9 | ],
10 | "scripts": {
11 | "precommit": "lint-staged",
12 | "lint": "eslint lib/* bin/*",
13 | "test": "mocha tests.js"
14 | },
15 | "eslintConfig": {
16 | "extends": "eslint:recommended",
17 | "env": {
18 | "node": true,
19 | "es6": true
20 | }
21 | },
22 | "lint-staged": {
23 | "*.js": [
24 | "npm run lint",
25 | "prettier --single-quote --write",
26 | "git add"
27 | ]
28 | },
29 | "license": "MIT",
30 | "devDependencies": {
31 | "eslint": "4.12.1",
32 | "expect.js": "0.3.1",
33 | "husky": "0.14.3",
34 | "lint-staged": "5.0.0",
35 | "mocha": "4.0.1"
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/bates.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, n?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/bernoulli.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, p?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/binomial.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, n?: number, p?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/exponential.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, lambda?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/geometric.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, p?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/irwin-hall.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, n?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/log-normal.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, mu?: number, sigma?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/normal.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, mu?: number, sigma?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/pareto.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, alpha?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/poisson.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, lambda?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/uniform-boolean.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random) => () => boolean;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/uniform-int.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, min?: number, max?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/distributions/uniform.d.ts:
--------------------------------------------------------------------------------
1 | import { Random } from '../random';
2 | declare const _default: (random: Random, min?: number, max?: number) => () => number;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/generators/function.d.ts:
--------------------------------------------------------------------------------
1 | import RNG, { SeedFn } from '../rng';
2 | export default class RNGFunction extends RNG {
3 | _rng: SeedFn;
4 | constructor(thunk: SeedFn, opts?: Record);
5 | get name(): string;
6 | next(): number;
7 | seed(thunk: SeedFn, _opts?: Record): void;
8 | clone(_: undefined, opts: Record): RNGFunction;
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/random/dist/generators/math-random.d.ts:
--------------------------------------------------------------------------------
1 | import RNG from '../rng';
2 | export default class RNGMathRandom extends RNG {
3 | get name(): string;
4 | next(): number;
5 | seed(_seed: unknown, _opts: Record): void;
6 | clone(): RNGMathRandom;
7 | }
8 |
--------------------------------------------------------------------------------
/node_modules/random/dist/generators/xor128.d.ts:
--------------------------------------------------------------------------------
1 | import RNG from '../rng';
2 | export default class RNGXOR128 extends RNG {
3 | x: number;
4 | y: number;
5 | z: number;
6 | w: number;
7 | constructor(seed: number, opts?: Record);
8 | get name(): string;
9 | next(): number;
10 | seed(seed: number, opts?: Record): void;
11 | clone(seed: number, opts: Record): RNGXOR128;
12 | }
13 |
--------------------------------------------------------------------------------
/node_modules/random/dist/index.d.ts:
--------------------------------------------------------------------------------
1 | import random from './random';
2 | export * from './random';
3 | export default random;
4 |
--------------------------------------------------------------------------------
/node_modules/random/dist/rng-factory.d.ts:
--------------------------------------------------------------------------------
1 | import RNG from './rng';
2 | /**
3 | * Construct an RNG with variable inputs. Used in calls to Random constructor
4 | * @param {...*} args - Distribution-specific arguments
5 | * @return RNG
6 | *
7 | * @example
8 | * new Random(RNGFactory(...args))
9 | */
10 | declare const _default: (...args: T) => RNG;
11 | export default _default;
12 |
--------------------------------------------------------------------------------
/node_modules/random/dist/rng.d.ts:
--------------------------------------------------------------------------------
1 | export type SeedFn = () => number;
2 | export type SeedType = number | string | SeedFn | RNG;
3 | export default abstract class RNG {
4 | abstract get name(): string;
5 | abstract next(): number;
6 | abstract seed(_seed?: SeedType, _opts?: Record): void;
7 | abstract clone(_seed?: SeedType, _opts?: Record): RNG;
8 | _seed(seed: number, _opts?: Record): number;
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/random/dist/validation.d.ts:
--------------------------------------------------------------------------------
1 | export declare function numberValidator(num: number): NumberValidator;
2 | export declare class NumberValidator {
3 | private n;
4 | constructor(num: number);
5 | isInt: () => this;
6 | isPositive: () => this;
7 | lessThan: (v: number) => this;
8 | greaterThanOrEqual: (v: number) => this;
9 | greaterThan: (v: number) => this;
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/random/license:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Travis Fischer
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/seedrandom/.coveralls.yml:
--------------------------------------------------------------------------------
1 | service_name: travis-ci
2 |
--------------------------------------------------------------------------------
/node_modules/seedrandom/.nvmrc:
--------------------------------------------------------------------------------
1 | 6
2 |
--------------------------------------------------------------------------------
/node_modules/seedrandom/.nyc_output/processinfo/f02e18a9-b1c7-4946-836e-c3dbfb9635a3.json:
--------------------------------------------------------------------------------
1 | {"uuid":"f02e18a9-b1c7-4946-836e-c3dbfb9635a3","parent":null,"pid":8128,"argv":["/home/davidbau/.nvm/versions/node/v11.9.0/bin/node","/home/davidbau/git/seedrandom/node_modules/mocha/bin/_mocha","test/cryptotest.js","test/nodetest.js","test/prngtest.js"],"execArgv":[],"cwd":"/home/davidbau/git/seedrandom","time":1568716532937,"ppid":8121,"root":"23c2e786-6463-4b5a-9042-75ea3257640f","coverageFilename":"/home/davidbau/git/seedrandom/.nyc_output/f02e18a9-b1c7-4946-836e-c3dbfb9635a3.json","files":["/home/davidbau/git/seedrandom/seedrandom.js","/home/davidbau/git/seedrandom/lib/xor128.js","/home/davidbau/git/seedrandom/lib/xorwow.js","/home/davidbau/git/seedrandom/lib/xorshift7.js","/home/davidbau/git/seedrandom/lib/xor4096.js","/home/davidbau/git/seedrandom/lib/tychei.js","/home/davidbau/git/seedrandom/lib/alea.js"]}
--------------------------------------------------------------------------------
/node_modules/seedrandom/.nyc_output/processinfo/index.json:
--------------------------------------------------------------------------------
1 | {"processes":{"f02e18a9-b1c7-4946-836e-c3dbfb9635a3":{"parent":null,"children":[]}},"files":{"/home/davidbau/git/seedrandom/seedrandom.js":["f02e18a9-b1c7-4946-836e-c3dbfb9635a3"],"/home/davidbau/git/seedrandom/lib/xor128.js":["f02e18a9-b1c7-4946-836e-c3dbfb9635a3"],"/home/davidbau/git/seedrandom/lib/xorwow.js":["f02e18a9-b1c7-4946-836e-c3dbfb9635a3"],"/home/davidbau/git/seedrandom/lib/xorshift7.js":["f02e18a9-b1c7-4946-836e-c3dbfb9635a3"],"/home/davidbau/git/seedrandom/lib/xor4096.js":["f02e18a9-b1c7-4946-836e-c3dbfb9635a3"],"/home/davidbau/git/seedrandom/lib/tychei.js":["f02e18a9-b1c7-4946-836e-c3dbfb9635a3"],"/home/davidbau/git/seedrandom/lib/alea.js":["f02e18a9-b1c7-4946-836e-c3dbfb9635a3"]},"externalIds":{}}
--------------------------------------------------------------------------------
/node_modules/seedrandom/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | sudo: false
3 | node_js:
4 | - '7'
5 | - '8'
6 | - '9'
7 | - '10'
8 | - '11'
9 |
--------------------------------------------------------------------------------
/node_modules/seedrandom/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "seedrandom",
3 | "description": "Seeded random number generator for Javascript.",
4 | "main": "seedrandom.js",
5 | "license": "MIT",
6 | "keywords": [
7 | "random",
8 | "seed",
9 | "crypto"
10 | ],
11 | "ignore": [],
12 | "devDependencies": {
13 | "qunit": "latest",
14 | "requirejs": "latest"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/node_modules/seedrandom/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "seedrandom",
3 | "version": "3.0.0",
4 | "description": "Seeded random number generator for Javascript",
5 | "repository": "davidbau/seedrandom",
6 | "main": "seedrandom.js",
7 | "scripts": [ "seedrandom.js" ],
8 | "keywords": [ "random", "seed", "crypto" ],
9 | "license": "MIT"
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/seedrandom/coverage/lcov-report/prettify.css:
--------------------------------------------------------------------------------
1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
2 |
--------------------------------------------------------------------------------
/node_modules/seedrandom/coverage/lcov-report/sort-arrow-sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/d1yas/Test/ebec96e2027b9e74ce899f1d47c7b0a7a0de8f88/node_modules/seedrandom/coverage/lcov-report/sort-arrow-sprite.png
--------------------------------------------------------------------------------
/node_modules/seedrandom/lib/alea.min.js:
--------------------------------------------------------------------------------
1 | !function(n,t,e){function u(n){var t=this,e=function(){var s=4022871197;return function(n){n=String(n);for(var t=0;t>>0,s=(e*=s)>>>0,s+=4294967296*(e-=s)}return 2.3283064365386963e-10*(s>>>0)}}();t.next=function(){var n=2091639*t.s0+2.3283064365386963e-10*t.c;return t.s0=t.s1,t.s1=t.s2,t.s2=n-(t.c=0|n)},t.c=1,t.s0=e(" "),t.s1=e(" "),t.s2=e(" "),t.s0-=e(n),t.s0<0&&(t.s0+=1),t.s1-=e(n),t.s1<0&&(t.s1+=1),t.s2-=e(n),t.s2<0&&(t.s2+=1),e=null}function o(n,t){return t.c=n.c,t.s0=n.s0,t.s1=n.s1,t.s2=n.s2,t}function s(n,t){var e=new u(n),s=t&&t.state,r=e.next;return r.int32=function(){return 4294967296*e.next()|0},r.double=function(){return r()+11102230246251565e-32*(2097152*r()|0)},r.quick=r,s&&("object"==typeof s&&o(s,e),r.state=function(){return o(e,{})}),r}t&&t.exports?t.exports=s:e&&e.amd?e(function(){return s}):this.alea=s}(0,"object"==typeof module&&module,"function"==typeof define&&define);
--------------------------------------------------------------------------------
/node_modules/seedrandom/lib/crypto.js:
--------------------------------------------------------------------------------
1 | // mimic a subset of node's crypto API for the browser
2 |
3 | function randomBytes(width) {
4 | var out = new Uint8Array(width);
5 | (global.crypto || global.msCrypto).getRandomValues(out);
6 | return out;
7 | }
8 |
9 | module.exports = {
10 | randomBytes: randomBytes
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/seedrandom/lib/tychei.min.js:
--------------------------------------------------------------------------------
1 | !function(t,n,e){function u(t){var r=this,n="";r.next=function(){var t=r.b,n=r.c,e=r.d,o=r.a;return t=t<<25^t>>>7^n,n=n-e|0,e=e<<24^e>>>8^o,o=o-t|0,r.b=t=t<<20^t>>>12^n,r.c=n=n-e|0,r.d=e<<16^n>>>16^o,r.a=o-t|0},r.a=0,r.b=0,r.c=-1640531527,r.d=1367130551,t===Math.floor(t)?(r.a=t/4294967296|0,r.b=0|t):n+=t;for(var e=0;e>>0)/4294967296}var o=new u(t),r=n&&n.state;return e.double=function(){do{var t=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},e.int32=o.next,e.quick=e,r&&("object"==typeof r&&c(r,o),e.state=function(){return c(o,{})}),e}n&&n.exports?n.exports=o:e&&e.amd?e(function(){return o}):this.tychei=o}(0,"object"==typeof module&&module,"function"==typeof define&&define);
--------------------------------------------------------------------------------
/node_modules/seedrandom/lib/xor128.min.js:
--------------------------------------------------------------------------------
1 | !function(t,n,e){function u(t){var n=this,e="";n.x=0,n.y=0,n.z=0,n.w=0,n.next=function(){var t=n.x^n.x<<11;return n.x=n.y,n.y=n.z,n.z=n.w,n.w^=n.w>>>19^t^t>>>8},t===(0|t)?n.x=t:e+=t;for(var o=0;o>>0)/4294967296}var o=new u(t),r=n&&n.state;return e.double=function(){do{var t=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},e.int32=o.next,e.quick=e,r&&("object"==typeof r&&i(r,o),e.state=function(){return i(o,{})}),e}n&&n.exports?n.exports=o:e&&e.amd?e(function(){return o}):this.xor128=o}(0,"object"==typeof module&&module,"function"==typeof define&&define);
--------------------------------------------------------------------------------
/node_modules/seedrandom/lib/xor4096.min.js:
--------------------------------------------------------------------------------
1 | !function(n,t,e){function o(n){var o=this;o.next=function(){var n,t,e=o.w,r=o.X,i=o.i;return o.w=e=e+1640531527|0,t=r[i+34&127],n=r[i=i+1&127],t^=t<<13,n^=n<<17,t^=t>>>15,n^=n>>>12,t=r[i]=t^n,o.i=i,t+(e^e>>>16)|0},function(n,t){var e,r,i,o,u,f=[],c=128;for(t===(0|t)?(r=t,t=null):(t+="\0",r=0,c=Math.max(c,t.length)),i=0,o=-32;o>>15,r^=r<<4,r^=r>>>13,0<=o&&(u=u+1640531527|0,i=0==(e=f[127&o]^=r+u)?i+1:0);for(128<=i&&(f[127&(t&&t.length||0)]=-1),i=127,o=512;0>>15,e^=e>>>12,f[i]=r^e;n.w=u,n.X=f,n.i=i}(o,n)}function u(n,t){return t.i=n.i,t.w=n.w,t.X=n.X.slice(),t}function r(n,t){null==n&&(n=+new Date);function e(){return(r.next()>>>0)/4294967296}var r=new o(n),i=t&&t.state;return e.double=function(){do{var n=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===n);return n},e.int32=r.next,e.quick=e,i&&(i.X&&u(i,r),e.state=function(){return u(r,{})}),e}t&&t.exports?t.exports=r:e&&e.amd?e(function(){return r}):this.xor4096=r}(0,"object"==typeof module&&module,"function"==typeof define&&define);
--------------------------------------------------------------------------------
/node_modules/seedrandom/lib/xorshift7.min.js:
--------------------------------------------------------------------------------
1 | !function(n,t,e){function o(n){var i=this;i.next=function(){var n,t,e=i.x,r=i.i;return n=e[r],t=(n^=n>>>7)^n<<24,t^=(n=e[r+1&7])^n>>>10,t^=(n=e[r+3&7])^n>>>3,t^=(n=e[r+4&7])^n<<7,n=e[r+7&7],t^=(n^=n<<13)^n<<9,e[r]=t,i.i=r+1&7,t},function(n,t){var e,r=[];if(t===(0|t))r[0]=t;else for(t=""+t,e=0;e>>0)/4294967296}var r=new o(n),i=t&&t.state;return e.double=function(){do{var n=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===n);return n},e.int32=r.next,e.quick=e,i&&(i.x&&u(i,r),e.state=function(){return u(r,{})}),e}t&&t.exports?t.exports=r:e&&e.amd?e(function(){return r}):this.xorshift7=r}(0,"object"==typeof module&&module,"function"==typeof define&&define);
--------------------------------------------------------------------------------
/node_modules/seedrandom/lib/xorwow.min.js:
--------------------------------------------------------------------------------
1 | !function(t,n,e){function u(t){var n=this,e="";n.next=function(){var t=n.x^n.x>>>2;return n.x=n.y,n.y=n.z,n.z=n.w,n.w=n.v,(n.d=n.d+362437|0)+(n.v=n.v^n.v<<4^t^t<<1)|0},n.x=0,n.y=0,n.z=0,n.w=0,t===((n.v=0)|t)?n.x=t:e+=t;for(var o=0;o>>4),n.next()}function x(t,n){return n.x=t.x,n.y=t.y,n.z=t.z,n.w=t.w,n.v=t.v,n.d=t.d,n}function o(t,n){function e(){return(o.next()>>>0)/4294967296}var o=new u(t),r=n&&n.state;return e.double=function(){do{var t=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},e.int32=o.next,e.quick=e,r&&("object"==typeof r&&x(r,o),e.state=function(){return x(o,{})}),e}n&&n.exports?n.exports=o:e&&e.amd?e(function(){return o}):this.xorwow=o}(0,"object"==typeof module&&module,"function"==typeof define&&define);
--------------------------------------------------------------------------------
/node_modules/seedrandom/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "seedrandom",
3 | "version": "3.0.5",
4 | "description": "Seeded random number generator for Javascript.",
5 | "main": "index.js",
6 | "jsdelivr": "seedrandom.min.js",
7 | "unpkg": "seedrandom.min.js",
8 | "keywords": [
9 | "seed",
10 | "random",
11 | "crypto"
12 | ],
13 | "scripts": {
14 | "test": "grunt travis"
15 | },
16 | "repository": {
17 | "type": "git",
18 | "url": "git://github.com/davidbau/seedrandom.git"
19 | },
20 | "author": "David Bau",
21 | "license": "MIT",
22 | "bugs": {
23 | "url": "https://github.com/davidbau/seedrandom/issues"
24 | },
25 | "homepage": "http://davidbau.com/archives/2010/01/30/random_seeds_coded_hints_and_quintillions.html",
26 | "config": {
27 | "blanket": {
28 | "pattern": [
29 | "seedrandom.js",
30 | "lib/alea.js",
31 | "lib/xor128.js",
32 | "lib/xorwow.js",
33 | "lib/xorshift7.js",
34 | "lib/tychei.js",
35 | "lib/xor4096.js"
36 | ]
37 | }
38 | },
39 | "browser": {
40 | "crypto": false
41 | },
42 | "devDependencies": {
43 | "blanket": "latest",
44 | "coveralls": "latest",
45 | "grunt": "latest",
46 | "grunt-browserify": "latest",
47 | "grunt-release": "davidbau/grunt-release",
48 | "grunt-cli": "latest",
49 | "grunt-contrib-connect": "latest",
50 | "grunt-contrib-copy": "latest",
51 | "grunt-contrib-qunit": "latest",
52 | "grunt-contrib-uglify": "latest",
53 | "grunt-mocha-nyc": "latest",
54 | "mocha": "latest",
55 | "nyc": "latest",
56 | "proxyquire": "latest",
57 | "qunit": "latest",
58 | "requirejs": "latest"
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/node_modules/seedrandom/seedrandom.min.js:
--------------------------------------------------------------------------------
1 | !function(f,a,c){var s,l=256,p="random",d=c.pow(l,6),g=c.pow(2,52),y=2*g,h=l-1;function n(n,t,r){function e(){for(var n=u.g(6),t=d,r=0;n>>=1;return(n+r)/t}var o=[],i=j(function n(t,r){var e,o=[],i=typeof t;if(r&&"object"==i)for(e in t)try{o.push(n(t[e],r-1))}catch(n){}return o.length?o:"string"==i?t:t+"\0"}((t=1==t?{entropy:!0}:t||{}).entropy?[n,S(a)]:null==n?function(){try{var n;return s&&(n=s.randomBytes)?n=n(l):(n=new Uint8Array(l),(f.crypto||f.msCrypto).getRandomValues(n)),S(n)}catch(n){var t=f.navigator,r=t&&t.plugins;return[+new Date,f,r,f.screen,S(a)]}}():n,3),o),u=new m(o);return e.int32=function(){return 0|u.g(4)},e.quick=function(){return u.g(4)/4294967296},e.double=e,j(S(u.S),a),(t.pass||r||function(n,t,r,e){return e&&(e.S&&v(e,u),n.state=function(){return v(u,{})}),r?(c[p]=n,t):n})(e,i,"global"in t?t.global:this==c,t.state)}function m(n){var t,r=n.length,u=this,e=0,o=u.i=u.j=0,i=u.S=[];for(r||(n=[r++]);e | undefined;
29 | constructor(task?: SimpleGitTask | undefined, message?: string);
30 | }
31 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/errors/git-plugin-error.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitOptions, SimpleGitTask } from '../types';
2 | import { GitError } from './git-error';
3 | export declare class GitPluginError extends GitError {
4 | task?: SimpleGitTask | undefined;
5 | readonly plugin?: keyof SimpleGitOptions | undefined;
6 | constructor(task?: SimpleGitTask | undefined, plugin?: keyof SimpleGitOptions | undefined, message?: string);
7 | }
8 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/errors/git-response-error.d.ts:
--------------------------------------------------------------------------------
1 | import { GitError } from './git-error';
2 | /**
3 | * The `GitResponseError` is the wrapper for a parsed response that is treated as
4 | * a fatal error, for example attempting a `merge` can leave the repo in a corrupted
5 | * state when there are conflicts so the task will reject rather than resolve.
6 | *
7 | * For example, catching the merge conflict exception:
8 | *
9 | * ```typescript
10 | import { gitP, SimpleGit, GitResponseError, MergeSummary } from 'simple-git';
11 |
12 | const git = gitP(repoRoot);
13 | const mergeOptions: string[] = ['--no-ff', 'other-branch'];
14 | const mergeSummary: MergeSummary = await git.merge(mergeOptions)
15 | .catch((e: GitResponseError) => e.git);
16 |
17 | if (mergeSummary.failed) {
18 | // deal with the error
19 | }
20 | ```
21 | */
22 | export declare class GitResponseError extends GitError {
23 | /**
24 | * `.git` access the parsed response that is treated as being an error
25 | */
26 | readonly git: T;
27 | constructor(
28 | /**
29 | * `.git` access the parsed response that is treated as being an error
30 | */
31 | git: T, message?: string);
32 | }
33 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/errors/task-configuration-error.d.ts:
--------------------------------------------------------------------------------
1 | import { GitError } from './git-error';
2 | /**
3 | * The `TaskConfigurationError` is thrown when a command was incorrectly
4 | * configured. An error of this kind means that no attempt was made to
5 | * run your command through the underlying `git` binary.
6 | *
7 | * Check the `.message` property for more detail on why your configuration
8 | * resulted in an error.
9 | */
10 | export declare class TaskConfigurationError extends GitError {
11 | constructor(message?: string);
12 | }
13 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/git-factory.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitFactory } from '../../typings';
2 | import * as api from './api';
3 | import { SimpleGitOptions } from './types';
4 | /**
5 | * Adds the necessary properties to the supplied object to enable it for use as
6 | * the default export of a module.
7 | *
8 | * Eg: `module.exports = esModuleFactory({ something () {} })`
9 | */
10 | export declare function esModuleFactory(defaultExport: T): T & {
11 | __esModule: true;
12 | default: T;
13 | };
14 | export declare function gitExportFactory(factory: SimpleGitFactory): SimpleGitFactory & typeof api;
15 | export declare function gitInstanceFactory(baseDir?: string | Partial, options?: Partial): any;
16 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/git-logger.d.ts:
--------------------------------------------------------------------------------
1 | import { Debugger } from 'debug';
2 | declare type OutputLoggingHandler = (message: string, ...args: any[]) => void;
3 | export interface OutputLogger extends OutputLoggingHandler {
4 | readonly label: string;
5 | info: OutputLoggingHandler;
6 | step(nextStep?: string): OutputLogger;
7 | sibling(name: string): OutputLogger;
8 | }
9 | export declare function createLogger(label: string, verbose?: string | Debugger, initialStep?: string, infoDebugger?: Debugger): OutputLogger;
10 | /**
11 | * The `GitLogger` is used by the main `SimpleGit` runner to handle logging
12 | * any warnings or errors.
13 | */
14 | export declare class GitLogger {
15 | private _out;
16 | error: OutputLoggingHandler;
17 | warn: OutputLoggingHandler;
18 | constructor(_out?: Debugger);
19 | silent(silence?: boolean): void;
20 | }
21 | export {};
22 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-branch-delete.d.ts:
--------------------------------------------------------------------------------
1 | import { BranchMultiDeleteResult } from '../../../typings';
2 | import { TaskParser } from '../types';
3 | import { ExitCodes } from '../utils';
4 | export declare const parseBranchDeletions: TaskParser;
5 | export declare function hasBranchDeletionError(data: string, processExitCode: ExitCodes): boolean;
6 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-branch.d.ts:
--------------------------------------------------------------------------------
1 | import type { BranchSummary } from '../../../typings';
2 | export declare function parseBranchSummary(stdOut: string): BranchSummary;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-commit.d.ts:
--------------------------------------------------------------------------------
1 | import { CommitResult } from '../../../typings';
2 | export declare function parseCommitResult(stdOut: string): CommitResult;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-diff-summary.d.ts:
--------------------------------------------------------------------------------
1 | import { LogFormat } from '../args/log-format';
2 | import { DiffSummary } from '../responses/DiffSummary';
3 | export declare function getDiffParser(format?: LogFormat): (stdOut: string) => DiffSummary;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-fetch.d.ts:
--------------------------------------------------------------------------------
1 | import { FetchResult } from '../../../typings';
2 | export declare function parseFetchResult(stdOut: string, stdErr: string): FetchResult;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-list-log-summary.d.ts:
--------------------------------------------------------------------------------
1 | import { LogResult } from '../../../typings';
2 | import { LogFormat } from '../args/log-format';
3 | export declare const START_BOUNDARY = "\u00F2\u00F2\u00F2\u00F2\u00F2\u00F2 ";
4 | export declare const COMMIT_BOUNDARY = " \u00F2\u00F2";
5 | export declare const SPLITTER = " \u00F2 ";
6 | export declare function createListLogSummaryParser(splitter?: string, fields?: string[], logFormat?: LogFormat): (stdOut: string) => LogResult;
7 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-merge.d.ts:
--------------------------------------------------------------------------------
1 | import { MergeDetail, MergeResult } from '../../../typings';
2 | import { TaskParser } from '../types';
3 | /**
4 | * Parse the complete response from `git.merge`
5 | */
6 | export declare const parseMergeResult: TaskParser;
7 | /**
8 | * Parse the merge specific detail (ie: not the content also available in the pull detail) from `git.mnerge`
9 | * @param stdOut
10 | */
11 | export declare const parseMergeDetail: TaskParser;
12 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-move.d.ts:
--------------------------------------------------------------------------------
1 | import { MoveResult } from '../../../typings';
2 | export declare function parseMoveResult(stdOut: string): MoveResult;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-pull.d.ts:
--------------------------------------------------------------------------------
1 | import { PullDetail, PullResult } from '../../../typings';
2 | import { PullFailedSummary } from '../responses/PullSummary';
3 | import { TaskParser } from '../types';
4 | export declare const parsePullDetail: TaskParser;
5 | export declare const parsePullResult: TaskParser;
6 | export declare function parsePullErrorResult(stdOut: string, stdErr: string): "" | PullFailedSummary;
7 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-push.d.ts:
--------------------------------------------------------------------------------
1 | import { PushDetail, PushResult } from '../../../typings';
2 | import { TaskParser } from '../types';
3 | export declare const parsePushResult: TaskParser;
4 | export declare const parsePushDetail: TaskParser;
5 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-remote-messages.d.ts:
--------------------------------------------------------------------------------
1 | import { RemoteMessageResult, RemoteMessages } from '../../../typings';
2 | export declare function parseRemoteMessages(_stdOut: string, stdErr: string): RemoteMessageResult;
3 | export declare class RemoteMessageSummary implements RemoteMessages {
4 | readonly all: string[];
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/parsers/parse-remote-objects.d.ts:
--------------------------------------------------------------------------------
1 | import { RemoteMessageResult, RemoteMessages } from '../../../typings';
2 | import { RemoteLineParser } from '../utils';
3 | export declare const remoteMessagesObjectParsers: RemoteLineParser>[];
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/abort-plugin.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitOptions } from '../types';
2 | import { SimpleGitPlugin } from './simple-git-plugin';
3 | export declare function abortPlugin(signal: SimpleGitOptions['abort']): (SimpleGitPlugin<"spawn.before"> | SimpleGitPlugin<"spawn.after">)[] | undefined;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts:
--------------------------------------------------------------------------------
1 | import type { SimpleGitPlugin } from './simple-git-plugin';
2 | import type { SimpleGitPluginConfig } from '../types';
3 | export declare function blockUnsafeOperationsPlugin({ allowUnsafeProtocolOverride, allowUnsafePack, }?: SimpleGitPluginConfig['unsafe']): SimpleGitPlugin<'spawn.args'>;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/command-config-prefixing-plugin.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitPlugin } from './simple-git-plugin';
2 | export declare function commandConfigPrefixingPlugin(configuration: string[]): SimpleGitPlugin<'spawn.args'>;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/completion-detection.plugin.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitPluginConfig } from '../types';
2 | import { SimpleGitPlugin } from './simple-git-plugin';
3 | export declare function completionDetectionPlugin({ onClose, onExit, }?: SimpleGitPluginConfig['completion']): SimpleGitPlugin<'spawn.after'>;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/custom-binary.plugin.d.ts:
--------------------------------------------------------------------------------
1 | import type { SimpleGitOptions } from '../types';
2 | import { PluginStore } from './plugin-store';
3 | export declare function customBinaryPlugin(plugins: PluginStore, input?: SimpleGitOptions['binary'], allowUnsafe?: boolean): void;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/error-detection.plugin.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { GitExecutorResult, SimpleGitPluginConfig } from '../types';
3 | import { SimpleGitPlugin } from './simple-git-plugin';
4 | declare type TaskResult = Omit;
5 | declare function isTaskError(result: TaskResult): boolean;
6 | export declare function errorDetectionHandler(overwrite?: boolean, isError?: typeof isTaskError, errorMessage?: (result: TaskResult) => Buffer | Error): (error: Buffer | Error | undefined, result: TaskResult) => Error | Buffer | undefined;
7 | export declare function errorDetectionPlugin(config: SimpleGitPluginConfig['errors']): SimpleGitPlugin<'task.error'>;
8 | export {};
9 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './abort-plugin';
2 | export * from './block-unsafe-operations-plugin';
3 | export * from './command-config-prefixing-plugin';
4 | export * from './completion-detection.plugin';
5 | export * from './custom-binary.plugin';
6 | export * from './error-detection.plugin';
7 | export * from './plugin-store';
8 | export * from './progress-monitor-plugin';
9 | export * from './simple-git-plugin';
10 | export * from './spawn-options-plugin';
11 | export * from './timout-plugin';
12 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/plugin-store.d.ts:
--------------------------------------------------------------------------------
1 | import type { SimpleGitPlugin, SimpleGitPluginType, SimpleGitPluginTypes } from './simple-git-plugin';
2 | import type { SimpleGitPluginConfig } from '../types';
3 | export declare class PluginStore {
4 | private plugins;
5 | private events;
6 | on(type: K, listener: (data: SimpleGitPluginConfig[K]) => void): void;
7 | reconfigure(type: K, data: SimpleGitPluginConfig[K]): void;
8 | append(type: T, action: SimpleGitPlugin['action']): () => boolean;
9 | add(plugin: void | SimpleGitPlugin | SimpleGitPlugin[]): () => void;
10 | exec(type: T, data: SimpleGitPluginTypes[T]['data'], context: SimpleGitPluginTypes[T]['context']): typeof data;
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/progress-monitor-plugin.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitOptions } from '../types';
2 | import { SimpleGitPlugin } from './simple-git-plugin';
3 | export declare function progressMonitorPlugin(progress: Exclude): (SimpleGitPlugin<"spawn.after"> | SimpleGitPlugin<"spawn.args">)[];
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/simple-git-plugin.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { ChildProcess, SpawnOptions } from 'child_process';
3 | import { GitExecutorResult } from '../types';
4 | declare type SimpleGitTaskPluginContext = {
5 | readonly method: string;
6 | readonly commands: string[];
7 | };
8 | export interface SimpleGitPluginTypes {
9 | 'spawn.args': {
10 | data: string[];
11 | context: SimpleGitTaskPluginContext & {};
12 | };
13 | 'spawn.binary': {
14 | data: string;
15 | context: SimpleGitTaskPluginContext & {};
16 | };
17 | 'spawn.options': {
18 | data: Partial;
19 | context: SimpleGitTaskPluginContext & {};
20 | };
21 | 'spawn.before': {
22 | data: void;
23 | context: SimpleGitTaskPluginContext & {
24 | kill(reason: Error): void;
25 | };
26 | };
27 | 'spawn.after': {
28 | data: void;
29 | context: SimpleGitTaskPluginContext & {
30 | spawned: ChildProcess;
31 | close(exitCode: number, reason?: Error): void;
32 | kill(reason: Error): void;
33 | };
34 | };
35 | 'task.error': {
36 | data: {
37 | error?: Error;
38 | };
39 | context: SimpleGitTaskPluginContext & GitExecutorResult;
40 | };
41 | }
42 | export declare type SimpleGitPluginType = keyof SimpleGitPluginTypes;
43 | export interface SimpleGitPlugin {
44 | action(data: SimpleGitPluginTypes[T]['data'], context: SimpleGitPluginTypes[T]['context']): typeof data;
45 | type: T;
46 | }
47 | export {};
48 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/spawn-options-plugin.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { SpawnOptions } from 'child_process';
3 | import { SimpleGitPlugin } from './simple-git-plugin';
4 | export declare function spawnOptionsPlugin(spawnOptions: Partial): SimpleGitPlugin<'spawn.options'>;
5 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/suffix-paths.plugin.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitPlugin } from './simple-git-plugin';
2 | export declare function suffixPathsPlugin(): SimpleGitPlugin<'spawn.args'>;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/plugins/timout-plugin.d.ts:
--------------------------------------------------------------------------------
1 | import type { SimpleGitPlugin } from './simple-git-plugin';
2 | import type { SimpleGitOptions } from '../types';
3 | export declare function timeoutPlugin({ block, stdErr, stdOut, }: Exclude): SimpleGitPlugin<'spawn.after'> | void;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/BranchDeleteSummary.d.ts:
--------------------------------------------------------------------------------
1 | import { BranchMultiDeleteResult, BranchSingleDeleteFailure, BranchSingleDeleteResult, BranchSingleDeleteSuccess } from '../../../typings';
2 | export declare class BranchDeletionBatch implements BranchMultiDeleteResult {
3 | all: BranchSingleDeleteResult[];
4 | branches: {
5 | [branchName: string]: BranchSingleDeleteResult;
6 | };
7 | errors: BranchSingleDeleteResult[];
8 | get success(): boolean;
9 | }
10 | export declare function branchDeletionSuccess(branch: string, hash: string): BranchSingleDeleteSuccess;
11 | export declare function branchDeletionFailure(branch: string): BranchSingleDeleteFailure;
12 | export declare function isSingleBranchDeleteFailure(test: BranchSingleDeleteResult): test is BranchSingleDeleteSuccess;
13 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/BranchSummary.d.ts:
--------------------------------------------------------------------------------
1 | import type { BranchSummary, BranchSummaryBranch } from '../../../typings';
2 | export declare enum BranchStatusIdentifier {
3 | CURRENT = "*",
4 | LINKED = "+"
5 | }
6 | export declare class BranchSummaryResult implements BranchSummary {
7 | all: string[];
8 | branches: {
9 | [p: string]: BranchSummaryBranch;
10 | };
11 | current: string;
12 | detached: boolean;
13 | push(status: BranchStatusIdentifier | unknown, detached: boolean, name: string, commit: string, label: string): void;
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/CheckIgnore.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Parser for the `check-ignore` command - returns each file as a string array
3 | */
4 | export declare const parseCheckIgnore: (text: string) => string[];
5 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/CleanSummary.d.ts:
--------------------------------------------------------------------------------
1 | import { CleanSummary } from '../../../typings';
2 | export declare class CleanResponse implements CleanSummary {
3 | readonly dryRun: boolean;
4 | paths: string[];
5 | files: string[];
6 | folders: string[];
7 | constructor(dryRun: boolean);
8 | }
9 | export declare function cleanSummaryParser(dryRun: boolean, text: string): CleanSummary;
10 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/ConfigList.d.ts:
--------------------------------------------------------------------------------
1 | import { ConfigGetResult, ConfigListSummary, ConfigValues } from '../../../typings';
2 | export declare class ConfigList implements ConfigListSummary {
3 | files: string[];
4 | values: {
5 | [fileName: string]: ConfigValues;
6 | };
7 | private _all;
8 | get all(): ConfigValues;
9 | addFile(file: string): ConfigValues;
10 | addValue(file: string, key: string, value: string): void;
11 | }
12 | export declare function configListParser(text: string): ConfigList;
13 | export declare function configGetParser(text: string, key: string): ConfigGetResult;
14 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/DiffSummary.d.ts:
--------------------------------------------------------------------------------
1 | import { DiffResult, DiffResultBinaryFile, DiffResultTextFile } from '../../../typings';
2 | /***
3 | * The DiffSummary is returned as a response to getting `git().status()`
4 | */
5 | export declare class DiffSummary implements DiffResult {
6 | changed: number;
7 | deletions: number;
8 | insertions: number;
9 | files: Array;
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/FileStatusSummary.d.ts:
--------------------------------------------------------------------------------
1 | import { FileStatusResult } from '../../../typings';
2 | export declare const fromPathRegex: RegExp;
3 | export declare class FileStatusSummary implements FileStatusResult {
4 | path: string;
5 | index: string;
6 | working_dir: string;
7 | readonly from: string | undefined;
8 | constructor(path: string, index: string, working_dir: string);
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/GetRemoteSummary.d.ts:
--------------------------------------------------------------------------------
1 | export interface RemoteWithoutRefs {
2 | name: string;
3 | }
4 | export interface RemoteWithRefs extends RemoteWithoutRefs {
5 | refs: {
6 | fetch: string;
7 | push: string;
8 | };
9 | }
10 | export declare function parseGetRemotes(text: string): RemoteWithoutRefs[];
11 | export declare function parseGetRemotesVerbose(text: string): RemoteWithRefs[];
12 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/InitSummary.d.ts:
--------------------------------------------------------------------------------
1 | import { InitResult } from '../../../typings';
2 | export declare class InitSummary implements InitResult {
3 | readonly bare: boolean;
4 | readonly path: string;
5 | readonly existing: boolean;
6 | readonly gitDir: string;
7 | constructor(bare: boolean, path: string, existing: boolean, gitDir: string);
8 | }
9 | export declare function parseInit(bare: boolean, path: string, text: string): InitSummary;
10 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/MergeSummary.d.ts:
--------------------------------------------------------------------------------
1 | import { MergeConflict, MergeConflictDeletion, MergeDetail, MergeResultStatus } from '../../../typings';
2 | export declare class MergeSummaryConflict implements MergeConflict {
3 | readonly reason: string;
4 | readonly file: string | null;
5 | readonly meta?: MergeConflictDeletion | undefined;
6 | constructor(reason: string, file?: string | null, meta?: MergeConflictDeletion | undefined);
7 | toString(): string;
8 | }
9 | export declare class MergeSummaryDetail implements MergeDetail {
10 | conflicts: MergeConflict[];
11 | merges: string[];
12 | result: MergeResultStatus;
13 | get failed(): boolean;
14 | get reason(): string;
15 | toString(): string;
16 | }
17 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/PullSummary.d.ts:
--------------------------------------------------------------------------------
1 | import { PullDetailFileChanges, PullDetailSummary, PullFailedResult, PullResult } from '../../../typings';
2 | export declare class PullSummary implements PullResult {
3 | remoteMessages: {
4 | all: never[];
5 | };
6 | created: never[];
7 | deleted: string[];
8 | files: string[];
9 | deletions: PullDetailFileChanges;
10 | insertions: PullDetailFileChanges;
11 | summary: PullDetailSummary;
12 | }
13 | export declare class PullFailedSummary implements PullFailedResult {
14 | remote: string;
15 | hash: {
16 | local: string;
17 | remote: string;
18 | };
19 | branch: {
20 | local: string;
21 | remote: string;
22 | };
23 | message: string;
24 | toString(): string;
25 | }
26 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/StatusSummary.d.ts:
--------------------------------------------------------------------------------
1 | import { StatusResult } from '../../../typings';
2 | export declare class StatusSummary implements StatusResult {
3 | not_added: never[];
4 | conflicted: never[];
5 | created: never[];
6 | deleted: never[];
7 | ignored: undefined;
8 | modified: never[];
9 | renamed: never[];
10 | files: never[];
11 | staged: never[];
12 | ahead: number;
13 | behind: number;
14 | current: null;
15 | tracking: null;
16 | detached: boolean;
17 | isClean: () => boolean;
18 | }
19 | export declare const parseStatusSummary: (text: string) => StatusResult;
20 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/responses/TagList.d.ts:
--------------------------------------------------------------------------------
1 | import { TagResult } from '../../../typings';
2 | export declare class TagList implements TagResult {
3 | readonly all: string[];
4 | readonly latest: string | undefined;
5 | constructor(all: string[], latest: string | undefined);
6 | }
7 | export declare const parseTagList: (data: string, customSort?: boolean) => TagList;
8 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/runners/git-executor-chain.d.ts:
--------------------------------------------------------------------------------
1 | import { PluginStore } from '../plugins';
2 | import { outputHandler, SimpleGitExecutor, SimpleGitTask } from '../types';
3 | import { Scheduler } from './scheduler';
4 | export declare class GitExecutorChain implements SimpleGitExecutor {
5 | private _executor;
6 | private _scheduler;
7 | private _plugins;
8 | private _chain;
9 | private _queue;
10 | private _cwd;
11 | get cwd(): string;
12 | set cwd(cwd: string);
13 | get env(): import("../types").GitExecutorEnv;
14 | get outputHandler(): outputHandler | undefined;
15 | constructor(_executor: SimpleGitExecutor, _scheduler: Scheduler, _plugins: PluginStore);
16 | chain(): this;
17 | push(task: SimpleGitTask): Promise;
18 | private attemptTask;
19 | private onFatalException;
20 | private attemptRemoteTask;
21 | private attemptEmptyTask;
22 | private handleTaskData;
23 | private gitResponse;
24 | private _beforeSpawn;
25 | }
26 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/runners/git-executor.d.ts:
--------------------------------------------------------------------------------
1 | import type { PluginStore } from '../plugins';
2 | import type { GitExecutorEnv, outputHandler, SimpleGitExecutor, SimpleGitTask } from '../types';
3 | import { Scheduler } from './scheduler';
4 | export declare class GitExecutor implements SimpleGitExecutor {
5 | cwd: string;
6 | private _scheduler;
7 | private _plugins;
8 | private _chain;
9 | env: GitExecutorEnv;
10 | outputHandler?: outputHandler;
11 | constructor(cwd: string, _scheduler: Scheduler, _plugins: PluginStore);
12 | chain(): SimpleGitExecutor;
13 | push(task: SimpleGitTask): Promise;
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/runners/promise-wrapped.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGit, SimpleGitOptions } from '../../../typings';
2 | export declare function gitP(...args: [] | [string] | [Partial] | [string, Partial]): SimpleGit;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/runners/scheduler.d.ts:
--------------------------------------------------------------------------------
1 | declare type ScheduleCompleteCallback = () => void;
2 | export declare class Scheduler {
3 | private concurrency;
4 | private logger;
5 | private pending;
6 | private running;
7 | constructor(concurrency?: number);
8 | private schedule;
9 | next(): Promise;
10 | }
11 | export {};
12 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitTask } from '../types';
2 | import { GitError } from '../errors/git-error';
3 | import { OutputLogger } from '../git-logger';
4 | declare type AnySimpleGitTask = SimpleGitTask;
5 | declare type TaskInProgress = {
6 | name: string;
7 | logger: OutputLogger;
8 | task: AnySimpleGitTask;
9 | };
10 | export declare class TasksPendingQueue {
11 | private logLabel;
12 | private _queue;
13 | constructor(logLabel?: string);
14 | private withProgress;
15 | private createProgress;
16 | push(task: AnySimpleGitTask): TaskInProgress;
17 | fatal(err: GitError): void;
18 | complete(task: AnySimpleGitTask): void;
19 | attempt(task: AnySimpleGitTask): TaskInProgress;
20 | static getName(name?: string): string;
21 | private static counter;
22 | }
23 | export {};
24 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/simple-git-api.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitBase } from '../../typings';
2 | import { outputHandler, SimpleGitExecutor, SimpleGitTask, SimpleGitTaskCallback } from './types';
3 | export declare class SimpleGitApi implements SimpleGitBase {
4 | private _executor;
5 | constructor(_executor: SimpleGitExecutor);
6 | protected _runTask(task: SimpleGitTask, then?: SimpleGitTaskCallback): any;
7 | add(files: string | string[]): any;
8 | cwd(directory: string | {
9 | path: string;
10 | root?: boolean;
11 | }): any;
12 | hashObject(path: string, write: boolean | unknown): any;
13 | init(bare?: boolean | unknown): any;
14 | merge(): any;
15 | mergeFromTo(remote: string, branch: string): any;
16 | outputHandler(handler: outputHandler): this;
17 | push(): any;
18 | stash(): any;
19 | status(): any;
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/task-callback.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitTask, SimpleGitTaskCallback } from './types';
2 | export declare function taskCallback(task: SimpleGitTask, response: Promise, callback?: SimpleGitTaskCallback): void;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/apply-patch.d.ts:
--------------------------------------------------------------------------------
1 | import { OptionFlags, Options, StringTask } from '../types';
2 | export declare type ApplyOptions = Options & OptionFlags<'--stat' | '--numstat' | '--summary' | '--check' | '--index' | '--intent-to-add' | '--3way' | '--apply' | '--no-add' | '-R' | '--reverse' | '--allow-binary-replacement' | '--binary' | '--reject' | '-z' | '--inaccurate-eof' | '--recount' | '--cached' | '--ignore-space-change' | '--ignore-whitespace' | '--verbose' | '--unsafe-paths'> & OptionFlags<'--whitespace', 'nowarn' | 'warn' | 'fix' | 'error' | 'error-all'> & OptionFlags<'--build-fake-ancestor' | '--exclude' | '--include' | '--directory', string> & OptionFlags<'-p' | '-C', number>;
3 | export declare function applyPatchTask(patches: string[], customArgs: string[]): StringTask;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/branch.d.ts:
--------------------------------------------------------------------------------
1 | import { BranchMultiDeleteResult, BranchSingleDeleteResult, BranchSummary } from '../../../typings';
2 | import { StringTask } from '../types';
3 | export declare function containsDeleteBranchCommand(commands: string[]): boolean;
4 | export declare function branchTask(customArgs: string[]): StringTask;
5 | export declare function branchLocalTask(): StringTask;
6 | export declare function deleteBranchesTask(branches: string[], forceDelete?: boolean): StringTask;
7 | export declare function deleteBranchTask(branch: string, forceDelete?: boolean): StringTask;
8 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/change-working-directory.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitExecutor } from '../types';
2 | export declare function changeWorkingDirectoryTask(directory: string, root?: SimpleGitExecutor): import("./task").EmptyTask;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/check-ignore.d.ts:
--------------------------------------------------------------------------------
1 | import { StringTask } from '../types';
2 | export declare function checkIgnoreTask(paths: string[]): StringTask;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/check-is-repo.d.ts:
--------------------------------------------------------------------------------
1 | import { Maybe, StringTask } from '../types';
2 | export declare enum CheckRepoActions {
3 | BARE = "bare",
4 | IN_TREE = "tree",
5 | IS_REPO_ROOT = "root"
6 | }
7 | export declare function checkIsRepoTask(action: Maybe): StringTask;
8 | export declare function checkIsRepoRootTask(): StringTask;
9 | export declare function checkIsBareRepoTask(): StringTask;
10 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/checkout.d.ts:
--------------------------------------------------------------------------------
1 | import type { SimpleGit } from '../../../typings';
2 | export default function (): Pick;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/clean.d.ts:
--------------------------------------------------------------------------------
1 | import { CleanSummary } from '../../../typings';
2 | import { StringTask } from '../types';
3 | export declare const CONFIG_ERROR_INTERACTIVE_MODE = "Git clean interactive mode is not supported";
4 | export declare const CONFIG_ERROR_MODE_REQUIRED = "Git clean mode parameter (\"n\" or \"f\") is required";
5 | export declare const CONFIG_ERROR_UNKNOWN_OPTION = "Git clean unknown option found in: ";
6 | /**
7 | * All supported option switches available for use in a `git.clean` operation
8 | */
9 | export declare enum CleanOptions {
10 | DRY_RUN = "n",
11 | FORCE = "f",
12 | IGNORED_INCLUDED = "x",
13 | IGNORED_ONLY = "X",
14 | EXCLUDING = "e",
15 | QUIET = "q",
16 | RECURSIVE = "d"
17 | }
18 | /**
19 | * The two modes `git.clean` can run in - one of these must be supplied in order
20 | * for the command to not throw a `TaskConfigurationError`
21 | */
22 | export declare type CleanMode = CleanOptions.FORCE | CleanOptions.DRY_RUN;
23 | export declare function cleanWithOptionsTask(mode: CleanMode | string, customArgs: string[]): import("./task").EmptyTask | StringTask;
24 | export declare function cleanTask(mode: CleanMode, customArgs: string[]): StringTask;
25 | export declare function isCleanOptionsArray(input: string[]): input is CleanOptions[];
26 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/clone.d.ts:
--------------------------------------------------------------------------------
1 | import { EmptyTask } from './task';
2 | import { OptionFlags, Options, StringTask } from '../types';
3 | export declare type CloneOptions = Options & OptionFlags<'--bare' | '--dissociate' | '--mirror' | '--no-checkout' | '--no-remote-submodules' | '--no-shallow-submodules' | '--no-single-branch' | '--no-tags' | '--remote-submodules' | '--single-branch' | '--shallow-submodules' | '--verbose'> & OptionFlags<'--depth' | '-j' | '--jobs', number> & OptionFlags<'--branch' | '--origin' | '--recurse-submodules' | '--separate-git-dir' | '--shallow-exclude' | '--shallow-since' | '--template', string>;
4 | export declare function cloneTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): StringTask | EmptyTask;
5 | export declare function cloneMirrorTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): EmptyTask | StringTask;
6 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/commit.d.ts:
--------------------------------------------------------------------------------
1 | import type { CommitResult, SimpleGit } from '../../../typings';
2 | import type { StringTask } from '../types';
3 | export declare function commitTask(message: string[], files: string[], customArgs: string[]): StringTask;
4 | export default function (): Pick;
5 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/config.d.ts:
--------------------------------------------------------------------------------
1 | import type { SimpleGit } from '../../../typings';
2 | export declare enum GitConfigScope {
3 | system = "system",
4 | global = "global",
5 | local = "local",
6 | worktree = "worktree"
7 | }
8 | export default function (): Pick;
9 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts:
--------------------------------------------------------------------------------
1 | export declare enum DiffNameStatus {
2 | ADDED = "A",
3 | COPIED = "C",
4 | DELETED = "D",
5 | MODIFIED = "M",
6 | RENAMED = "R",
7 | CHANGED = "T",
8 | UNMERGED = "U",
9 | UNKNOWN = "X",
10 | BROKEN = "B"
11 | }
12 | export declare function isDiffNameStatus(input: string): input is DiffNameStatus;
13 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/diff.d.ts:
--------------------------------------------------------------------------------
1 | import { StringTask } from '../types';
2 | import { DiffResult } from '../../../typings';
3 | import { EmptyTask } from './task';
4 | export declare function diffSummaryTask(customArgs: string[]): StringTask | EmptyTask;
5 | export declare function validateLogFormatConfig(customArgs: unknown[]): EmptyTask | void;
6 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/fetch.d.ts:
--------------------------------------------------------------------------------
1 | import { FetchResult } from '../../../typings';
2 | import { StringTask } from '../types';
3 | import { EmptyTask } from './task';
4 | export declare function fetchTask(remote: string, branch: string, customArgs: string[]): StringTask | EmptyTask;
5 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/first-commit.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGit } from '../../../typings';
2 | export default function (): Pick;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/grep.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGit } from '../../../typings';
2 | export interface GitGrepQuery extends Iterable {
3 | /** Adds one or more terms to be grouped as an "and" to any other terms */
4 | and(...and: string[]): this;
5 | /** Adds one or more search terms - git.grep will "or" this to other terms */
6 | param(...param: string[]): this;
7 | }
8 | /**
9 | * Creates a new builder for a `git.grep` query with optional params
10 | */
11 | export declare function grepQueryBuilder(...params: string[]): GitGrepQuery;
12 | export default function (): Pick;
13 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/hash-object.d.ts:
--------------------------------------------------------------------------------
1 | import { StringTask } from '../types';
2 | /**
3 | * Task used by `git.hashObject`
4 | */
5 | export declare function hashObjectTask(filePath: string, write: boolean): StringTask;
6 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/init.d.ts:
--------------------------------------------------------------------------------
1 | import { InitResult } from '../../../typings';
2 | import { StringTask } from '../types';
3 | export declare function initTask(bare: boolean | undefined, path: string, customArgs: string[]): StringTask;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/log.d.ts:
--------------------------------------------------------------------------------
1 | import type { Options, StringTask } from '../types';
2 | import type { LogResult, SimpleGit } from '../../../typings';
3 | export interface DefaultLogFields {
4 | hash: string;
5 | date: string;
6 | message: string;
7 | refs: string;
8 | body: string;
9 | author_name: string;
10 | author_email: string;
11 | }
12 | export declare type LogOptions = {
13 | file?: string;
14 | format?: T;
15 | from?: string;
16 | mailMap?: boolean;
17 | maxCount?: number;
18 | multiLine?: boolean;
19 | splitter?: string;
20 | strictDate?: boolean;
21 | symmetric?: boolean;
22 | to?: string;
23 | };
24 | interface ParsedLogOptions {
25 | fields: string[];
26 | splitter: string;
27 | commands: string[];
28 | }
29 | export declare function parseLogOptions(opt?: Options | LogOptions, customArgs?: string[]): ParsedLogOptions;
30 | export declare function logTask(splitter: string, fields: string[], customArgs: string[]): StringTask>;
31 | export default function (): Pick;
32 | export {};
33 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/merge.d.ts:
--------------------------------------------------------------------------------
1 | import { MergeResult } from '../../../typings';
2 | import { StringTask } from '../types';
3 | import { EmptyTask } from './task';
4 | export declare function mergeTask(customArgs: string[]): EmptyTask | StringTask;
5 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/move.d.ts:
--------------------------------------------------------------------------------
1 | import { MoveResult } from '../../../typings';
2 | import { StringTask } from '../types';
3 | export declare function moveTask(from: string | string[], to: string): StringTask;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/pull.d.ts:
--------------------------------------------------------------------------------
1 | import { PullResult } from '../../../typings';
2 | import { Maybe, StringTask } from '../types';
3 | export declare function pullTask(remote: Maybe, branch: Maybe, customArgs: string[]): StringTask;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/push.d.ts:
--------------------------------------------------------------------------------
1 | import { PushResult } from '../../../typings';
2 | import { StringTask } from '../types';
3 | declare type PushRef = {
4 | remote?: string;
5 | branch?: string;
6 | };
7 | export declare function pushTagsTask(ref: PushRef | undefined, customArgs: string[]): StringTask;
8 | export declare function pushTask(ref: PushRef | undefined, customArgs: string[]): StringTask;
9 | export {};
10 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/remote.d.ts:
--------------------------------------------------------------------------------
1 | import { StringTask } from '../types';
2 | export declare function addRemoteTask(remoteName: string, remoteRepo: string, customArgs: string[]): StringTask;
3 | export declare function getRemotesTask(verbose: boolean): StringTask;
4 | export declare function listRemotesTask(customArgs: string[]): StringTask;
5 | export declare function remoteTask(customArgs: string[]): StringTask;
6 | export declare function removeRemoteTask(remoteName: string): StringTask;
7 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/reset.d.ts:
--------------------------------------------------------------------------------
1 | import { Maybe, OptionFlags, Options } from '../types';
2 | export declare enum ResetMode {
3 | MIXED = "mixed",
4 | SOFT = "soft",
5 | HARD = "hard",
6 | MERGE = "merge",
7 | KEEP = "keep"
8 | }
9 | export declare type ResetOptions = Options & OptionFlags<'-q' | '--quiet' | '--no-quiet' | '--pathspec-from-nul'> & OptionFlags<'--pathspec-from-file', string>;
10 | export declare function resetTask(mode: Maybe, customArgs: string[]): import("../types").StringTask;
11 | export declare function getResetMode(mode: ResetMode | any): Maybe;
12 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/show.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGit } from '../../../typings';
2 | export default function (): Pick;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/stash-list.d.ts:
--------------------------------------------------------------------------------
1 | import { LogOptions, LogResult } from '../../../typings';
2 | import type { StringTask } from '../types';
3 | import type { EmptyTask } from './task';
4 | export declare function stashListTask(opt: LogOptions | undefined, customArgs: string[]): EmptyTask | StringTask;
5 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/status.d.ts:
--------------------------------------------------------------------------------
1 | import { StatusResult } from '../../../typings';
2 | import { StringTask } from '../types';
3 | export declare function statusTask(customArgs: string[]): StringTask;
4 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/sub-module.d.ts:
--------------------------------------------------------------------------------
1 | import { StringTask } from '../types';
2 | export declare function addSubModuleTask(repo: string, path: string): StringTask;
3 | export declare function initSubModuleTask(customArgs: string[]): StringTask;
4 | export declare function subModuleTask(customArgs: string[]): StringTask;
5 | export declare function updateSubModuleTask(customArgs: string[]): StringTask;
6 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/tag.d.ts:
--------------------------------------------------------------------------------
1 | import { TagResult } from '../../../typings';
2 | import { StringTask } from '../types';
3 | /**
4 | * Task used by `git.tags`
5 | */
6 | export declare function tagListTask(customArgs?: string[]): StringTask;
7 | /**
8 | * Task used by `git.addTag`
9 | */
10 | export declare function addTagTask(name: string): StringTask<{
11 | name: string;
12 | }>;
13 | /**
14 | * Task used by `git.addTag`
15 | */
16 | export declare function addAnnotatedTagTask(name: string, tagMessage: string): StringTask<{
17 | name: string;
18 | }>;
19 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/task.d.ts:
--------------------------------------------------------------------------------
1 | import type { BufferTask, EmptyTaskParser, SimpleGitTask, StringTask } from '../types';
2 | export declare const EMPTY_COMMANDS: [];
3 | export declare type EmptyTask = {
4 | commands: typeof EMPTY_COMMANDS;
5 | format: 'empty';
6 | parser: EmptyTaskParser;
7 | onError?: undefined;
8 | };
9 | export declare function adhocExecTask(parser: EmptyTaskParser): EmptyTask;
10 | export declare function configurationErrorTask(error: Error | string): EmptyTask;
11 | export declare function straightThroughStringTask(commands: string[], trimmed?: boolean): StringTask;
12 | export declare function straightThroughBufferTask(commands: string[]): BufferTask;
13 | export declare function isBufferTask(task: SimpleGitTask): task is BufferTask;
14 | export declare function isEmptyTask(task: SimpleGitTask): task is EmptyTask;
15 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/tasks/version.d.ts:
--------------------------------------------------------------------------------
1 | import type { SimpleGit } from '../../../typings';
2 | export interface VersionResult {
3 | major: number;
4 | minor: number;
5 | patch: number | string;
6 | agent: string;
7 | installed: boolean;
8 | }
9 | export default function (): Pick;
10 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/types/handlers.d.ts:
--------------------------------------------------------------------------------
1 | import { GitError } from '../errors/git-error';
2 | /**
3 | * The node-style callback to a task accepts either two arguments with the first as a null
4 | * and the second as the data, or just one argument which is an error.
5 | */
6 | export declare type SimpleGitTaskCallback = (err: E | null, data: T) => void;
7 | /**
8 | * The event data emitted to the progress handler whenever progress detail is received.
9 | */
10 | export interface SimpleGitProgressEvent {
11 | /** The underlying method called - push, pull etc */
12 | method: string;
13 | /** The type of progress being reported, note that any one task may emit many stages - for example `git clone` emits both `receiving` and `resolving` */
14 | stage: 'compressing' | 'counting' | 'receiving' | 'resolving' | 'unknown' | 'writing' | string;
15 | /** The percent progressed as a number 0 - 100 */
16 | progress: number;
17 | /** The number of items processed so far */
18 | processed: number;
19 | /** The total number of items to be processed */
20 | total: number;
21 | }
22 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/types/tasks.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { GitExecutorResult, SimpleGitExecutor } from './index';
3 | import { EmptyTask } from '../tasks/task';
4 | export declare type TaskResponseFormat = Buffer | string;
5 | export interface TaskParser {
6 | (stdOut: INPUT, stdErr: INPUT): RESPONSE;
7 | }
8 | export interface EmptyTaskParser {
9 | (executor: SimpleGitExecutor): void;
10 | }
11 | export interface SimpleGitTaskConfiguration {
12 | commands: string[];
13 | format: FORMAT;
14 | parser: TaskParser;
15 | onError?: (result: GitExecutorResult, error: Error, done: (result: Buffer | Buffer[]) => void, fail: (error: string | Error) => void) => void;
16 | }
17 | export declare type StringTask = SimpleGitTaskConfiguration;
18 | export declare type BufferTask = SimpleGitTaskConfiguration;
19 | export declare type RunnableTask = StringTask | BufferTask;
20 | export declare type SimpleGitTask = RunnableTask | EmptyTask;
21 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/utils/argument-filters.d.ts:
--------------------------------------------------------------------------------
1 | import { Options, Primitives } from '../types';
2 | export interface ArgumentFilterPredicate {
3 | (input: any): input is T;
4 | }
5 | export declare function filterType(input: K, filter: ArgumentFilterPredicate): K extends T ? T : undefined;
6 | export declare function filterType(input: K, filter: ArgumentFilterPredicate, def: T): T;
7 | export declare const filterArray: ArgumentFilterPredicate>;
8 | export declare function filterPrimitives(input: unknown, omit?: Array<'boolean' | 'string' | 'number'>): input is Primitives;
9 | export declare const filterString: ArgumentFilterPredicate;
10 | export declare const filterStringArray: ArgumentFilterPredicate;
11 | export declare const filterStringOrStringArray: ArgumentFilterPredicate;
12 | export declare function filterPlainObject(input: T | unknown): input is T;
13 | export declare function filterFunction(input: unknown): input is Function;
14 | export declare const filterHasLength: ArgumentFilterPredicate<{
15 | length: number;
16 | }>;
17 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/utils/exit-codes.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Known process exit codes used by the task parsers to determine whether an error
3 | * was one they can automatically handle
4 | */
5 | export declare enum ExitCodes {
6 | SUCCESS = 0,
7 | ERROR = 1,
8 | NOT_FOUND = -2,
9 | UNCLEAN = 128
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/utils/git-output-streams.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { TaskResponseFormat } from '../types';
3 | export declare class GitOutputStreams {
4 | readonly stdOut: T;
5 | readonly stdErr: T;
6 | constructor(stdOut: T, stdErr: T);
7 | asStrings(): GitOutputStreams;
8 | }
9 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/utils/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './argument-filters';
2 | export * from './exit-codes';
3 | export * from './git-output-streams';
4 | export * from './line-parser';
5 | export * from './simple-git-options';
6 | export * from './task-options';
7 | export * from './task-parser';
8 | export * from './util';
9 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/utils/line-parser.d.ts:
--------------------------------------------------------------------------------
1 | export declare class LineParser {
2 | protected matches: string[];
3 | private _regExp;
4 | constructor(regExp: RegExp | RegExp[], useMatches?: (target: T, match: string[]) => boolean | void);
5 | parse: (line: (offset: number) => string | undefined, target: T) => boolean;
6 | protected useMatches(target: T, match: string[]): boolean | void;
7 | protected resetMatches(): void;
8 | protected prepareMatches(): string[];
9 | protected addMatch(reg: RegExp, index: number, line?: string): boolean;
10 | protected pushMatch(_index: number, matched: string[]): void;
11 | }
12 | export declare class RemoteLineParser extends LineParser {
13 | protected addMatch(reg: RegExp, index: number, line?: string): boolean;
14 | protected pushMatch(index: number, matched: string[]): void;
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/utils/simple-git-options.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitOptions } from '../types';
2 | export declare function createInstanceConfig(...options: Array | undefined>): SimpleGitOptions;
3 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/utils/task-options.d.ts:
--------------------------------------------------------------------------------
1 | import { Maybe, Options } from '../types';
2 | export declare function appendTaskOptions(options: Maybe, commands?: string[]): string[];
3 | export declare function getTrailingOptions(args: IArguments, initialPrimitive?: number, objectOnly?: boolean): string[];
4 | /**
5 | * Given any number of arguments, returns the trailing options argument, ignoring a trailing function argument
6 | * if there is one. When not found, the return value is null.
7 | */
8 | export declare function trailingOptionsArgument(args: IArguments): Maybe;
9 | /**
10 | * Returns either the source argument when it is a `Function`, or the default
11 | * `NOOP` function constant
12 | */
13 | export declare function trailingFunctionArgument(args: unknown[] | IArguments | unknown, includeNoop?: boolean): Maybe<(...args: any[]) => unknown>;
14 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/src/lib/utils/task-parser.d.ts:
--------------------------------------------------------------------------------
1 | import type { MaybeArray, TaskParser, TaskResponseFormat } from '../types';
2 | import { GitOutputStreams } from './git-output-streams';
3 | import { LineParser } from './line-parser';
4 | export declare function callTaskParser(parser: TaskParser, streams: GitOutputStreams): RESPONSE;
5 | export declare function parseStringResponse(result: T, parsers: LineParser[], texts: MaybeArray, trim?: boolean): T;
6 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/typings/errors.d.ts:
--------------------------------------------------------------------------------
1 | export * from '../src/lib/errors/git-error';
2 | export * from '../src/lib/errors/git-construct-error';
3 | export * from '../src/lib/errors/git-plugin-error';
4 | export * from '../src/lib/errors/git-response-error';
5 | export * from '../src/lib/errors/task-configuration-error';
6 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/typings/index.d.ts:
--------------------------------------------------------------------------------
1 | import { SimpleGitFactory } from './simple-git';
2 |
3 | export * from './simple-git';
4 | export * from './errors';
5 | export * from './response';
6 | export * from './types';
7 |
8 | export declare const gitP: SimpleGitFactory;
9 |
10 | export declare const simpleGit: SimpleGitFactory;
11 |
12 | export default simpleGit;
13 |
--------------------------------------------------------------------------------
/node_modules/simple-git/dist/typings/types.d.ts:
--------------------------------------------------------------------------------
1 | export type { RemoteWithoutRefs, RemoteWithRefs } from '../src/lib/responses/GetRemoteSummary';
2 | export type { LogOptions, DefaultLogFields } from '../src/lib/tasks/log';
3 |
4 | export type {
5 | outputHandler,
6 | Options,
7 | TaskOptions,
8 | SimpleGitOptions,
9 | SimpleGitProgressEvent,
10 | SimpleGitTaskCallback,
11 | } from '../src/lib/types';
12 |
13 | export { pathspec } from '../src/lib/args/pathspec';
14 | export type { ApplyOptions } from '../src/lib/tasks/apply-patch';
15 | export { CheckRepoActions } from '../src/lib/tasks/check-is-repo';
16 | export { CleanOptions, CleanMode } from '../src/lib/tasks/clean';
17 | export type { CloneOptions } from '../src/lib/tasks/clone';
18 | export { GitConfigScope } from '../src/lib/tasks/config';
19 | export { DiffNameStatus } from '../src/lib/tasks/diff-name-status';
20 | export { GitGrepQuery, grepQueryBuilder } from '../src/lib/tasks/grep';
21 | export { ResetOptions, ResetMode } from '../src/lib/tasks/reset';
22 | export type { VersionResult } from '../src/lib/tasks/version';
23 |
--------------------------------------------------------------------------------
/node_modules/simple-git/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "simple-git",
3 | "description": "Simple GIT interface for node.js",
4 | "version": "3.24.0",
5 | "author": "Steve King ",
6 | "contributors": [
7 | {
8 | "name": "Steve King",
9 | "email": "steve@mydev.co"
10 | }
11 | ],
12 | "funding": {
13 | "type": "github",
14 | "url": "https://github.com/steveukx/git-js?sponsor=1"
15 | },
16 | "dependencies": {
17 | "@kwsites/file-exists": "^1.1.1",
18 | "@kwsites/promise-deferred": "^1.1.1",
19 | "debug": "^4.3.4"
20 | },
21 | "devDependencies": {
22 | "@kwsites/promise-result": "^1.1.0",
23 | "@simple-git/babel-config": "^1.0.0",
24 | "@types/debug": "^4.1.5",
25 | "@types/jest": "^29.2.2",
26 | "@types/node": "^16",
27 | "esbuild": "^0.14.10",
28 | "esbuild-node-externals": "^1.4.1",
29 | "jest": "^29.3.1",
30 | "ts-node": "^9.0.0",
31 | "typescript": "^4.1.2"
32 | },
33 | "keywords": [
34 | "git",
35 | "source control",
36 | "vcs"
37 | ],
38 | "license": "MIT",
39 | "repository": {
40 | "type": "git",
41 | "url": "https://github.com/steveukx/git-js.git",
42 | "directory": "simple-git"
43 | },
44 | "main": "dist/cjs/index.js",
45 | "module": "dist/esm/index.js",
46 | "exports": {
47 | ".": {
48 | "types": "./dist/typings/index.d.ts",
49 | "import": "./dist/esm/index.js",
50 | "require": "./dist/cjs/index.js"
51 | },
52 | "./promise": {
53 | "require": "./promise.js"
54 | }
55 | },
56 | "types": "./dist/typings/index.d.ts",
57 | "files": [
58 | "promise.*",
59 | "dist"
60 | ]
61 | }
--------------------------------------------------------------------------------
/node_modules/simple-git/promise.js:
--------------------------------------------------------------------------------
1 | console.error(`=============================================
2 | simple-git has supported promises / async await since version 2.6.0.
3 | Importing from 'simple-git/promise' has been deprecated and will
4 | report this error until the next major release of version 4.
5 |
6 | To upgrade, change all 'simple-git/promise' imports to just 'simple-git'
7 | =============================================`);
8 |
9 | const simpleGit = require('.');
10 |
11 | module.exports = Object.assign(
12 | function () {
13 | return simpleGit.gitP.apply(null, arguments);
14 | },
15 | simpleGit,
16 | { default: simpleGit.gitP }
17 | );
18 |
--------------------------------------------------------------------------------
/node_modules/universalify/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2017, Ryan Zimmerman
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the 'Software'), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/node_modules/universalify/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | exports.fromCallback = function (fn) {
4 | return Object.defineProperty(function (...args) {
5 | if (typeof args[args.length - 1] === 'function') fn.apply(this, args)
6 | else {
7 | return new Promise((resolve, reject) => {
8 | args.push((err, res) => (err != null) ? reject(err) : resolve(res))
9 | fn.apply(this, args)
10 | })
11 | }
12 | }, 'name', { value: fn.name })
13 | }
14 |
15 | exports.fromPromise = function (fn) {
16 | return Object.defineProperty(function (...args) {
17 | const cb = args[args.length - 1]
18 | if (typeof cb !== 'function') return fn.apply(this, args)
19 | else {
20 | args.pop()
21 | fn.apply(this, args).then(r => cb(null, r), cb)
22 | }
23 | }, 'name', { value: fn.name })
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/universalify/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "universalify",
3 | "version": "2.0.1",
4 | "description": "Make a callback- or promise-based function support both promises and callbacks.",
5 | "keywords": [
6 | "callback",
7 | "native",
8 | "promise"
9 | ],
10 | "homepage": "https://github.com/RyanZim/universalify#readme",
11 | "bugs": "https://github.com/RyanZim/universalify/issues",
12 | "license": "MIT",
13 | "author": "Ryan Zimmerman ",
14 | "files": [
15 | "index.js"
16 | ],
17 | "repository": {
18 | "type": "git",
19 | "url": "git+https://github.com/RyanZim/universalify.git"
20 | },
21 | "scripts": {
22 | "test": "standard && nyc --reporter text --reporter lcovonly tape test/*.js | colortape"
23 | },
24 | "devDependencies": {
25 | "colortape": "^0.1.2",
26 | "coveralls": "^3.0.1",
27 | "nyc": "^15.0.0",
28 | "standard": "^14.3.1",
29 | "tape": "^5.0.1"
30 | },
31 | "engines": {
32 | "node": ">= 10.0.0"
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "github-bot",
3 | "version": "1.0.0",
4 | "description": "Test",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "git+https://github.com/diyas08/github-bot.git"
12 | },
13 | "author": "Diyas Djumabaev",
14 | "license": "ISC",
15 | "bugs": {
16 | "url": "https://github.com/diyas08/github-bot/issues"
17 | },
18 | "homepage": "https://github.com/diyas08/github-bot#readme",
19 | "dependencies": {
20 | "jsonfile": "^6.1.0"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------