ical-generator 3.4.3-develop.1 → 3.4.4-develop.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/event.d.ts CHANGED
@@ -470,11 +470,11 @@ export default class ICalEvent {
470
470
  * ```javascript
471
471
  * const cal = ical();
472
472
  * const event = cal.createEvent();
473
- * const alarm = event.createAlarm({type: 'display', trigger: 300});
473
+ * const alarm = event.createAlarm({type: ICalAlarmType.display, trigger: 300});
474
474
  *
475
475
  * // add another alarm
476
476
  * event.createAlarm({
477
- * type: 'audio',
477
+ * type: ICalAlarmType.audio,
478
478
  * trigger: 300, // 5min before event
479
479
  * });
480
480
  * ```
@@ -494,8 +494,8 @@ export default class ICalEvent {
494
494
  * const event = ical().createEvent();
495
495
  *
496
496
  * cal.alarms([
497
- * {type: 'display', trigger: 600},
498
- * {type: 'audio', trigger: 300}
497
+ * {type: ICalAlarmType.display, trigger: 600},
498
+ * {type: ICalAlarmType.audio, trigger: 300}
499
499
  * ]);
500
500
  *
501
501
  * cal.alarms(); // --> [ICalAlarm, ICalAlarm]
package/dist/event.js CHANGED
@@ -399,11 +399,11 @@ class ICalEvent {
399
399
  * ```javascript
400
400
  * const cal = ical();
401
401
  * const event = cal.createEvent();
402
- * const alarm = event.createAlarm({type: 'display', trigger: 300});
402
+ * const alarm = event.createAlarm({type: ICalAlarmType.display, trigger: 300});
403
403
  *
404
404
  * // add another alarm
405
405
  * event.createAlarm({
406
- * type: 'audio',
406
+ * type: ICalAlarmType.audio,
407
407
  * trigger: 300, // 5min before event
408
408
  * });
409
409
  * ```
package/package.json CHANGED
@@ -14,19 +14,19 @@
14
14
  "@semantic-release/git": "^10.0.1",
15
15
  "@semantic-release/npm": "^9.0.1",
16
16
  "@touch4it/ical-timezones": "^1.8.1",
17
- "@types/luxon": "^2.3.1",
18
- "@types/mocha": "^9.1.0",
19
- "@types/node": "^17.0.23",
20
- "@typescript-eslint/eslint-plugin": "^5.17.0",
21
- "@typescript-eslint/parser": "^5.17.0",
22
- "dayjs": "^1.11.1",
23
- "eslint": "^8.13.0",
17
+ "@types/luxon": "^2.3.2",
18
+ "@types/mocha": "^9.1.1",
19
+ "@types/node": "^17.0.31",
20
+ "@typescript-eslint/eslint-plugin": "^5.22.0",
21
+ "@typescript-eslint/parser": "^5.22.0",
22
+ "dayjs": "^1.11.2",
23
+ "eslint": "^8.15.0",
24
24
  "eslint-plugin-jsonc": "^2.2.1",
25
25
  "license-checker": "^25.0.1",
26
- "luxon": "^2.3.2",
27
- "mocha": "^9.2.2",
26
+ "luxon": "^2.4.0",
27
+ "mocha": "^10.0.0",
28
28
  "mochawesome": "^7.1.3",
29
- "moment": "^2.29.2",
29
+ "moment": "^2.29.3",
30
30
  "moment-timezone": "^0.5.34",
31
31
  "nyc": "^15.1.0",
32
32
  "portfinder": "^1.0.28",
@@ -36,7 +36,7 @@
36
36
  "source-map-support": "^0.5.21",
37
37
  "ts-node": "^10.7.0",
38
38
  "typedoc": "^0.22.15",
39
- "typescript": "^4.6.3"
39
+ "typescript": "^4.6.4"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=12.0.0"
@@ -119,5 +119,5 @@
119
119
  "start": "node ./dist/bin/start.js",
120
120
  "test": "mocha"
121
121
  },
122
- "version": "3.4.3-develop.1"
122
+ "version": "3.4.4-develop.1"
123
123
  }