ical-generator 8.1.0-develop.2 → 8.1.1-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/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 +4 -1
- package/src/event.ts +2 -2
package/package.json
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
"bugs": {
|
|
4
4
|
"url": "http://github.com/sebbo2002/ical-generator/issues"
|
|
5
5
|
},
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"uuid-random": "^1.3.2"
|
|
8
|
+
},
|
|
6
9
|
"description": "ical-generator is a small piece of code which generates ical calendar files",
|
|
7
10
|
"devDependencies": {
|
|
8
11
|
"@eslint/js": "^9.17.0",
|
|
@@ -126,5 +129,5 @@
|
|
|
126
129
|
"test": "mocha"
|
|
127
130
|
},
|
|
128
131
|
"type": "module",
|
|
129
|
-
"version": "8.1.
|
|
132
|
+
"version": "8.1.1-develop.1"
|
|
130
133
|
}
|
package/src/event.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import uuid from 'uuid-random';
|
|
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: uuid(),
|
|
182
182
|
sequence: 0,
|
|
183
183
|
start: new Date(),
|
|
184
184
|
end: null,
|