histropediajs 1.6.1 → 1.6.2

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/index.d.ts CHANGED
@@ -212,6 +212,9 @@ export interface DmyConstructor {
212
212
  new (value: Dmy): DmyInstance;
213
213
  readonly prototype: DmyInstance;
214
214
  getByDayOfYear(year: number, dayOfYear: number): DmyInstance;
215
+ /** Period helpers take internal astronomical years (0 = 1 BCE), after any input shift.
216
+ * Decades group historical tens digits; boundary buckets are 9 through 1 BCE and 1 through 9 CE.
217
+ */
215
218
  CreateAsStartOfPeriod(date: Dmy, precision?: Precision): DmyInstance;
216
219
  CreateAsEndOfPeriod(date: Dmy, precision?: Precision): DmyInstance;
217
220
  CreateAsExclusiveEndOfPeriod(date: Dmy, precision?: Precision): DmyInstance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "histropediajs",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "JavaScript library for rendering interactive zoomable timelines in HTML5 canvas.",
5
5
  "main": "./dist/histropedia.esm.js",
6
6
  "module": "./dist/histropedia.esm.js",
@@ -76,7 +76,7 @@
76
76
  "license": "SEE LICENSE IN LICENSE",
77
77
  "devDependencies": {
78
78
  "@eslint/js": "^9.34.0",
79
- "@vitest/coverage-v8": "^3.2.4",
79
+ "@vitest/coverage-v8": "^4.1.11",
80
80
  "eslint": "^9.34.0",
81
81
  "eslint-plugin-import": "^2.32.0",
82
82
  "eslint-plugin-simple-import-sort": "^12.1.1",
@@ -87,7 +87,7 @@
87
87
  "prettier": "^3.6.2",
88
88
  "typescript": "6.0.3",
89
89
  "vite": "^7.0.4",
90
- "vitest": "^3.2.4"
90
+ "vitest": "^4.1.11"
91
91
  },
92
92
  "lint-staged": {
93
93
  "**/*.{js,mjs,cjs}": [