@nocobase/plugin-backup-restore 2.2.19 → 2.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/externalVersion.js +5 -5
- package/dist/node_modules/@hapi/topo/package.json +1 -1
- package/dist/node_modules/@xhmikosr/decompress/package.json +1 -1
- package/dist/node_modules/archiver/package.json +1 -1
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/node_modules/moment/LICENSE +1 -1
- package/dist/node_modules/moment/dist/locale/am-et.js +62 -0
- package/dist/node_modules/moment/dist/locale/ar-dz.js +8 -8
- package/dist/node_modules/moment/dist/locale/ar-ly.js +8 -8
- package/dist/node_modules/moment/dist/locale/ar-ps.js +112 -0
- package/dist/node_modules/moment/dist/locale/ar.js +8 -8
- package/dist/node_modules/moment/dist/locale/be.js +2 -2
- package/dist/node_modules/moment/dist/locale/bs.js +14 -4
- package/dist/node_modules/moment/dist/locale/ca.js +7 -7
- package/dist/node_modules/moment/dist/locale/cs.js +5 -4
- package/dist/node_modules/moment/dist/locale/cv.js +2 -2
- package/dist/node_modules/moment/dist/locale/de-at.js +29 -1
- package/dist/node_modules/moment/dist/locale/de-ch.js +29 -1
- package/dist/node_modules/moment/dist/locale/de.js +29 -1
- package/dist/node_modules/moment/dist/locale/en-au.js +6 -6
- package/dist/node_modules/moment/dist/locale/en-ca.js +6 -6
- package/dist/node_modules/moment/dist/locale/en-gb.js +6 -6
- package/dist/node_modules/moment/dist/locale/en-ie.js +6 -6
- package/dist/node_modules/moment/dist/locale/en-il.js +6 -6
- package/dist/node_modules/moment/dist/locale/en-in.js +6 -6
- package/dist/node_modules/moment/dist/locale/en-nz.js +6 -6
- package/dist/node_modules/moment/dist/locale/en-sg.js +6 -6
- package/dist/node_modules/moment/dist/locale/hu.js +3 -3
- package/dist/node_modules/moment/dist/locale/id.js +12 -1
- package/dist/node_modules/moment/dist/locale/it.js +4 -4
- package/dist/node_modules/moment/dist/locale/ka.js +1 -1
- package/dist/node_modules/moment/dist/locale/ku-kmr.js +121 -0
- package/dist/node_modules/moment/dist/locale/lt.js +2 -2
- package/dist/node_modules/moment/dist/locale/me.js +2 -2
- package/dist/node_modules/moment/dist/locale/nb.js +4 -4
- package/dist/node_modules/moment/dist/locale/nl-be.js +2 -2
- package/dist/node_modules/moment/dist/locale/nl.js +1 -1
- package/dist/node_modules/moment/dist/locale/oc-lnc.js +6 -6
- package/dist/node_modules/moment/dist/locale/pl.js +1 -1
- package/dist/node_modules/moment/dist/locale/ps.js +177 -0
- package/dist/node_modules/moment/dist/locale/pt-br.js +14 -6
- package/dist/node_modules/moment/dist/locale/ru.js +2 -2
- package/dist/node_modules/moment/dist/locale/sv.js +7 -7
- package/dist/node_modules/moment/dist/locale/sw.js +56 -14
- package/dist/node_modules/moment/dist/locale/tet.js +6 -6
- package/dist/node_modules/moment/dist/locale/tlh.js +8 -8
- package/dist/node_modules/moment/dist/locale/tzl.js +2 -2
- package/dist/node_modules/moment/dist/locale/uk.js +9 -8
- package/dist/node_modules/moment/dist/locale/uz-latn.js +1 -1
- package/dist/node_modules/moment/dist/locale/uz.js +1 -1
- package/dist/node_modules/moment/dist/locale/x-pseudo.js +6 -6
- package/dist/node_modules/moment/dist/moment.js +1274 -1042
- package/dist/node_modules/moment/dojo.profile.js +11 -0
- package/dist/node_modules/moment/ender.js +1 -1
- package/dist/node_modules/moment/locale/am-et.js +73 -0
- package/dist/node_modules/moment/locale/ar-dz.js +8 -8
- package/dist/node_modules/moment/locale/ar-ly.js +8 -8
- package/dist/node_modules/moment/locale/ar-ps.js +123 -0
- package/dist/node_modules/moment/locale/ar.js +8 -8
- package/dist/node_modules/moment/locale/be.js +2 -2
- package/dist/node_modules/moment/locale/bm.js +2 -0
- package/dist/node_modules/moment/locale/bs.js +14 -4
- package/dist/node_modules/moment/locale/ca.js +7 -7
- package/dist/node_modules/moment/locale/cs.js +5 -4
- package/dist/node_modules/moment/locale/cv.js +2 -2
- package/dist/node_modules/moment/locale/de-at.js +29 -1
- package/dist/node_modules/moment/locale/de-ch.js +29 -1
- package/dist/node_modules/moment/locale/de.js +29 -1
- package/dist/node_modules/moment/locale/en-au.js +6 -6
- package/dist/node_modules/moment/locale/en-ca.js +6 -6
- package/dist/node_modules/moment/locale/en-gb.js +6 -6
- package/dist/node_modules/moment/locale/en-ie.js +6 -6
- package/dist/node_modules/moment/locale/en-il.js +6 -6
- package/dist/node_modules/moment/locale/en-in.js +6 -6
- package/dist/node_modules/moment/locale/en-nz.js +6 -6
- package/dist/node_modules/moment/locale/en-sg.js +6 -6
- package/dist/node_modules/moment/locale/hu.js +3 -3
- package/dist/node_modules/moment/locale/id.js +12 -1
- package/dist/node_modules/moment/locale/it.js +4 -4
- package/dist/node_modules/moment/locale/ka.js +1 -1
- package/dist/node_modules/moment/locale/ku-kmr.js +125 -0
- package/dist/node_modules/moment/locale/lt.js +2 -2
- package/dist/node_modules/moment/locale/me.js +2 -2
- package/dist/node_modules/moment/locale/mk.js +0 -1
- package/dist/node_modules/moment/locale/nb.js +4 -4
- package/dist/node_modules/moment/locale/nl-be.js +2 -2
- package/dist/node_modules/moment/locale/nl.js +1 -1
- package/dist/node_modules/moment/locale/oc-lnc.js +6 -6
- package/dist/node_modules/moment/locale/pl.js +1 -1
- package/dist/node_modules/moment/locale/ps.js +188 -0
- package/dist/node_modules/moment/locale/pt-br.js +14 -6
- package/dist/node_modules/moment/locale/ru.js +2 -2
- package/dist/node_modules/moment/locale/sv.js +7 -7
- package/dist/node_modules/moment/locale/sw.js +56 -14
- package/dist/node_modules/moment/locale/tet.js +6 -6
- package/dist/node_modules/moment/locale/tlh.js +8 -8
- package/dist/node_modules/moment/locale/tzl.js +2 -2
- package/dist/node_modules/moment/locale/uk.js +9 -8
- package/dist/node_modules/moment/locale/uz-latn.js +1 -1
- package/dist/node_modules/moment/locale/uz.js +1 -1
- package/dist/node_modules/moment/locale/x-pseudo.js +6 -6
- package/dist/node_modules/moment/min/locales.js +1380 -771
- package/dist/node_modules/moment/min/locales.min.js +211 -1
- package/dist/node_modules/moment/min/moment-with-locales.js +2705 -1858
- package/dist/node_modules/moment/min/moment-with-locales.min.js +216 -1
- package/dist/node_modules/moment/min/moment.min.js +8 -1
- package/dist/node_modules/moment/moment.d.ts +2 -0
- package/dist/node_modules/moment/moment.js +3 -3
- package/dist/node_modules/moment/package.json +1 -1
- package/dist/node_modules/moment/src/lib/create/check-overflow.js +15 -15
- package/dist/node_modules/moment/src/lib/create/from-array.js +77 -10
- package/dist/node_modules/moment/src/lib/create/from-string-and-array.js +2 -0
- package/dist/node_modules/moment/src/lib/create/parsing-flags.js +1 -0
- package/dist/node_modules/moment/src/lib/create/valid.js +25 -24
- package/dist/node_modules/moment/src/lib/duration/as.js +3 -15
- package/dist/node_modules/moment/src/lib/duration/bubble.js +4 -6
- package/dist/node_modules/moment/src/lib/duration/humanize.js +14 -3
- package/dist/node_modules/moment/src/lib/format/format.js +7 -4
- package/dist/node_modules/moment/src/lib/locale/en.js +6 -6
- package/dist/node_modules/moment/src/lib/locale/formats.js +19 -3
- package/dist/node_modules/moment/src/lib/locale/locales.js +33 -13
- package/dist/node_modules/moment/src/lib/locale/relative.js +25 -2
- package/dist/node_modules/moment/src/lib/locale/set.js +4 -0
- package/dist/node_modules/moment/src/lib/moment/calendar.js +10 -10
- package/dist/node_modules/moment/src/lib/moment/get-set.js +66 -22
- package/dist/node_modules/moment/src/lib/moment/min-max.js +15 -3
- package/dist/node_modules/moment/src/lib/parse/regex.js +4 -0
- package/dist/node_modules/moment/src/lib/units/aliases.js +50 -6
- package/dist/node_modules/moment/src/lib/units/day-of-month.js +7 -11
- package/dist/node_modules/moment/src/lib/units/day-of-week.js +52 -21
- package/dist/node_modules/moment/src/lib/units/day-of-year.js +0 -9
- package/dist/node_modules/moment/src/lib/units/era.js +13 -7
- package/dist/node_modules/moment/src/lib/units/hour.js +5 -12
- package/dist/node_modules/moment/src/lib/units/millisecond.js +0 -10
- package/dist/node_modules/moment/src/lib/units/minute.js +7 -12
- package/dist/node_modules/moment/src/lib/units/month.js +38 -28
- package/dist/node_modules/moment/src/lib/units/offset.js +13 -1
- package/dist/node_modules/moment/src/lib/units/priorities.js +18 -5
- package/dist/node_modules/moment/src/lib/units/quarter.js +0 -10
- package/dist/node_modules/moment/src/lib/units/second.js +7 -12
- package/dist/node_modules/moment/src/lib/units/week-calendar-utils.js +22 -8
- package/dist/node_modules/moment/src/lib/units/week-year.js +1 -11
- package/dist/node_modules/moment/src/lib/units/week.js +8 -15
- package/dist/node_modules/moment/src/lib/units/year.js +0 -10
- package/dist/node_modules/moment/src/lib/utils/deprecate.js +1 -1
- package/dist/node_modules/moment/src/locale/am-et.js +62 -0
- package/dist/node_modules/moment/src/locale/ar-dz.js +8 -8
- package/dist/node_modules/moment/src/locale/ar-ly.js +8 -8
- package/dist/node_modules/moment/src/locale/ar-ps.js +112 -0
- package/dist/node_modules/moment/src/locale/ar.js +8 -8
- package/dist/node_modules/moment/src/locale/be.js +2 -2
- package/dist/node_modules/moment/src/locale/bs.js +14 -4
- package/dist/node_modules/moment/src/locale/ca.js +7 -7
- package/dist/node_modules/moment/src/locale/cs.js +5 -4
- package/dist/node_modules/moment/src/locale/cv.js +2 -2
- package/dist/node_modules/moment/src/locale/de-at.js +29 -1
- package/dist/node_modules/moment/src/locale/de-ch.js +29 -1
- package/dist/node_modules/moment/src/locale/de.js +29 -1
- package/dist/node_modules/moment/src/locale/en-au.js +6 -6
- package/dist/node_modules/moment/src/locale/en-ca.js +6 -6
- package/dist/node_modules/moment/src/locale/en-gb.js +6 -6
- package/dist/node_modules/moment/src/locale/en-ie.js +6 -6
- package/dist/node_modules/moment/src/locale/en-il.js +6 -6
- package/dist/node_modules/moment/src/locale/en-in.js +6 -6
- package/dist/node_modules/moment/src/locale/en-nz.js +6 -6
- package/dist/node_modules/moment/src/locale/en-sg.js +6 -6
- package/dist/node_modules/moment/src/locale/hu.js +3 -3
- package/dist/node_modules/moment/src/locale/id.js +12 -1
- package/dist/node_modules/moment/src/locale/it.js +4 -4
- package/dist/node_modules/moment/src/locale/ka.js +1 -1
- package/dist/node_modules/moment/src/locale/ku-kmr.js +121 -0
- package/dist/node_modules/moment/src/locale/lt.js +2 -2
- package/dist/node_modules/moment/src/locale/me.js +2 -2
- package/dist/node_modules/moment/src/locale/nb.js +4 -4
- package/dist/node_modules/moment/src/locale/nl-be.js +2 -2
- package/dist/node_modules/moment/src/locale/nl.js +1 -1
- package/dist/node_modules/moment/src/locale/oc-lnc.js +6 -6
- package/dist/node_modules/moment/src/locale/pl.js +1 -1
- package/dist/node_modules/moment/src/locale/ps.js +177 -0
- package/dist/node_modules/moment/src/locale/pt-br.js +14 -6
- package/dist/node_modules/moment/src/locale/ru.js +2 -2
- package/dist/node_modules/moment/src/locale/sv.js +7 -7
- package/dist/node_modules/moment/src/locale/sw.js +56 -14
- package/dist/node_modules/moment/src/locale/tet.js +6 -6
- package/dist/node_modules/moment/src/locale/tlh.js +8 -8
- package/dist/node_modules/moment/src/locale/tzl.js +2 -2
- package/dist/node_modules/moment/src/locale/uk.js +9 -8
- package/dist/node_modules/moment/src/locale/uz-latn.js +1 -1
- package/dist/node_modules/moment/src/locale/uz.js +1 -1
- package/dist/node_modules/moment/src/locale/x-pseudo.js +6 -6
- package/dist/node_modules/moment/src/moment.js +2 -2
- package/dist/node_modules/moment/ts3.1-typings/moment.d.ts +258 -78
- package/dist/node_modules/semver/package.json +1 -1
- package/package.json +2 -2
- package/dist/node_modules/moment/package.js +0 -11
package/dist/externalVersion.js
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
module.exports = {
|
|
11
11
|
"@ant-design/icons": "5.6.1",
|
|
12
12
|
"@formily/antd-v5": "1.2.3",
|
|
13
|
-
"@nocobase/client": "2.2.
|
|
13
|
+
"@nocobase/client": "2.2.21",
|
|
14
14
|
"antd": "5.24.2",
|
|
15
15
|
"react": "18.2.0",
|
|
16
|
-
"@nocobase/server": "2.2.
|
|
17
|
-
"@nocobase/utils": "2.2.
|
|
18
|
-
"@nocobase/database": "2.2.
|
|
16
|
+
"@nocobase/server": "2.2.21",
|
|
17
|
+
"@nocobase/utils": "2.2.21",
|
|
18
|
+
"@nocobase/database": "2.2.21",
|
|
19
19
|
"dayjs": "1.11.13",
|
|
20
20
|
"lodash": "4.18.1",
|
|
21
21
|
"react-i18next": "11.18.6",
|
|
22
|
-
"@nocobase/actions": "2.2.
|
|
22
|
+
"@nocobase/actions": "2.2.21"
|
|
23
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@hapi/topo","description":"Topological sorting with grouping support","version":"6.0.2","repository":"git://github.com/hapijs/topo","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"keywords":["topological","sort","toposort","topsort"],"eslintConfig":{"extends":["plugin:@hapi/module"]},"dependencies":{"@hapi/hoek":"^11.0.2"},"devDependencies":{"@hapi/code":"^9.0.3","@hapi/eslint-plugin":"*","@hapi/lab":"^25.1.2","@types/node":"^17.0.31","typescript":"~4.6.4"},"scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -t 100 -L -r html -o coverage.html"},"license":"BSD-3-Clause","_lastModified":"2026-
|
|
1
|
+
{"name":"@hapi/topo","description":"Topological sorting with grouping support","version":"6.0.2","repository":"git://github.com/hapijs/topo","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"keywords":["topological","sort","toposort","topsort"],"eslintConfig":{"extends":["plugin:@hapi/module"]},"dependencies":{"@hapi/hoek":"^11.0.2"},"devDependencies":{"@hapi/code":"^9.0.3","@hapi/eslint-plugin":"*","@hapi/lab":"^25.1.2","@types/node":"^17.0.31","typescript":"~4.6.4"},"scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -t 100 -L -r html -o coverage.html"},"license":"BSD-3-Clause","_lastModified":"2026-10-06T06:18:18.877Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@xhmikosr/decompress","version":"11.1.4","description":"Extracting archives made easy","license":"MIT","repository":{"type":"git","url":"git+https://github.com/XhmikosR/decompress.git"},"publishConfig":{"access":"public"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=20"},"scripts":{"ava":"ava","lint":"xo","xo":"xo","fix":"xo --fix","test":"npm run xo && npm run ava","test-ci":"c8 ava"},"main":"index.js","type":"module","exports":{".":"./index.js"},"files":["index.js"],"keywords":["bz2","bzip2","decompress","extract","tar","tar.bz","tar.gz","zip","unzip"],"dependencies":{"@xhmikosr/decompress-tar":"^9.0.2","@xhmikosr/decompress-tarbz2":"^9.0.2","@xhmikosr/decompress-targz":"^9.0.1","@xhmikosr/decompress-unzip":"^8.2.1","graceful-fs":"^4.2.11","strip-dirs":"^3.0.0"},"devDependencies":{"ava":"^7.0.0","c8":"^12.0.0","file-type":"^21.3.4","xo":"^2.0.2"},"xo":{"rules":{"capitalized-comments":"off","require-unicode-regexp":"off","unicorn/prevent-abbreviations":"off"}},"allowScripts":{"unrs-resolver@1.11.1":true},"_lastModified":"2026-
|
|
1
|
+
{"name":"@xhmikosr/decompress","version":"11.1.4","description":"Extracting archives made easy","license":"MIT","repository":{"type":"git","url":"git+https://github.com/XhmikosR/decompress.git"},"publishConfig":{"access":"public"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=20"},"scripts":{"ava":"ava","lint":"xo","xo":"xo","fix":"xo --fix","test":"npm run xo && npm run ava","test-ci":"c8 ava"},"main":"index.js","type":"module","exports":{".":"./index.js"},"files":["index.js"],"keywords":["bz2","bzip2","decompress","extract","tar","tar.bz","tar.gz","zip","unzip"],"dependencies":{"@xhmikosr/decompress-tar":"^9.0.2","@xhmikosr/decompress-tarbz2":"^9.0.2","@xhmikosr/decompress-targz":"^9.0.1","@xhmikosr/decompress-unzip":"^8.2.1","graceful-fs":"^4.2.11","strip-dirs":"^3.0.0"},"devDependencies":{"ava":"^7.0.0","c8":"^12.0.0","file-type":"^21.3.4","xo":"^2.0.2"},"xo":{"rules":{"capitalized-comments":"off","require-unicode-regexp":"off","unicorn/prevent-abbreviations":"off"}},"allowScripts":{"unrs-resolver@1.11.1":true},"_lastModified":"2026-10-06T06:18:18.676Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"archiver","version":"5.3.2","description":"a streaming interface for archive generation","homepage":"https://github.com/archiverjs/node-archiver","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/archiverjs/node-archiver.git"},"bugs":{"url":"https://github.com/archiverjs/node-archiver/issues"},"license":"MIT","main":"index.js","files":["index.js","lib"],"engines":{"node":">= 10"},"scripts":{"test":"mocha --reporter dot","bench":"node benchmark/simple/pack-zip.js"},"dependencies":{"archiver-utils":"^2.1.0","async":"^3.2.4","buffer-crc32":"^0.2.1","readable-stream":"^3.6.0","readdir-glob":"^1.1.2","tar-stream":"^2.2.0","zip-stream":"^4.1.0"},"devDependencies":{"archiver-jsdoc-theme":"^1.1.3","chai":"^4.3.7","jsdoc":"^3.6.4","mkdirp":"^2.1.5","mocha":"^9.0.2","rimraf":"^4.3.1","stream-bench":"^0.1.2","tar":"^6.1.13","yauzl":"^2.9.0"},"keywords":["archive","archiver","stream","zip","tar"],"publishConfig":{"registry":"https://registry.npmjs.org/"},"_lastModified":"2026-
|
|
1
|
+
{"name":"archiver","version":"5.3.2","description":"a streaming interface for archive generation","homepage":"https://github.com/archiverjs/node-archiver","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/archiverjs/node-archiver.git"},"bugs":{"url":"https://github.com/archiverjs/node-archiver/issues"},"license":"MIT","main":"index.js","files":["index.js","lib"],"engines":{"node":">= 10"},"scripts":{"test":"mocha --reporter dot","bench":"node benchmark/simple/pack-zip.js"},"dependencies":{"archiver-utils":"^2.1.0","async":"^3.2.4","buffer-crc32":"^0.2.1","readable-stream":"^3.6.0","readdir-glob":"^1.1.2","tar-stream":"^2.2.0","zip-stream":"^4.1.0"},"devDependencies":{"archiver-jsdoc-theme":"^1.1.3","chai":"^4.3.7","jsdoc":"^3.6.4","mkdirp":"^2.1.5","mocha":"^9.0.2","rimraf":"^4.3.1","stream-bench":"^0.1.2","tar":"^6.1.13","yauzl":"^2.9.0"},"keywords":["archive","archiver","stream","zip","tar"],"publishConfig":{"registry":"https://registry.npmjs.org/"},"_lastModified":"2026-10-06T06:18:17.008Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-
|
|
1
|
+
{"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-10-06T06:18:17.281Z"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Amharic (Ethiopia) [am-et]
|
|
3
|
+
//! author : Tekle Ayele : https://github.com/tekleayele
|
|
4
|
+
|
|
5
|
+
import moment from '../moment';
|
|
6
|
+
|
|
7
|
+
export default moment.defineLocale('am-et', {
|
|
8
|
+
months: 'ጃንዩወሪ_ፌብሩወሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር'.split(
|
|
9
|
+
'_'
|
|
10
|
+
),
|
|
11
|
+
monthsShort: 'ጃን_ፌብ_ማር_ኤፕር_ሜይ_ጁን_ጁላይ_ኦገ_ሴፕ_ኦክቶ_ኖቬ_ዲሴ'.split('_'),
|
|
12
|
+
weekdays: 'እሑድ_ሰኞ_ማክሰኞ_እሮብ_ሀሙስ_ዓርብ_ቅዳሜ'.split('_'),
|
|
13
|
+
weekdaysShort: 'እሑ_ሰኞ_ማክ_እሮ_ሀሙ_ዓር_ቅዳ'.split('_'),
|
|
14
|
+
weekdaysMin: 'እሁ_ሰ_ማ_እ_ሀ_ዓ_ቅ'.split('_'),
|
|
15
|
+
meridiemParse: /ጥዋት|ከሰዓት/,
|
|
16
|
+
isPM: function (input) {
|
|
17
|
+
return input === 'ከሰዓት';
|
|
18
|
+
},
|
|
19
|
+
meridiem: function (hours) {
|
|
20
|
+
return hours < 12 ? 'ጥዋት' : 'ከሰዓት';
|
|
21
|
+
},
|
|
22
|
+
longDateFormat: {
|
|
23
|
+
LT: 'h:mm A',
|
|
24
|
+
LTS: 'h:mm:ss A',
|
|
25
|
+
L: 'DD/MM/YYYY',
|
|
26
|
+
LL: 'D MMMM YYYY',
|
|
27
|
+
LLL: 'D MMMM YYYY h:mm A',
|
|
28
|
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
|
29
|
+
},
|
|
30
|
+
calendar: {
|
|
31
|
+
sameDay: '[ዛሬ በ] LT',
|
|
32
|
+
nextDay: '[ነገ በ] LT',
|
|
33
|
+
nextWeek: 'dddd [በ] LT',
|
|
34
|
+
lastDay: '[ትናንትና በ] LT',
|
|
35
|
+
lastWeek: '[ያለፈው ሳምንት] dddd [በ] LT',
|
|
36
|
+
sameElse: 'L',
|
|
37
|
+
},
|
|
38
|
+
relativeTime: {
|
|
39
|
+
future: '%s ውስጥ',
|
|
40
|
+
past: '%s በፊት',
|
|
41
|
+
s: 'ጥቂት ሰከንዶች',
|
|
42
|
+
ss: '%d ሰከንዶች',
|
|
43
|
+
m: 'አንድ ደቂቃ',
|
|
44
|
+
mm: '%d ደቂቃዎች',
|
|
45
|
+
h: 'አንድ ሰአት',
|
|
46
|
+
hh: '%d ሰአታት',
|
|
47
|
+
d: 'አንድ ቀን',
|
|
48
|
+
dd: '%d ቀናት',
|
|
49
|
+
M: 'አንድ ወር',
|
|
50
|
+
MM: '%d ወራት',
|
|
51
|
+
y: 'አንድ ዓመት',
|
|
52
|
+
yy: '%d ዓመታት',
|
|
53
|
+
},
|
|
54
|
+
dayOfMonthOrdinalParse: /\d{1,2}(ኛ)/,
|
|
55
|
+
ordinal: function (number) {
|
|
56
|
+
return number + 'ኛ';
|
|
57
|
+
},
|
|
58
|
+
week: {
|
|
59
|
+
dow: 0, // Sunday is the first day of the week.
|
|
60
|
+
doy: 6, // The week that contains Jan 1st is the first week of the year.
|
|
61
|
+
},
|
|
62
|
+
});
|
|
@@ -12,14 +12,14 @@ var pluralForm = function (n) {
|
|
|
12
12
|
return n === 0
|
|
13
13
|
? 0
|
|
14
14
|
: n === 1
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
? 1
|
|
16
|
+
: n === 2
|
|
17
|
+
? 2
|
|
18
|
+
: n % 100 >= 3 && n % 100 <= 10
|
|
19
|
+
? 3
|
|
20
|
+
: n % 100 >= 11
|
|
21
|
+
? 4
|
|
22
|
+
: 5;
|
|
23
23
|
},
|
|
24
24
|
plurals = {
|
|
25
25
|
s: [
|
|
@@ -20,14 +20,14 @@ var symbolMap = {
|
|
|
20
20
|
return n === 0
|
|
21
21
|
? 0
|
|
22
22
|
: n === 1
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
? 1
|
|
24
|
+
: n === 2
|
|
25
|
+
? 2
|
|
26
|
+
: n % 100 >= 3 && n % 100 <= 10
|
|
27
|
+
? 3
|
|
28
|
+
: n % 100 >= 11
|
|
29
|
+
? 4
|
|
30
|
+
: 5;
|
|
31
31
|
},
|
|
32
32
|
plurals = {
|
|
33
33
|
s: [
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Arabic (Palestine) [ar-ps]
|
|
3
|
+
//! author : Majd Al-Shihabi : https://github.com/majdal
|
|
4
|
+
|
|
5
|
+
import moment from '../moment';
|
|
6
|
+
|
|
7
|
+
var symbolMap = {
|
|
8
|
+
1: '١',
|
|
9
|
+
2: '٢',
|
|
10
|
+
3: '٣',
|
|
11
|
+
4: '٤',
|
|
12
|
+
5: '٥',
|
|
13
|
+
6: '٦',
|
|
14
|
+
7: '٧',
|
|
15
|
+
8: '٨',
|
|
16
|
+
9: '٩',
|
|
17
|
+
0: '٠',
|
|
18
|
+
},
|
|
19
|
+
numberMap = {
|
|
20
|
+
'١': '1',
|
|
21
|
+
'٢': '2',
|
|
22
|
+
'٣': '3',
|
|
23
|
+
'٤': '4',
|
|
24
|
+
'٥': '5',
|
|
25
|
+
'٦': '6',
|
|
26
|
+
'٧': '7',
|
|
27
|
+
'٨': '8',
|
|
28
|
+
'٩': '9',
|
|
29
|
+
'٠': '0',
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default moment.defineLocale('ar-ps', {
|
|
33
|
+
months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split(
|
|
34
|
+
'_'
|
|
35
|
+
),
|
|
36
|
+
monthsShort:
|
|
37
|
+
'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'),
|
|
38
|
+
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
|
39
|
+
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
|
40
|
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
|
41
|
+
weekdaysParseExact: true,
|
|
42
|
+
longDateFormat: {
|
|
43
|
+
LT: 'HH:mm',
|
|
44
|
+
LTS: 'HH:mm:ss',
|
|
45
|
+
L: 'DD/MM/YYYY',
|
|
46
|
+
LL: 'D MMMM YYYY',
|
|
47
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
48
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
|
49
|
+
},
|
|
50
|
+
meridiemParse: /ص|م/,
|
|
51
|
+
isPM: function (input) {
|
|
52
|
+
return 'م' === input;
|
|
53
|
+
},
|
|
54
|
+
meridiem: function (hour, minute, isLower) {
|
|
55
|
+
if (hour < 12) {
|
|
56
|
+
return 'ص';
|
|
57
|
+
} else {
|
|
58
|
+
return 'م';
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
calendar: {
|
|
62
|
+
sameDay: '[اليوم على الساعة] LT',
|
|
63
|
+
nextDay: '[غدا على الساعة] LT',
|
|
64
|
+
nextWeek: 'dddd [على الساعة] LT',
|
|
65
|
+
lastDay: '[أمس على الساعة] LT',
|
|
66
|
+
lastWeek: 'dddd [على الساعة] LT',
|
|
67
|
+
sameElse: 'L',
|
|
68
|
+
},
|
|
69
|
+
relativeTime: {
|
|
70
|
+
future: 'في %s',
|
|
71
|
+
past: 'منذ %s',
|
|
72
|
+
s: 'ثوان',
|
|
73
|
+
ss: '%d ثانية',
|
|
74
|
+
m: 'دقيقة',
|
|
75
|
+
mm: '%d دقائق',
|
|
76
|
+
h: 'ساعة',
|
|
77
|
+
hh: '%d ساعات',
|
|
78
|
+
d: 'يوم',
|
|
79
|
+
dd: '%d أيام',
|
|
80
|
+
M: 'شهر',
|
|
81
|
+
MM: '%d أشهر',
|
|
82
|
+
y: 'سنة',
|
|
83
|
+
yy: '%d سنوات',
|
|
84
|
+
},
|
|
85
|
+
preparse: function (string) {
|
|
86
|
+
return string
|
|
87
|
+
.replace(/[٣٤٥٦٧٨٩٠]/g, function (match) {
|
|
88
|
+
return numberMap[match];
|
|
89
|
+
})
|
|
90
|
+
.split('') // reversed since negative lookbehind not supported everywhere
|
|
91
|
+
.reverse()
|
|
92
|
+
.join('')
|
|
93
|
+
.replace(/[١٢](?![\u062a\u0643])/g, function (match) {
|
|
94
|
+
return numberMap[match];
|
|
95
|
+
})
|
|
96
|
+
.split('')
|
|
97
|
+
.reverse()
|
|
98
|
+
.join('')
|
|
99
|
+
.replace(/،/g, ',');
|
|
100
|
+
},
|
|
101
|
+
postformat: function (string) {
|
|
102
|
+
return string
|
|
103
|
+
.replace(/\d/g, function (match) {
|
|
104
|
+
return symbolMap[match];
|
|
105
|
+
})
|
|
106
|
+
.replace(/,/g, '،');
|
|
107
|
+
},
|
|
108
|
+
week: {
|
|
109
|
+
dow: 0, // Sunday is the first day of the week.
|
|
110
|
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
|
111
|
+
},
|
|
112
|
+
});
|
|
@@ -34,14 +34,14 @@ var symbolMap = {
|
|
|
34
34
|
return n === 0
|
|
35
35
|
? 0
|
|
36
36
|
: n === 1
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
? 1
|
|
38
|
+
: n === 2
|
|
39
|
+
? 2
|
|
40
|
+
: n % 100 >= 3 && n % 100 <= 10
|
|
41
|
+
? 3
|
|
42
|
+
: n % 100 >= 11
|
|
43
|
+
? 4
|
|
44
|
+
: 5;
|
|
45
45
|
},
|
|
46
46
|
plurals = {
|
|
47
47
|
s: [
|
|
@@ -11,8 +11,8 @@ function plural(word, num) {
|
|
|
11
11
|
return num % 10 === 1 && num % 100 !== 11
|
|
12
12
|
? forms[0]
|
|
13
13
|
: num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
? forms[1]
|
|
15
|
+
: forms[2];
|
|
16
16
|
}
|
|
17
17
|
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
|
18
18
|
var format = {
|
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
//! moment.js locale configuration
|
|
2
2
|
//! locale : Bosnian [bs]
|
|
3
3
|
//! author : Nedim Cholich : https://github.com/frontyard
|
|
4
|
+
//! author : Rasid Redzic : https://github.com/rasidre
|
|
4
5
|
//! based on (hr) translation by Bojan Marković
|
|
5
6
|
|
|
6
7
|
import moment from '../moment';
|
|
7
8
|
|
|
9
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
10
|
+
switch (key) {
|
|
11
|
+
case 'm':
|
|
12
|
+
return withoutSuffix
|
|
13
|
+
? 'jedna minuta'
|
|
14
|
+
: isFuture
|
|
15
|
+
? 'jednu minutu'
|
|
16
|
+
: 'jedne minute';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
8
20
|
function translate(number, withoutSuffix, key) {
|
|
9
21
|
var result = number + ' ';
|
|
10
22
|
switch (key) {
|
|
@@ -17,8 +29,6 @@ function translate(number, withoutSuffix, key) {
|
|
|
17
29
|
result += 'sekundi';
|
|
18
30
|
}
|
|
19
31
|
return result;
|
|
20
|
-
case 'm':
|
|
21
|
-
return withoutSuffix ? 'jedna minuta' : 'jedne minute';
|
|
22
32
|
case 'mm':
|
|
23
33
|
if (number === 1) {
|
|
24
34
|
result += 'minuta';
|
|
@@ -29,7 +39,7 @@ function translate(number, withoutSuffix, key) {
|
|
|
29
39
|
}
|
|
30
40
|
return result;
|
|
31
41
|
case 'h':
|
|
32
|
-
return withoutSuffix ? 'jedan sat' : '
|
|
42
|
+
return withoutSuffix ? 'jedan sat' : 'jedan sat';
|
|
33
43
|
case 'hh':
|
|
34
44
|
if (number === 1) {
|
|
35
45
|
result += 'sat';
|
|
@@ -130,7 +140,7 @@ export default moment.defineLocale('bs', {
|
|
|
130
140
|
past: 'prije %s',
|
|
131
141
|
s: 'par sekundi',
|
|
132
142
|
ss: translate,
|
|
133
|
-
m:
|
|
143
|
+
m: processRelativeTime,
|
|
134
144
|
mm: translate,
|
|
135
145
|
h: translate,
|
|
136
146
|
hh: translate,
|
|
@@ -10,7 +10,7 @@ export default moment.defineLocale('ca', {
|
|
|
10
10
|
'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(
|
|
11
11
|
'_'
|
|
12
12
|
),
|
|
13
|
-
format:
|
|
13
|
+
format: 'de gener_de febrer_de març_d’abril_de maig_de juny_de juliol_d’agost_de setembre_d’octubre_de novembre_de desembre'.split(
|
|
14
14
|
'_'
|
|
15
15
|
),
|
|
16
16
|
isFormat: /D[oD]?(\s)+MMMM/,
|
|
@@ -82,12 +82,12 @@ export default moment.defineLocale('ca', {
|
|
|
82
82
|
number === 1
|
|
83
83
|
? 'r'
|
|
84
84
|
: number === 2
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
85
|
+
? 'n'
|
|
86
|
+
: number === 3
|
|
87
|
+
? 'r'
|
|
88
|
+
: number === 4
|
|
89
|
+
? 't'
|
|
90
|
+
: 'è';
|
|
91
91
|
if (period === 'w' || period === 'W') {
|
|
92
92
|
output = 'a';
|
|
93
93
|
}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
import moment from '../moment';
|
|
6
6
|
|
|
7
7
|
var months = {
|
|
8
|
-
format: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
|
|
9
|
-
'_'
|
|
10
|
-
),
|
|
11
8
|
standalone:
|
|
12
|
-
'
|
|
9
|
+
'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
|
|
13
10
|
'_'
|
|
14
11
|
),
|
|
12
|
+
format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split(
|
|
13
|
+
'_'
|
|
14
|
+
),
|
|
15
|
+
isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/,
|
|
15
16
|
},
|
|
16
17
|
monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
|
|
17
18
|
monthsParse = [
|
|
@@ -7,6 +7,23 @@
|
|
|
7
7
|
|
|
8
8
|
import moment from '../moment';
|
|
9
9
|
|
|
10
|
+
var monthsParse = [
|
|
11
|
+
/^jän/i,
|
|
12
|
+
/^feb/i,
|
|
13
|
+
/^mär/i,
|
|
14
|
+
/^apr/i,
|
|
15
|
+
/^mai/i,
|
|
16
|
+
/^jun/i,
|
|
17
|
+
/^jul/i,
|
|
18
|
+
/^aug/i,
|
|
19
|
+
/^sep/i,
|
|
20
|
+
/^okt/i,
|
|
21
|
+
/^nov/i,
|
|
22
|
+
/^dez/i,
|
|
23
|
+
],
|
|
24
|
+
monthsRegex =
|
|
25
|
+
/^(Jänner|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|Jän\.?|Feb\.?|Mär\.?|Apr\.?|Jun\.?|Jul\.?|Aug\.?|Sep\.?|Okt\.?|Nov\.?|Dez\.?)/i;
|
|
26
|
+
|
|
10
27
|
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
11
28
|
var format = {
|
|
12
29
|
m: ['eine Minute', 'einer Minute'],
|
|
@@ -28,7 +45,18 @@ export default moment.defineLocale('de-at', {
|
|
|
28
45
|
),
|
|
29
46
|
monthsShort:
|
|
30
47
|
'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
|
|
31
|
-
|
|
48
|
+
|
|
49
|
+
monthsRegex: monthsRegex,
|
|
50
|
+
monthsShortRegex: monthsRegex,
|
|
51
|
+
monthsStrictRegex:
|
|
52
|
+
/^(Jänner|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i,
|
|
53
|
+
monthsShortStrictRegex:
|
|
54
|
+
/^(Jän\.?|Feb\.?|März|Mär\.?|Apr\.?|Mai|Juni|Jun\.?|Juli|Jul\.?|Aug\.?|Sep\.?|Okt\.?|Nov\.?|Dez\.?)/i,
|
|
55
|
+
|
|
56
|
+
monthsParse: monthsParse,
|
|
57
|
+
longMonthsParse: monthsParse,
|
|
58
|
+
shortMonthsParse: monthsParse,
|
|
59
|
+
|
|
32
60
|
weekdays:
|
|
33
61
|
'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
|
|
34
62
|
'_'
|
|
@@ -6,6 +6,23 @@
|
|
|
6
6
|
|
|
7
7
|
import moment from '../moment';
|
|
8
8
|
|
|
9
|
+
var monthsParse = [
|
|
10
|
+
/^jan/i,
|
|
11
|
+
/^feb/i,
|
|
12
|
+
/^mär/i,
|
|
13
|
+
/^apr/i,
|
|
14
|
+
/^mai/i,
|
|
15
|
+
/^jun/i,
|
|
16
|
+
/^jul/i,
|
|
17
|
+
/^aug/i,
|
|
18
|
+
/^sep/i,
|
|
19
|
+
/^okt/i,
|
|
20
|
+
/^nov/i,
|
|
21
|
+
/^dez/i,
|
|
22
|
+
],
|
|
23
|
+
monthsRegex =
|
|
24
|
+
/^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|Jan\.?|Feb\.?|Mär\.?|Apr\.?|Jun\.?|Jul\.?|Aug\.?|Sep\.?|Okt\.?|Nov\.?|Dez\.?)/i;
|
|
25
|
+
|
|
9
26
|
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
10
27
|
var format = {
|
|
11
28
|
m: ['eine Minute', 'einer Minute'],
|
|
@@ -27,7 +44,18 @@ export default moment.defineLocale('de-ch', {
|
|
|
27
44
|
),
|
|
28
45
|
monthsShort:
|
|
29
46
|
'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
|
|
30
|
-
|
|
47
|
+
|
|
48
|
+
monthsRegex: monthsRegex,
|
|
49
|
+
monthsShortRegex: monthsRegex,
|
|
50
|
+
monthsStrictRegex:
|
|
51
|
+
/^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i,
|
|
52
|
+
monthsShortStrictRegex:
|
|
53
|
+
/^(Jan\.?|Feb\.?|März|Mär\.?|Apr\.?|Mai|Juni|Jun\.?|Juli|Jul\.?|Aug\.?|Sep\.?|Okt\.?|Nov\.?|Dez\.?)/i,
|
|
54
|
+
|
|
55
|
+
monthsParse: monthsParse,
|
|
56
|
+
longMonthsParse: monthsParse,
|
|
57
|
+
shortMonthsParse: monthsParse,
|
|
58
|
+
|
|
31
59
|
weekdays:
|
|
32
60
|
'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
|
|
33
61
|
'_'
|
|
@@ -6,6 +6,23 @@
|
|
|
6
6
|
|
|
7
7
|
import moment from '../moment';
|
|
8
8
|
|
|
9
|
+
var monthsParse = [
|
|
10
|
+
/^jan/i,
|
|
11
|
+
/^feb/i,
|
|
12
|
+
/^mär/i,
|
|
13
|
+
/^apr/i,
|
|
14
|
+
/^mai/i,
|
|
15
|
+
/^jun/i,
|
|
16
|
+
/^jul/i,
|
|
17
|
+
/^aug/i,
|
|
18
|
+
/^sep/i,
|
|
19
|
+
/^okt/i,
|
|
20
|
+
/^nov/i,
|
|
21
|
+
/^dez/i,
|
|
22
|
+
],
|
|
23
|
+
monthsRegex =
|
|
24
|
+
/^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|Jan\.?|Feb\.?|Mär\.?|Apr\.?|Jun\.?|Jul\.?|Aug\.?|Sep\.?|Okt\.?|Nov\.?|Dez\.?)/i;
|
|
25
|
+
|
|
9
26
|
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
10
27
|
var format = {
|
|
11
28
|
m: ['eine Minute', 'einer Minute'],
|
|
@@ -27,7 +44,18 @@ export default moment.defineLocale('de', {
|
|
|
27
44
|
),
|
|
28
45
|
monthsShort:
|
|
29
46
|
'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
|
|
30
|
-
|
|
47
|
+
|
|
48
|
+
monthsRegex: monthsRegex,
|
|
49
|
+
monthsShortRegex: monthsRegex,
|
|
50
|
+
monthsStrictRegex:
|
|
51
|
+
/^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i,
|
|
52
|
+
monthsShortStrictRegex:
|
|
53
|
+
/^(Jan\.?|Feb\.?|März|Mär\.?|Apr\.?|Mai|Juni|Jun\.?|Juli|Jul\.?|Aug\.?|Sep\.?|Okt\.?|Nov\.?|Dez\.?)/i,
|
|
54
|
+
|
|
55
|
+
monthsParse: monthsParse,
|
|
56
|
+
longMonthsParse: monthsParse,
|
|
57
|
+
shortMonthsParse: monthsParse,
|
|
58
|
+
|
|
31
59
|
weekdays:
|
|
32
60
|
'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
|
|
33
61
|
'_'
|
|
@@ -53,12 +53,12 @@ export default moment.defineLocale('en-au', {
|
|
|
53
53
|
~~((number % 100) / 10) === 1
|
|
54
54
|
? 'th'
|
|
55
55
|
: b === 1
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
? 'st'
|
|
57
|
+
: b === 2
|
|
58
|
+
? 'nd'
|
|
59
|
+
: b === 3
|
|
60
|
+
? 'rd'
|
|
61
|
+
: 'th';
|
|
62
62
|
return number + output;
|
|
63
63
|
},
|
|
64
64
|
week: {
|
|
@@ -53,12 +53,12 @@ export default moment.defineLocale('en-ca', {
|
|
|
53
53
|
~~((number % 100) / 10) === 1
|
|
54
54
|
? 'th'
|
|
55
55
|
: b === 1
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
? 'st'
|
|
57
|
+
: b === 2
|
|
58
|
+
? 'nd'
|
|
59
|
+
: b === 3
|
|
60
|
+
? 'rd'
|
|
61
|
+
: 'th';
|
|
62
62
|
return number + output;
|
|
63
63
|
},
|
|
64
64
|
});
|
|
@@ -53,12 +53,12 @@ export default moment.defineLocale('en-gb', {
|
|
|
53
53
|
~~((number % 100) / 10) === 1
|
|
54
54
|
? 'th'
|
|
55
55
|
: b === 1
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
? 'st'
|
|
57
|
+
: b === 2
|
|
58
|
+
? 'nd'
|
|
59
|
+
: b === 3
|
|
60
|
+
? 'rd'
|
|
61
|
+
: 'th';
|
|
62
62
|
return number + output;
|
|
63
63
|
},
|
|
64
64
|
week: {
|
|
@@ -53,12 +53,12 @@ export default moment.defineLocale('en-ie', {
|
|
|
53
53
|
~~((number % 100) / 10) === 1
|
|
54
54
|
? 'th'
|
|
55
55
|
: b === 1
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
? 'st'
|
|
57
|
+
: b === 2
|
|
58
|
+
? 'nd'
|
|
59
|
+
: b === 3
|
|
60
|
+
? 'rd'
|
|
61
|
+
: 'th';
|
|
62
62
|
return number + output;
|
|
63
63
|
},
|
|
64
64
|
week: {
|