From d87c4e017bf94d9f6dbcb95b356422ec1624b819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Wed, 7 Mar 2018 15:36:32 +0000 Subject: [PATCH] fix: namespace on chunks --- package.json | 1 + packages/icons/package.json | 4 +- packages/logos/package.json | 2 +- packages/my-joy-images/package.json | 10 +- .../my-joy-images/src/state/apollo-client.js | 2 +- packages/my-joy-images/src/state/global.js | 5 +- .../my-joy-images/src/state/validators.js | 4 +- packages/my-joy-instances/lib/index.js | 4 +- packages/my-joy-instances/package.json | 10 +- .../src/state/apollo-client.js | 2 +- packages/my-joy-instances/src/state/global.js | 5 +- packages/my-joy-navigation/package.json | 2 +- packages/ui-toolkit/package.json | 4 +- prototypes/cra-boilerplate/package.json | 4 +- yarn.lock | 266 ++++++++++-------- 15 files changed, 174 insertions(+), 151 deletions(-) diff --git a/package.json b/package.json index 5a90ba18..00752603 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,7 @@ "pify": "3.0.0", "parse-json": "3.0.0", "hoist-non-react-statics": "2.5.0", + "styled-components": "3.2.1", "stylis-rule-sheet": "0.0.7", "react": "16.2.0", "breeze-nexttick": "0.2.1", diff --git a/packages/icons/package.json b/packages/icons/package.json index 216a00f6..4a287b17 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -24,14 +24,14 @@ "dependencies": { "remcalc": "^1.0.10", "rnd-id": "^2.0.2", - "styled-components": "^3.1.6" + "styled-components": "^3.2.1" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-preset-joyent-portal": "^7.0.1", "eslint": "^4.18.1", "eslint-config-joyent-portal": "^3.3.1", - "joyent-react-scripts": "^7.3.0", + "joyent-react-scripts": "^7.4.0", "react": "^16.2.0", "redrun": "^5.10.5" }, diff --git a/packages/logos/package.json b/packages/logos/package.json index 1ccb72df..bbd713ab 100644 --- a/packages/logos/package.json +++ b/packages/logos/package.json @@ -31,7 +31,7 @@ "execa": "^0.9.0", "globby": "^8.0.1", "htmltojsx": "^0.3.0", - "joyent-react-scripts": "^7.3.0", + "joyent-react-scripts": "^7.4.0", "mz": "^2.7.0", "prettier": "^1.11.0", "react": "^16.2.0", diff --git a/packages/my-joy-images/package.json b/packages/my-joy-images/package.json index 6f2faaa0..23ff690f 100644 --- a/packages/my-joy-images/package.json +++ b/packages/my-joy-images/package.json @@ -1,6 +1,6 @@ { "name": "my-joy-images", - "version": "1.1.7", + "version": "1.1.8", "private": true, "license": "MPL-2.0", "repository": "github:yldio/joyent-portal", @@ -9,7 +9,7 @@ "dev": "NODE_ENV=development REACT_APP_GQL_PORT=4000 PORT=3070 joyent-react-scripts start", "build:test": "echo 0", "build:lib": "echo 0", - "build:bundle": "NODE_ENV=production redrun -p build:frontend build:ssr", + "build:bundle": "NAMESPACE=images NODE_ENV=production redrun -p build:frontend build:ssr", "prepublish": "NODE_ENV=production redrun build:bundle", "lint": "redrun lint:ci -- --fix", "lint:ci": "NODE_ENV=test eslint . --ext .js --ext .md", @@ -30,7 +30,7 @@ "force-array": "^3.1.0", "fuse.js": "^3.2.0", "hapi-render-react": "^2.2.0", - "hapi-render-react-joyent-document": "^4.4.0", + "hapi-render-react-joyent-document": "^5.0.0", "joyent-logo-assets": "^1.0.0", "joyent-react-styled-flexboxgrid": "^2.2.3", "joyent-ui-toolkit": "^5.0.0", @@ -52,7 +52,7 @@ "redux": "^3.7.2", "redux-form": "^7.2.3", "remcalc": "^1.0.10", - "styled-components": "^3.1.6", + "styled-components": "^3.2.1", "styled-components-spacing": "^2.1.3", "styled-flex-component": "^2.2.1", "styled-is": "^1.1.2", @@ -66,7 +66,7 @@ "eslint-config-joyent-portal": "^3.3.1", "jest-image-snapshot": "^2.3.0", "jest-styled-components": "^5.0.0", - "joyent-react-scripts": "^7.3.0", + "joyent-react-scripts": "^7.4.0", "react-screenshot-renderer": "^1.1.2", "react-test-renderer": "^16.2.0", "redrun": "^5.10.5" diff --git a/packages/my-joy-images/src/state/apollo-client.js b/packages/my-joy-images/src/state/apollo-client.js index 8cedd2f1..d8065366 100644 --- a/packages/my-joy-images/src/state/apollo-client.js +++ b/packages/my-joy-images/src/state/apollo-client.js @@ -28,7 +28,7 @@ export default (opts = {}) => { credentials: 'same-origin', fetch, headers: { - 'X-CSRF-Token': document.cookie.replace(/(?:(?:^|.*;\s*)crumb\s*=\s*([^;]*).*$)|^.*$/, '$1') + 'X-CSRF-Token': global.cookie.replace(/(?:(?:^|.*;\s*)crumb\s*=\s*([^;]*).*$)|^.*$/, '$1') } }), ...opts diff --git a/packages/my-joy-images/src/state/global.js b/packages/my-joy-images/src/state/global.js index 217263f4..39e3ae04 100644 --- a/packages/my-joy-images/src/state/global.js +++ b/packages/my-joy-images/src/state/global.js @@ -2,7 +2,9 @@ import { canUseDOM } from 'exenv'; export default (() => { if (!canUseDOM) { - return {}; + return { + cookie: '' + }; } return { @@ -10,6 +12,7 @@ export default (() => { protocol: window.location.protocol.replace(/:$/, ''), hostname: window.location.hostname, origin: window.location.origin, + cookie: document.cookie || '', __REDUX_DEVTOOLS_EXTENSION__: window.__REDUX_DEVTOOLS_EXTENSION__, __APOLLO_STATE__: window.__APOLLO_STATE__, __REDUX_STATE__: window.__REDUX_STATE__ diff --git a/packages/my-joy-images/src/state/validators.js b/packages/my-joy-images/src/state/validators.js index d5f04f1c..cc9dd33a 100644 --- a/packages/my-joy-images/src/state/validators.js +++ b/packages/my-joy-images/src/state/validators.js @@ -28,14 +28,14 @@ const validateSchema = async (schema, value) => { const matches = { nameStart: /^[a-zA-Z]|\d/, - nameBody: /^([a-zA-Z]|\d|\.|_|-)+$/ + nameBody: /^([a-zA-Z]|\d|_|-)+$/ }; const msgs = { required: prefix => `${prefix} must be defined.`, nameStart: prefix => `${prefix} can only start with letters and numbers.`, nameBody: prefix => - `${prefix} cannot contain spaces and can only contain letters, numbers, periods (.), underscores (_), and hyphens (-).` + `${prefix} cannot contain spaces and can only contain letters, numbers, underscores (_), and hyphens (-).` }; const Schemas = { diff --git a/packages/my-joy-instances/lib/index.js b/packages/my-joy-instances/lib/index.js index 1e72e4d6..fd18f0e3 100644 --- a/packages/my-joy-instances/lib/index.js +++ b/packages/my-joy-instances/lib/index.js @@ -137,7 +137,7 @@ exports.register = async server => { auth: false, handler: { directory: { - path: Path.join(__dirname, '../build/static/'), + path: Path.join(__dirname, '../build/instances/static/'), redirectToSlash: true, index: false } @@ -151,7 +151,7 @@ exports.register = async server => { auth: false, handler: { directory: { - path: Path.join(ImagesRoot, 'build/static/'), + path: Path.join(ImagesRoot, 'build/images/static/'), redirectToSlash: true, index: false } diff --git a/packages/my-joy-instances/package.json b/packages/my-joy-instances/package.json index f12990a8..8d1e4785 100644 --- a/packages/my-joy-instances/package.json +++ b/packages/my-joy-instances/package.json @@ -1,6 +1,6 @@ { "name": "my-joy-instances", - "version": "2.1.8", + "version": "2.1.9", "private": true, "license": "MPL-2.0", "repository": "github:yldio/joyent-portal", @@ -9,7 +9,7 @@ "dev": "NODE_ENV=development REACT_APP_GQL_PORT=4000 PORT=3069 joyent-react-scripts start", "build:test": "echo 0", "build:lib": "echo 0", - "build:bundle": "NODE_ENV=production redrun -p build:frontend build:ssr", + "build:bundle": "NAMESPACE=instances NODE_ENV=production redrun -p build:frontend build:ssr", "prepublish": "NODE_ENV=production redrun build:bundle", "lint": "redrun lint:ci -- --fix", "lint:ci": "NODE_ENV=test eslint . --ext .js --ext .md", @@ -32,7 +32,7 @@ "exenv": "^1.2.2", "fuse.js": "^3.2.0", "hapi-render-react": "^2.2.0", - "hapi-render-react-joyent-document": "^4.4.0", + "hapi-render-react-joyent-document": "^5.0.0", "inert": "^5.1.0", "joyent-logo-assets": "^1.0.0", "joyent-manifest-editor": "^1.4.0", @@ -68,7 +68,7 @@ "redux-form": "^7.2.3", "remcalc": "^1.0.10", "resolve-pkg": "^1.0.0", - "styled-components": "^3.1.6", + "styled-components": "^3.2.1", "styled-components-spacing": "^2.1.3", "styled-flex-component": "^2.2.1", "title-case": "^2.1.1", @@ -81,7 +81,7 @@ "eslint-config-joyent-portal": "^3.3.1", "jest-image-snapshot": "^2.3.0", "jest-styled-components": "^5.0.0", - "joyent-react-scripts": "^7.3.0", + "joyent-react-scripts": "^7.4.0", "react-screenshot-renderer": "^1.1.2", "react-test-renderer": "^16.2.0", "redrun": "^5.10.5" diff --git a/packages/my-joy-instances/src/state/apollo-client.js b/packages/my-joy-instances/src/state/apollo-client.js index 8cedd2f1..d8065366 100644 --- a/packages/my-joy-instances/src/state/apollo-client.js +++ b/packages/my-joy-instances/src/state/apollo-client.js @@ -28,7 +28,7 @@ export default (opts = {}) => { credentials: 'same-origin', fetch, headers: { - 'X-CSRF-Token': document.cookie.replace(/(?:(?:^|.*;\s*)crumb\s*=\s*([^;]*).*$)|^.*$/, '$1') + 'X-CSRF-Token': global.cookie.replace(/(?:(?:^|.*;\s*)crumb\s*=\s*([^;]*).*$)|^.*$/, '$1') } }), ...opts diff --git a/packages/my-joy-instances/src/state/global.js b/packages/my-joy-instances/src/state/global.js index 217263f4..39e3ae04 100644 --- a/packages/my-joy-instances/src/state/global.js +++ b/packages/my-joy-instances/src/state/global.js @@ -2,7 +2,9 @@ import { canUseDOM } from 'exenv'; export default (() => { if (!canUseDOM) { - return {}; + return { + cookie: '' + }; } return { @@ -10,6 +12,7 @@ export default (() => { protocol: window.location.protocol.replace(/:$/, ''), hostname: window.location.hostname, origin: window.location.origin, + cookie: document.cookie || '', __REDUX_DEVTOOLS_EXTENSION__: window.__REDUX_DEVTOOLS_EXTENSION__, __APOLLO_STATE__: window.__APOLLO_STATE__, __REDUX_STATE__: window.__REDUX_STATE__ diff --git a/packages/my-joy-navigation/package.json b/packages/my-joy-navigation/package.json index d8bd26ec..91ffbc7b 100644 --- a/packages/my-joy-navigation/package.json +++ b/packages/my-joy-navigation/package.json @@ -46,7 +46,7 @@ "babel-preset-joyent-portal": "^7.0.1", "eslint": "^4.18.1", "eslint-config-joyent-portal": "^3.3.1", - "joyent-react-scripts": "^7.3.0", + "joyent-react-scripts": "^7.4.0", "redrun": "^5.10.5" } } diff --git a/packages/ui-toolkit/package.json b/packages/ui-toolkit/package.json index 0595f985..b08c4926 100644 --- a/packages/ui-toolkit/package.json +++ b/packages/ui-toolkit/package.json @@ -44,7 +44,7 @@ "react-responsive": "^4.0.4", "remcalc": "^1.0.10", "rnd-id": "^2.0.2", - "styled-components": "^3.1.6", + "styled-components": "^3.2.1", "styled-components-spacing": "^2.1.3", "styled-flex-component": "^2.2.1", "styled-is": "^1.1.2", @@ -57,7 +57,7 @@ "eslint": "^4.18.1", "eslint-config-joyent-portal": "^3.3.1", "jest-styled-components": "^5.0.0", - "joyent-react-scripts": "^7.3.0", + "joyent-react-scripts": "^7.4.0", "react": "^16.2.0", "react-docgen": "^3.0.0-beta8", "react-docgen-displayname-handler": "^1.0.1", diff --git a/prototypes/cra-boilerplate/package.json b/prototypes/cra-boilerplate/package.json index 65586461..68398221 100644 --- a/prototypes/cra-boilerplate/package.json +++ b/prototypes/cra-boilerplate/package.json @@ -28,13 +28,13 @@ "react-scripts": "1.0.17", "redux": "^3.7.2", "redux-form": "^7.1.2", - "styled-components": "^3.1.4" + "styled-components": "^3.2.1" }, "devDependencies": { "babel-preset-joyent-portal": "^7.0.0", "eslint": "^4.11.0", "eslint-config-joyent-portal": "^3.2.0", - "joyent-react-scripts": "^7.3.0", + "joyent-react-scripts": "^7.4.0", "prettier": "^1.8.2", "stylelint": "^8.4.0", "stylelint-config-joyent-portal": "^2.0.1" diff --git a/yarn.lock b/yarn.lock index e787aa31..5de25882 100644 --- a/yarn.lock +++ b/yarn.lock @@ -991,9 +991,9 @@ babel-helper-define-map@^6.24.1: babel-types "^6.26.0" lodash "^4.17.4" -babel-helper-evaluate-path@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.2.0.tgz#0bb2eb01996c0cef53c5e8405e999fe4a0244c08" +babel-helper-evaluate-path@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.3.0.tgz#2439545e0b6eae5b7f49b790acbebd6b9a73df20" babel-helper-explode-assignable-expression@^6.24.1: version "6.24.1" @@ -1003,9 +1003,9 @@ babel-helper-explode-assignable-expression@^6.24.1: babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-helper-flip-expressions@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.2.0.tgz#160d2090a3d9f9c64a750905321a0bc218f884ec" +babel-helper-flip-expressions@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.3.0.tgz#f5b6394bd5219b43cf8f7b201535ed540c6e7fa2" babel-helper-function-name@^6.24.1: version "6.24.1" @@ -1035,13 +1035,13 @@ babel-helper-is-nodes-equiv@^0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz#34e9b300b1479ddd98ec77ea0bbe9342dfe39684" -babel-helper-is-void-0@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-helper-is-void-0/-/babel-helper-is-void-0-0.2.0.tgz#6ed0ada8a9b1c5b6e88af6b47c1b3b5c080860eb" +babel-helper-is-void-0@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-helper-is-void-0/-/babel-helper-is-void-0-0.3.0.tgz#95570d20bd27b2206f68083ae9980ee7003d8fe7" -babel-helper-mark-eval-scopes@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.2.0.tgz#7648aaf2ec92aae9b09a20ad91e8df5e1fcc94b2" +babel-helper-mark-eval-scopes@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.3.0.tgz#b4731314fdd7a89091271a5213b4e12d236e29e8" babel-helper-module-imports@^7.0.0-beta.3: version "7.0.0-beta.3" @@ -1075,9 +1075,9 @@ babel-helper-remap-async-to-generator@^6.24.1: babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-helper-remove-or-void@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.2.0.tgz#8e46ad5b30560d57d7510b3fd93f332ee7c67386" +babel-helper-remove-or-void@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.3.0.tgz#f43c86147c8fcc395a9528cbb31e7ff49d7e16e3" babel-helper-replace-supers@^6.24.1: version "6.24.1" @@ -1090,9 +1090,9 @@ babel-helper-replace-supers@^6.24.1: babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-helper-to-multiple-sequence-expressions@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.2.0.tgz#d1a419634c6cb301f27858c659167cfee0a9d318" +babel-helper-to-multiple-sequence-expressions@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.3.0.tgz#8da2275ccc26995566118f7213abfd9af7214427" babel-helpers@^6.24.1: version "6.24.1" @@ -1129,12 +1129,12 @@ babel-messages@^6.23.0: dependencies: babel-runtime "^6.22.0" -babel-minify-webpack-plugin@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-minify-webpack-plugin/-/babel-minify-webpack-plugin-0.2.0.tgz#ef9694d11a1b8ab8f3204d89f5c9278dd28fc2a9" +babel-minify-webpack-plugin@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-minify-webpack-plugin/-/babel-minify-webpack-plugin-0.3.0.tgz#98062b4b7fb96ec67cca97579151758a1ddde116" dependencies: babel-core "^6.24.1" - babel-preset-minify "^0.2.0" + babel-preset-minify "^0.3.0" webpack-sources "^1.0.1" babel-plugin-check-es2015-constants@^6.22.0: @@ -1193,70 +1193,70 @@ babel-plugin-lodash@^3.3.2: lodash "^4.17.4" require-package-name "^2.0.1" -babel-plugin-minify-builtins@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.2.0.tgz#317f824b0907210b6348671bb040ca072e2e0c82" +babel-plugin-minify-builtins@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.3.0.tgz#4740117a6a784063aaf8f092989cf9e4bd484860" dependencies: - babel-helper-evaluate-path "^0.2.0" + babel-helper-evaluate-path "^0.3.0" -babel-plugin-minify-constant-folding@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.2.0.tgz#8c70b528b2eb7c13e94d95c8789077d4cdbc3970" +babel-plugin-minify-constant-folding@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.3.0.tgz#687e40336bd4ddd921e0e197f0006235ac184bb9" dependencies: - babel-helper-evaluate-path "^0.2.0" + babel-helper-evaluate-path "^0.3.0" -babel-plugin-minify-dead-code-elimination@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.2.0.tgz#e8025ee10a1e5e4f202633a6928ce892c33747e3" +babel-plugin-minify-dead-code-elimination@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.3.0.tgz#a323f686c404b824186ba5583cf7996cac81719e" dependencies: - babel-helper-evaluate-path "^0.2.0" - babel-helper-mark-eval-scopes "^0.2.0" - babel-helper-remove-or-void "^0.2.0" + babel-helper-evaluate-path "^0.3.0" + babel-helper-mark-eval-scopes "^0.3.0" + babel-helper-remove-or-void "^0.3.0" lodash.some "^4.6.0" -babel-plugin-minify-flip-comparisons@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.2.0.tgz#0c9c8e93155c8f09dedad8118b634c259f709ef5" +babel-plugin-minify-flip-comparisons@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.3.0.tgz#6627893a409c9f30ef7f2c89e0c6eea7ee97ddc4" dependencies: - babel-helper-is-void-0 "^0.2.0" + babel-helper-is-void-0 "^0.3.0" -babel-plugin-minify-guarded-expressions@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.2.0.tgz#8a8c950040fce3e258a12e6eb21eab94ad7235ab" +babel-plugin-minify-guarded-expressions@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.3.0.tgz#2552d96189ef45d9a463f1a6b5e4fa110703ac8d" dependencies: - babel-helper-flip-expressions "^0.2.0" + babel-helper-flip-expressions "^0.3.0" -babel-plugin-minify-infinity@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.2.0.tgz#30960c615ddbc657c045bb00a1d8eb4af257cf03" +babel-plugin-minify-infinity@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.3.0.tgz#c5ec0edd433517cf31b3af17077c202beb48bbe7" -babel-plugin-minify-mangle-names@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.2.0.tgz#719892297ff0106a6ec1a4b0fc062f1f8b6a8529" +babel-plugin-minify-mangle-names@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.3.0.tgz#f28561bad0dd2f0380816816bb946e219b3b6135" dependencies: - babel-helper-mark-eval-scopes "^0.2.0" + babel-helper-mark-eval-scopes "^0.3.0" -babel-plugin-minify-numeric-literals@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.2.0.tgz#5746e851700167a380c05e93f289a7070459a0d1" +babel-plugin-minify-numeric-literals@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.3.0.tgz#b57734a612e8a592005407323c321119f27d4b40" -babel-plugin-minify-replace@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.2.0.tgz#3c1f06bc4e6d3e301eacb763edc1be611efc39b0" +babel-plugin-minify-replace@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.3.0.tgz#980125bbf7cbb5a637439de9d0b1b030a4693893" -babel-plugin-minify-simplify@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.2.0.tgz#21ceec4857100c5476d7cef121f351156e5c9bc0" +babel-plugin-minify-simplify@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.3.0.tgz#14574cc74d21c81d3060fafa041010028189f11b" dependencies: - babel-helper-flip-expressions "^0.2.0" + babel-helper-flip-expressions "^0.3.0" babel-helper-is-nodes-equiv "^0.0.1" - babel-helper-to-multiple-sequence-expressions "^0.2.0" + babel-helper-to-multiple-sequence-expressions "^0.3.0" -babel-plugin-minify-type-constructors@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.2.0.tgz#7f3b6458be0863cfd59e9985bed6d134aa7a2e17" +babel-plugin-minify-type-constructors@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.3.0.tgz#7f5a86ef322c4746364e3c591b8514eeafea6ad4" dependencies: - babel-helper-is-void-0 "^0.2.0" + babel-helper-is-void-0 "^0.3.0" babel-plugin-module-resolver@^3.1.0: version "3.1.0" @@ -1508,19 +1508,19 @@ babel-plugin-transform-flow-strip-types@^6.22.0: babel-plugin-syntax-flow "^6.18.0" babel-runtime "^6.22.0" -babel-plugin-transform-inline-consecutive-adds@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.2.0.tgz#15dae78921057f4004f8eafd79e15ddc5f12f426" +babel-plugin-transform-inline-consecutive-adds@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.3.0.tgz#f07d93689c0002ed2b2b62969bdd99f734e03f57" -babel-plugin-transform-member-expression-literals@^6.8.5: +babel-plugin-transform-member-expression-literals@^6.9.0: version "6.9.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.9.0.tgz#ab07ad52a11ff7d2528c71388e8f901a4499c2b2" -babel-plugin-transform-merge-sibling-variables@^6.8.6: +babel-plugin-transform-merge-sibling-variables@^6.9.0: version "6.9.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.9.0.tgz#140017e305f8eb4f60d2f2db61154fbd71a9fcdd" -babel-plugin-transform-minify-booleans@^6.8.3: +babel-plugin-transform-minify-booleans@^6.9.0: version "6.9.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.9.0.tgz#e36ceaa49aadcae70ec98bd9dbccb660719a667a" @@ -1531,7 +1531,7 @@ babel-plugin-transform-object-rest-spread@6.26.0: babel-plugin-syntax-object-rest-spread "^6.8.0" babel-runtime "^6.26.0" -babel-plugin-transform-property-literals@^6.8.5: +babel-plugin-transform-property-literals@^6.9.0: version "6.9.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.9.0.tgz#4ddc12ada888927eacab4daff8a535ebc5de5a61" dependencies: @@ -1577,23 +1577,23 @@ babel-plugin-transform-regenerator@6.26.0, babel-plugin-transform-regenerator@^6 dependencies: regenerator-transform "^0.10.0" -babel-plugin-transform-regexp-constructors@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.2.0.tgz#6aa5dd0acc515db4be929bbcec4ed4c946c534a3" +babel-plugin-transform-regexp-constructors@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.3.0.tgz#9bb2c8dd082271a5cb1b3a441a7c52e8fd07e0f5" -babel-plugin-transform-remove-console@^6.8.5: +babel-plugin-transform-remove-console@^6.9.0: version "6.9.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.0.tgz#a7b671aab050dd30ef7cf2142b61a7d10efb327f" -babel-plugin-transform-remove-debugger@^6.8.5: +babel-plugin-transform-remove-debugger@^6.9.0: version "6.9.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.9.0.tgz#b465e74b3fbe1970da561fb1331e30aefac3f1fe" -babel-plugin-transform-remove-undefined@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.2.0.tgz#94f052062054c707e8d094acefe79416b63452b1" +babel-plugin-transform-remove-undefined@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.3.0.tgz#03f5f0071867781e9beabbc7b77bf8095fd3f3ec" dependencies: - babel-helper-evaluate-path "^0.2.0" + babel-helper-evaluate-path "^0.3.0" babel-plugin-transform-runtime@6.23.0: version "6.23.0" @@ -1601,7 +1601,7 @@ babel-plugin-transform-runtime@6.23.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-simplify-comparison-operators@^6.8.5: +babel-plugin-transform-simplify-comparison-operators@^6.9.0: version "6.9.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.9.0.tgz#586252fea023cb13f2400a09c0ab178dc0844f0a" @@ -1612,7 +1612,7 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-undefined-to-void@^6.8.3: +babel-plugin-transform-undefined-to-void@^6.9.0: version "6.9.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.9.0.tgz#eb5db0554caffe9ded0206468ec0c6c3b332b9d2" @@ -1692,32 +1692,32 @@ babel-preset-joyent-portal@^7.0.1: glob "^7.1.2" pkg-up "^2.0.0" -babel-preset-minify@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-preset-minify/-/babel-preset-minify-0.2.0.tgz#006566552d9b83834472273f306c0131062a0acc" +babel-preset-minify@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/babel-preset-minify/-/babel-preset-minify-0.3.0.tgz#7db64afa75f16f6e06c0aa5f25195f6f36784d77" dependencies: - babel-plugin-minify-builtins "^0.2.0" - babel-plugin-minify-constant-folding "^0.2.0" - babel-plugin-minify-dead-code-elimination "^0.2.0" - babel-plugin-minify-flip-comparisons "^0.2.0" - babel-plugin-minify-guarded-expressions "^0.2.0" - babel-plugin-minify-infinity "^0.2.0" - babel-plugin-minify-mangle-names "^0.2.0" - babel-plugin-minify-numeric-literals "^0.2.0" - babel-plugin-minify-replace "^0.2.0" - babel-plugin-minify-simplify "^0.2.0" - babel-plugin-minify-type-constructors "^0.2.0" - babel-plugin-transform-inline-consecutive-adds "^0.2.0" - babel-plugin-transform-member-expression-literals "^6.8.5" - babel-plugin-transform-merge-sibling-variables "^6.8.6" - babel-plugin-transform-minify-booleans "^6.8.3" - babel-plugin-transform-property-literals "^6.8.5" - babel-plugin-transform-regexp-constructors "^0.2.0" - babel-plugin-transform-remove-console "^6.8.5" - babel-plugin-transform-remove-debugger "^6.8.5" - babel-plugin-transform-remove-undefined "^0.2.0" - babel-plugin-transform-simplify-comparison-operators "^6.8.5" - babel-plugin-transform-undefined-to-void "^6.8.3" + babel-plugin-minify-builtins "^0.3.0" + babel-plugin-minify-constant-folding "^0.3.0" + babel-plugin-minify-dead-code-elimination "^0.3.0" + babel-plugin-minify-flip-comparisons "^0.3.0" + babel-plugin-minify-guarded-expressions "^0.3.0" + babel-plugin-minify-infinity "^0.3.0" + babel-plugin-minify-mangle-names "^0.3.0" + babel-plugin-minify-numeric-literals "^0.3.0" + babel-plugin-minify-replace "^0.3.0" + babel-plugin-minify-simplify "^0.3.0" + babel-plugin-minify-type-constructors "^0.3.0" + babel-plugin-transform-inline-consecutive-adds "^0.3.0" + babel-plugin-transform-member-expression-literals "^6.9.0" + babel-plugin-transform-merge-sibling-variables "^6.9.0" + babel-plugin-transform-minify-booleans "^6.9.0" + babel-plugin-transform-property-literals "^6.9.0" + babel-plugin-transform-regexp-constructors "^0.3.0" + babel-plugin-transform-remove-console "^6.9.0" + babel-plugin-transform-remove-debugger "^6.9.0" + babel-plugin-transform-remove-undefined "^0.3.0" + babel-plugin-transform-simplify-comparison-operators "^6.9.0" + babel-plugin-transform-undefined-to-void "^6.9.0" lodash.isplainobject "^4.0.6" babel-preset-react-app@^3.1.1: @@ -5139,16 +5139,22 @@ graphql-server-module-graphiql@1.3.x: dependencies: apollo-server-module-graphiql "^1.3.2" -graphql-tag@^2.6.1, graphql-tag@^2.7.3, graphql-tag@^2.8.0: +graphql-tag@^2.7.3, graphql-tag@^2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.8.0.tgz#52cdea07a842154ec11a2e840c11b977f9b835ce" -graphql@0.12.x, graphql@^0.12.3: +graphql@0.12.x: version "0.12.3" resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.12.3.tgz#11668458bbe28261c0dcb6e265f515ba79f6ce07" dependencies: iterall "1.1.3" +graphql@^0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.13.1.tgz#9b3db3d8e40d1827e4172404bfdd2e4e17a58b55" + dependencies: + iterall "^1.2.0" + growly@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" @@ -5184,12 +5190,18 @@ handlebars@^4.0.2, handlebars@^4.0.3: optionalDependencies: uglify-js "^2.6" -hapi-render-react-joyent-document@^4.3.0, hapi-render-react-joyent-document@^4.4.0: +hapi-render-react-joyent-document@^4.3.0: version "4.4.1" resolved "https://registry.yarnpkg.com/hapi-render-react-joyent-document/-/hapi-render-react-joyent-document-4.4.1.tgz#41a6956b8647ba4d22ca86ae41e8f1735e0dadde" dependencies: through2 "^2.0.3" +hapi-render-react-joyent-document@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/hapi-render-react-joyent-document/-/hapi-render-react-joyent-document-5.0.0.tgz#3e182a1afdae8e1874d322caed3d883bfd85efde" + dependencies: + through2 "^2.0.3" + hapi-render-react@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/hapi-render-react/-/hapi-render-react-2.2.0.tgz#4f95f5e24256ffa26fa618f5d41379a15970d0f6" @@ -6242,6 +6254,10 @@ iterall@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.3.tgz#1cbbff96204056dde6656e2ed2e2226d0e6d72c9" +iterall@^1.2.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7" + javascript-stringify@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3" @@ -6509,25 +6525,25 @@ joyent-manifest-editor@^1.4.0: prop-types "^15.6.0" react-codemirror "^1.0.0" -joyent-react-scripts@^7.3.0: - version "7.3.0" - resolved "https://registry.yarnpkg.com/joyent-react-scripts/-/joyent-react-scripts-7.3.0.tgz#7cfdeadf51bed760b589240a3b1272e395068285" +joyent-react-scripts@^7.4.0: + version "7.4.0" + resolved "https://registry.yarnpkg.com/joyent-react-scripts/-/joyent-react-scripts-7.4.0.tgz#1b6d55d94251b4db6cb1ab4e8cda697c8bdcdbc8" dependencies: apr-for-each "^3.0.3" apr-main "^4.0.3" - babel-minify-webpack-plugin "^0.2.0" + babel-minify-webpack-plugin "^0.3.0" duplicate-package-checker-webpack-plugin "^2.1.0" execa "^0.9.0" - graphql "^0.12.3" - graphql-tag "^2.6.1" + graphql "^0.13.1" + graphql-tag "^2.8.0" jest-transform-graphql "^2.1.0" lodash-webpack-plugin "^0.11.4" lodash.isstring "^4.0.1" mz "^2.7.0" - react-scripts "^1.1.0" + react-scripts "^1.1.1" request "^2.83.0" sw-precache-webpack-plugin "^0.11.4" - uglifyjs-webpack-plugin "^1.1.6" + uglifyjs-webpack-plugin "^1.2.2" webpack-common-shake "^1.5.3" webpack-visualizer-plugin "^0.1.11" @@ -9263,7 +9279,7 @@ react-screenshot-renderer@^1.1.2: micro "^9.1.0" puppeteer "^1.0.0" -react-scripts@^1.1.0: +react-scripts@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/react-scripts/-/react-scripts-1.1.1.tgz#279d449f7311fed910506987a1ade014027788a8" dependencies: @@ -10876,9 +10892,9 @@ styled-components-spacing@^2.1.3: react-create-component-from-tag-prop "^1.2.1" styled-components-breakpoint "^1.0.0-preview.3" -styled-components@^3.1.6: - version "3.2.0" - resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-3.2.0.tgz#5e063656783a66f6bf411153fcfe994572f3e848" +styled-components@3.2.1, styled-components@^3.1.6, styled-components@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-3.2.1.tgz#4f780c588829eb06624b686f9b793a10d04db139" dependencies: buffer "^5.0.3" css-to-react-native "^2.0.3" @@ -11442,7 +11458,7 @@ uglifyjs-webpack-plugin@^0.4.6: uglify-js "^2.8.29" webpack-sources "^1.0.1" -uglifyjs-webpack-plugin@^1.1.6: +uglifyjs-webpack-plugin@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.2.tgz#e7516d4367afdb715c3847841eb46f94c45ca2b9" dependencies: