daymath 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +136 -32
  2. package/index.d.ts +21 -0
  3. package/index.js +463 -167
  4. package/package.json +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "daymath",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "description": "Calendar date math (ISO 8601 day / PlainDate). date-fns-shaped. No Date. No time zones.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -28,6 +28,11 @@
28
28
  "test:differential:quick": "node scripts/differential.mjs 2020 2030",
29
29
  "test:runtimes": "node scripts/cross-runtime.mjs",
30
30
  "test:runtimes:write": "node scripts/cross-runtime.mjs --write",
31
+ "test:intl-day": "node scripts/intl-day.mjs",
32
+ "test:intl-day:sweep": "node scripts/intl-day.mjs --sweep",
33
+ "size": "node scripts/bundle-size.mjs --run",
34
+ "size:check": "node scripts/bundle-size.mjs --check",
35
+ "size:write": "node scripts/bundle-size.mjs --write",
31
36
  "prepublishOnly": "npm run test:coverage",
32
37
  "publish:github": "node scripts/publish-github-packages.mjs"
33
38
  },
@@ -62,6 +67,7 @@
62
67
  "devDependencies": {
63
68
  "c8": "^12.0.0",
64
69
  "date-fns": "4.4.0",
70
+ "esbuild": "0.28.1",
65
71
  "oxfmt": "0.62.0",
66
72
  "oxlint": "1.77.0",
67
73
  "typescript": "7.0.2"