Skip to content

Commit 52eb2bb

Browse files
committed
Update create-react-context to avoid node-fetch DoS vulnerability, fixes #221
1 parent 00ca573 commit 52eb2bb

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"dependencies": {
2222
"buble": "0.19.6",
2323
"core-js": "^2.4.1",
24-
"create-react-context": "0.2.2",
24+
"create-react-context": "0.3.0",
2525
"dom-iterator": "^1.0.0",
2626
"prism-react-renderer": "^1.0.1",
2727
"prop-types": "^15.5.8",

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2806,13 +2806,13 @@ create-react-class@^15.5.2, create-react-class@^15.6.2:
28062806
loose-envify "^1.3.1"
28072807
object-assign "^4.1.1"
28082808

2809-
create-react-context@0.2.2:
2810-
version "0.2.2"
2811-
resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.2.2.tgz#9836542f9aaa22868cd7d4a6f82667df38019dca"
2812-
integrity sha512-KkpaLARMhsTsgp0d2NA/R94F/eDLbhXERdIq3LvX2biCAXcDvHYoOqHfWCHf1+OLj+HKBotLG3KqaOOf+C1C+A==
2809+
create-react-context@0.3.0:
2810+
version "0.3.0"
2811+
resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.3.0.tgz#546dede9dc422def0d3fc2fe03afe0bc0f4f7d8c"
2812+
integrity sha512-dNldIoSuNSvlTJ7slIKC/ZFGKexBMBrrcc+TTe1NdmROnaASuLPvqpwj9v4XS4uXZ8+YPu0sNmShX2rXI5LNsw==
28132813
dependencies:
2814-
fbjs "^0.8.0"
28152814
gud "^1.0.0"
2815+
warning "^4.0.3"
28162816

28172817
cross-spawn@5.1.0, cross-spawn@^5.0.1:
28182818
version "5.1.0"
@@ -4092,7 +4092,7 @@ fb-watchman@^2.0.0:
40924092
dependencies:
40934093
bser "^2.0.0"
40944094

4095-
fbjs@^0.8.0, fbjs@^0.8.12, fbjs@^0.8.9:
4095+
fbjs@^0.8.12, fbjs@^0.8.9:
40964096
version "0.8.17"
40974097
resolved "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd"
40984098
integrity sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=

0 commit comments

Comments
 (0)