Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
use forked trim() library to avoid regex DOS (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcui1225 authored and joshuali925 committed Feb 1, 2021
1 parent e9f4421 commit 91be58e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"lodash": "^4.17.20",
"@babel/cli": "^7.10.5",
"@nteract/outputs": "^3.0.11",
"@nteract/presentational-components": "^3.4.3"
"@nteract/presentational-components": "^3.4.3",
"trim": "https://github.com/davidcui-amzn/trim.git"
},
"resolutions": {
"prismjs": "^1.22.0"
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3424,6 +3424,10 @@ trim@0.0.1:
resolved "https://registry.yarnpkg.com/trim/-/trim-0.0.1.tgz#5858547f6b290757ee95cccc666fb50084c460dd"
integrity sha1-WFhUf2spB1fulczMZm+1AITEYN0=

"trim@https://github.com/davidcui-amzn/trim.git":
version "0.0.1"
resolved "https://github.com/davidcui-amzn/trim.git#279ee1d64575b95f929373232115b43914747d2d"

trough@^1.0.0:
version "1.0.5"
resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406"
Expand Down

0 comments on commit 91be58e

Please sign in to comment.