esday 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +17 -9
- package/chunks/{DuP2qVZn.d.ts → BB5OVV-y.d.ts} +1 -1
- package/chunks/{Dc43cziu.d.ts → CBlQG2yl.d.ts} +1 -2
- package/chunks/CStrb5bT.js +454 -0
- package/chunks/DE-bYjyv.js +473 -0
- package/chunks/{CNIy0PdR.js → DIG_UBsE.js} +2 -1
- package/chunks/{D2Xh96oz.js → oiGWnahC.js} +6 -5
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/locales/af.d.ts +0 -1
- package/locales/am.d.ts +0 -1
- package/locales/ar-dz.d.ts +0 -1
- package/locales/ar-iq.d.ts +0 -1
- package/locales/ar-kw.d.ts +0 -1
- package/locales/ar-ly.d.ts +0 -1
- package/locales/ar-ma.d.ts +0 -1
- package/locales/ar-sa.d.ts +0 -1
- package/locales/ar-tn.d.ts +0 -1
- package/locales/ar.d.ts +0 -1
- package/locales/az.d.ts +0 -1
- package/locales/be.d.ts +0 -1
- package/locales/bg.d.ts +0 -1
- package/locales/bi.d.ts +0 -1
- package/locales/bm.d.ts +0 -1
- package/locales/bn-bd.d.ts +0 -1
- package/locales/bn.d.ts +0 -1
- package/locales/bo.d.ts +0 -1
- package/locales/br.d.ts +0 -1
- package/locales/bs.d.ts +0 -1
- package/locales/ca.d.ts +0 -1
- package/locales/cs.d.ts +0 -1
- package/locales/cv.d.ts +0 -1
- package/locales/cy.d.ts +0 -1
- package/locales/da.d.ts +0 -1
- package/locales/de-at.d.ts +0 -1
- package/locales/de-ch.d.ts +0 -1
- package/locales/de.d.ts +0 -1
- package/locales/dv.d.ts +0 -1
- package/locales/el.d.ts +0 -1
- package/locales/en-au.d.ts +0 -1
- package/locales/en-ca.d.ts +0 -1
- package/locales/en-gb.d.ts +0 -1
- package/locales/en-ie.d.ts +0 -1
- package/locales/en-il.d.ts +0 -1
- package/locales/en-in.d.ts +0 -1
- package/locales/en-nz.d.ts +0 -1
- package/locales/en-sg.d.ts +0 -1
- package/locales/en-tt.d.ts +0 -1
- package/locales/en-us.d.ts +0 -1
- package/locales/en.d.ts +0 -1
- package/locales/eo.d.ts +0 -1
- package/locales/es-do.d.ts +0 -1
- package/locales/es-mx.d.ts +0 -1
- package/locales/es-pr.d.ts +0 -1
- package/locales/es-us.d.ts +0 -1
- package/locales/es.d.ts +0 -1
- package/locales/et.d.ts +0 -1
- package/locales/eu.d.ts +0 -1
- package/locales/fa.d.ts +0 -1
- package/locales/fi.d.ts +0 -1
- package/locales/fil.d.ts +0 -1
- package/locales/fo.d.ts +0 -1
- package/locales/fr-ca.d.ts +0 -1
- package/locales/fr-ch.d.ts +0 -1
- package/locales/fr.d.ts +0 -1
- package/locales/fy.d.ts +0 -1
- package/locales/ga.d.ts +0 -1
- package/locales/gd.d.ts +0 -1
- package/locales/gl.d.ts +0 -1
- package/locales/gom-deva.d.ts +0 -1
- package/locales/gom-latn.d.ts +0 -1
- package/locales/gu.d.ts +0 -1
- package/locales/he.d.ts +0 -1
- package/locales/he.js +2 -1
- package/locales/hi.d.ts +0 -1
- package/locales/hr.d.ts +0 -1
- package/locales/ht.d.ts +0 -1
- package/locales/hu.d.ts +0 -1
- package/locales/hy-am.d.ts +0 -1
- package/locales/id.d.ts +0 -1
- package/locales/is.d.ts +0 -1
- package/locales/it-ch.d.ts +0 -1
- package/locales/it.d.ts +0 -1
- package/locales/ja.d.ts +0 -1
- package/locales/jv.d.ts +0 -1
- package/locales/ka.d.ts +0 -1
- package/locales/kk.d.ts +0 -1
- package/locales/km.d.ts +0 -1
- package/locales/kn.d.ts +0 -1
- package/locales/ko.d.ts +0 -1
- package/locales/ku.d.ts +0 -1
- package/locales/ky.d.ts +0 -1
- package/locales/lb.d.ts +0 -1
- package/locales/lo.d.ts +0 -1
- package/locales/lt.d.ts +0 -1
- package/locales/lv.d.ts +0 -1
- package/locales/me.d.ts +0 -1
- package/locales/mi.d.ts +0 -1
- package/locales/mk.d.ts +0 -1
- package/locales/ml.d.ts +0 -1
- package/locales/mn.d.ts +0 -1
- package/locales/mr.d.ts +0 -1
- package/locales/ms-my.d.ts +0 -1
- package/locales/ms.d.ts +0 -1
- package/locales/mt.d.ts +0 -1
- package/locales/my.d.ts +0 -1
- package/locales/nb.d.ts +0 -1
- package/locales/ne.d.ts +0 -1
- package/locales/nl-be.d.ts +0 -1
- package/locales/nl.d.ts +0 -1
- package/locales/nn.d.ts +0 -1
- package/locales/oc-lnc.d.ts +0 -1
- package/locales/pa-in.d.ts +0 -1
- package/locales/pl.d.ts +0 -1
- package/locales/pt-br.d.ts +0 -1
- package/locales/pt.d.ts +0 -1
- package/locales/rn.d.ts +0 -1
- package/locales/ro.d.ts +0 -1
- package/locales/ru.d.ts +0 -1
- package/locales/rw.d.ts +0 -1
- package/locales/sd.d.ts +0 -1
- package/locales/se.d.ts +0 -1
- package/locales/si.d.ts +0 -1
- package/locales/sk.d.ts +0 -1
- package/locales/sl.d.ts +0 -1
- package/locales/sq.d.ts +0 -1
- package/locales/sr-cyrl.d.ts +0 -1
- package/locales/sr.d.ts +0 -1
- package/locales/ss.d.ts +0 -1
- package/locales/sv-fi.d.ts +0 -1
- package/locales/sv.d.ts +0 -1
- package/locales/sw.d.ts +0 -1
- package/locales/ta.d.ts +0 -1
- package/locales/te.d.ts +0 -1
- package/locales/tet.d.ts +0 -1
- package/locales/tg.d.ts +0 -1
- package/locales/th.d.ts +0 -1
- package/locales/tk.d.ts +0 -1
- package/locales/tl-ph.d.ts +0 -1
- package/locales/tlh.d.ts +0 -1
- package/locales/tr.d.ts +0 -1
- package/locales/tzl.d.ts +0 -1
- package/locales/tzm-latn.d.ts +0 -1
- package/locales/tzm.d.ts +0 -1
- package/locales/ug-cn.d.ts +0 -1
- package/locales/uk.d.ts +0 -1
- package/locales/ur.d.ts +0 -1
- package/locales/uz-latn.d.ts +0 -1
- package/locales/uz.d.ts +0 -1
- package/locales/vi.d.ts +0 -1
- package/locales/x-pseudo.d.ts +0 -1
- package/locales/yo.d.ts +0 -1
- package/locales/zh-cn.d.ts +0 -1
- package/locales/zh-hk.d.ts +0 -1
- package/locales/zh-mo.d.ts +0 -1
- package/locales/zh-tw.d.ts +0 -1
- package/locales/zh.d.ts +0 -1
- package/package.json +22 -18
- package/plugins/advancedFormat/index.d.ts +1 -2
- package/plugins/advancedParse/index.d.ts +1 -2
- package/plugins/calendar/index.d.ts +1 -2
- package/plugins/dayOfYear/index.d.ts +1 -2
- package/plugins/duration/index.d.ts +1 -2
- package/plugins/duration/index.js +1 -471
- package/plugins/index.d.ts +28 -0
- package/plugins/index.js +28 -0
- package/plugins/isBetween/index.d.ts +1 -2
- package/plugins/isLeapYear/index.d.ts +1 -2
- package/plugins/isSameOrAfter/index.d.ts +1 -2
- package/plugins/isSameOrBefore/index.d.ts +1 -2
- package/plugins/isToday/index.d.ts +1 -2
- package/plugins/isTomorrow/index.d.ts +1 -2
- package/plugins/isYesterday/index.d.ts +1 -2
- package/plugins/isoWeek/index.d.ts +1 -2
- package/plugins/locale/index.d.ts +1 -2
- package/plugins/locale/index.js +4 -2
- package/plugins/localeData/index.d.ts +1 -2
- package/plugins/localeData/index.js +5 -3
- package/plugins/localizedFormat/index.d.ts +1 -2
- package/plugins/localizedParse/index.d.ts +1 -2
- package/plugins/localizedParse/index.js +2 -1
- package/plugins/minMax/index.d.ts +1 -2
- package/plugins/objectSupport/index.d.ts +1 -2
- package/plugins/pluralGetSet/index.d.ts +1 -2
- package/plugins/quarterOfYear/index.d.ts +1 -2
- package/plugins/relativeTime/index.d.ts +1 -2
- package/plugins/timezone/index.d.ts +1 -2
- package/plugins/timezone/index.js +1 -453
- package/plugins/toArray/index.d.ts +1 -2
- package/plugins/toObject/index.d.ts +1 -2
- package/plugins/utc/index.d.ts +1 -2
- package/plugins/utc/index.js +1 -1
- package/plugins/week/index.d.ts +1 -2
package/locales/pt-br.d.ts
CHANGED
package/locales/pt.d.ts
CHANGED
package/locales/rn.d.ts
CHANGED
package/locales/ro.d.ts
CHANGED
package/locales/ru.d.ts
CHANGED
package/locales/rw.d.ts
CHANGED
package/locales/sd.d.ts
CHANGED
package/locales/se.d.ts
CHANGED
package/locales/si.d.ts
CHANGED
package/locales/sk.d.ts
CHANGED
package/locales/sl.d.ts
CHANGED
package/locales/sq.d.ts
CHANGED
package/locales/sr-cyrl.d.ts
CHANGED
package/locales/sr.d.ts
CHANGED
package/locales/ss.d.ts
CHANGED
package/locales/sv-fi.d.ts
CHANGED
package/locales/sv.d.ts
CHANGED
package/locales/sw.d.ts
CHANGED
package/locales/ta.d.ts
CHANGED
package/locales/te.d.ts
CHANGED
package/locales/tet.d.ts
CHANGED
package/locales/tg.d.ts
CHANGED
package/locales/th.d.ts
CHANGED
package/locales/tk.d.ts
CHANGED
package/locales/tl-ph.d.ts
CHANGED
package/locales/tlh.d.ts
CHANGED
package/locales/tr.d.ts
CHANGED
package/locales/tzl.d.ts
CHANGED
package/locales/tzm-latn.d.ts
CHANGED
package/locales/tzm.d.ts
CHANGED
package/locales/ug-cn.d.ts
CHANGED
package/locales/uk.d.ts
CHANGED
package/locales/ur.d.ts
CHANGED
package/locales/uz-latn.d.ts
CHANGED
package/locales/uz.d.ts
CHANGED
package/locales/vi.d.ts
CHANGED
package/locales/x-pseudo.d.ts
CHANGED
package/locales/yo.d.ts
CHANGED
package/locales/zh-cn.d.ts
CHANGED
package/locales/zh-hk.d.ts
CHANGED
package/locales/zh-mo.d.ts
CHANGED
package/locales/zh-tw.d.ts
CHANGED
package/locales/zh.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "esday",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"description": "A simple date library fully written in TypeScript",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/BePo65/esday",
|
|
@@ -35,6 +35,10 @@
|
|
|
35
35
|
"types": "./index.d.ts",
|
|
36
36
|
"default": "./index.js"
|
|
37
37
|
},
|
|
38
|
+
"./plugins": {
|
|
39
|
+
"types": "./plugins/index.d.ts",
|
|
40
|
+
"default": "./plugins/index.js"
|
|
41
|
+
},
|
|
38
42
|
"./plugins/*": {
|
|
39
43
|
"types": "./plugins/*/index.d.ts",
|
|
40
44
|
"default": "./plugins/*/index.js"
|
|
@@ -52,28 +56,28 @@
|
|
|
52
56
|
"*"
|
|
53
57
|
],
|
|
54
58
|
"devDependencies": {
|
|
55
|
-
"@biomejs/biome": "2.
|
|
56
|
-
"@commitlint/cli": "^21.
|
|
57
|
-
"@commitlint/config-conventional": "^21.0
|
|
58
|
-
"@playwright/test": "~1.
|
|
59
|
-
"@types/node": "^
|
|
60
|
-
"@vitest/browser-playwright": "^4.1.
|
|
61
|
-
"@vitest/coverage-v8": "4.1.
|
|
62
|
-
"@vitest/ui": "4.1.
|
|
63
|
-
"commit-and-tag-version": "^
|
|
59
|
+
"@biomejs/biome": "2.5.5",
|
|
60
|
+
"@commitlint/cli": "^21.2.1",
|
|
61
|
+
"@commitlint/config-conventional": "^21.2.0",
|
|
62
|
+
"@playwright/test": "~1.61.1",
|
|
63
|
+
"@types/node": "^26.1.1",
|
|
64
|
+
"@vitest/browser-playwright": "^4.1.10",
|
|
65
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
66
|
+
"@vitest/ui": "4.1.10",
|
|
67
|
+
"commit-and-tag-version": "^13.1.0",
|
|
64
68
|
"cpy-cli": "^7.0.0",
|
|
65
|
-
"dompurify": "^3.4.
|
|
69
|
+
"dompurify": "^3.4.12",
|
|
66
70
|
"husky": "^9.1.7",
|
|
67
71
|
"jsdom": "^29.1.1",
|
|
68
|
-
"marked": "^18.0.
|
|
69
|
-
"moment-timezone": "^0.6.
|
|
72
|
+
"marked": "^18.0.7",
|
|
73
|
+
"moment-timezone": "^0.6.3",
|
|
70
74
|
"moment": "^2.30.1",
|
|
71
|
-
"playwright": "~1.
|
|
72
|
-
"tsdown": "^0.22.
|
|
75
|
+
"playwright": "~1.61.1",
|
|
76
|
+
"tsdown": "^0.22.13",
|
|
73
77
|
"typescript": "^6.0.3",
|
|
74
|
-
"ultracite": "7.
|
|
75
|
-
"vite": "^8.
|
|
76
|
-
"vitest": "4.1.
|
|
78
|
+
"ultracite": "7.9.4",
|
|
79
|
+
"vite": "^8.1.5",
|
|
80
|
+
"vitest": "4.1.10"
|
|
77
81
|
},
|
|
78
82
|
"commit-and-tag-version": {
|
|
79
83
|
"packageFiles": [
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { s as EsDayPlugin } from "../../chunks/
|
|
1
|
+
import { s as EsDayPlugin } from "../../chunks/BB5OVV-y.js";
|
|
2
2
|
import { CalendarPartial } from "../locale/index.js";
|
|
3
|
-
|
|
4
3
|
//#region src/plugins/calendar/index.d.ts
|
|
5
4
|
declare module 'esday' {
|
|
6
5
|
interface EsDay {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { C as UnitDates, D as UnitIsoWeeks, L as UnitTypePlurals, s as EsDayPlugin } from "../../chunks/
|
|
1
|
+
import { C as UnitDates, D as UnitIsoWeeks, L as UnitTypePlurals, s as EsDayPlugin } from "../../chunks/BB5OVV-y.js";
|
|
2
2
|
import { Locale } from "../locale/index.js";
|
|
3
3
|
import { ThresholdRelativeTime } from "../relativeTime/index.js";
|
|
4
|
-
|
|
5
4
|
//#region src/plugins/duration/index.d.ts
|
|
6
5
|
declare module 'esday' {
|
|
7
6
|
interface EsDayFactory {
|