Skip to content

Commit

Permalink
Resolve vulnerabilities (#1167)
Browse files Browse the repository at this point in the history
This PR resolves the following vulnerabilities:
- upgrade `webpack` to version 5.90.1 to resolve vulnerability to Improper Access Control in versions lower than 5.76.0
- upgrade `http-cache-semantics` to version 4.1.1 to resolve vulnerability to Inefficient Regular Expression Complexity in versions lower than 4.1.1
- upgrade `get-func-name` to version 2.0.2 to resolve vulnerability to Uncontrolled Resource Consumption / Inefficient Regular Expression Complexity in versions lower than 2.0.1
- remove insecure document methods

J=VULN-37755 - VULN-37760, VULN-38372, VULN-38400, VULN-38433

---------

Co-authored-by: Liah Kim <likim@yext.com>
Co-authored-by: Nidhi Manu <nmanu@yext.com>
  • Loading branch information
3 people committed Feb 13, 2024
1 parent 15a7135 commit 2e4c744
Show file tree
Hide file tree
Showing 6 changed files with 465 additions and 567 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ node_modules
/playwright-report/
/blob-report/
/playwright/.cache/
**/.env
24 changes: 12 additions & 12 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 static/js/theme-map/Maps/Providers/Baidu.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function load(resolve, reject, apiKey, {
}

const negativeLngFixStyle = document.createElement('style');
negativeLngFixStyle.innerHTML = negativeLngFixCSS;
negativeLngFixStyle.textContent = negativeLngFixCSS;

document.head.appendChild(negativeLngFixStyle);
}
Expand Down
42 changes: 0 additions & 42 deletions static/js/theme-map/Util/Accessibility.js

This file was deleted.

Loading

0 comments on commit 2e4c744

Please sign in to comment.