@hebcal/icalendar 6.1.4 → 6.2.1

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/icalendar v6.1.4 */
1
+ /*! @hebcal/icalendar v6.2.1 */
2
2
  import { flags, Locale, greg } from '@hebcal/core';
3
3
  import { murmur32HexSync } from 'murmurhash3';
4
4
  import { pad2, pad4 } from '@hebcal/hdate';
@@ -7,7 +7,7 @@ import { makeAnchor } from '@hebcal/rest-api/dist/esm/makeAnchor';
7
7
  import { promises } from 'fs';
8
8
 
9
9
  // DO NOT EDIT THIS AUTO-GENERATED FILE!
10
- const version = '6.1.4';
10
+ const version = '6.2.1';
11
11
 
12
12
  const vtimezoneCache = new Map();
13
13
  const CATEGORY = {
@@ -432,7 +432,7 @@ async function icalEventsToString(icals, options) {
432
432
  if (!options)
433
433
  throw new TypeError('Invalid options object');
434
434
  const stream = [];
435
- const locale = options.locale || Locale.getLocaleName();
435
+ const locale = options.locale || 'en';
436
436
  const uclang = locale.toUpperCase();
437
437
  const opts = Object.assign({}, options);
438
438
  opts.dtstamp = opts.dtstamp || IcalEvent.makeDtstamp(new Date());
@@ -1 +1 @@
1
- export declare const version = "6.1.4";
1
+ export declare const version = "6.2.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/icalendar",
3
- "version": "6.1.4",
3
+ "version": "6.2.1",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "keywords": [
6
6
  "ical",
@@ -9,12 +9,12 @@
9
9
  "hebcal"
10
10
  ],
11
11
  "description": "Jewish holidays and Hebrew calendar as iCalendar RFC 2445",
12
- "module": "dist/index.js",
13
12
  "type": "module",
13
+ "module": "./dist/index.js",
14
+ "typings": "./dist/icalendar.d.ts",
14
15
  "exports": {
15
16
  ".": "./dist/index.js"
16
17
  },
17
- "typings": "dist/icalendar.d.ts",
18
18
  "engines": {
19
19
  "node": ">= 18.0.0"
20
20
  },
@@ -28,10 +28,11 @@
28
28
  "bugs": {
29
29
  "url": "https://github.com/hebcal/hebcal-icalendar/issues"
30
30
  },
31
+ "homepage": "https://hebcal.github.io/api/icalendar/",
31
32
  "dependencies": {
32
- "@hebcal/core": "^5.10.1",
33
- "@hebcal/hdate": "^0.14.5",
34
- "@hebcal/rest-api": "^6.1.7",
33
+ "@hebcal/core": "^6.0.0",
34
+ "@hebcal/hdate": "^0.21.0",
35
+ "@hebcal/rest-api": "^6.2.0",
35
36
  "murmurhash3": "^0.5.0",
36
37
  "tslib": "^2.8.1"
37
38
  },
@@ -50,14 +51,14 @@
50
51
  },
51
52
  "license": "BSD-2-Clause",
52
53
  "devDependencies": {
53
- "@hebcal/learning": "^6.4.4",
54
- "@rollup/plugin-typescript": "^12.1.4",
54
+ "@hebcal/learning": "^6.6.0",
55
+ "@rollup/plugin-typescript": "^12.3.0",
55
56
  "@types/jest": "^30.0.0",
56
- "@types/node": "24.5.2",
57
+ "@types/node": "24.9.1",
57
58
  "gts": "^5.3.1",
58
- "rollup": "^4.52.3",
59
- "typedoc": "^0.28.13",
60
- "typescript": "^5.9.2",
61
- "vitest": "^3.2.4"
59
+ "rollup": "^4.52.5",
60
+ "typedoc": "^0.28.14",
61
+ "typescript": "^5.9.3",
62
+ "vitest": "^4.0.3"
62
63
  }
63
64
  }