ical-generator 9.0.0-develop.1 → 9.0.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/package.json CHANGED
@@ -3,9 +3,6 @@
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
8
  "@eslint/js": "^9.25.0",
@@ -47,7 +44,7 @@
47
44
  "typescript-eslint": "^8.29.0"
48
45
  },
49
46
  "engines": {
50
- "node": "18 || 20 || >=22.0.0"
47
+ "node": "20 || >=22.0.0"
51
48
  },
52
49
  "exports": {
53
50
  "import": "./dist/index.js",
@@ -132,5 +129,5 @@
132
129
  "test": "mocha"
133
130
  },
134
131
  "type": "module",
135
- "version": "9.0.0-develop.1"
132
+ "version": "9.0.0-develop.2"
136
133
  }
package/src/event.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- import uuid from 'uuid-random';
4
-
5
3
  import ICalAlarm, { type ICalAlarmData } from './alarm.ts';
6
4
  import ICalAttendee, { type ICalAttendeeData } from './attendee.ts';
7
5
  import ICalCalendar from './calendar.ts';
@@ -191,7 +189,7 @@ export default class ICalEvent {
191
189
  description: null,
192
190
  end: null,
193
191
  floating: false,
194
- id: uuid(),
192
+ id: crypto.randomUUID(),
195
193
  lastModified: null,
196
194
  location: null,
197
195
  organizer: null,