Skip to content

Commit

Permalink
Merge pull request #35 from Stassi/feature/codeql-dom-purify-sanitizer
Browse files Browse the repository at this point in the history
feature/codeql-dom-purify-sanitizer
  • Loading branch information
Stassi authored Sep 29, 2024
2 parents 9b838fc + da19aeb commit 4fce4a1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Initialization
uses: github/codeql-action/init@v3.26.9
with:
config-file: './codeql-config.yml'
languages: 'javascript-typescript'

- name: Analysis
Expand Down
7 changes: 7 additions & 0 deletions codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overrides:
sanitizers:
- name: PurifySanitizer
description: Sanitize using DOMPurify.sanitize or its Rollup-injected alias
methods:
- 'dompurify#sanitize'
- 'purify#sanitize'
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stassi/leaf",
"version": "0.0.34",
"version": "0.0.35",
"description": "Leaflet adapter.",
"keywords": [
"cartography",
Expand Down

0 comments on commit 4fce4a1

Please sign in to comment.