Skip to content

Commit

Permalink
Fix CVE
Browse files Browse the repository at this point in the history
    Upgrade [email protected] to [email protected] to fix
    ✗ Regular Expression Denial of Service (ReDoS) (new) [Medium Severity][https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273] in [email protected]
      introduced by [email protected]
  • Loading branch information
sbrunner committed Mar 19, 2024
1 parent 6c54fe8 commit 81df46d
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 108 deletions.
8 changes: 5 additions & 3 deletions c2cciutils/scripts/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,11 @@ def main() -> None:
google_calendar = None
google_calendar_config = cast(
c2cciutils.configuration.PublishGoogleCalendarConfig,
config.get("publish", {}).get("google_calendar", {})
if config.get("publish", {}).get("google_calendar", False)
else {},
(
config.get("publish", {}).get("google_calendar", {})
if config.get("publish", {}).get("google_calendar", False)
else {}
),
)

docker_config = cast(
Expand Down
Loading

0 comments on commit 81df46d

Please sign in to comment.