Skip to content

Commit

Permalink
fix(security): ua-parser-js resolution for docs (#733)
Browse files Browse the repository at this point in the history
* add resolution for ua-parser

* change to 0.7.28, 29 is malicious

* fix uaparser resolution
  • Loading branch information
TarikGul committed Oct 26, 2021
1 parent f8f7cd5 commit 8cfe930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"yaml-loader": "^0.5.0"
},
"resolutions": {
"prismjs": "^1.23.0"
"prismjs": "^1.23.0",
"ua-parser-js": "<= 0.7.21"
}
}
2 changes: 1 addition & 1 deletion docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6865,7 +6865,7 @@ fsevents@~2.1.2:
languageName: node
linkType: hard

"ua-parser-js@npm:^0.7.18":
"ua-parser-js@npm:<= 0.7.21":
version: 0.7.21
resolution: "ua-parser-js@npm:0.7.21"
checksum: 5c1f523e784442ee03d859981fccd642c3825c50365148c3803e151ba19419cef0ec1c47af9ebde1cb7be211ed194d255f7e5ba659a9f1f77d3c674da7b454da
Expand Down

0 comments on commit 8cfe930

Please sign in to comment.