ical-generator 8.0.2-develop.6 → 8.1.0-develop.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/LICENSE +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +12 -15
- package/src/event.ts +2 -2
package/package.json
CHANGED
|
@@ -3,14 +3,11 @@
|
|
|
3
3
|
"bugs": {
|
|
4
4
|
"url": "http://github.com/sebbo2002/ical-generator/issues"
|
|
5
5
|
},
|
|
6
|
-
"dependencies": {
|
|
7
|
-
"uuid-random": "^1.3.2"
|
|
8
|
-
},
|
|
9
6
|
"description": "ical-generator is a small piece of code which generates ical calendar files",
|
|
10
7
|
"devDependencies": {
|
|
11
|
-
"@eslint/js": "^9.
|
|
8
|
+
"@eslint/js": "^9.17.0",
|
|
12
9
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
13
|
-
"@qiwi/semantic-release-gh-pages-plugin": "^5.2
|
|
10
|
+
"@qiwi/semantic-release-gh-pages-plugin": "^5.4.2",
|
|
14
11
|
"@sebbo2002/semantic-release-jsr": "^2.0.1-develop.2",
|
|
15
12
|
"@semantic-release/changelog": "^6.0.3",
|
|
16
13
|
"@semantic-release/exec": "^6.0.3",
|
|
@@ -20,28 +17,28 @@
|
|
|
20
17
|
"@types/eslint__js": "^8.42.3",
|
|
21
18
|
"@types/express": "^5.0.0",
|
|
22
19
|
"@types/luxon": "^3.4.2",
|
|
23
|
-
"@types/mocha": "^10.0.
|
|
24
|
-
"c8": "^10.1.
|
|
20
|
+
"@types/mocha": "^10.0.10",
|
|
21
|
+
"c8": "^10.1.3",
|
|
25
22
|
"dayjs": "^1.11.13",
|
|
26
|
-
"eslint": "^9.
|
|
27
|
-
"eslint-plugin-jsonc": "^2.18.
|
|
23
|
+
"eslint": "^9.17.0",
|
|
24
|
+
"eslint-plugin-jsonc": "^2.18.2",
|
|
28
25
|
"esm": "^3.2.25",
|
|
29
26
|
"license-checker": "^25.0.1",
|
|
30
27
|
"luxon": "^3.5.0",
|
|
31
|
-
"mocha": "^
|
|
28
|
+
"mocha": "^11.0.1",
|
|
32
29
|
"mochawesome": "^7.1.3",
|
|
33
30
|
"moment": "^2.30.1",
|
|
34
31
|
"moment-timezone": "^0.5.46",
|
|
35
32
|
"nyc": "^17.1.0",
|
|
36
33
|
"rrule": "^2.8.1",
|
|
37
|
-
"semantic-release": "^24.2.
|
|
34
|
+
"semantic-release": "^24.2.1",
|
|
38
35
|
"semantic-release-license": "^1.0.2",
|
|
39
36
|
"source-map-support": "^0.5.21",
|
|
40
37
|
"tsup": "^8.3.5",
|
|
41
38
|
"tsx": "^4.19.2",
|
|
42
|
-
"typedoc": "^0.
|
|
43
|
-
"typescript": "^5.
|
|
44
|
-
"typescript-eslint": "^8.
|
|
39
|
+
"typedoc": "^0.27.6",
|
|
40
|
+
"typescript": "^5.7.3",
|
|
41
|
+
"typescript-eslint": "^8.19.1"
|
|
45
42
|
},
|
|
46
43
|
"engines": {
|
|
47
44
|
"node": "18 || 20 || >=22.0.0"
|
|
@@ -129,5 +126,5 @@
|
|
|
129
126
|
"test": "mocha"
|
|
130
127
|
},
|
|
131
128
|
"type": "module",
|
|
132
|
-
"version": "8.0
|
|
129
|
+
"version": "8.1.0-develop.2"
|
|
133
130
|
}
|
package/src/event.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import { randomUUID } from 'crypto';
|
|
4
4
|
import {
|
|
5
5
|
addOrGetCustomAttributes,
|
|
6
6
|
checkDate,
|
|
@@ -178,7 +178,7 @@ export default class ICalEvent {
|
|
|
178
178
|
*/
|
|
179
179
|
constructor(data: ICalEventData, calendar: ICalCalendar) {
|
|
180
180
|
this.data = {
|
|
181
|
-
id:
|
|
181
|
+
id: randomUUID(),
|
|
182
182
|
sequence: 0,
|
|
183
183
|
start: new Date(),
|
|
184
184
|
end: null,
|