Skip to content

Commit 4e93b7c

Browse files
authored
Merge pull request #546 from FormidableLabs/update/bump-react-live
Prism version conflict
2 parents bf28712 + 883aada commit 4e93b7c

File tree

4 files changed

+80
-82
lines changed

4 files changed

+80
-82
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"normalize.css": "^7.0.0",
5050
"prismjs": "1.6.0",
5151
"react-emotion": "^8.0.8",
52-
"react-live": "^1.8.0-2",
52+
"react-live": "^1.11.0",
5353
"react-redux": "^5.0.5",
5454
"react-transition-group": "1.2.1",
5555
"react-typography": "^0.16.5",

src/components/__snapshots__/code-pane.test.js.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ exports[`<CodePane /> should render correctly. 1`] = `
106106
}
107107
}
108108
onClick={undefined}
109+
onCompositionEnd={undefined}
110+
onCompositionStart={undefined}
109111
onKeyDown={undefined}
110112
onKeyUp={undefined}
111113
spellCheck="false"

src/components/__snapshots__/component-playground.test.js.snap

Lines changed: 35 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
exports[`<ComponentPlayground /> Should render the dark theme correctly 1`] = `
44
<div
55
class="react-live css-o32omv"
6-
scope="[object Object]"
76
>
87
<div
98
class="css-qtztkt"
@@ -200,13 +199,7 @@ exports[`<ComponentPlayground /> Should render the dark theme correctly 1`] = `
200199
>
201200
const
202201
</span>
203-
204-
<span
205-
class="token function-variable function"
206-
>
207-
HelloWorld
208-
</span>
209-
202+
HelloWorld
210203
<span
211204
class="token operator"
212205
>
@@ -238,7 +231,12 @@ exports[`<ComponentPlayground /> Should render the dark theme correctly 1`] = `
238231
<span
239232
class="token operator"
240233
>
241-
=&gt;
234+
=
235+
</span>
236+
<span
237+
class="token operator"
238+
>
239+
&gt;
242240
</span>
243241
244242
<span
@@ -541,7 +539,6 @@ exports[`<ComponentPlayground /> Should render the dark theme correctly 1`] = `
541539
exports[`<ComponentPlayground /> Should render the light theme correctly 1`] = `
542540
<div
543541
class="react-live css-o32omv"
544-
scope="[object Object]"
545542
>
546543
<div
547544
class="css-qtztkt"
@@ -738,13 +735,7 @@ exports[`<ComponentPlayground /> Should render the light theme correctly 1`] = `
738735
>
739736
const
740737
</span>
741-
742-
<span
743-
class="token function-variable function"
744-
>
745-
HelloWorld
746-
</span>
747-
738+
HelloWorld
748739
<span
749740
class="token operator"
750741
>
@@ -776,7 +767,12 @@ exports[`<ComponentPlayground /> Should render the light theme correctly 1`] = `
776767
<span
777768
class="token operator"
778769
>
779-
=&gt;
770+
=
771+
</span>
772+
<span
773+
class="token operator"
774+
>
775+
&gt;
780776
</span>
781777
782778
<span
@@ -1079,7 +1075,6 @@ exports[`<ComponentPlayground /> Should render the light theme correctly 1`] = `
10791075
exports[`<ComponentPlayground /> Should render with a custom background color 1`] = `
10801076
<div
10811077
class="react-live css-o32omv"
1082-
scope="[object Object]"
10831078
>
10841079
<div
10851080
class="css-qtztkt"
@@ -1276,13 +1271,7 @@ exports[`<ComponentPlayground /> Should render with a custom background color 1`
12761271
>
12771272
const
12781273
</span>
1279-
1280-
<span
1281-
class="token function-variable function"
1282-
>
1283-
HelloWorld
1284-
</span>
1285-
1274+
HelloWorld
12861275
<span
12871276
class="token operator"
12881277
>
@@ -1314,7 +1303,12 @@ exports[`<ComponentPlayground /> Should render with a custom background color 1`
13141303
<span
13151304
class="token operator"
13161305
>
1317-
=&gt;
1306+
=
1307+
</span>
1308+
<span
1309+
class="token operator"
1310+
>
1311+
&gt;
13181312
</span>
13191313
13201314
<span
@@ -1617,7 +1611,6 @@ exports[`<ComponentPlayground /> Should render with a custom background color 1`
16171611
exports[`<ComponentPlayground /> Should render with a custom code block 1`] = `
16181612
<div
16191613
class="react-live css-o32omv"
1620-
scope="[object Object]"
16211614
>
16221615
<div
16231616
class="css-qtztkt"
@@ -1678,13 +1671,7 @@ exports[`<ComponentPlayground /> Should render with a custom code block 1`] = `
16781671
>
16791672
const
16801673
</span>
1681-
1682-
<span
1683-
class="token function-variable function"
1684-
>
1685-
Button
1686-
</span>
1687-
1674+
Button
16881675
<span
16891676
class="token operator"
16901677
>
@@ -1716,7 +1703,12 @@ exports[`<ComponentPlayground /> Should render with a custom code block 1`] = `
17161703
<span
17171704
class="token operator"
17181705
>
1719-
=&gt;
1706+
=
1707+
</span>
1708+
<span
1709+
class="token operator"
1710+
>
1711+
&gt;
17201712
</span>
17211713
17221714
<span
@@ -1853,12 +1845,13 @@ exports[`<ComponentPlayground /> Should render with a custom code block 1`] = `
18531845
>
18541846
"
18551847
</span>
1856-
My Button
1857-
<span
1858-
class="token punctuation"
1859-
>
1860-
"
1861-
</span>
1848+
My
1849+
</span>
1850+
1851+
<span
1852+
class="token attr-name"
1853+
>
1854+
Button"
18621855
</span>
18631856
18641857
<span

yarn.lock

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -650,26 +650,30 @@ acorn-globals@^4.1.0:
650650
dependencies:
651651
acorn "^5.0.0"
652652

653-
acorn-jsx@^3.0.0, acorn-jsx@^3.0.1:
653+
acorn-jsx@^3.0.0:
654654
version "3.0.1"
655655
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b"
656656
dependencies:
657657
acorn "^3.0.4"
658658

659-
acorn-object-spread@^1.0.0:
660-
version "1.0.0"
661-
resolved "https://registry.yarnpkg.com/acorn-object-spread/-/acorn-object-spread-1.0.0.tgz#48ead0f4a8eb16995a17a0db9ffc6acaada4ba68"
659+
acorn-jsx@^4.1.1:
660+
version "4.1.1"
661+
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-4.1.1.tgz#e8e41e48ea2fe0c896740610ab6a4ffd8add225e"
662662
dependencies:
663-
acorn "^3.1.0"
663+
acorn "^5.0.3"
664664

665-
acorn@^3.0.4, acorn@^3.1.0, acorn@^3.3.0:
665+
acorn@^3.0.4:
666666
version "3.3.0"
667667
resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"
668668

669669
acorn@^5.0.0, acorn@^5.3.0, acorn@^5.5.0:
670670
version "5.5.3"
671671
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.5.3.tgz#f473dd47e0277a08e28e9bec5aeeb04751f0b8c9"
672672

673+
acorn@^5.0.3, acorn@^5.4.1:
674+
version "5.7.1"
675+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.1.tgz#f095829297706a7c9776958c0afc8930a9b9d9d8"
676+
673677
ajv-keywords@^2.1.0:
674678
version "2.1.1"
675679
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762"
@@ -1937,17 +1941,18 @@ bser@^2.0.0:
19371941
dependencies:
19381942
node-int64 "^0.4.0"
19391943

1940-
buble@^0.15.2:
1941-
version "0.15.2"
1942-
resolved "https://registry.yarnpkg.com/buble/-/buble-0.15.2.tgz#547fc47483f8e5e8176d82aa5ebccb183b02d613"
1944+
buble@^0.19.3:
1945+
version "0.19.3"
1946+
resolved "https://registry.yarnpkg.com/buble/-/buble-0.19.3.tgz#01e9412062cff1da6f20342b6ecd72e7bf699d02"
19431947
dependencies:
1944-
acorn "^3.3.0"
1945-
acorn-jsx "^3.0.1"
1946-
acorn-object-spread "^1.0.0"
1947-
chalk "^1.1.3"
1948-
magic-string "^0.14.0"
1948+
acorn "^5.4.1"
1949+
acorn-dynamic-import "^3.0.0"
1950+
acorn-jsx "^4.1.1"
1951+
chalk "^2.3.1"
1952+
magic-string "^0.22.4"
19491953
minimist "^1.2.0"
19501954
os-homedir "^1.0.1"
1955+
vlq "^1.0.0"
19511956

19521957
buffer-from@^1.0.0:
19531958
version "1.0.0"
@@ -2449,9 +2454,9 @@ [email protected]:
24492454
version "1.1.1"
24502455
resolved "https://registry.yarnpkg.com/component-props/-/component-props-1.1.1.tgz#f9b7df9b9927b6e6d97c9bd272aa867670f34944"
24512456

2452-
2453-
version "0.0.3"
2454-
resolved "https://registry.yarnpkg.com/component-xor/-/component-xor-0.0.3.tgz#68ae7f1c40b78d843d69f2a829cfb31d6afbf051"
2457+
2458+
version "0.0.4"
2459+
resolved "https://registry.yarnpkg.com/component-xor/-/component-xor-0.0.4.tgz#c55d83ccc1b94cd5089a4e93fa7891c7263e59aa"
24552460

24562461
compressible@~2.0.13:
24572462
version "2.0.13"
@@ -3086,12 +3091,12 @@ dom-helpers@^3.2.0:
30863091
version "3.2.1"
30873092
resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.2.1.tgz#3203e07fed217bd1f424b019735582fc37b2825a"
30883093

3089-
dom-iterator@^0.3.0:
3090-
version "0.3.0"
3091-
resolved "https://registry.yarnpkg.com/dom-iterator/-/dom-iterator-0.3.0.tgz#5a745bf47bc692ac0fa3c0c385396ff2cbd55882"
3094+
dom-iterator@^1.0.0:
3095+
version "1.0.0"
3096+
resolved "https://registry.yarnpkg.com/dom-iterator/-/dom-iterator-1.0.0.tgz#9c09899846ec41c2d257adc4d6015e4759ef05ad"
30923097
dependencies:
30933098
component-props "1.1.1"
3094-
component-xor "0.0.3"
3099+
component-xor "0.0.4"
30953100

30963101
dom-serializer@0, dom-serializer@~0.1.0:
30973102
version "0.1.0"
@@ -5993,11 +5998,11 @@ macaddress@^0.2.8:
59935998
version "0.2.8"
59945999
resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.8.tgz#5904dc537c39ec6dbefeae902327135fa8511f12"
59956000

5996-
magic-string@^0.14.0:
5997-
version "0.14.0"
5998-
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.14.0.tgz#57224aef1701caeed273b17a39a956e72b172462"
6001+
magic-string@^0.22.4:
6002+
version "0.22.5"
6003+
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.22.5.tgz#8e9cf5afddf44385c1da5bc2a6a0dbd10b03657e"
59996004
dependencies:
6000-
vlq "^0.2.1"
6005+
vlq "^0.2.2"
60016006

60026007
make-dir@^1.0.0, make-dir@^1.1.0:
60036008
version "1.2.0"
@@ -7351,18 +7356,12 @@ pretty-format@^22.4.3:
73517356
ansi-regex "^3.0.0"
73527357
ansi-styles "^3.2.0"
73537358

7354-
7359+
73557360
version "1.6.0"
73567361
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.6.0.tgz#118d95fb7a66dba2272e343b345f5236659db365"
73577362
optionalDependencies:
73587363
clipboard "^1.5.5"
73597364

7360-
prismjs@^1.6.0:
7361-
version "1.8.3"
7362-
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.8.3.tgz#4a3d140be5f2614a8987ca2330733a40d8ad207b"
7363-
optionalDependencies:
7364-
clipboard "^1.5.5"
7365-
73667365
private@^0.1.6:
73677366
version "0.1.6"
73687367
resolved "https://registry.yarnpkg.com/private/-/private-0.1.6.tgz#55c6a976d0f9bafb9924851350fe47b9b5fbb7c1"
@@ -7599,14 +7598,14 @@ react-emotion@^8.0.8:
75997598
babel-plugin-emotion "^8.0.6"
76007599
emotion-utils "^8.0.6"
76017600

7602-
react-live@^1.8.0-2:
7603-
version "1.8.0-2"
7604-
resolved "https://registry.yarnpkg.com/react-live/-/react-live-1.8.0-2.tgz#0207113212fb5cc4ebb33080219c2feb29ea3398"
7601+
react-live@^1.11.0:
7602+
version "1.11.0"
7603+
resolved "https://registry.yarnpkg.com/react-live/-/react-live-1.11.0.tgz#257b54abb64df250bc40b0572c21acd600ecdd5c"
76057604
dependencies:
7606-
buble "^0.15.2"
7605+
buble "^0.19.3"
76077606
core-js "^2.4.1"
7608-
dom-iterator "^0.3.0"
7609-
prismjs "^1.6.0"
7607+
dom-iterator "^1.0.0"
7608+
prismjs "1.6"
76107609
prop-types "^15.5.8"
76117610
unescape "^0.2.0"
76127611

@@ -9421,10 +9420,14 @@ vinyl@^2.0.1:
94219420
remove-trailing-separator "^1.0.1"
94229421
replace-ext "^1.0.0"
94239422

9424-
vlq@^0.2.1:
9423+
vlq@^0.2.2:
94259424
version "0.2.3"
94269425
resolved "https://registry.yarnpkg.com/vlq/-/vlq-0.2.3.tgz#8f3e4328cf63b1540c0d67e1b2778386f8975b26"
94279426

9427+
vlq@^1.0.0:
9428+
version "1.0.0"
9429+
resolved "https://registry.yarnpkg.com/vlq/-/vlq-1.0.0.tgz#8101be90843422954c2b13eb27f2f3122bdcc806"
9430+
94289431
94299432
version "0.0.4"
94309433
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73"

0 commit comments

Comments
 (0)