ical-generator 10.0.1-develop.2 → 10.0.1-develop.20

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/package.json CHANGED
@@ -6,43 +6,44 @@
6
6
  "description": "ical-generator is a small piece of code which generates ical calendar files",
7
7
  "devDependencies": {
8
8
  "@date-fns/tz": "^1.4.1",
9
- "@eslint/js": "^9.39.1",
9
+ "@eslint/js": "^10.0.1",
10
10
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
11
11
  "@qiwi/semantic-release-gh-pages-plugin": "^5.4.3",
12
- "@sebbo2002/semantic-release-jsr": "^3.1.0",
12
+ "@sebbo2002/semantic-release-jsr": "^3.2.0",
13
13
  "@semantic-release/changelog": "^6.0.3",
14
14
  "@semantic-release/exec": "^7.1.0",
15
15
  "@semantic-release/git": "^10.0.1",
16
- "@semantic-release/npm": "^13.1.1",
16
+ "@semantic-release/npm": "^13.1.5",
17
17
  "@touch4it/ical-timezones": "^1.9.0",
18
- "@types/express": "^5.0.5",
18
+ "@types/express": "^5.0.6",
19
19
  "@types/luxon": "^3.7.1",
20
20
  "@types/mocha": "^10.0.10",
21
- "c8": "^10.1.3",
21
+ "c8": "^11.0.0",
22
22
  "dayjs": "^1.11.19",
23
- "eslint": "^9.39.1",
23
+ "eslint": "^10.0.2",
24
24
  "eslint-config-prettier": "^10.1.8",
25
- "eslint-plugin-jsonc": "^2.21.0",
26
- "eslint-plugin-perfectionist": "^4.15.1",
25
+ "eslint-plugin-jsonc": "^3.1.1",
26
+ "eslint-plugin-perfectionist": "^5.6.0",
27
27
  "esm": "^3.2.25",
28
+ "globals": "^17.4.0",
28
29
  "husky": "^9.1.7",
29
30
  "license-checker": "^25.0.1",
30
31
  "luxon": "^3.7.2",
31
- "mocha": "^11.7.4",
32
+ "mocha": "^11.7.5",
32
33
  "mochawesome": "^7.1.4",
33
34
  "moment": "^2.30.1",
34
35
  "moment-timezone": "^0.6.0",
35
- "nyc": "^17.1.0",
36
- "prettier": "^3.6.2",
36
+ "nyc": "^18.0.0",
37
+ "prettier": "^3.8.1",
37
38
  "rrule": "^2.8.1",
38
- "semantic-release": "^25.0.1",
39
+ "semantic-release": "^25.0.3",
39
40
  "semantic-release-license": "^1.0.2",
40
41
  "source-map-support": "^0.5.21",
41
- "tsup": "^8.5.0",
42
- "tsx": "^4.20.6",
43
- "typedoc": "^0.28.14",
42
+ "tsup": "^8.5.1",
43
+ "tsx": "^4.21.0",
44
+ "typedoc": "^0.28.17",
44
45
  "typescript": "^5.9.3",
45
- "typescript-eslint": "^8.46.2"
46
+ "typescript-eslint": "^8.56.0"
46
47
  },
47
48
  "engines": {
48
49
  "node": "20 || 22 || >=24"
@@ -131,5 +132,5 @@
131
132
  "test": "mocha"
132
133
  },
133
134
  "type": "module",
134
- "version": "10.0.1-develop.2"
135
+ "version": "10.0.1-develop.20"
135
136
  }
package/src/alarm.ts CHANGED
@@ -203,7 +203,7 @@ export default class ICalAlarm {
203
203
  return this;
204
204
  }
205
205
 
206
- let _attach = null;
206
+ let _attach: ICalAttachment | undefined;
207
207
  if (typeof attachment === 'string') {
208
208
  _attach = {
209
209
  mime: null,
package/src/tools.ts CHANGED
@@ -19,17 +19,14 @@ export function addOrGetCustomAttributes(
19
19
  | Record<string, string>
20
20
  | { key: string; value: string }[],
21
21
  ): void;
22
-
23
22
  export function addOrGetCustomAttributes(
24
23
  data: { x: [string, string][] },
25
24
  keyOrArray: string,
26
25
  value: string,
27
26
  ): void;
28
-
29
27
  export function addOrGetCustomAttributes(data: {
30
28
  x: [string, string][];
31
29
  }): { key: string; value: string }[];
32
-
33
30
  export function addOrGetCustomAttributes(
34
31
  data: { x: [string, string][] },
35
32
  keyOrArray?: