Skip to content

Commit 2f5d646

Browse files
uramanovichflyskywhy
authored andcommitted
Prop types added
1 parent 0d3197c commit 2f5d646

File tree

4 files changed

+79
-3
lines changed

4 files changed

+79
-3
lines changed

Blur.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, {
22
Component,
3-
PropTypes,
43
} from 'react'
4+
import PropTypes from 'prop-types'
55
import {
66
Animated,
77
View,

Button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
import React, {
99
PureComponent,
10-
PropTypes,
1110
} from 'react'
11+
import PropTypes from 'prop-types'
1212
import {
1313
View,
1414
Text,

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@
3232
"eslint-plugin-import": "^2.2.0",
3333
"eslint-plugin-react": "^6.10.3",
3434
"pre-commit": "^1.2.2"
35+
},
36+
"dependencies": {
37+
"prop-types": "^15.5.10"
3538
}
3639
}

yarn.lock

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ arrify@^1.0.0:
6666
version "1.0.1"
6767
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
6868

69+
asap@~2.0.3:
70+
version "2.0.6"
71+
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
72+
6973
babel-code-frame@^6.16.0, babel-code-frame@^6.22.0:
7074
version "6.22.0"
7175
resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4"
@@ -200,6 +204,10 @@ contains-path@^0.1.0:
200204
version "0.1.0"
201205
resolved "https://registry.yarnpkg.com/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a"
202206

207+
core-js@^1.0.0:
208+
version "1.2.7"
209+
resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
210+
203211
core-js@^2.4.0:
204212
version "2.4.1"
205213
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e"
@@ -271,6 +279,12 @@ doctrine@^2.0.0:
271279
esutils "^2.0.2"
272280
isarray "^1.0.0"
273281

282+
encoding@^0.1.11:
283+
version "0.1.12"
284+
resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb"
285+
dependencies:
286+
iconv-lite "~0.4.13"
287+
274288
es-abstract@^1.7.0:
275289
version "1.7.0"
276290
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c"
@@ -488,6 +502,18 @@ fast-levenshtein@~2.0.4:
488502
version "2.0.6"
489503
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
490504

505+
fbjs@^0.8.9:
506+
version "0.8.14"
507+
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.14.tgz#d1dbe2be254c35a91e09f31f9cd50a40b2a0ed1c"
508+
dependencies:
509+
core-js "^1.0.0"
510+
isomorphic-fetch "^2.1.1"
511+
loose-envify "^1.0.0"
512+
object-assign "^4.1.0"
513+
promise "^7.1.1"
514+
setimmediate "^1.0.5"
515+
ua-parser-js "^0.7.9"
516+
491517
figures@^1.3.5:
492518
version "1.7.0"
493519
resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e"
@@ -582,6 +608,10 @@ has@^1.0.1:
582608
dependencies:
583609
function-bind "^1.0.2"
584610

611+
iconv-lite@~0.4.13:
612+
version "0.4.18"
613+
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.18.tgz#23d8656b16aae6742ac29732ea8f0336a4789cf2"
614+
585615
ignore@^3.2.0:
586616
version "3.2.7"
587617
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.2.7.tgz#4810ca5f1d8eca5595213a34b94f2eb4ed926bbd"
@@ -688,6 +718,10 @@ is-resolvable@^1.0.0:
688718
dependencies:
689719
tryit "^1.0.1"
690720

721+
is-stream@^1.0.1:
722+
version "1.1.0"
723+
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
724+
691725
is-symbol@^1.0.1:
692726
version "1.0.1"
693727
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572"
@@ -700,6 +734,13 @@ isexe@^2.0.0:
700734
version "2.0.0"
701735
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
702736

737+
isomorphic-fetch@^2.1.1:
738+
version "2.2.1"
739+
resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9"
740+
dependencies:
741+
node-fetch "^1.0.1"
742+
whatwg-fetch ">=0.10.0"
743+
703744
js-tokens@^3.0.0:
704745
version "3.0.1"
705746
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7"
@@ -746,7 +787,7 @@ lodash@^4.0.0, lodash@^4.2.0, lodash@^4.3.0:
746787
version "4.17.4"
747788
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
748789

749-
loose-envify@^1.0.0:
790+
loose-envify@^1.0.0, loose-envify@^1.3.1:
750791
version "1.3.1"
751792
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848"
752793
dependencies:
@@ -791,6 +832,13 @@ natural-compare@^1.4.0:
791832
version "1.4.0"
792833
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
793834

835+
node-fetch@^1.0.1:
836+
version "1.7.2"
837+
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.2.tgz#c54e9aac57e432875233525f3c891c4159ffefd7"
838+
dependencies:
839+
encoding "^0.1.11"
840+
is-stream "^1.0.1"
841+
794842
number-is-nan@^1.0.0:
795843
version "1.0.1"
796844
resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
@@ -908,6 +956,19 @@ progress@^1.1.8:
908956
version "1.1.8"
909957
resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be"
910958

959+
promise@^7.1.1:
960+
version "7.3.1"
961+
resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf"
962+
dependencies:
963+
asap "~2.0.3"
964+
965+
prop-types@^15.5.10:
966+
version "15.5.10"
967+
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154"
968+
dependencies:
969+
fbjs "^0.8.9"
970+
loose-envify "^1.3.1"
971+
911972
pseudomap@^1.0.1:
912973
version "1.0.2"
913974
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
@@ -982,6 +1043,10 @@ rx-lite@^3.1.2:
9821043
version "3.1.2"
9831044
resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102"
9841045

1046+
setimmediate@^1.0.5:
1047+
version "1.0.5"
1048+
resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
1049+
9851050
shebang-command@^1.2.0:
9861051
version "1.2.0"
9871052
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
@@ -1091,6 +1156,10 @@ typedarray@^0.0.6:
10911156
version "0.0.6"
10921157
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
10931158

1159+
ua-parser-js@^0.7.9:
1160+
version "0.7.14"
1161+
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.14.tgz#110d53fa4c3f326c121292bbeac904d2e03387ca"
1162+
10941163
user-home@^2.0.0:
10951164
version "2.0.0"
10961165
resolved "https://registry.yarnpkg.com/user-home/-/user-home-2.0.0.tgz#9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f"
@@ -1101,6 +1170,10 @@ util-deprecate@~1.0.1:
11011170
version "1.0.2"
11021171
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
11031172

1173+
whatwg-fetch@>=0.10.0:
1174+
version "2.0.3"
1175+
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84"
1176+
11041177
[email protected], which@^1.2.9:
11051178
version "1.2.14"
11061179
resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"

0 commit comments

Comments
 (0)