@coozzy/cal-dav
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -226,6 +226,8 @@ "use strict"; | ||
for (let i = 0; i < events.length; i++) { | ||
/* eslint-disable security/detect-object-injection */ | ||
const urlParts = eventsData[i].url.split('/'); | ||
events[i].component.addPropertyWithValue('url', urlParts[urlParts.length - 1]); | ||
/* eslint-enable security/detect-object-injection */ | ||
if (eventsData[i] && eventsData[i].url) { | ||
/* eslint-disable security/detect-object-injection */ | ||
const urlParts = eventsData[i].url.split('/'); | ||
events[i].component.addPropertyWithValue('url', urlParts[urlParts.length - 1]); | ||
/* eslint-enable security/detect-object-injection */ | ||
} | ||
} | ||
@@ -232,0 +234,0 @@ |
{ | ||
"name": "@coozzy/cal-dav", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Simple cal dav client.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62267
1316