ical-generator 3.2.0 → 3.2.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/alarm.js +1 -1
- package/dist/calendar.js +1 -1
- package/dist/event.js +1 -1
- package/dist/tools.js +2 -2
- package/package.json +3 -3
package/dist/alarm.js
CHANGED
|
@@ -160,7 +160,7 @@ class ICalAlarm {
|
|
|
160
160
|
}
|
|
161
161
|
else {
|
|
162
162
|
throw new Error('`attachment` needs to be a valid formed string or an object. See https://sebbo2002.github.io/' +
|
|
163
|
-
'ical-generator/develop/reference/classes/
|
|
163
|
+
'ical-generator/develop/reference/classes/ICalAlarm.html#attach');
|
|
164
164
|
}
|
|
165
165
|
if (!_attach.uri) {
|
|
166
166
|
throw new Error('`attach.uri` is empty!');
|
package/dist/calendar.js
CHANGED
|
@@ -94,7 +94,7 @@ class ICalCalendar {
|
|
|
94
94
|
}
|
|
95
95
|
if (typeof prodId === 'string') {
|
|
96
96
|
throw new Error('`prodId` isn\'t formated correctly. See https://sebbo2002.github.io/ical-generator/develop/reference/' +
|
|
97
|
-
'classes/
|
|
97
|
+
'classes/ICalCalendar.html#prodId');
|
|
98
98
|
}
|
|
99
99
|
if (typeof prodId !== 'object') {
|
|
100
100
|
throw new Error('`prodid` needs to be a valid formed string or an object!');
|
package/dist/event.js
CHANGED
|
@@ -315,7 +315,7 @@ class ICalEvent {
|
|
|
315
315
|
if ((location && !location.title) ||
|
|
316
316
|
((location === null || location === void 0 ? void 0 : location.geo) && (!isFinite(location.geo.lat) || !isFinite(location.geo.lon)))) {
|
|
317
317
|
throw new Error('`location` isn\'t formatted correctly. See https://sebbo2002.github.io/ical-generator/' +
|
|
318
|
-
'develop/reference/classes/
|
|
318
|
+
'develop/reference/classes/ICalEvent.html#location');
|
|
319
319
|
}
|
|
320
320
|
this.data.location = location || null;
|
|
321
321
|
return this;
|
package/dist/tools.js
CHANGED
|
@@ -199,11 +199,11 @@ function checkNameAndMail(attribute, value) {
|
|
|
199
199
|
}
|
|
200
200
|
if (!result && typeof value === 'string') {
|
|
201
201
|
throw new Error('`' + attribute + '` isn\'t formated correctly. See https://sebbo2002.github.io/ical-generator/develop/' +
|
|
202
|
-
'reference/interfaces/
|
|
202
|
+
'reference/interfaces/ICalOrganizer.html');
|
|
203
203
|
}
|
|
204
204
|
else if (!result) {
|
|
205
205
|
throw new Error('`' + attribute + '` needs to be a valid formed string or an object. See https://sebbo2002.github.io/' +
|
|
206
|
-
'ical-generator/develop/reference/interfaces/
|
|
206
|
+
'ical-generator/develop/reference/interfaces/ICalOrganizer.html');
|
|
207
207
|
}
|
|
208
208
|
if (!result.name) {
|
|
209
209
|
throw new Error('`' + attribute + '.name` is empty!');
|
package/package.json
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"@semantic-release/git": "^10.0.1",
|
|
15
15
|
"@semantic-release/npm": "^8.0.3",
|
|
16
16
|
"@touch4it/ical-timezones": "^1.8.1",
|
|
17
|
-
"@types/luxon": "^2.0.
|
|
17
|
+
"@types/luxon": "^2.0.9",
|
|
18
18
|
"@types/mocha": "^9.0.0",
|
|
19
|
-
"@types/node": "^
|
|
19
|
+
"@types/node": "^17.0.8",
|
|
20
20
|
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
|
21
21
|
"@typescript-eslint/parser": "^5.9.0",
|
|
22
22
|
"dayjs": "^1.10.7",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"start": "node ./dist/bin/start.js",
|
|
119
119
|
"test": "mocha"
|
|
120
120
|
},
|
|
121
|
-
"version": "3.2.
|
|
121
|
+
"version": "3.2.1-develop.1"
|
|
122
122
|
}
|