diff --git a/package.json b/package.json index 56daa2f..24dc176 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,9 @@ "main": "index.js", "license": "MIT", "dependencies": { - "next": "^4.0.3", - "react": "16", - "react-dom": "16" + "next": "latest", + "react": "latest", + "react-dom": "latest" }, "scripts": { "dev": "next dev", diff --git a/pages/two.js b/pages/two.js index f5f3125..767fe59 100644 --- a/pages/two.js +++ b/pages/two.js @@ -22,6 +22,7 @@ export default () => ( + {["teal", "gold"].map(c => )} ); @@ -33,6 +34,12 @@ const Orange = () => ( ); +const Empty = () => ( +
+ +
+); + const Blue = () => (
Hello (i should be blue) diff --git a/yarn.lock b/yarn.lock index bf8f1bb..0ae1fd3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2815,11 +2815,7 @@ mime-types@^2.1.11, mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.7: dependencies: mime-db "~1.30.0" -mime@1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53" - -mime@^1.2.11, mime@^1.3.4: +mime@1.4.1, mime@^1.2.11, mime@^1.3.4: version "1.4.1" resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" @@ -2916,9 +2912,9 @@ netrc@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/netrc/-/netrc-0.1.4.tgz#6be94fcaca8d77ade0a9670dc460914c94472444" -next@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/next/-/next-4.0.3.tgz#ccf66fa79848e49f07125a12fca9f4bf2fcaf904" +next@latest: + version "4.1.0" + resolved "https://registry.yarnpkg.com/next/-/next-4.1.0.tgz#63828efdbb8a0f44a09ccf5880cf60b27b91ea2e" dependencies: ansi-html "0.0.7" babel-core "6.26.0" @@ -2961,10 +2957,10 @@ next@^4.0.3: prop-types-exact "1.1.1" react-hot-loader "^3.0.0" recursive-copy "2.0.6" - send "0.15.6" + send "0.16.1" source-map-support "0.4.18" strip-ansi "4.0.0" - styled-jsx "2.0.2" + styled-jsx "2.1.1" touch "3.1.0" unfetch "3.0.0" url "0.11.0" @@ -3510,7 +3506,7 @@ react-deep-force-update@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-2.1.1.tgz#8ea4263cd6455a050b37445b3f08fd839d86e909" -react-dom@16: +react-dom@latest: version "16.0.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.0.0.tgz#9cc3079c3dcd70d4c6e01b84aab2a7e34c303f58" dependencies: @@ -3536,7 +3532,7 @@ react-proxy@^3.0.0-alpha.0: dependencies: lodash "^4.6.1" -react@16: +react@latest: version "16.0.0" resolved "https://registry.yarnpkg.com/react/-/react-16.0.0.tgz#ce7df8f1941b036f02b2cca9dbd0cb1f0e855e2d" dependencies: @@ -3892,9 +3888,9 @@ semver@~5.0.1: version "5.0.3" resolved "https://registry.yarnpkg.com/semver/-/semver-5.0.3.tgz#77466de589cd5d3c95f138aa78bc569a3cb5d27a" -send@0.15.6: - version "0.15.6" - resolved "https://registry.yarnpkg.com/send/-/send-0.15.6.tgz#20f23a9c925b762ab82705fe2f9db252ace47e34" +send@0.16.1: + version "0.16.1" + resolved "https://registry.yarnpkg.com/send/-/send-0.16.1.tgz#a70e1ca21d1382c11d0d9f6231deb281080d7ab3" dependencies: debug "2.6.9" depd "~1.1.1" @@ -3904,7 +3900,7 @@ send@0.15.6: etag "~1.8.1" fresh "0.5.2" http-errors "~1.6.2" - mime "1.3.4" + mime "1.4.1" ms "2.0.0" on-finished "~2.3.0" range-parser "~1.2.0" @@ -4155,20 +4151,25 @@ strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" -styled-jsx@2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-2.0.2.tgz#71acf7720efec3fb051a4cceaa29d19a1bee4f65" +styled-jsx@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-2.1.1.tgz#e7481c7554df50d605cdc84a4e53c58fec3449b5" dependencies: babel-plugin-syntax-jsx "6.18.0" babel-types "6.23.0" convert-source-map "1.3.0" source-map "0.5.6" string-hash "1.1.1" - stylis "3.2.18" + stylis "3.3.2" + stylis-rule-sheet "0.0.6" + +stylis-rule-sheet@0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/stylis-rule-sheet/-/stylis-rule-sheet-0.0.6.tgz#059f89125a8e8db546e8adb0e07c4b4bcb81911b" -stylis@3.2.18: - version "3.2.18" - resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.2.18.tgz#211661f13b636e9e451456a1aadcec31248edf0e" +stylis@3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.3.2.tgz#95ef285836e98243f8b8f64a9a72706ea6c893ea" supports-color@^2.0.0: version "2.0.0"