Skip to content

Commit d8bb183

Browse files
committed
chore: upgrade component-docs
1 parent 6a4bb7d commit d8bb183

File tree

3 files changed

+68
-64
lines changed

3 files changed

+68
-64
lines changed

docs/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function getFiles() {
2424
const matches = fs
2525
.readFileSync(file)
2626
.toString()
27-
.match(/export \{ default as default \} from .+/);
27+
.match(/export \{ default \} from .+/);
2828
if (matches && matches.length) {
2929
const name = matches[0].split(' ').pop().replace(/('|;)/g, '');
3030
return require.resolve(path.join(__dirname, '../src', line, name));

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
"author": "",
1818
"license": "MIT",
1919
"dependencies": {
20-
"component-docs": "^0.0.3"
20+
"component-docs": "^0.1.0"
2121
}
2222
}

docs/yarn.lock

+66-62
Original file line numberDiff line numberDiff line change
@@ -910,9 +910,9 @@ babylon@^6.11.0, babylon@^6.15.0:
910910
version "6.17.1"
911911
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.17.1.tgz#17f14fddf361b695981fe679385e4f1c01ebd86f"
912912

913-
babylon@~5.8.3:
914-
version "5.8.38"
915-
resolved "https://registry.yarnpkg.com/babylon/-/babylon-%3Cspan%20class="x x-first x-last">5.8.38.tgz#ec9b120b11bf6ccd4173a18bf217e60b79859ffd"
913+
babylon@v7.0.0-beta.8:
914+
version "7.0.0-beta.8"
915+
resolved "https://registry.yarnpkg.com/babylon/-/babylon-%3Cspan%20class="x x-first x-last">7.0.0-beta.8.tgz#2bdc5ae366041442c27e068cce6f0d7c06ea9949"
916916

917917
balanced-match@^0.4.1, balanced-match@^0.4.2:
918918
version "0.4.2"
@@ -1252,20 +1252,22 @@ commondir@^1.0.1:
12521252
version "1.0.1"
12531253
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
12541254

1255-
component-docs@^0.0.3:
1256-
version "0.0.3"
1257-
resolved "https://registry.yarnpkg.com/component-docs/-/component-docs-0.%3Cspan%20class="x x-first x-last">0.3.tgz#863344b0f0a3e24d7e975a78c4557b36c6a3e679"
1258-
dependencies:
1259-
glamor "^2.19.0"
1260-
highlight.js "^9.8.0"
1261-
history "^4.4.0"
1262-
node-watch "^0.4.1"
1263-
quik "^0.11.1"
1264-
react "~15.3.2"
1265-
react-docgen "^2.12.1"
1266-
react-dom "~15.3.0"
1255+
component-docs@^0.1.0:
1256+
version "0.1.0"
1257+
resolved "https://registry.yarnpkg.com/component-docs/-/component-docs-0.%3Cspan%20class="x x-first x-last">1.0.tgz#63b300641550396761f7a66e37a4dff88efe0ff0"
1258+
dependencies:
1259+
highlight.js "^9.12.0"
1260+
history "^4.6.3"
1261+
node-watch "^0.5.5"
1262+
prop-types "^15.5.10"
1263+
quik "^0.11.2"
1264+
react "~15.6.1"
1265+
react-docgen "^3.0.0-beta5"
1266+
react-dom "~15.6.1"
12671267
react-remarkable "^1.1.1"
1268-
redbox-react "^1.3.3"
1268+
redbox-react "^1.4.3"
1269+
short-hash "^1.0.0"
1270+
stylis "^3.2.3"
12691271

12701272
composition@^2.1.1:
12711273
version "2.3.0"
@@ -1362,6 +1364,14 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
13621364
safe-buffer "^5.0.1"
13631365
sha.js "^2.4.8"
13641366

1367+
create-react-class@^15.6.0:
1368+
version "15.6.0"
1369+
resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.0.tgz#ab448497c26566e1e29413e883207d57cfe7bed4"
1370+
dependencies:
1371+
fbjs "^0.8.9"
1372+
loose-envify "^1.3.1"
1373+
object-assign "^4.1.1"
1374+
13651375
cross-spawn@^3.0.0:
13661376
version "3.0.1"
13671377
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-3.0.1.tgz#1256037ecb9f0c5f79e3d6ef135e30770184b982"
@@ -1729,7 +1739,7 @@ fastparse@^1.1.1:
17291739
version "1.1.1"
17301740
resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.1.tgz#d1e2643b38a94d7583b479060e6c4affc94071f8"
17311741

1732-
fbjs@^0.8.4, fbjs@^0.8.8, fbjs@^0.8.9:
1742+
fbjs@^0.8.9:
17331743
version "0.8.12"
17341744
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.12.tgz#10b5d92f76d45575fd63a217d4ea02bea2f8ed04"
17351745
dependencies:
@@ -1875,15 +1885,6 @@ getpass@^0.1.1:
18751885
dependencies:
18761886
assert-plus "^1.0.0"
18771887

1878-
glamor@^2.19.0:
1879-
version "2.20.25"
1880-
resolved "https://registry.yarnpkg.com/glamor/-/glamor-2.20.25.tgz#71b84b82b67a9327771ac59de53ee915d148a4a3"
1881-
dependencies:
1882-
babel-runtime "^6.18.0"
1883-
fbjs "^0.8.8"
1884-
object-assign "^4.1.0"
1885-
prop-types "^15.5.8"
1886-
18871888
glob-base@^0.3.0:
18881889
version "0.3.0"
18891890
resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"
@@ -1988,6 +1989,10 @@ hash-base@^2.0.0:
19881989
dependencies:
19891990
inherits "^2.0.1"
19901991

1992+
hash-string@^1.0.0:
1993+
version "1.0.0"
1994+
resolved "https://registry.yarnpkg.com/hash-string/-/hash-string-1.0.0.tgz#c3fa15f078ddd16bc150b4176fde7091620f2c7f"
1995+
19911996
hash.js@^1.0.0, hash.js@^1.0.3:
19921997
version "1.0.3"
19931998
resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.0.3.tgz#1332ff00156c0a0ffdd8236013d07b77a0451573"
@@ -2003,13 +2008,13 @@ hawk@~3.1.3:
20032008
hoek "2.x.x"
20042009
sntp "1.x.x"
20052010

2006-
highlight.js@^9.8.0:
2011+
highlight.js@^9.12.0:
20072012
version "9.12.0"
20082013
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e"
20092014

2010-
history@^4.4.0:
2011-
version "4.6.1"
2012-
resolved "https://registry.yarnpkg.com/history/-/history-4.6.%3Cspan%20class="x x-first x-last">1.tgz#911cf8eb65728555a94f2b12780a0c531a14d2fd"
2015+
history@^4.6.3:
2016+
version "4.6.3"
2017+
resolved "https://registry.yarnpkg.com/history/-/history-4.6.%3Cspan%20class="x x-first x-last">3.tgz#6d723a8712c581d6bef37e8c26f4aedc6eb86967"
20132018
dependencies:
20142019
invariant "^2.2.1"
20152020
loose-envify "^1.2.0"
@@ -2854,9 +2859,9 @@ node-sass@^4.3.0:
28542859
sass-graph "^2.1.1"
28552860
stdout-stream "^1.4.0"
28562861

2857-
node-watch@^0.4.1:
2858-
version "0.4.1"
2859-
resolved "https://registry.yarnpkg.com/node-watch/-/node-watch-0.%3Cspan%20class="x x-first x-last">4.1.tgz#d0947d54a995f91135db4056b68722c6d7c322ad"
2862+
node-watch@^0.5.5:
2863+
version "0.5.5"
2864+
resolved "https://registry.yarnpkg.com/node-watch/-/node-watch-0.%3Cspan%20class="x x-first x-last">5.5.tgz#34865ba8bc6861ab086acdcc3403e40ed55c3274"
28602865

28612866
"nopt@2 || 3":
28622867
version "3.0.6"
@@ -3394,7 +3399,7 @@ promise@^7.1.1:
33943399
dependencies:
33953400
asap "~2.0.3"
33963401

3397-
prop-types@^15.5.4, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@~15.5.7:
3402+
prop-types@^15.5.10, prop-types@^15.5.4:
33983403
version "15.5.10"
33993404
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154"
34003405
dependencies:
@@ -3450,7 +3455,7 @@ [email protected], querystring@^0.2.0:
34503455
version "0.2.0"
34513456
resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620"
34523457

3453-
quik@^0.11.1:
3458+
quik@^0.11.2:
34543459
version "0.11.2"
34553460
resolved "https://registry.yarnpkg.com/quik/-/quik-0.11.2.tgz#76e69d11880beb5719384e301d2721d10b4015a5"
34563461
dependencies:
@@ -3522,30 +3527,26 @@ react-deep-force-update@^1.0.0:
35223527
version "1.0.1"
35233528
resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-1.0.1.tgz#f911b5be1d2a6fe387507dd6e9a767aa2924b4c7"
35243529

3525-
react-docgen@^2.12.1:
3526-
version "2.15.0"
3527-
resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-%3Cspan%20class="x x-first x-last">2.15.0.tgz#11aced462256e4862b14e6af6e46bdcefacb28bb"
3530+
react-docgen@^3.0.0-beta5:
3531+
version "3.0.0-beta5"
3532+
resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-%3Cspan%20class="x x-first x-last">3.0.0-beta5.tgz#1ae8e506f3608ef00ef1521e29ba61298605b4b1"
35283533
dependencies:
35293534
async "^2.1.4"
35303535
babel-runtime "^6.9.2"
3531-
babylon "~5.8.3"
3536+
babylon v7.0.0-beta.8
35323537
commander "^2.9.0"
35333538
doctrine "^2.0.0"
35343539
node-dir "^0.1.10"
35353540
recast "^0.11.5"
35363541

3537-
react-dom@^15.4.2:
3538-
version "15.5.4"
3539-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.%3Cspan%20class="x x-first x-last">5.4.tgz#ba0c28786fd52ed7e4f2135fe0288d462aef93da"
3542+
react-dom@^15.4.2, react-dom@~15.6.1:
3543+
version "15.6.1"
3544+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.%3Cspan%20class="x x-first x-last">6.1.tgz#2cb0ed4191038e53c209eb3a79a23e2a4cf99470"
35403545
dependencies:
35413546
fbjs "^0.8.9"
35423547
loose-envify "^1.1.0"
35433548
object-assign "^4.1.0"
3544-
prop-types "~15.5.7"
3545-
3546-
react-dom@~15.3.0:
3547-
version "15.3.2"
3548-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.3.2.tgz#c46b0aa5380d7b838e7a59c4a7beff2ed315531f"
3549+
prop-types "^15.5.10"
35493550

35503551
react-proxy@^1.1.7:
35513552
version "1.1.8"
@@ -3571,22 +3572,15 @@ react-transform-hmr@^1.0.3:
35713572
global "^4.3.0"
35723573
react-proxy "^1.1.7"
35733574

3574-
react@^15.4.2:
3575-
version "15.5.4"
3576-
resolved "https://registry.yarnpkg.com/react/-/react-15.%3Cspan%20class="x x-first x-last">5.4.tgz#fa83eb01506ab237cdc1c8c3b1cea8de012bf047"
3575+
react@^15.4.2, react@~15.6.1:
3576+
version "15.6.1"
3577+
resolved "https://registry.yarnpkg.com/react/-/react-15.%3Cspan%20class="x x-first x-last">6.1.tgz#baa8434ec6780bde997cdc380b79cd33b96393df"
35773578
dependencies:
3579+
create-react-class "^15.6.0"
35783580
fbjs "^0.8.9"
35793581
loose-envify "^1.1.0"
35803582
object-assign "^4.1.0"
3581-
prop-types "^15.5.7"
3582-
3583-
react@~15.3.2:
3584-
version "15.3.2"
3585-
resolved "https://registry.yarnpkg.com/react/-/react-15.3.2.tgz#a7bccd2fee8af126b0317e222c28d1d54528d09e"
3586-
dependencies:
3587-
fbjs "^0.8.4"
3588-
loose-envify "^1.1.0"
3589-
object-assign "^4.1.0"
3583+
prop-types "^15.5.10"
35903584

35913585
read-pkg-up@^1.0.1:
35923586
version "1.0.1"
@@ -3633,9 +3627,9 @@ recast@^0.11.5:
36333627
private "~0.1.5"
36343628
source-map "~0.5.0"
36353629

3636-
redbox-react@^1.2.2, redbox-react@^1.3.3:
3637-
version "1.3.7"
3638-
resolved "https://registry.yarnpkg.com/redbox-react/-/redbox-react-1.%3Cspan%20class="x x-first x-last">3.7.tgz#bb3a1a73c07ebe1d67b55860908ee2bc35386968"
3630+
redbox-react@^1.2.2, redbox-react@^1.4.3:
3631+
version "1.4.3"
3632+
resolved "https://registry.yarnpkg.com/redbox-react/-/redbox-react-1.%3Cspan%20class="x x-first x-last">4.3.tgz#51744987867ea4627d58ccb1b0e5df5a5ae40e57"
36393633
dependencies:
36403634
error-stack-parser "^1.3.6"
36413635
object-assign "^4.0.1"
@@ -3868,6 +3862,12 @@ sha.js@^2.4.0, sha.js@^2.4.8:
38683862
dependencies:
38693863
inherits "^2.0.1"
38703864

3865+
short-hash@^1.0.0:
3866+
version "1.0.0"
3867+
resolved "https://registry.yarnpkg.com/short-hash/-/short-hash-1.0.0.tgz#3f491d728fcc777ec605bbaf7f83f23712f42050"
3868+
dependencies:
3869+
hash-string "^1.0.0"
3870+
38713871
signal-exit@^3.0.0:
38723872
version "3.0.2"
38733873
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
@@ -4036,6 +4036,10 @@ style-loader@^0.13.1:
40364036
dependencies:
40374037
loader-utils "^1.0.2"
40384038

4039+
stylis@^3.2.3:
4040+
version "3.2.3"
4041+
resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.2.3.tgz#fed751d792af3f48a247769f55aca05c1a100a09"
4042+
40394043
supports-color@^2.0.0:
40404044
version "2.0.0"
40414045
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"

0 commit comments

Comments
 (0)