From aa8c4e4ff052aa64ed63de33330a0623c2ea1e90 Mon Sep 17 00:00:00 2001 From: Mitchell Hamilton Date: Mon, 2 Jul 2018 11:31:07 +1000 Subject: [PATCH] Change build system and update Jest (#747) **What**: This changes the build system from some npm scripts to some node scripts that run rollup on every package. This is extracted from /~https://github.com/emotion-js/next This also moves the site out of the packages folder into the root directory because I wanted to make the packages folder only contain packages that are published to npm. The benchmarks package was also moved to the new scripts folder for the same reason. **Why**: - Faster builds since a new process doesn't need to be started for each build - Everything runs through the same build system **How**: **Checklist**: - [ ] Documentation N/A - [x] Tests - [x] Code complete --- .gitignore | 1 - CONTRIBUTING.md | 8 +- jest.config.js | 9 +- netlify.toml | 6 +- package.json | 61 +- .../babel-plugin-emotion/lib/macro-styled.js | 2 + packages/babel-plugin-emotion/lib/macro.js | 2 + packages/babel-plugin-emotion/package.json | 16 +- packages/babel-plugin-emotion/src/index.js | 7 + .../babel-plugin-emotion/src/macro-styled.js | 2 +- packages/babel-plugin-emotion/src/macro.js | 2 +- .../test/__snapshots__/css-prop.test.js.snap | 132 +- .../test/__snapshots__/css.test.js.snap | 5 +- .../test/__snapshots__/fs.test.js.snap | 8 +- .../__snapshots__/inject-global.test.js.snap | 16 +- .../test/__snapshots__/keyframes.test.js.snap | 10 +- .../test/__snapshots__/macro.test.js.snap | 16 +- .../__snapshots__/source-map.test.js.snap | 25 +- .../test/__snapshots__/styled.test.js.snap | 207 +- .../test/macro/babel-macros-register.js | 4 +- .../babel-plugin-emotion/test/styled.test.js | 3 +- packages/babel-plugin-emotion/test/util.js | 48 +- packages/create-emotion-server/package.json | 13 +- packages/create-emotion-server/src/index.js | 2 +- packages/create-emotion-styled/package.json | 16 +- packages/create-emotion/package.json | 18 +- packages/emotion-server/package.json | 13 +- packages/emotion-theming/package.json | 16 +- packages/emotion/macro.js | 2 +- packages/emotion/package.json | 18 +- .../test/__snapshots__/sheet.dom.test.js.snap | 4 +- packages/eslint-plugin-emotion/.eslintrc | 5 + packages/jest-emotion/package.json | 13 +- packages/preact-emotion/macro.js | 2 +- packages/preact-emotion/package.json | 16 +- packages/react-emotion/macro.js | 2 +- packages/react-emotion/package.json | 17 +- {packages => scripts}/benchmarks/README.md | 0 {packages => scripts}/benchmarks/benchmark.js | 0 .../benchmarks/createRenderBenchmark.js | 0 {packages => scripts}/benchmarks/index.html | 0 {packages => scripts}/benchmarks/index.js | 0 {packages => scripts}/benchmarks/package.json | 0 .../benchmarks/run-headless.js | 0 .../benchmarks/send-results.js | 0 .../src/components/Box/css-modules.js | 0 .../src/components/Box/emotion-css.js | 0 .../src/components/Box/emotion-obj.js | 0 .../benchmarks/src/components/Box/emotion.js | 0 .../benchmarks/src/components/Box/glamor.js | 0 .../src/components/Box/glamorous.js | 0 .../src/components/Box/styled-components.js | 0 .../benchmarks/src/components/Box/styles.css | 0 .../benchmarks/src/components/Dot/emotion.js | 0 .../benchmarks/src/components/Dot/glamor.js | 0 .../benchmarks/src/components/NestedTree.js | 0 .../src/components/SierpinskiTriangle.js | 0 .../src/components/View/css-modules.js | 0 .../src/components/View/emotion-css.js | 0 .../src/components/View/emotion-obj.js | 0 .../benchmarks/src/components/View/emotion.js | 0 .../benchmarks/src/components/View/glamor.js | 0 .../src/components/View/glamorous.js | 0 .../src/components/View/styled-components.js | 0 .../benchmarks/src/components/View/styles.css | 0 .../src/components/Wrapper/emotion.js | 0 .../src/components/Wrapper/glamor.js | 0 .../benchmarks/src/css-modules.js | 0 .../benchmarks/src/emotion-css.js | 0 .../benchmarks/src/emotion-obj.js | 0 .../benchmarks/src/emotion.js | 0 .../benchmarks/src/glamor.js | 0 .../benchmarks/src/glamorous.js | 0 .../benchmarks/src/styled-components.js | 0 .../benchmarks/tests/renderDeepTree.js | 0 .../tests/renderSierpinskiTriangle.js | 0 .../benchmarks/tests/renderWideTree.js | 0 .../benchmarks/webpack.config.js | 0 .../add-constructor-react.js.snap | 74 + .../build/__tests__/add-constructor-react.js | 48 + ...dd-basic-constructor-to-react-component.js | 40 + scripts/build/change-packages.js | 30 + .../build/fix-dce-for-classes-with-statics.js | 65 + scripts/build/index.js | 66 + scripts/build/inline-isBrowser.js | 56 + scripts/build/package.json | 16 + scripts/build/rollup.config.js | 156 ++ scripts/build/types.js | 12 + scripts/build/utils.js | 104 + scripts/build/watch.js | 79 + {packages/site => site}/README.md | 0 {packages/site => site}/docs-yaml.js | 2 +- {packages/site => site}/gatsby-config.js | 8 +- {packages/site => site}/gatsby-node.js | 7 +- {packages/site => site}/package.json | 1 - .../gatsby-browser.js | 0 .../gatsby-node.js | 0 .../gatsby-ssr.js | 0 .../package.json | 0 .../gatsby-plugin-favicon-fork/gatsby-node.js | 0 .../gatsby-plugin-favicon-fork/gatsby-ssr.js | 0 .../gatsby-plugin-favicon-fork/package.json | 0 .../gatsby-remark-change-awesome/index.js | 0 .../gatsby-remark-change-awesome/package.json | 0 .../plugins/gatsby-remark-fix-links/index.js | 0 .../gatsby-remark-fix-links/package.json | 0 .../plugins/gatsby-remark-live-code/index.js | 2 +- .../gatsby-remark-live-code/package.json | 0 .../index.js | 0 .../package.json | 0 {packages/site => site}/src/.eslintrc.js | 0 {packages/site => site}/src/assets/logo.png | Bin {packages/site => site}/src/components/Box.js | 0 .../src/components/DocMetadata.js | 0 .../src/components/DocSidebar.js | 0 .../src/components/DocWrapper.js | 0 .../site => site}/src/components/Link.js | 0 .../src/components/Playground.js | 0 .../src/components/RenderHAST.js | 0 .../site => site}/src/components/Search.js | 0 .../site => site}/src/components/Title.js | 0 .../src/components/live/compile.js | 3 +- .../src/components/live/compiler.js | 0 .../src/components/live/index.js | 2 +- .../src/components/live/types.js | 0 .../src/components/live/worker.js | 0 .../src/components/react-sidebar-fork.js | 0 {packages/site => site}/src/html.js | 0 {packages/site => site}/src/layouts/index.js | 0 {packages/site => site}/src/pages/404.js | 0 .../site => site}/src/pages/another-page.js | 0 .../site => site}/src/pages/community.js | 0 {packages/site => site}/src/pages/docs.js | 0 {packages/site => site}/src/pages/index.js | 0 {packages/site => site}/src/templates/doc.js | 0 .../site => site}/src/utils/algolia-styles.js | 0 .../src/utils/async-load-search.js | 0 .../site => site}/src/utils/babel-types.js | 0 .../site => site}/src/utils/demo-buttons.js | 0 {packages/site => site}/src/utils/global.js | 0 .../site => site}/src/utils/highlight-css.js | 0 .../src/utils/make-prism-manual.js | 0 .../src/utils/markdown-styles.js | 0 {packages/site => site}/src/utils/misc.js | 2 +- {packages/site => site}/src/utils/style.js | 0 .../site => site}/src/utils/transform.js | 0 {packages/site => site}/src/utils/types.js | 0 {packages/site => site}/transform.js | 0 yarn.lock | 1817 +++++------------ 149 files changed, 1626 insertions(+), 1711 deletions(-) create mode 100644 packages/babel-plugin-emotion/lib/macro-styled.js create mode 100644 packages/babel-plugin-emotion/lib/macro.js create mode 100644 packages/eslint-plugin-emotion/.eslintrc rename {packages => scripts}/benchmarks/README.md (100%) rename {packages => scripts}/benchmarks/benchmark.js (100%) rename {packages => scripts}/benchmarks/createRenderBenchmark.js (100%) rename {packages => scripts}/benchmarks/index.html (100%) rename {packages => scripts}/benchmarks/index.js (100%) rename {packages => scripts}/benchmarks/package.json (100%) rename {packages => scripts}/benchmarks/run-headless.js (100%) rename {packages => scripts}/benchmarks/send-results.js (100%) rename {packages => scripts}/benchmarks/src/components/Box/css-modules.js (100%) rename {packages => scripts}/benchmarks/src/components/Box/emotion-css.js (100%) rename {packages => scripts}/benchmarks/src/components/Box/emotion-obj.js (100%) rename {packages => scripts}/benchmarks/src/components/Box/emotion.js (100%) rename {packages => scripts}/benchmarks/src/components/Box/glamor.js (100%) rename {packages => scripts}/benchmarks/src/components/Box/glamorous.js (100%) rename {packages => scripts}/benchmarks/src/components/Box/styled-components.js (100%) rename {packages => scripts}/benchmarks/src/components/Box/styles.css (100%) rename {packages => scripts}/benchmarks/src/components/Dot/emotion.js (100%) rename {packages => scripts}/benchmarks/src/components/Dot/glamor.js (100%) rename {packages => scripts}/benchmarks/src/components/NestedTree.js (100%) rename {packages => scripts}/benchmarks/src/components/SierpinskiTriangle.js (100%) rename {packages => scripts}/benchmarks/src/components/View/css-modules.js (100%) rename {packages => scripts}/benchmarks/src/components/View/emotion-css.js (100%) rename {packages => scripts}/benchmarks/src/components/View/emotion-obj.js (100%) rename {packages => scripts}/benchmarks/src/components/View/emotion.js (100%) rename {packages => scripts}/benchmarks/src/components/View/glamor.js (100%) rename {packages => scripts}/benchmarks/src/components/View/glamorous.js (100%) rename {packages => scripts}/benchmarks/src/components/View/styled-components.js (100%) rename {packages => scripts}/benchmarks/src/components/View/styles.css (100%) rename {packages => scripts}/benchmarks/src/components/Wrapper/emotion.js (100%) rename {packages => scripts}/benchmarks/src/components/Wrapper/glamor.js (100%) rename {packages => scripts}/benchmarks/src/css-modules.js (100%) rename {packages => scripts}/benchmarks/src/emotion-css.js (100%) rename {packages => scripts}/benchmarks/src/emotion-obj.js (100%) rename {packages => scripts}/benchmarks/src/emotion.js (100%) rename {packages => scripts}/benchmarks/src/glamor.js (100%) rename {packages => scripts}/benchmarks/src/glamorous.js (100%) rename {packages => scripts}/benchmarks/src/styled-components.js (100%) rename {packages => scripts}/benchmarks/tests/renderDeepTree.js (100%) rename {packages => scripts}/benchmarks/tests/renderSierpinskiTriangle.js (100%) rename {packages => scripts}/benchmarks/tests/renderWideTree.js (100%) rename {packages => scripts}/benchmarks/webpack.config.js (100%) create mode 100644 scripts/build/__tests__/__snapshots__/add-constructor-react.js.snap create mode 100644 scripts/build/__tests__/add-constructor-react.js create mode 100644 scripts/build/add-basic-constructor-to-react-component.js create mode 100644 scripts/build/change-packages.js create mode 100644 scripts/build/fix-dce-for-classes-with-statics.js create mode 100644 scripts/build/index.js create mode 100644 scripts/build/inline-isBrowser.js create mode 100644 scripts/build/package.json create mode 100644 scripts/build/rollup.config.js create mode 100644 scripts/build/types.js create mode 100644 scripts/build/utils.js create mode 100644 scripts/build/watch.js rename {packages/site => site}/README.md (100%) rename {packages/site => site}/docs-yaml.js (74%) rename {packages/site => site}/gatsby-config.js (89%) rename {packages/site => site}/gatsby-node.js (88%) rename {packages/site => site}/package.json (98%) rename {packages/site => site}/plugins/gatsby-plugin-emotion-next-compat/gatsby-browser.js (100%) rename {packages/site => site}/plugins/gatsby-plugin-emotion-next-compat/gatsby-node.js (100%) rename {packages/site => site}/plugins/gatsby-plugin-emotion-next-compat/gatsby-ssr.js (100%) rename {packages/site => site}/plugins/gatsby-plugin-emotion-next-compat/package.json (100%) rename {packages/site => site}/plugins/gatsby-plugin-favicon-fork/gatsby-node.js (100%) rename {packages/site => site}/plugins/gatsby-plugin-favicon-fork/gatsby-ssr.js (100%) rename {packages/site => site}/plugins/gatsby-plugin-favicon-fork/package.json (100%) rename {packages/site => site}/plugins/gatsby-remark-change-awesome/index.js (100%) rename {packages/site => site}/plugins/gatsby-remark-change-awesome/package.json (100%) rename {packages/site => site}/plugins/gatsby-remark-fix-links/index.js (100%) rename {packages/site => site}/plugins/gatsby-remark-fix-links/package.json (100%) rename {packages/site => site}/plugins/gatsby-remark-live-code/index.js (89%) rename {packages/site => site}/plugins/gatsby-remark-live-code/package.json (100%) rename {packages/site => site}/plugins/gatsby-remark-remove-readme-titles/index.js (100%) rename {packages/site => site}/plugins/gatsby-remark-remove-readme-titles/package.json (100%) rename {packages/site => site}/src/.eslintrc.js (100%) rename {packages/site => site}/src/assets/logo.png (100%) rename {packages/site => site}/src/components/Box.js (100%) rename {packages/site => site}/src/components/DocMetadata.js (100%) rename {packages/site => site}/src/components/DocSidebar.js (100%) rename {packages/site => site}/src/components/DocWrapper.js (100%) rename {packages/site => site}/src/components/Link.js (100%) rename {packages/site => site}/src/components/Playground.js (100%) rename {packages/site => site}/src/components/RenderHAST.js (100%) rename {packages/site => site}/src/components/Search.js (100%) rename {packages/site => site}/src/components/Title.js (100%) rename {packages/site => site}/src/components/live/compile.js (92%) rename {packages/site => site}/src/components/live/compiler.js (100%) rename {packages/site => site}/src/components/live/index.js (98%) rename {packages/site => site}/src/components/live/types.js (100%) rename {packages/site => site}/src/components/live/worker.js (100%) rename {packages/site => site}/src/components/react-sidebar-fork.js (100%) rename {packages/site => site}/src/html.js (100%) rename {packages/site => site}/src/layouts/index.js (100%) rename {packages/site => site}/src/pages/404.js (100%) rename {packages/site => site}/src/pages/another-page.js (100%) rename {packages/site => site}/src/pages/community.js (100%) rename {packages/site => site}/src/pages/docs.js (100%) rename {packages/site => site}/src/pages/index.js (100%) rename {packages/site => site}/src/templates/doc.js (100%) rename {packages/site => site}/src/utils/algolia-styles.js (100%) rename {packages/site => site}/src/utils/async-load-search.js (100%) rename {packages/site => site}/src/utils/babel-types.js (100%) rename {packages/site => site}/src/utils/demo-buttons.js (100%) rename {packages/site => site}/src/utils/global.js (100%) rename {packages/site => site}/src/utils/highlight-css.js (100%) rename {packages/site => site}/src/utils/make-prism-manual.js (100%) rename {packages/site => site}/src/utils/markdown-styles.js (100%) rename {packages/site => site}/src/utils/misc.js (90%) rename {packages/site => site}/src/utils/style.js (100%) rename {packages/site => site}/src/utils/transform.js (100%) rename {packages/site => site}/src/utils/types.js (100%) rename {packages/site => site}/transform.js (100%) diff --git a/.gitignore b/.gitignore index f610d32b5..9cc9e1c7b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ /coverage /demo/dist dist/ -lib/ node_modules/ *.log .idea diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 510f9850b..94ed83c46 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,6 @@ ## Prerequisites - [Node.js](http://nodejs.org/) >= v7 must be installed. - - [Yarn](https://yarnpkg.com/en/docs/install) ## Installation @@ -12,15 +11,14 @@ ## Running Tests - `yarn test` will run the tests once. - -- `yarn test:coverage` will run the tests and produce a coverage report in `coverage/`. - +- `yarn coverage` will run the tests and produce a coverage report in `coverage/`. - `yarn test:watch` will run the tests on every change. ## Building - Run `yarn build` in the root directory to build the modules. (Required before publishing) -- `yarn clean` will delete built resources. +- Run `yarn build PACKAGE_NAME ANOTHER_PACKAGE_NAME` to only build certain packages. +- Run `yarn build:watch` to build packages on every change. ## Documentation Website Development diff --git a/jest.config.js b/jest.config.js index 5e459c3d4..f53bd4522 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,7 +5,14 @@ module.exports = { '\\.css$': '/test/styleTransform.js', '^.+\\.js?$': 'babel-jest' }, + watchPlugins: [ + 'jest-watch-typeahead/filename', + 'jest-watch-typeahead/testname' + ], moduleNameMapper: lernaAliases(), setupTestFrameworkScriptFile: '/test/testSetup.js', - coveragePathIgnorePatterns: ['/packages/emotion-utils/src/stylis.js'] + coveragePathIgnorePatterns: [ + '/node_modules/', + '/packages/babel-plugin-emotion/test/util.js' + ] } diff --git a/netlify.toml b/netlify.toml index 3893cd8bc..8d8453a27 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,8 +1,8 @@ [build] command = "npm run build && npm run build:site" - publish = "packages/site/public" + publish = "site/public" [build.environment] - NODE_VERSION = "8" - YARN_VERSION = "1.3.2" + NODE_VERSION = "10" + YARN_VERSION = "1.7.0" YARN_FLAGS = "--frozen-lockfile" \ No newline at end of file diff --git a/package.json b/package.json index b48798239..8b1a94487 100644 --- a/package.json +++ b/package.json @@ -2,44 +2,43 @@ "private": true, "version": "7.0.13", "scripts": { - "build:watch": "npm run build -- -w", - "build": "lerna run build --parallel", - "test:size": "npm-run-all clean rollup size", - "clean": "lerna run clean --parallel", + "build:watch": "node scripts/build/watch", + "build": "node scripts/build", + "test:size": "npm-run-all build size", + "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch", "test": "npm-run-all -p lint:check coverage test:size test:typescript flow && npm run test:prod", "test:typescript": "lerna run test:typescript --parallel", "coverage": "jest --coverage --no-cache --ci --runInBand", "test:prod": "npm run build && jest -c jest.dist.js --no-cache --ci --runInBand", "lint:check": "eslint .", "test:watch": "jest --watch --no-cache", - "rollup": "lerna run rollup --parallel", "size": "bundlesize", "release": "npm run build && lerna publish", "lint": "eslint . --fix", "benchmark": "lerna exec --scope benchmarks npm run benchmark", "start:site": "lerna exec --scope emotion-site npm run start:site", "build:site": "lerna exec --scope emotion-site npm run build:site", - "watch": "lerna run --parallel watch", "bootstrap": "lerna bootstrap", "flow": "flow check" }, "resolutions": { "**/react": "^16.3.2", - "**/react-dom": "^16.3.2" + "**/react-dom": "^16.3.2", + "**/browserslist": "^3.2.8" }, "devDependencies": { - "@babel/core": "7.0.0-beta.40", - "@babel/plugin-external-helpers": "7.0.0-beta.40", - "@babel/preset-env": "7.0.0-beta.40", - "@babel/preset-flow": "7.0.0-beta.40", - "@babel/preset-react": "7.0.0-beta.40", - "@babel/preset-stage-0": "7.0.0-beta.40", + "@babel/core": "7.0.0-beta.51", + "@babel/plugin-external-helpers": "7.0.0-beta.51", + "@babel/preset-env": "7.0.0-beta.51", + "@babel/preset-flow": "7.0.0-beta.51", + "@babel/preset-react": "7.0.0-beta.51", + "@babel/preset-stage-0": "7.0.0-beta.51", "babel-check-duplicated-nodes": "^1.0.0", "babel-cli": "^6.24.1", "babel-core": "^6.24.1", "babel-eslint": "^8.2.3", "babel-flow-types": "^1.2.3", - "babel-jest": "^20.0.3", + "babel-jest": "^23.2.0", "babel-plugin-closure-elimination": "^1.3.0", "babel-plugin-codegen": "^1.2.0", "babel-plugin-external-helpers": "^6.22.0", @@ -71,11 +70,10 @@ "gatsby-react-router-scroll": "^1.0.7", "get-lerna-packages": "^0.1.0", "hoist-non-react-statics": "^2.3.1", - "jest": "^21.2.1", - "jest-cli": "^20.0.4", - "jest-glamor-react": "^3.1.1", + "jest": "^23.2.0", "jest-in-case": "^1.0.2", "jest-serializer-html": "^4.0.1", + "jest-watch-typeahead": "^0.1.0", "jsdom": "^11.3.0", "lerna": "^2.2.0", "lerna-alias": "^3.0.1", @@ -87,16 +85,7 @@ "react": "^16.3.2", "react-dom": "^16.3.2", "react-router-dom": "^4.2.2", - "react-test-renderer": "^16.3.2", - "rimraf": "^2.6.1", - "rollup": "^0.60.1", - "rollup-plugin-alias": "^1.3.1", - "rollup-plugin-babel": "4.0.0-beta.4", - "rollup-plugin-commonjs": "^9.1.3", - "rollup-plugin-node-resolve": "^3.0.0", - "rollup-plugin-replace": "^2.0.0", - "rollup-plugin-uglify": "^4.0.0", - "rollup-watch": "^4.3.1" + "react-test-renderer": "^16.3.2" }, "author": "Kye Hohenberger", "homepage": "/~https://github.com/tkh44/emotion#readme", @@ -133,7 +122,7 @@ "standard/computed-property-even-spacing": 0, "no-template-curly-in-string": 0, "camelcase": 0, - "import/no-duplicates":0 + "import/no-duplicates": 0 }, "env": { "browser": true @@ -141,16 +130,28 @@ "overrides": [ { "files": [ - "*.test.js" + "*.test.js", + "**/__tests__/*" ], "env": { "jest": true } + }, + { + "files": [ + "**/packages/*/src/*", + "**/packages/*/src/**/*" + ], + "rules": { + "import/no-commonjs": 2 + } } ] }, "workspaces": [ - "packages/*" + "packages/*", + "site", + "scripts/*" ], "bugs": { "url": "/~https://github.com/tkh44/emotion/issues" diff --git a/packages/babel-plugin-emotion/lib/macro-styled.js b/packages/babel-plugin-emotion/lib/macro-styled.js new file mode 100644 index 000000000..3932a0b2d --- /dev/null +++ b/packages/babel-plugin-emotion/lib/macro-styled.js @@ -0,0 +1,2 @@ +// this can be removed in emotion@10 +module.exports = require('babel-plugin-emotion').macros.styled diff --git a/packages/babel-plugin-emotion/lib/macro.js b/packages/babel-plugin-emotion/lib/macro.js new file mode 100644 index 000000000..5ab1d1928 --- /dev/null +++ b/packages/babel-plugin-emotion/lib/macro.js @@ -0,0 +1,2 @@ +// this can be removed in emotion@10 +module.exports = require('babel-plugin-emotion').macros.emotion diff --git a/packages/babel-plugin-emotion/package.json b/packages/babel-plugin-emotion/package.json index 96b49933a..dde3a01f7 100644 --- a/packages/babel-plugin-emotion/package.json +++ b/packages/babel-plugin-emotion/package.json @@ -2,19 +2,13 @@ "name": "babel-plugin-emotion", "version": "9.2.4", "description": "A recommended babel preprocessing plugin for emotion, The Next Generation of CSS-in-JS.", - "main": "lib/index.js", + "main": "dist/index.js", "files": [ "src", "lib" ], - "scripts": { - "build": "npm-run-all clean babel", - "babel": "babel src -d lib", - "watch": "babel src -d lib --watch", - "clean": "rimraf lib" - }, "dependencies": { - "@babel/helper-module-imports": "7.0.0-beta.40", + "@babel/helper-module-imports": "7.0.0-beta.51", "@emotion/babel-utils": "^0.6.4", "@emotion/hash": "^0.6.2", "@emotion/memoize": "^0.6.1", @@ -28,11 +22,7 @@ "touch": "^1.0.0" }, "devDependencies": { - "@babel/core": "7.0.0-beta.40", - "babel-check-duplicated-nodes": "^1.0.0", - "babel-cli": "^6.24.1", - "npm-run-all": "^4.0.2", - "rimraf": "^2.6.1" + "babel-check-duplicated-nodes": "^1.0.0" }, "author": "Kye Hohenberger", "homepage": "https://emotion.sh", diff --git a/packages/babel-plugin-emotion/src/index.js b/packages/babel-plugin-emotion/src/index.js index 95990912e..feafcee4c 100644 --- a/packages/babel-plugin-emotion/src/index.js +++ b/packages/babel-plugin-emotion/src/index.js @@ -26,6 +26,13 @@ import { addSourceMaps } from './source-map' import cssProps from './css-prop' import { getExpressionsFromTemplateLiteral } from '@emotion/babel-utils' +import emotionMacro from './macro' +import styledMacro from './macro-styled' + +export const macros = { + emotion: emotionMacro, + styled: styledMacro +} export type BabelPath = any diff --git a/packages/babel-plugin-emotion/src/macro-styled.js b/packages/babel-plugin-emotion/src/macro-styled.js index 82597a2da..95d64eb2a 100644 --- a/packages/babel-plugin-emotion/src/macro-styled.js +++ b/packages/babel-plugin-emotion/src/macro-styled.js @@ -7,7 +7,7 @@ import { buildMacroRuntimeNode, omit } from './babel-utils' import emotionMacro from './macro' import { createMacro } from 'babel-plugin-macros' -module.exports = createMacro(macro) +export default createMacro(macro) function macro(options) { const { references, state, babel: { types: t } } = options diff --git a/packages/babel-plugin-emotion/src/macro.js b/packages/babel-plugin-emotion/src/macro.js index c98b370c5..5f637a31e 100644 --- a/packages/babel-plugin-emotion/src/macro.js +++ b/packages/babel-plugin-emotion/src/macro.js @@ -3,7 +3,7 @@ import { replaceCssWithCallExpression } from './index' import { buildMacroRuntimeNode, addRuntimeImports } from './babel-utils' import { createMacro } from 'babel-plugin-macros' -module.exports = createMacro(macro) +export default createMacro(macro) function macro({ references, state, babel: { types: t } }) { Object.keys(references).forEach(referenceKey => { diff --git a/packages/babel-plugin-emotion/test/__snapshots__/css-prop.test.js.snap b/packages/babel-plugin-emotion/test/__snapshots__/css-prop.test.js.snap index 0582a470f..8fa97e388 100644 --- a/packages/babel-plugin-emotion/test/__snapshots__/css-prop.test.js.snap +++ b/packages/babel-plugin-emotion/test/__snapshots__/css-prop.test.js.snap @@ -1,10 +1,8 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`babel css prop extract babel 6 basic with extractStatic 1`] = ` -"require(\\"./emotion.emotion.css\\"); - -var _css = require(\\"emotion\\").css; - +"import \\"./emotion.emotion.css\\"; +import { css as _css } from \\"emotion\\";
; @@ -13,10 +11,8 @@ emotion.emotion.css `; exports[`babel css prop extract babel 7 basic with extractStatic 1`] = ` -"require(\\"./emotion.emotion.css\\"); - -var _css = require(\\"emotion\\").css; - +"import \\"./emotion.emotion.css\\"; +import { css as _css } from \\"emotion\\";
; @@ -25,79 +21,65 @@ emotion.emotion.css `; exports[`babel css prop inline babel 6 StringLiteral css prop value 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 another relative custom instance 1`] = ` -"var _css = require(\\"../my-emotion-instance\\").css; - +"import { css as _css } from \\"../my-emotion-instance\\";
;" `; exports[`babel css prop inline babel 6 basic inline 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 basic object 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 className as expression 1`] = ` -"var _merge = require(\\"emotion\\").merge; - -var _css = require(\\"emotion\\").css; - +"import { merge as _merge } from \\"emotion\\"; +import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 className as expression string 1`] = ` -"var _merge = require(\\"emotion\\").merge; - -var _css = require(\\"emotion\\").css; - +"import { merge as _merge } from \\"emotion\\"; +import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 css empty 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 custom instance 1`] = ` -"var _css = require(\\"my-emotion-instance\\").css; - +"import { css as _css } from \\"my-emotion-instance\\";
;" `; exports[`babel css prop inline babel 6 dynamic inline 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 emptyClassName 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 hoisting object styles 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\"; var _ref = { color: 'brown' }; const Profile = () =>
;" `; exports[`babel css prop inline babel 6 hoisting string styles 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\"; var _ref = \\"color:\\"; const Profile = () => { const color = \\"blue\\"; @@ -106,7 +88,7 @@ const Profile = () => { `; exports[`babel css prop inline babel 6 label in class component 1`] = ` -"var _css = require(\\"emotion\\").css; +"import { css as _css } from \\"emotion\\"; class ClsComp extends React.Component { render() { @@ -116,7 +98,7 @@ class ClsComp extends React.Component { `; exports[`babel css prop inline babel 6 label in higher order component 1`] = ` -"var _css = require(\\"emotion\\").css; +"import { css as _css } from \\"emotion\\"; const foo = W => class extends Component { render() { @@ -126,7 +108,7 @@ const foo = W => class extends Component { `; exports[`babel css prop inline babel 6 label in stateless functional component 1`] = ` -"var _css = require(\\"emotion\\").css; +"import { css as _css } from \\"emotion\\"; const SFC = () => { return
Hello
; @@ -138,116 +120,99 @@ exports[`babel css prop inline babel 6 no css attr 1`] = `"
;"`; exports[`babel css prop inline babel 6 no import css prop 1`] = `"
;"`; exports[`babel css prop inline babel 6 noClassName 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 redefined-import: basic inline 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 6 relative custom instance 1`] = ` -"var _css = require(\\"./my-emotion-instance\\").css; - +"import { css as _css } from \\"./my-emotion-instance\\";
;" `; exports[`babel css prop inline babel 6 with spread arg in jsx opening tag 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 StringLiteral css prop value 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 another relative custom instance 1`] = ` -"var _css = require(\\"../my-emotion-instance\\").css; - +"import { css as _css } from \\"../my-emotion-instance\\";
;" `; exports[`babel css prop inline babel 7 basic inline 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 basic object 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 className as expression 1`] = ` -"var _merge = require(\\"emotion\\").merge; - -var _css = require(\\"emotion\\").css; - +"import { merge as _merge } from \\"emotion\\"; +import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 className as expression string 1`] = ` -"var _merge = require(\\"emotion\\").merge; - -var _css = require(\\"emotion\\").css; - +"import { merge as _merge } from \\"emotion\\"; +import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 css empty 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 custom instance 1`] = ` -"var _css = require(\\"my-emotion-instance\\").css; - +"import { css as _css } from \\"my-emotion-instance\\";
;" `; exports[`babel css prop inline babel 7 dynamic inline 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 emptyClassName 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 hoisting object styles 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\"; var _ref = { color: 'brown' }; @@ -256,8 +221,7 @@ const Profile = () =>
;" `; exports[`babel css prop inline babel 7 hoisting string styles 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\"; var _ref = \\"color:\\"; const Profile = () => { @@ -269,7 +233,7 @@ const Profile = () => { `; exports[`babel css prop inline babel 7 label in class component 1`] = ` -"var _css = require(\\"emotion\\").css; +"import { css as _css } from \\"emotion\\"; class ClsComp extends React.Component { render() { @@ -282,7 +246,7 @@ class ClsComp extends React.Component { `; exports[`babel css prop inline babel 7 label in higher order component 1`] = ` -"var _css = require(\\"emotion\\").css; +"import { css as _css } from \\"emotion\\"; const foo = W => class extends Component { render() { @@ -295,7 +259,7 @@ const foo = W => class extends Component { `; exports[`babel css prop inline babel 7 label in stateless functional component 1`] = ` -"var _css = require(\\"emotion\\").css; +"import { css as _css } from \\"emotion\\"; const SFC = () => { return
;" `; exports[`babel css prop inline babel 7 noClassName 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 redefined-import: basic inline 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" `; exports[`babel css prop inline babel 7 relative custom instance 1`] = ` -"var _css = require(\\"./my-emotion-instance\\").css; - +"import { css as _css } from \\"./my-emotion-instance\\";
;" `; exports[`babel css prop inline babel 7 with spread arg in jsx opening tag 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" diff --git a/packages/babel-plugin-emotion/test/__snapshots__/css.test.js.snap b/packages/babel-plugin-emotion/test/__snapshots__/css.test.js.snap index 147a670c4..78951762a 100644 --- a/packages/babel-plugin-emotion/test/__snapshots__/css.test.js.snap +++ b/packages/babel-plugin-emotion/test/__snapshots__/css.test.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`babel css extract babel 6 babel css extract basic 1`] = ` -"require(\\"./emotion.emotion.css\\"); +"import \\"./emotion.emotion.css\\"; \\"css-5bxlk\\"; @@ -11,8 +11,7 @@ emotion.emotion.css `; exports[`babel css extract babel 7 babel css extract basic 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; \\"css-5bxlk\\"; diff --git a/packages/babel-plugin-emotion/test/__snapshots__/fs.test.js.snap b/packages/babel-plugin-emotion/test/__snapshots__/fs.test.js.snap index fa45c25c0..16fb50bf7 100644 --- a/packages/babel-plugin-emotion/test/__snapshots__/fs.test.js.snap +++ b/packages/babel-plugin-emotion/test/__snapshots__/fs.test.js.snap @@ -3,7 +3,7 @@ exports[`babel plugin fs creates and writes to the css file when it does not exist 1`] = `".css-1yfv4zm{margin:12px 48px;color:#ffffff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;color:blue;name:class;}"`; exports[`babel plugin fs creates and writes to the css file when it does not exist 2`] = ` -"require(\\"./fs.test.emotion.css\\"); +"import \\"./fs.test.emotion.css\\"; \\"css-1yfv4zm\\";" `; @@ -11,13 +11,13 @@ exports[`babel plugin fs creates and writes to the css file when it does not exi exports[`babel plugin fs creates and writes to the custom output dir when it does not exist 1`] = `".css-1yfv4zm{margin:12px 48px;color:#ffffff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;color:blue;name:class;}"`; exports[`babel plugin fs creates and writes to the custom output dir when it does not exist 2`] = ` -"require(\\"tmpdir/fs.test.emotion.css\\"); +"import \\"tmpdir/fs.test.emotion.css\\"; \\"css-1yfv4zm\\";" `; exports[`babel plugin fs does not write to the css file when it is the same as is already written 1`] = ` -"require(\\"./fs.test.emotion.css\\"); +"import \\"./fs.test.emotion.css\\"; \\"css-1yfv4zm\\";" `; @@ -25,7 +25,7 @@ exports[`babel plugin fs does not write to the css file when it is the same as i exports[`babel plugin fs writes to the css file when it does exist 1`] = `".css-1yfv4zm{margin:12px 48px;color:#ffffff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;color:blue;name:class;}"`; exports[`babel plugin fs writes to the css file when it does exist 2`] = ` -"require(\\"./fs.test.emotion.css\\"); +"import \\"./fs.test.emotion.css\\"; \\"css-1yfv4zm\\";" `; diff --git a/packages/babel-plugin-emotion/test/__snapshots__/inject-global.test.js.snap b/packages/babel-plugin-emotion/test/__snapshots__/inject-global.test.js.snap index c9549cc6f..1fd946166 100644 --- a/packages/babel-plugin-emotion/test/__snapshots__/inject-global.test.js.snap +++ b/packages/babel-plugin-emotion/test/__snapshots__/inject-global.test.js.snap @@ -110,7 +110,7 @@ body{margin:0;padding:0;}body > div{display:-webkit-box;display:-webkit-flex;dis `; exports[`injectGlobal extract babel 6 injectGlobal basic 1`] = ` -"require(\\"./emotion.emotion.css\\"); +"import \\"./emotion.emotion.css\\"; undefined; @@ -125,7 +125,7 @@ injectGlobal(\\"body{margin:0;padding:0;display:\\", display, \\";& > div{displa `; exports[`injectGlobal extract babel 6 static change import 1`] = ` -"require(\\"./emotion.emotion.css\\"); +"import \\"./emotion.emotion.css\\"; undefined; injectGlobal\` @@ -147,8 +147,7 @@ body{margin:0;padding:0;}body > div{display:-webkit-box;display:-webkit-flex;dis `; exports[`injectGlobal extract babel 6 with @font-face 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; undefined; @@ -179,8 +178,7 @@ body{margin:0;padding:0;}body > div{display:-webkit-box;display:-webkit-flex;dis `; exports[`injectGlobal extract babel 7 injectGlobal basic 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; undefined; @@ -191,8 +189,7 @@ body{margin:0;padding:0;}body > div{display:-webkit-box;display:-webkit-flex;dis exports[`injectGlobal extract babel 7 injectGlobal with interpolation 1`] = `"injectGlobal(\\"body{margin:0;padding:0;display:\\", display, \\";& > div{display:none;}}html{background:green;}\\");"`; exports[`injectGlobal extract babel 7 static change import 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; undefined; injectGlobal\` body { @@ -213,8 +210,7 @@ body{margin:0;padding:0;}body > div{display:-webkit-box;display:-webkit-flex;dis `; exports[`injectGlobal extract babel 7 with @font-face 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; undefined; diff --git a/packages/babel-plugin-emotion/test/__snapshots__/keyframes.test.js.snap b/packages/babel-plugin-emotion/test/__snapshots__/keyframes.test.js.snap index bad8e2cf4..53c61e4c8 100644 --- a/packages/babel-plugin-emotion/test/__snapshots__/keyframes.test.js.snap +++ b/packages/babel-plugin-emotion/test/__snapshots__/keyframes.test.js.snap @@ -98,7 +98,7 @@ emotion.emotion.css `; exports[`keyframes extract babel 6 keyframes basic 1`] = ` -"require(\\"./emotion.emotion.css\\"); +"import \\"./emotion.emotion.css\\"; const rotate360 = \\"css-rotate360-bhsghd\\"; @@ -113,7 +113,7 @@ const rotate360 = /*#__PURE__*/keyframes(\\"from{transform:rotate(0deg);}to{tran `; exports[`keyframes extract babel 6 static change import 1`] = ` -"require(\\"./emotion.emotion.css\\"); +"import \\"./emotion.emotion.css\\"; const rotate360 = \\"css-rotate360-bhsghd\\"; const rotate3601 = keyframes\` @@ -149,8 +149,7 @@ emotion.emotion.css `; exports[`keyframes extract babel 7 keyframes basic 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; const rotate360 = \\"css-rotate360-bhsghd\\"; @@ -165,8 +164,7 @@ keyframes(\\"from{transform:rotate(0deg);}to{transform:rotate(\\", endingRotatio `; exports[`keyframes extract babel 7 static change import 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; const rotate360 = \\"css-rotate360-bhsghd\\"; const rotate3601 = keyframes\` from { diff --git a/packages/babel-plugin-emotion/test/__snapshots__/macro.test.js.snap b/packages/babel-plugin-emotion/test/__snapshots__/macro.test.js.snap index 7d5a26238..058dbe42d 100644 --- a/packages/babel-plugin-emotion/test/__snapshots__/macro.test.js.snap +++ b/packages/babel-plugin-emotion/test/__snapshots__/macro.test.js.snap @@ -147,7 +147,7 @@ exports[`styled macro babel 6 object function 1`] = ` "import _styled from './styled'; const SomeComponent = /*#__PURE__*/_styled('div', { - target: 'eo9rakq0' + target: 'ef2fk0r0' })({ display: 'flex' });" @@ -157,7 +157,7 @@ exports[`styled macro babel 6 object member 1`] = ` "import _styled from './styled'; const SomeComponent = /*#__PURE__*/_styled('div', { - target: 'eo9rakq0' + target: 'ef2fk0r0' })({ display: 'flex' });" @@ -173,7 +173,7 @@ exports[`styled macro babel 6 tagged template literal function 1`] = ` "import _styled from './styled'; const SomeComponent = /*#__PURE__*/_styled('div', { - target: 'eo9rakq0' + target: 'ef2fk0r0' })('display:flex;');" `; @@ -181,7 +181,7 @@ exports[`styled macro babel 6 tagged template literal member 1`] = ` "import _styled from './styled'; const SomeComponent = /*#__PURE__*/_styled('div', { - target: 'eo9rakq0' + target: 'ef2fk0r0' })('display:flex;');" `; @@ -199,7 +199,7 @@ exports[`styled macro babel 7 object function 1`] = ` const SomeComponent = /*#__PURE__*/ _styled('div', { - target: \\"eo9rakq0\\" + target: \\"ef2fk0r0\\" })({ display: 'flex' });" @@ -211,7 +211,7 @@ exports[`styled macro babel 7 object member 1`] = ` const SomeComponent = /*#__PURE__*/ _styled(\\"div\\", { - target: \\"eo9rakq0\\" + target: \\"ef2fk0r0\\" })({ display: 'flex' });" @@ -228,7 +228,7 @@ exports[`styled macro babel 7 tagged template literal function 1`] = ` const SomeComponent = /*#__PURE__*/ _styled('div', { - target: \\"eo9rakq0\\" + target: \\"ef2fk0r0\\" })(\\"display:flex;\\");" `; @@ -238,7 +238,7 @@ exports[`styled macro babel 7 tagged template literal member 1`] = ` const SomeComponent = /*#__PURE__*/ _styled(\\"div\\", { - target: \\"eo9rakq0\\" + target: \\"ef2fk0r0\\" })(\\"display:flex;\\");" `; diff --git a/packages/babel-plugin-emotion/test/__snapshots__/source-map.test.js.snap b/packages/babel-plugin-emotion/test/__snapshots__/source-map.test.js.snap index ce97aa9d0..e66c7e232 100644 --- a/packages/babel-plugin-emotion/test/__snapshots__/source-map.test.js.snap +++ b/packages/babel-plugin-emotion/test/__snapshots__/source-map.test.js.snap @@ -3,15 +3,14 @@ exports[`source map babel 6 css object 1`] = `"/*#__PURE__*/css({ color: 'hotpink' }, '/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVtb3Rpb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEiLCJmaWxlIjoiZW1vdGlvbi5qcyIsInNvdXJjZXNDb250ZW50IjpbImNzcyh7Y29sb3I6ICdob3RwaW5rJ30pIl19 */');"`; exports[`source map babel 6 css prop 1`] = ` -"var _css = require(\\"emotion\\").css; +"import { css as _css } from \\"emotion\\";
;" `; exports[`source map babel 6 css prop with merge 1`] = ` -"var _merge = require('emotion').merge; - -var _css = require('emotion').css; +"import { merge as _merge } from 'emotion'; +import { css as _css } from 'emotion';
;" `; exports[`source map babel 7 css prop with merge 1`] = ` -"var _merge = require(\\"emotion\\").merge; - -var _css = require(\\"emotion\\").css; - +"import { merge as _merge } from \\"emotion\\"; +import { css as _css } from \\"emotion\\";
;" `; exports[`source map babel 7 css prop with objects 1`] = ` -"var _css = require(\\"emotion\\").css; - +"import { css as _css } from \\"emotion\\";
;" @@ -99,7 +94,7 @@ css(\\"margin:12px 48px;color:#ffffff;display:flex;flex:1 0 auto;color:blue;@med exports[`source map babel 7 styled object styles source map 1`] = ` "/*#__PURE__*/ styled('div', { - target: \\"e5gcmo60\\" + target: \\"eev0nov0\\" })({ color: 'blue', '&:hover': { @@ -121,6 +116,6 @@ exports[`source map babel 7 styled source map 1`] = ` "const Avatar = /*#__PURE__*/ styled('img', { - target: \\"e1367ks30\\" + target: \\"e1phmxw70\\" })(\\"width:96px;height:96px;border-radius:\\", props => props.theme.borderRadius, \\";border:1px solid \\", props => props.theme.borderColor, \\";/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlZC5zb3VyY2UtbWFwLnRlc3QuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQTRCIiwiZmlsZSI6InN0eWxlZC5zb3VyY2UtbWFwLnRlc3QuanMiLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBBdmF0YXIgPSBzdHlsZWQoJ2ltZycpYFxuICAgICAgICB3aWR0aDogOTZweDtcbiAgICAgICAgaGVpZ2h0OiA5NnB4O1xuXG4gICAgICAgIGJvcmRlci1yYWRpdXM6ICR7cHJvcHMgPT5cbiAgICAgICAgICBwcm9wcy50aGVtZS5ib3JkZXJSYWRpdXN9O1xuXG4gICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICR7cHJvcHMgPT5cbiAgICAgICAgICBwcm9wcy50aGVtZS5ib3JkZXJDb2xvcn07XG4gICAgICBgIl19 */\\");" `; diff --git a/packages/babel-plugin-emotion/test/__snapshots__/styled.test.js.snap b/packages/babel-plugin-emotion/test/__snapshots__/styled.test.js.snap index 0c4ee688e..3d73af0f1 100644 --- a/packages/babel-plugin-emotion/test/__snapshots__/styled.test.js.snap +++ b/packages/babel-plugin-emotion/test/__snapshots__/styled.test.js.snap @@ -19,7 +19,7 @@ const Profile = () => { `; exports[`styled extract babel 6 autoLabel string styles 1`] = ` -"require('./emotion.emotion.css'); +"import './emotion.emotion.css'; const Profile = () => { const ProfileH1 = styled('h1', { @@ -42,7 +42,7 @@ exports[`styled extract babel 6 basic 1`] = ` `; exports[`styled extract babel 6 comments 1`] = ` -"require(\\"./emotion.emotion.css\\"); +"import \\"./emotion.emotion.css\\"; styled(\\"div\\", { e: \\"css-n0xpvi\\", @@ -55,7 +55,7 @@ emotion.emotion.css `; exports[`styled extract babel 6 component selector 1`] = ` -"require('./emotion.emotion.css'); +"import './emotion.emotion.css'; const Child = styled('div', { e: 'css-1vhj9jp', @@ -76,8 +76,7 @@ emotion.emotion.css `; exports[`styled extract babel 6 composition based on props 1`] = ` -"require('./emotion.emotion.css'); - +"import './emotion.emotion.css'; const cls1 = 'css-cls1-1ltut9y'; const H1 = /*#__PURE__*/styled('h1', { target: 'e8nbyc50' @@ -91,8 +90,7 @@ emotion.emotion.css `; exports[`styled extract babel 6 config rename 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; what(\\"h1\\", { e: \\"css-14ksm7b\\", target: \\"e8nbyc50\\" @@ -110,7 +108,7 @@ exports[`styled extract babel 6 dynamic fns 1`] = ` `; exports[`styled extract babel 6 existing options 1`] = ` -"require('./emotion.emotion.css'); +"import './emotion.emotion.css'; const Button = styled('button', { existing: true, @@ -141,15 +139,14 @@ exports[`styled extract babel 6 function call 1`] = ` `; exports[`styled extract babel 6 hash generation no file system 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.css\\"; styled(\\"h1\\", { e: \\"css-14ksm7b\\", - target: \\"e8nbyc50\\" + target: \\"ezpcgkn0\\" })(); -emotion.emotion.css +emotion.css .css-14ksm7b{color:blue;}" `; @@ -182,8 +179,7 @@ const H1 = /*#__PURE__*/styled('h1', { `; exports[`styled extract babel 6 media query 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; const H1 = styled(\\"h1\\", { e: \\"css-6skbg5\\", target: \\"e8nbyc50\\" @@ -207,8 +203,7 @@ exports[`styled extract babel 6 nested 1`] = ` `; exports[`styled extract babel 6 no dynamic 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; styled(\\"h1\\", { e: \\"css-14ksm7b\\", target: \\"e8nbyc50\\" @@ -220,16 +215,11 @@ emotion.emotion.css `; exports[`styled extract babel 6 no use 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; styled(\\"h1\\", { e: \\"css-0\\", target: \\"e8nbyc50\\" -})(); - - -emotion.emotion.css -" +})();" `; exports[`styled extract babel 6 objects based on props 1`] = ` @@ -268,7 +258,7 @@ const H1 = /*#__PURE__*/styled('h1', { `; exports[`styled extract babel 6 random expressions 1`] = ` -"require(\\"./emotion.emotion.css\\"); +"import \\"./emotion.emotion.css\\"; const a = () => \\"css-a-1cvrkk1\\"; /*#__PURE__*/styled(\\"h1\\", { @@ -364,7 +354,7 @@ exports[`styled extract babel 7 autoLabel object styles 1`] = ` const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\", + target: \\"e1u6ll0g0\\", label: \\"H1\\" })({ borderRadius: '50%', @@ -379,12 +369,12 @@ exports[`styled extract babel 7 autoLabel object styles 1`] = ` `; exports[`styled extract babel 7 autoLabel string styles 1`] = ` -"require(\\"./emotion.emotion.css\\"); +"import \\"./emotion.emotion.css\\"; const Profile = () => { const ProfileH1 = styled('h1', { e: \\"css-kmz3n4\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(); return

Hello

; }; @@ -398,16 +388,15 @@ exports[`styled extract babel 7 basic 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"font-size:\\", fontSize + 'px', \\";\\");" `; exports[`styled extract babel 7 comments 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; styled(\\"div\\", { e: \\"css-n0xpvi\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(); @@ -416,19 +405,18 @@ emotion.emotion.css `; exports[`styled extract babel 7 component selector 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; const Child = styled(\\"div\\", { e: \\"css-1vhj9jp\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(); const SecondChild = Child.withComponent('span', { - target: \\"e8nbyc51\\" + target: \\"e1u6ll0g1\\" }); const Parent = /*#__PURE__*/ styled(\\"div\\", { - target: \\"e8nbyc52\\" + target: \\"e1u6ll0g2\\" })(Child, \\"{color:blue;}\\", SecondChild, \\"{color:pink;}\\"); @@ -437,13 +425,12 @@ emotion.emotion.css `; exports[`styled extract babel 7 composition based on props 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; const cls1 = \\"css-cls1-1ltut9y\\"; const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(props => { return props.a ? cssA : cssB; }, \\";font-size:\\", fontSize + 'px', \\";height:20px;transform:translateX(\\", props => props.translateX, \\");\\"); @@ -454,11 +441,10 @@ emotion.emotion.css `; exports[`styled extract babel 7 config rename 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; what(\\"h1\\", { e: \\"css-14ksm7b\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(); @@ -470,17 +456,16 @@ exports[`styled extract babel 7 dynamic fns 1`] = ` "const Avatar = /*#__PURE__*/ styled('img', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"width:96px;height:96px;border-radius:\\", props => props.theme.borderRadius, \\";border:1px solid \\", props => props.theme.borderColor, \\";\\");" `; exports[`styled extract babel 7 existing options 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; const Button = styled('button', { existing: true, e: \\"css-1aj1g6z\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" }, otherArg, 'test', { anotherArg: 1 })(); @@ -495,7 +480,7 @@ exports[`styled extract babel 7 existing options object 1`] = ` /*#__PURE__*/ styled('button', { existing: true, - target: \\"e8nbyc50\\", + target: \\"e1u6ll0g0\\", label: \\"Button\\" }, otherArg, 'test', { anotherArg: 1 @@ -507,20 +492,19 @@ styled('button', { exports[`styled extract babel 7 function call 1`] = ` "/*#__PURE__*/ styled(MyComponent, { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"font-size:\\", fontSize + 'px', \\";\\");" `; exports[`styled extract babel 7 hash generation no file system 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.css\\"; styled(\\"h1\\", { e: \\"css-14ksm7b\\", - target: \\"e8nbyc50\\" + target: \\"es9q2x00\\" })(); -emotion.emotion.css +emotion.css .css-14ksm7b{color:blue;}" `; @@ -542,7 +526,7 @@ const Profile = () => { const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(_ref, props => ({ display: props.display }), _ref2); @@ -553,16 +537,15 @@ exports[`styled extract babel 7 interpolation in different places 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"font-size:\\", fontSize + 'px', \\";height:20px;transform:translateX(\\", props => props.translateX, \\");height1:\\", something, \\"wow;width:w\\", something, \\"ow;transform:translateX(\\", props => props.translateX, \\") translateY(\\", props => props.translateX, \\");transform1:translateX(\\", props => props.translateX, \\") translateY(\\", props => props.translateX, \\");transform2:translateX(\\", props => props.translateX, \\") \\", props => props.translateX, \\";\\");" `; exports[`styled extract babel 7 media query 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; const H1 = styled(\\"h1\\", { e: \\"css-6skbg5\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(); @@ -574,7 +557,7 @@ exports[`styled extract babel 7 more than 10 dynamic values 1`] = ` "const H1 = /*#__PURE__*/ styled('h1', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"text-decoration:\\", 'underline', \\";border-right:solid blue \\", 54, \\"px;background:\\", 'white', \\";color:\\", 'black', \\";display:\\", 'block', \\";border-radius:\\", '3px', \\";padding:\\", '25px', \\";width:\\", '500px', \\";z-index:\\", 100, \\";font-size:\\", '18px', \\";text-align:\\", 'center', \\";border-left:\\", p => p.theme.blue, \\";\\");" `; @@ -582,16 +565,15 @@ exports[`styled extract babel 7 nested 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"font-size:\\", fontSize + 'px', \\";& div{color:blue;& span{color:red}}\\");" `; exports[`styled extract babel 7 no dynamic 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; styled(\\"h1\\", { e: \\"css-14ksm7b\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(); @@ -600,23 +582,18 @@ emotion.emotion.css `; exports[`styled extract babel 7 no use 1`] = ` -"require(\\"./emotion.emotion.css\\"); - +"import \\"./emotion.emotion.css\\"; styled(\\"h1\\", { e: \\"css-0\\", - target: \\"e8nbyc50\\" -})(); - - -emotion.emotion.css -" + target: \\"e1u6ll0g0\\" +})();" `; exports[`styled extract babel 7 objects based on props 1`] = ` "const H1 = /*#__PURE__*/ styled('h1', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ padding: 10 }, props => ({ @@ -628,7 +605,7 @@ exports[`styled extract babel 7 objects fn call 1`] = ` "const H1 = /*#__PURE__*/ styled('h1', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ display: 'flex' });" @@ -638,7 +615,7 @@ exports[`styled extract babel 7 objects prefixed 1`] = ` "const H1 = /*#__PURE__*/ styled('h1', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ borderRadius: '50%', transition: 'transform 400ms ease-in-out', @@ -653,13 +630,13 @@ styled('h1', { `; exports[`styled extract babel 7 random expressions 1`] = ` -"require(\\"./emotion.emotion.css\\"); +"import \\"./emotion.emotion.css\\"; const a = () => \\"css-a-1cvrkk1\\"; /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"margin:12px 48px;\\", \\"css-143zpy6\\", \\";color:#ffffff;& .profile{\\", props => props.prop && a(), \\"}\\", { backgroundColor: \\"hotpink\\" }, \\";\\"); @@ -674,7 +651,7 @@ exports[`styled extract babel 7 shorthand property 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ fontSize });" @@ -684,7 +661,7 @@ exports[`styled extract babel 7 styled objects prefixed 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ borderRadius: '50%', transition: 'transform 400ms ease-in-out', @@ -702,7 +679,7 @@ exports[`styled extract babel 7 styled. objects 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ padding: 10 }, props => ({ @@ -717,7 +694,7 @@ exports[`styled extract babel 7 styled. objects with a multiple spread propertie const Figure = /*#__PURE__*/ styled(\\"figure\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ ...defaultText, ...defaultFigure });" @@ -730,7 +707,7 @@ exports[`styled extract babel 7 styled. objects with a multiple spread propertie const Figure = /*#__PURE__*/ styled(\\"figure\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ ...defaultText, fontSize: '20px', ...defaultFigure, @@ -745,7 +722,7 @@ exports[`styled extract babel 7 styled. objects with a single spread property 1` const Figure = /*#__PURE__*/ styled(\\"figure\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ ...defaultText });" `; @@ -755,7 +732,7 @@ exports[`styled extract babel 7 variable import: no dynamic 1`] = ` import what from 'emotion'; what(\\"h1\\", { e: \\"css-14ksm7b\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(); @@ -870,7 +847,7 @@ exports[`styled inline babel 6 function call 1`] = ` exports[`styled inline babel 6 hash generation no file system 1`] = ` "/*#__PURE__*/styled(\\"h1\\", { - target: \\"e1kqw4hu0\\" + target: \\"ezpcgkn0\\" })(\\"color:blue;\\");" `; @@ -1052,7 +1029,7 @@ exports[`styled inline babel 7 autoLabel object styles 1`] = ` const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\", + target: \\"e1u6ll0g0\\", label: \\"H1\\" })({ borderRadius: '50%', @@ -1072,7 +1049,7 @@ exports[`styled inline babel 7 autoLabel string styles 1`] = ` /*#__PURE__*/ styled('h1', { label: \\"ProfileH1\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"color:blue;\\"); return

Hello

; };" @@ -1082,14 +1059,14 @@ exports[`styled inline babel 7 basic 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"font-size:\\", fontSize + 'px', \\";\\");" `; exports[`styled inline babel 7 comments 1`] = ` "/*#__PURE__*/ styled(\\"div\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"color:hotpink;\\");" `; @@ -1097,15 +1074,15 @@ exports[`styled inline babel 7 component selector 1`] = ` "const Child = /*#__PURE__*/ styled(\\"div\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"color:red;\\"); const SecondChild = Child.withComponent('span', { - target: \\"e8nbyc51\\" + target: \\"e1u6ll0g1\\" }); const Parent = /*#__PURE__*/ styled(\\"div\\", { - target: \\"e8nbyc52\\" + target: \\"e1u6ll0g2\\" })(Child, \\"{color:blue;}\\", SecondChild, \\"{color:pink;}\\");" `; @@ -1116,7 +1093,7 @@ css(\\"width:20px;\\"); const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(props => { return props.a ? cssA : cssB; }, \\";font-size:\\", fontSize + 'px', \\";height:20px;transform:translateX(\\", props => props.translateX, \\");\\");" @@ -1125,7 +1102,7 @@ styled(\\"h1\\", { exports[`styled inline babel 7 config rename 1`] = ` "/*#__PURE__*/ what(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"color:blue;\\");" `; @@ -1133,7 +1110,7 @@ exports[`styled inline babel 7 dynamic fns 1`] = ` "const Avatar = /*#__PURE__*/ styled('img', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"width:96px;height:96px;border-radius:\\", props => props.theme.borderRadius, \\";border:1px solid \\", props => props.theme.borderColor, \\";\\");" `; @@ -1143,7 +1120,7 @@ exports[`styled inline babel 7 existing options 1`] = ` styled('button', { existing: true, label: \\"Button\\", - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" }, otherArg, 'test', { anotherArg: 1 })(\\"color:blue;\\");" @@ -1154,7 +1131,7 @@ exports[`styled inline babel 7 existing options object 1`] = ` /*#__PURE__*/ styled('button', { existing: true, - target: \\"e8nbyc50\\", + target: \\"e1u6ll0g0\\", label: \\"Button\\" }, otherArg, 'test', { anotherArg: 1 @@ -1166,14 +1143,14 @@ styled('button', { exports[`styled inline babel 7 function call 1`] = ` "/*#__PURE__*/ styled(MyComponent, { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"font-size:\\", fontSize + 'px', \\";\\");" `; exports[`styled inline babel 7 hash generation no file system 1`] = ` "/*#__PURE__*/ styled(\\"h1\\", { - target: \\"e1kqw4hu0\\" + target: \\"es9q2x00\\" })(\\"color:blue;\\");" `; @@ -1195,7 +1172,7 @@ const Profile = () => { const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(_ref, props => ({ display: props.display }), _ref2); @@ -1206,7 +1183,7 @@ exports[`styled inline babel 7 interpolation in different places 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"font-size:\\", fontSize + 'px', \\";height:20px;transform:translateX(\\", props => props.translateX, \\");height1:\\", something, \\"wow;width:w\\", something, \\"ow;transform:translateX(\\", props => props.translateX, \\") translateY(\\", props => props.translateX, \\");transform1:translateX(\\", props => props.translateX, \\") translateY(\\", props => props.translateX, \\");transform2:translateX(\\", props => props.translateX, \\") \\", props => props.translateX, \\";\\");" `; @@ -1214,7 +1191,7 @@ exports[`styled inline babel 7 media query 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"@media print{font-size:10pt}@media screen{.child-selector{font-size:13px}}@media screen,print{&:hover + &{line-height:1.2}}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.child-selector{line-height:1.4}}\\");" `; @@ -1222,7 +1199,7 @@ exports[`styled inline babel 7 more than 10 dynamic values 1`] = ` "const H1 = /*#__PURE__*/ styled('h1', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"text-decoration:\\", 'underline', \\";border-right:solid blue \\", 54, \\"px;background:\\", 'white', \\";color:\\", 'black', \\";display:\\", 'block', \\";border-radius:\\", '3px', \\";padding:\\", '25px', \\";width:\\", '500px', \\";z-index:\\", 100, \\";font-size:\\", '18px', \\";text-align:\\", 'center', \\";border-left:\\", p => p.theme.blue, \\";\\");" `; @@ -1230,21 +1207,21 @@ exports[`styled inline babel 7 nested 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"font-size:\\", fontSize + 'px', \\";& div{color:blue;& span{color:red}}\\");" `; exports[`styled inline babel 7 no dynamic 1`] = ` "/*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"color:blue;\\");" `; exports[`styled inline babel 7 no use 1`] = ` "/*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })();" `; @@ -1252,7 +1229,7 @@ exports[`styled inline babel 7 objects based on props 1`] = ` "const H1 = /*#__PURE__*/ styled('h1', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ padding: 10 }, props => ({ @@ -1264,7 +1241,7 @@ exports[`styled inline babel 7 objects fn call 1`] = ` "const H1 = /*#__PURE__*/ styled('h1', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ display: 'flex' });" @@ -1274,7 +1251,7 @@ exports[`styled inline babel 7 objects prefixed 1`] = ` "const H1 = /*#__PURE__*/ styled('h1', { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ borderRadius: '50%', transition: 'transform 400ms ease-in-out', @@ -1295,7 +1272,7 @@ css(\\"font-size:1rem\\"); /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"margin:12px 48px;\\", /*#__PURE__*/ css(\\"font-size:32px\\"), \\";color:#ffffff;& .profile{\\", props => props.prop && a(), \\"}\\", { @@ -1307,7 +1284,7 @@ exports[`styled inline babel 7 shorthand property 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ fontSize });" @@ -1317,7 +1294,7 @@ exports[`styled inline babel 7 styled objects prefixed 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ borderRadius: '50%', transition: 'transform 400ms ease-in-out', @@ -1335,7 +1312,7 @@ exports[`styled inline babel 7 styled. objects 1`] = ` "const H1 = /*#__PURE__*/ styled(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ padding: 10 }, props => ({ @@ -1350,7 +1327,7 @@ exports[`styled inline babel 7 styled. objects with a multiple spread properties const Figure = /*#__PURE__*/ styled(\\"figure\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ ...defaultText, ...defaultFigure });" @@ -1363,7 +1340,7 @@ exports[`styled inline babel 7 styled. objects with a multiple spread properties const Figure = /*#__PURE__*/ styled(\\"figure\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ ...defaultText, fontSize: '20px', ...defaultFigure, @@ -1378,7 +1355,7 @@ exports[`styled inline babel 7 styled. objects with a single spread property 1`] const Figure = /*#__PURE__*/ styled(\\"figure\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })({ ...defaultText });" `; @@ -1388,6 +1365,6 @@ exports[`styled inline babel 7 variable import: no dynamic 1`] = ` /*#__PURE__*/ what(\\"h1\\", { - target: \\"e8nbyc50\\" + target: \\"e1u6ll0g0\\" })(\\"color:blue;\\");" `; diff --git a/packages/babel-plugin-emotion/test/macro/babel-macros-register.js b/packages/babel-plugin-emotion/test/macro/babel-macros-register.js index 7d9f2a998..11b8b6d94 100644 --- a/packages/babel-plugin-emotion/test/macro/babel-macros-register.js +++ b/packages/babel-plugin-emotion/test/macro/babel-macros-register.js @@ -1,9 +1,7 @@ require('babel-register') const path = require('path') require('module-alias').addAliases({ - 'emotion-utils': path.join(__dirname, '../../../emotion-utils/src'), - 'react-emotion/macro': path.join(__dirname, '../../src/macro-styled'), - 'emotion/macro': path.join(__dirname, '../../src/macro') + 'babel-plugin-emotion': path.join(__dirname, '../../src') }) module.exports = require('babel-plugin-macros') diff --git a/packages/babel-plugin-emotion/test/styled.test.js b/packages/babel-plugin-emotion/test/styled.test.js index 12636af9b..1284da50e 100644 --- a/packages/babel-plugin-emotion/test/styled.test.js +++ b/packages/babel-plugin-emotion/test/styled.test.js @@ -3,7 +3,8 @@ import { createInlineTests, createExtractTests } from './util' const cases = { 'no use': { - code: 'styled.h1``' + code: 'styled.h1``', + extract: false }, 'no dynamic': { diff --git a/packages/babel-plugin-emotion/test/util.js b/packages/babel-plugin-emotion/test/util.js index de8a14124..8a2881f65 100644 --- a/packages/babel-plugin-emotion/test/util.js +++ b/packages/babel-plugin-emotion/test/util.js @@ -21,10 +21,34 @@ type EmotionTestCases = TestCases<{ [key: string | number]: mixed }> -jest.mock('fs') - -fs.existsSync.mockReturnValue(true) -fs.statSync.mockReturnValue({ isFile: () => false }) +jest.mock('fs', () => { + // $FlowFixMe + let realFs = require.requireActual('fs') + let readFileSync = jest.fn() + readFileSync.mockImplementation((...args) => { + if (args[0].includes('emotion.css')) { + return '' + } + return realFs.readFileSync(...args) + }) + return { + ...realFs, + readFileSync, + writeFileSync: jest.fn(), + existsSync: (...args) => { + if (args[0].includes('emotion.css')) { + return true + } + return realFs.existsSync(...args) + }, + statSync: (...args) => { + if (args[0].includes('emotion.css')) { + return { isFile: () => false } + } + return realFs.statSync(...args) + } + } +}) const isBabel7 = babel => parseInt(babel.version.split('.')[0], 10) === 7 @@ -43,7 +67,12 @@ const createInlineTester = babel => opts => { ], filename: opts.filename !== undefined ? opts.filename : 'emotion.js', babelrc: false, - ast: true + ast: true, + ...(isBabel7(babel) + ? { + configFile: false + } + : {}) }) if (isBabel7(babel)) { expect(() => checkDuplicatedNodes(babel, ast)).not.toThrow() @@ -74,9 +103,14 @@ const createExtractTester = babel => opts => { } ] ], - filename: opts.filename || 'emotion.js', + filename: opts.filename !== undefined ? opts.filename : 'emotion.js', babelrc: false, - ast: true + ast: true, + ...(isBabel7(babel) + ? { + configFile: false + } + : {}) }) if (isBabel7(babel)) { expect(() => checkDuplicatedNodes(babel, ast)).not.toThrow() diff --git a/packages/create-emotion-server/package.json b/packages/create-emotion-server/package.json index eb3d8c362..3f99c0a94 100644 --- a/packages/create-emotion-server/package.json +++ b/packages/create-emotion-server/package.json @@ -2,7 +2,7 @@ "name": "create-emotion-server", "version": "9.2.4", "description": "SSR and style extraction tooling for emotion, The Next Generation of CSS-in-JS.", - "main": "lib/index.js", + "main": "dist/index.js", "types": "types/index.d.ts", "files": [ "src", @@ -10,11 +10,7 @@ "types" ], "scripts": { - "build": "npm-run-all clean babel", - "babel": "babel src -d lib", - "clean": "rimraf lib", - "test:typescript": "dtslint types", - "watch": "babel src -d lib --watch" + "test:typescript": "dtslint types" }, "dependencies": { "html-tokenize": "^2.0.0", @@ -23,12 +19,9 @@ }, "devDependencies": { "@types/node": "*", - "babel-cli": "^6.24.1", "dtslint": "^0.3.0", "emotion": "^9.2.4", - "npm-run-all": "^4.0.2", - "react-emotion": "^9.2.4", - "rimraf": "^2.6.1" + "react-emotion": "^9.2.4" }, "author": "Kye Hohenberger", "homepage": "https://emotion.sh", diff --git a/packages/create-emotion-server/src/index.js b/packages/create-emotion-server/src/index.js index 89315832e..4da0534a3 100644 --- a/packages/create-emotion-server/src/index.js +++ b/packages/create-emotion-server/src/index.js @@ -4,7 +4,7 @@ import createExtractCritical from './extract-critical' import createRenderStylesToString from './inline' import createRenderStylesToStream from './stream' -module.exports = function(emotion: Emotion) { +export default function(emotion: Emotion) { const nonceString = emotion.caches.nonce !== undefined ? ` nonce="${emotion.caches.nonce}"` : '' return { diff --git a/packages/create-emotion-styled/package.json b/packages/create-emotion-styled/package.json index 836591d34..2cc2951f9 100644 --- a/packages/create-emotion-styled/package.json +++ b/packages/create-emotion-styled/package.json @@ -3,7 +3,7 @@ "version": "9.2.3", "description": "The styled API for emotion", "main": "dist/index.cjs.js", - "module": "dist/index.es.js", + "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "src", @@ -11,11 +11,7 @@ "types" ], "scripts": { - "build": "npm-run-all clean rollup", - "clean": "rimraf dist", - "test:typescript": "dtslint types", - "rollup": "rollup -c ../../rollup.config.js", - "watch": "rollup -c ../../rollup.config.js --watch" + "test:typescript": "dtslint types" }, "dependencies": { "@emotion/is-prop-valid": "^0.6.1" @@ -26,10 +22,7 @@ "devDependencies": { "@types/react": "16.0.16", "dtslint": "^0.3.0", - "npm-run-all": "^4.0.2", - "prop-types": "^15.6.1", - "rimraf": "^2.6.1", - "rollup": "^0.60.1" + "prop-types": "^15.6.1" }, "author": "Kye Hohenberger", "homepage": "https://emotion.sh", @@ -44,5 +37,6 @@ ], "bugs": { "url": "/~https://github.com/emotion-js/emotion/issues" - } + }, + "umd:main": "./dist/emotion.umd.min.js" } diff --git a/packages/create-emotion/package.json b/packages/create-emotion/package.json index 96abf441d..6514eb964 100644 --- a/packages/create-emotion/package.json +++ b/packages/create-emotion/package.json @@ -3,7 +3,7 @@ "version": "9.2.4", "description": "The Next Generation of CSS-in-JS.", "main": "dist/index.cjs.js", - "module": "dist/index.es.js", + "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "src", @@ -11,11 +11,7 @@ "types" ], "scripts": { - "build": "npm-run-all clean rollup", - "clean": "rimraf dist", - "test:typescript": "dtslint types", - "rollup": "rollup -c ../../rollup.config.js", - "watch": "rollup -c ../../rollup.config.js --watch" + "test:typescript": "dtslint types" }, "dependencies": { "@emotion/hash": "^0.6.2", @@ -28,13 +24,8 @@ }, "devDependencies": { "@types/react": "16.0.16", - "babel-cli": "^6.24.1", "babel-plugin-transform-define": "^1.3.0", - "cross-env": "^5.0.5", - "dtslint": "^0.3.0", - "npm-run-all": "^4.0.2", - "rimraf": "^2.6.1", - "rollup": "^0.60.1" + "dtslint": "^0.3.0" }, "author": "Kye Hohenberger", "homepage": "https://emotion.sh", @@ -49,5 +40,6 @@ ], "bugs": { "url": "/~https://github.com/emotion-js/emotion/issues" - } + }, + "umd:main": "./dist/emotion.umd.min.js" } diff --git a/packages/emotion-server/package.json b/packages/emotion-server/package.json index 616efefac..5a9fdd5e2 100644 --- a/packages/emotion-server/package.json +++ b/packages/emotion-server/package.json @@ -2,7 +2,7 @@ "name": "emotion-server", "version": "9.2.4", "description": "Extract and inline critical css with emotion for server side rendering.", - "main": "lib/index.js", + "main": "dist/index.js", "types": "types/index.d.ts", "files": [ "src", @@ -10,11 +10,7 @@ "types" ], "scripts": { - "build": "npm-run-all clean babel", - "babel": "babel src -d lib", - "clean": "rimraf lib", - "test:typescript": "dtslint types", - "watch": "babel src -d lib --watch" + "test:typescript": "dtslint types" }, "dependencies": { "create-emotion-server": "^9.2.4" @@ -24,13 +20,10 @@ }, "devDependencies": { "@types/react-dom": "16.0.5", - "babel-cli": "^6.24.1", "babel-plugin-emotion": "^9.2.4", "dtslint": "^0.3.0", "emotion": "^9.2.4", - "npm-run-all": "^4.0.2", - "react-emotion": "^9.2.4", - "rimraf": "^2.6.1" + "react-emotion": "^9.2.4" }, "author": "Kye Hohenberger", "homepage": "https://emotion.sh", diff --git a/packages/emotion-theming/package.json b/packages/emotion-theming/package.json index 34afffc98..71c56dc30 100644 --- a/packages/emotion-theming/package.json +++ b/packages/emotion-theming/package.json @@ -3,7 +3,7 @@ "version": "9.2.4", "description": "A CSS-in-JS theming solution, inspired by styled-components", "main": "dist/index.cjs.js", - "module": "dist/index.es.js", + "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "src", @@ -11,11 +11,7 @@ "types" ], "scripts": { - "build": "npm-run-all clean rollup", - "test:typescript": "dtslint types", - "clean": "rimraf dist", - "rollup": "rollup -c ../../rollup.config.js", - "watch": "rollup -c ../../rollup.config.js --watch" + "test:typescript": "dtslint types" }, "repository": "/~https://github.com/emotion-js/emotion/tree/master/packages/emotion-theming", "keywords": [ @@ -37,11 +33,8 @@ "homepage": "https://emotion.sh", "devDependencies": { "@types/react": "16.0.16", - "cross-env": "^5.0.1", "dtslint": "^0.3.0", - "prop-types": "^15.6.1", - "rimraf": "^2.6.1", - "rollup": "^0.60.1" + "prop-types": "^15.6.1" }, "dependencies": { "hoist-non-react-statics": "^2.3.1" @@ -49,5 +42,6 @@ "peerDependencies": { "prop-types": "15.x", "react": "15.x || 16.x" - } + }, + "umd:main": "./dist/emotion.umd.min.js" } diff --git a/packages/emotion/macro.js b/packages/emotion/macro.js index 8a0425955..69ec74c56 100644 --- a/packages/emotion/macro.js +++ b/packages/emotion/macro.js @@ -1 +1 @@ -module.exports = require('babel-plugin-emotion/lib/macro') +module.exports = require('babel-plugin-emotion').macros.emotion diff --git a/packages/emotion/package.json b/packages/emotion/package.json index 77c5b49c2..92acdf77b 100644 --- a/packages/emotion/package.json +++ b/packages/emotion/package.json @@ -3,7 +3,7 @@ "version": "9.2.4", "description": "The Next Generation of CSS-in-JS.", "main": "dist/index.cjs.js", - "module": "dist/index.es.js", + "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "src", @@ -12,11 +12,7 @@ "types" ], "scripts": { - "build": "npm-run-all clean rollup", - "test:typescript": "dtslint types", - "clean": "rimraf dist", - "rollup": "rollup -c ../../rollup.config.js", - "watch": "rollup -c ../../rollup.config.js --watch" + "test:typescript": "dtslint types" }, "dependencies": { "babel-plugin-emotion": "^9.2.4", @@ -24,13 +20,8 @@ }, "devDependencies": { "@types/react": "16.0.16", - "babel-cli": "^6.24.1", "babel-plugin-transform-define": "^1.3.0", - "cross-env": "^5.0.5", - "dtslint": "^0.3.0", - "npm-run-all": "^4.0.2", - "rimraf": "^2.6.1", - "rollup": "^0.60.1" + "dtslint": "^0.3.0" }, "author": "Kye Hohenberger", "homepage": "https://emotion.sh", @@ -45,5 +36,6 @@ ], "bugs": { "url": "/~https://github.com/emotion-js/emotion/issues" - } + }, + "umd:main": "./dist/emotion.umd.min.js" } diff --git a/packages/emotion/test/__snapshots__/sheet.dom.test.js.snap b/packages/emotion/test/__snapshots__/sheet.dom.test.js.snap index ecbd77fad..9494c391e 100644 --- a/packages/emotion/test/__snapshots__/sheet.dom.test.js.snap +++ b/packages/emotion/test/__snapshots__/sheet.dom.test.js.snap @@ -8,8 +8,8 @@ exports[`sheet tags 1`] = ` Array [ , + , ] `; diff --git a/packages/eslint-plugin-emotion/.eslintrc b/packages/eslint-plugin-emotion/.eslintrc new file mode 100644 index 000000000..5dc6d19ac --- /dev/null +++ b/packages/eslint-plugin-emotion/.eslintrc @@ -0,0 +1,5 @@ +{ + "rules": { + "import/no-commonjs": 0 + } +} diff --git a/packages/jest-emotion/package.json b/packages/jest-emotion/package.json index e3420b0fe..bc79d5305 100644 --- a/packages/jest-emotion/package.json +++ b/packages/jest-emotion/package.json @@ -2,18 +2,14 @@ "name": "jest-emotion", "version": "9.2.4", "description": "Jest utilities for emotion", - "main": "lib/index.js", + "main": "dist/index.js", "types": "types/index.d.ts", "files": [ "src", "lib" ], "scripts": { - "build": "npm-run-all clean babel", - "babel": "babel src -d lib", - "test:typescript": "dtslint types", - "watch": "babel src -d lib --watch", - "clean": "rimraf lib" + "test:typescript": "dtslint types" }, "dependencies": { "@types/jest": "^23.0.2", @@ -21,13 +17,10 @@ "css": "^2.2.1" }, "devDependencies": { - "babel-cli": "^6.24.1", "dtslint": "^0.3.0", - "npm-run-all": "^4.0.2", "preact": "^8.2.9", "preact-render-to-json": "^3.6.6", - "pretty-format": "^22.4.3", - "rimraf": "^2.6.1" + "pretty-format": "^22.4.3" }, "author": "Kye Hohenberger", "homepage": "https://emotion.sh", diff --git a/packages/preact-emotion/macro.js b/packages/preact-emotion/macro.js index 4d14dbadd..153d6cd3d 100644 --- a/packages/preact-emotion/macro.js +++ b/packages/preact-emotion/macro.js @@ -1 +1 @@ -module.exports = require('babel-plugin-emotion/lib/macro-styled') +module.exports = require('babel-plugin-emotion').macros.styled diff --git a/packages/preact-emotion/package.json b/packages/preact-emotion/package.json index cf6a3e5a2..d7ad3a99b 100644 --- a/packages/preact-emotion/package.json +++ b/packages/preact-emotion/package.json @@ -3,7 +3,7 @@ "version": "9.2.4", "description": "The Next Generation of CSS-in-JS, for Preact projects.", "main": "dist/index.cjs.js", - "module": "dist/index.es.js", + "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "dist", @@ -12,11 +12,7 @@ "types" ], "scripts": { - "build": "npm-run-all clean rollup", - "clean": "rimraf dist", - "test:typescript": "dtslint types", - "watch": "rollup -c ../../rollup.config.js --watch", - "rollup": "rollup -c ../../rollup.config.js" + "test:typescript": "dtslint types" }, "dependencies": { "babel-plugin-emotion": "^9.2.4", @@ -28,11 +24,8 @@ }, "devDependencies": { "emotion": "^9.2.4", - "npm-run-all": "^4.0.2", "preact": "^8.2.9", - "react-emotion": "^9.2.4", - "rimraf": "^2.6.1", - "rollup": "^0.60.1" + "react-emotion": "^9.2.4" }, "author": "Kye Hohenberger", "homepage": "https://emotion.sh", @@ -48,5 +41,6 @@ ], "bugs": { "url": "/~https://github.com/emotion-js/emotion/issues" - } + }, + "umd:main": "./dist/emotion.umd.min.js" } diff --git a/packages/react-emotion/macro.js b/packages/react-emotion/macro.js index 4d14dbadd..153d6cd3d 100644 --- a/packages/react-emotion/macro.js +++ b/packages/react-emotion/macro.js @@ -1 +1 @@ -module.exports = require('babel-plugin-emotion/lib/macro-styled') +module.exports = require('babel-plugin-emotion').macros.styled diff --git a/packages/react-emotion/package.json b/packages/react-emotion/package.json index 265263193..ae7e379fb 100644 --- a/packages/react-emotion/package.json +++ b/packages/react-emotion/package.json @@ -3,7 +3,7 @@ "version": "9.2.4", "description": "The Next Generation of CSS-in-JS, for React projects.", "main": "dist/index.cjs.js", - "module": "dist/index.es.js", + "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "src", @@ -12,11 +12,7 @@ "types" ], "scripts": { - "build": "npm-run-all clean rollup", - "test:typescript": "dtslint types", - "clean": "rimraf dist", - "rollup": "rollup -c ../../rollup.config.js", - "watch": "rollup -c ../../rollup.config.js --watch" + "test:typescript": "dtslint types" }, "dependencies": { "babel-plugin-emotion": "^9.2.4", @@ -28,12 +24,8 @@ }, "devDependencies": { "@types/react": "16.0.16", - "cross-env": "^5.0.5", "dtslint": "^0.3.0", - "emotion": "^9.2.4", - "npm-run-all": "^4.0.2", - "rimraf": "^2.6.1", - "rollup": "^0.60.1" + "emotion": "^9.2.4" }, "author": "Kye Hohenberger", "homepage": "https://emotion.sh", @@ -48,5 +40,6 @@ ], "bugs": { "url": "/~https://github.com/emotion-js/emotion/issues" - } + }, + "umd:main": "./dist/emotion.umd.min.js" } diff --git a/packages/benchmarks/README.md b/scripts/benchmarks/README.md similarity index 100% rename from packages/benchmarks/README.md rename to scripts/benchmarks/README.md diff --git a/packages/benchmarks/benchmark.js b/scripts/benchmarks/benchmark.js similarity index 100% rename from packages/benchmarks/benchmark.js rename to scripts/benchmarks/benchmark.js diff --git a/packages/benchmarks/createRenderBenchmark.js b/scripts/benchmarks/createRenderBenchmark.js similarity index 100% rename from packages/benchmarks/createRenderBenchmark.js rename to scripts/benchmarks/createRenderBenchmark.js diff --git a/packages/benchmarks/index.html b/scripts/benchmarks/index.html similarity index 100% rename from packages/benchmarks/index.html rename to scripts/benchmarks/index.html diff --git a/packages/benchmarks/index.js b/scripts/benchmarks/index.js similarity index 100% rename from packages/benchmarks/index.js rename to scripts/benchmarks/index.js diff --git a/packages/benchmarks/package.json b/scripts/benchmarks/package.json similarity index 100% rename from packages/benchmarks/package.json rename to scripts/benchmarks/package.json diff --git a/packages/benchmarks/run-headless.js b/scripts/benchmarks/run-headless.js similarity index 100% rename from packages/benchmarks/run-headless.js rename to scripts/benchmarks/run-headless.js diff --git a/packages/benchmarks/send-results.js b/scripts/benchmarks/send-results.js similarity index 100% rename from packages/benchmarks/send-results.js rename to scripts/benchmarks/send-results.js diff --git a/packages/benchmarks/src/components/Box/css-modules.js b/scripts/benchmarks/src/components/Box/css-modules.js similarity index 100% rename from packages/benchmarks/src/components/Box/css-modules.js rename to scripts/benchmarks/src/components/Box/css-modules.js diff --git a/packages/benchmarks/src/components/Box/emotion-css.js b/scripts/benchmarks/src/components/Box/emotion-css.js similarity index 100% rename from packages/benchmarks/src/components/Box/emotion-css.js rename to scripts/benchmarks/src/components/Box/emotion-css.js diff --git a/packages/benchmarks/src/components/Box/emotion-obj.js b/scripts/benchmarks/src/components/Box/emotion-obj.js similarity index 100% rename from packages/benchmarks/src/components/Box/emotion-obj.js rename to scripts/benchmarks/src/components/Box/emotion-obj.js diff --git a/packages/benchmarks/src/components/Box/emotion.js b/scripts/benchmarks/src/components/Box/emotion.js similarity index 100% rename from packages/benchmarks/src/components/Box/emotion.js rename to scripts/benchmarks/src/components/Box/emotion.js diff --git a/packages/benchmarks/src/components/Box/glamor.js b/scripts/benchmarks/src/components/Box/glamor.js similarity index 100% rename from packages/benchmarks/src/components/Box/glamor.js rename to scripts/benchmarks/src/components/Box/glamor.js diff --git a/packages/benchmarks/src/components/Box/glamorous.js b/scripts/benchmarks/src/components/Box/glamorous.js similarity index 100% rename from packages/benchmarks/src/components/Box/glamorous.js rename to scripts/benchmarks/src/components/Box/glamorous.js diff --git a/packages/benchmarks/src/components/Box/styled-components.js b/scripts/benchmarks/src/components/Box/styled-components.js similarity index 100% rename from packages/benchmarks/src/components/Box/styled-components.js rename to scripts/benchmarks/src/components/Box/styled-components.js diff --git a/packages/benchmarks/src/components/Box/styles.css b/scripts/benchmarks/src/components/Box/styles.css similarity index 100% rename from packages/benchmarks/src/components/Box/styles.css rename to scripts/benchmarks/src/components/Box/styles.css diff --git a/packages/benchmarks/src/components/Dot/emotion.js b/scripts/benchmarks/src/components/Dot/emotion.js similarity index 100% rename from packages/benchmarks/src/components/Dot/emotion.js rename to scripts/benchmarks/src/components/Dot/emotion.js diff --git a/packages/benchmarks/src/components/Dot/glamor.js b/scripts/benchmarks/src/components/Dot/glamor.js similarity index 100% rename from packages/benchmarks/src/components/Dot/glamor.js rename to scripts/benchmarks/src/components/Dot/glamor.js diff --git a/packages/benchmarks/src/components/NestedTree.js b/scripts/benchmarks/src/components/NestedTree.js similarity index 100% rename from packages/benchmarks/src/components/NestedTree.js rename to scripts/benchmarks/src/components/NestedTree.js diff --git a/packages/benchmarks/src/components/SierpinskiTriangle.js b/scripts/benchmarks/src/components/SierpinskiTriangle.js similarity index 100% rename from packages/benchmarks/src/components/SierpinskiTriangle.js rename to scripts/benchmarks/src/components/SierpinskiTriangle.js diff --git a/packages/benchmarks/src/components/View/css-modules.js b/scripts/benchmarks/src/components/View/css-modules.js similarity index 100% rename from packages/benchmarks/src/components/View/css-modules.js rename to scripts/benchmarks/src/components/View/css-modules.js diff --git a/packages/benchmarks/src/components/View/emotion-css.js b/scripts/benchmarks/src/components/View/emotion-css.js similarity index 100% rename from packages/benchmarks/src/components/View/emotion-css.js rename to scripts/benchmarks/src/components/View/emotion-css.js diff --git a/packages/benchmarks/src/components/View/emotion-obj.js b/scripts/benchmarks/src/components/View/emotion-obj.js similarity index 100% rename from packages/benchmarks/src/components/View/emotion-obj.js rename to scripts/benchmarks/src/components/View/emotion-obj.js diff --git a/packages/benchmarks/src/components/View/emotion.js b/scripts/benchmarks/src/components/View/emotion.js similarity index 100% rename from packages/benchmarks/src/components/View/emotion.js rename to scripts/benchmarks/src/components/View/emotion.js diff --git a/packages/benchmarks/src/components/View/glamor.js b/scripts/benchmarks/src/components/View/glamor.js similarity index 100% rename from packages/benchmarks/src/components/View/glamor.js rename to scripts/benchmarks/src/components/View/glamor.js diff --git a/packages/benchmarks/src/components/View/glamorous.js b/scripts/benchmarks/src/components/View/glamorous.js similarity index 100% rename from packages/benchmarks/src/components/View/glamorous.js rename to scripts/benchmarks/src/components/View/glamorous.js diff --git a/packages/benchmarks/src/components/View/styled-components.js b/scripts/benchmarks/src/components/View/styled-components.js similarity index 100% rename from packages/benchmarks/src/components/View/styled-components.js rename to scripts/benchmarks/src/components/View/styled-components.js diff --git a/packages/benchmarks/src/components/View/styles.css b/scripts/benchmarks/src/components/View/styles.css similarity index 100% rename from packages/benchmarks/src/components/View/styles.css rename to scripts/benchmarks/src/components/View/styles.css diff --git a/packages/benchmarks/src/components/Wrapper/emotion.js b/scripts/benchmarks/src/components/Wrapper/emotion.js similarity index 100% rename from packages/benchmarks/src/components/Wrapper/emotion.js rename to scripts/benchmarks/src/components/Wrapper/emotion.js diff --git a/packages/benchmarks/src/components/Wrapper/glamor.js b/scripts/benchmarks/src/components/Wrapper/glamor.js similarity index 100% rename from packages/benchmarks/src/components/Wrapper/glamor.js rename to scripts/benchmarks/src/components/Wrapper/glamor.js diff --git a/packages/benchmarks/src/css-modules.js b/scripts/benchmarks/src/css-modules.js similarity index 100% rename from packages/benchmarks/src/css-modules.js rename to scripts/benchmarks/src/css-modules.js diff --git a/packages/benchmarks/src/emotion-css.js b/scripts/benchmarks/src/emotion-css.js similarity index 100% rename from packages/benchmarks/src/emotion-css.js rename to scripts/benchmarks/src/emotion-css.js diff --git a/packages/benchmarks/src/emotion-obj.js b/scripts/benchmarks/src/emotion-obj.js similarity index 100% rename from packages/benchmarks/src/emotion-obj.js rename to scripts/benchmarks/src/emotion-obj.js diff --git a/packages/benchmarks/src/emotion.js b/scripts/benchmarks/src/emotion.js similarity index 100% rename from packages/benchmarks/src/emotion.js rename to scripts/benchmarks/src/emotion.js diff --git a/packages/benchmarks/src/glamor.js b/scripts/benchmarks/src/glamor.js similarity index 100% rename from packages/benchmarks/src/glamor.js rename to scripts/benchmarks/src/glamor.js diff --git a/packages/benchmarks/src/glamorous.js b/scripts/benchmarks/src/glamorous.js similarity index 100% rename from packages/benchmarks/src/glamorous.js rename to scripts/benchmarks/src/glamorous.js diff --git a/packages/benchmarks/src/styled-components.js b/scripts/benchmarks/src/styled-components.js similarity index 100% rename from packages/benchmarks/src/styled-components.js rename to scripts/benchmarks/src/styled-components.js diff --git a/packages/benchmarks/tests/renderDeepTree.js b/scripts/benchmarks/tests/renderDeepTree.js similarity index 100% rename from packages/benchmarks/tests/renderDeepTree.js rename to scripts/benchmarks/tests/renderDeepTree.js diff --git a/packages/benchmarks/tests/renderSierpinskiTriangle.js b/scripts/benchmarks/tests/renderSierpinskiTriangle.js similarity index 100% rename from packages/benchmarks/tests/renderSierpinskiTriangle.js rename to scripts/benchmarks/tests/renderSierpinskiTriangle.js diff --git a/packages/benchmarks/tests/renderWideTree.js b/scripts/benchmarks/tests/renderWideTree.js similarity index 100% rename from packages/benchmarks/tests/renderWideTree.js rename to scripts/benchmarks/tests/renderWideTree.js diff --git a/packages/benchmarks/webpack.config.js b/scripts/benchmarks/webpack.config.js similarity index 100% rename from packages/benchmarks/webpack.config.js rename to scripts/benchmarks/webpack.config.js diff --git a/scripts/build/__tests__/__snapshots__/add-constructor-react.js.snap b/scripts/build/__tests__/__snapshots__/add-constructor-react.js.snap new file mode 100644 index 000000000..50033c427 --- /dev/null +++ b/scripts/build/__tests__/__snapshots__/add-constructor-react.js.snap @@ -0,0 +1,74 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`add-basic-constructor-to-react-component basic 1`] = ` +" + class Thing extends React.Component { + thing = true; + } + + ↓ ↓ ↓ ↓ ↓ ↓ + +class Thing extends React.Component { + constructor(props) { + super(props); + this.thing = true; + } + +}" +`; + +exports[`add-basic-constructor-to-react-component does not modify if there is already a constructor 1`] = ` +"class Thing2 extends React.Component { + constructor(props, otherThing) { + super(props, otherThing); + } + ok = true; + } + + ↓ ↓ ↓ ↓ ↓ ↓ + +class Thing2 extends React.Component { + constructor(props, otherThing) { + super(props, otherThing); + this.ok = true; + } + +}" +`; + +exports[`add-basic-constructor-to-react-component does not modify other non react components 1`] = ` +" class Thing3 { + ok = true; + } + class Thing4 extends Thing3 { + ok = true; + } + class Thing5 extends Thing3.OtherThing { + ok = true; + } + + ↓ ↓ ↓ ↓ ↓ ↓ + +class Thing3 { + constructor() { + this.ok = true; + } + +} + +class Thing4 extends Thing3 { + constructor(...args) { + super(...args); + this.ok = true; + } + +} + +class Thing5 extends Thing3.OtherThing { + constructor(...args) { + super(...args); + this.ok = true; + } + +}" +`; diff --git a/scripts/build/__tests__/add-constructor-react.js b/scripts/build/__tests__/add-constructor-react.js new file mode 100644 index 000000000..6456a4a1a --- /dev/null +++ b/scripts/build/__tests__/add-constructor-react.js @@ -0,0 +1,48 @@ +// @flow +import cases from 'jest-in-case' +import * as babel from '@babel/core' +import plugin from '../add-basic-constructor-to-react-component' + +const separator = '\n\n ↓ ↓ ↓ ↓ ↓ ↓\n\n' + +cases( + 'add-basic-constructor-to-react-component', + opts => { + const { code } = babel.transformSync(opts.code, { + plugins: [ + plugin, + ['@babel/plugin-proposal-class-properties', { loose: true }] + ], + babelrc: false, + filename: __filename + }) + expect(`${opts.code}${separator}${code}`).toMatchSnapshot() + }, + { + basic: { + code: ` + class Thing extends React.Component { + thing = true; + }` + }, + 'does not modify if there is already a constructor': { + code: `class Thing2 extends React.Component { + constructor(props, otherThing) { + super(props, otherThing); + } + ok = true; + }` + }, + 'does not modify other non react components': { + code: ` class Thing3 { + ok = true; + } + class Thing4 extends Thing3 { + ok = true; + } + class Thing5 extends Thing3.OtherThing { + ok = true; + }` + } + } +) diff --git a/scripts/build/add-basic-constructor-to-react-component.js b/scripts/build/add-basic-constructor-to-react-component.js new file mode 100644 index 000000000..b18b4d517 --- /dev/null +++ b/scripts/build/add-basic-constructor-to-react-component.js @@ -0,0 +1,40 @@ +// this is to avoid the spread argument helper for react component constructors +// https://runkit.com/mitchellhamilton/5b370eeaf5b34c0012874d92 +// without this, the constructor's arguments will be iterated over and put in an array +module.exports = function(babel) { + const { types: t } = babel + let isReactComponent = t.buildMatchMemberExpression('React.Component') + let isReactPureComponent = t.buildMatchMemberExpression('React.PureComponent') + + let hasConstructor = body => + body.length && + body.some(node => { + return ( + t.isClassMethod(node) && + t.isIdentifier(node.key) && + node.key.name === 'constructor' + ) + }) + return { + name: 'ast-transform', // not required + visitor: { + Class(path) { + if ( + (isReactComponent(path.node.superClass) || + isReactPureComponent(path.node.superClass)) && + !hasConstructor(path.node.body.body) + ) { + path.node.body.body.unshift( + babel.template` + class Thing { + constructor(props) { + super(props); + } + } + `({}).body.body[0] + ) + } + } + } + } +} diff --git a/scripts/build/change-packages.js b/scripts/build/change-packages.js new file mode 100644 index 000000000..4badef0d6 --- /dev/null +++ b/scripts/build/change-packages.js @@ -0,0 +1,30 @@ +// @flow +const { getPackages } = require('./utils') +const { promisify } = require('util') +const fs = require('fs') +const path = require('path') +const writeFile = promisify(fs.writeFile) + +// this is a helper script to modify the package.json contents of all the packages +// change this to do whatever modifications you need to do to all of the packages + +async function changePackages() { + const packages = await getPackages() + + await Promise.all( + packages.map(async ({ pkg, path: pkgPath }) => { + // you can transform the package.json contents here + + if (pkg.module) { + pkg.module = pkg.module.replace('.es.js', '.esm.js') + } + + await writeFile( + path.resolve(pkgPath, 'package.json'), + JSON.stringify(pkg, null, 2) + '\n' + ) + }) + ) +} + +changePackages() diff --git a/scripts/build/fix-dce-for-classes-with-statics.js b/scripts/build/fix-dce-for-classes-with-statics.js new file mode 100644 index 000000000..1617b893e --- /dev/null +++ b/scripts/build/fix-dce-for-classes-with-statics.js @@ -0,0 +1,65 @@ +// this is temporary fix until /~https://github.com/babel/babel/pull/6963 +// i know this is super hacky +module.exports = function plugin(babel) { + let t = babel.types + return { + visitor: { + CallExpression(path, state) { + let programPath = state.file.path + if ( + looksLike(path.node, { + leadingComments: val => + val && val.some(comment => /[@#]__PURE__/.test(comment.value)), + callee: { + type: 'FunctionExpression' + } + }) && + t.isVariableDeclarator(path.parentPath.node) + ) { + programPath.get('body').forEach(statementPath => { + if ( + looksLike(statementPath.node, { + type: 'ExpressionStatement', + expression: { + type: 'AssignmentExpression', + operator: '=', + left: { + type: 'MemberExpression', + object: { + type: 'Identifier', + name: path.parent.id.name + } + } + } + }) + ) { + path.node.callee.body.body.splice( + path.node.callee.body.body.length - 1, + 0, + t.cloneDeep(statementPath.node) + ) + statementPath.remove() + } + }) + } + } + } + } +} + +function looksLike(a, b) { + return ( + a && + b && + Object.keys(b).every(bKey => { + const bVal = b[bKey] + const aVal = a[bKey] + if (typeof bVal === 'function') { + return bVal(aVal) + } + return typeof bVal === 'object' && bVal !== null + ? looksLike(aVal, bVal) + : bVal === aVal + }) + ) +} diff --git a/scripts/build/index.js b/scripts/build/index.js new file mode 100644 index 000000000..d943ea4fb --- /dev/null +++ b/scripts/build/index.js @@ -0,0 +1,66 @@ +// @flow +const rollup = require('rollup') +// const fs = require('fs') +// const { promisify } = require('util') +const chalk = require('chalk') +const { getPackages, cleanDist } = require('./utils') + +// const writeFile = promisify(fs.writeFile) + +async function doBuild() { + let packages = await getPackages() + if (process.argv.length > 2) { + packages = packages.filter(pkg => { + return process.argv.indexOf(pkg.name) !== -1 + }) + } + await Promise.all( + packages.map(async pkg => { + await cleanDist(pkg.path) + let someBundle + await Promise.all( + pkg.configs.map(async config => { + const bundle = await rollup.rollup(config.config) + if (!someBundle) someBundle = bundle + + await Promise.all( + config.outputConfigs.map(outputConfig => { + return bundle.write(outputConfig) + }) + ) + }) + ) + if (pkg.configs.length) { + console.log(chalk.magenta(`Generated bundles for`, pkg.pkg.name)) + } + // if (!pkg.name.endsWith('.macro')) { + // await writeFlowFiles( + // pkg.outputConfigs.map(({ file }) => file), + // someBundle.exports + // ) + // console.log(chalk.magenta('Wrote flow files for', pkg.pkg.name)) + // } + }) + ) +} + +// async function writeFlowFiles(paths, exportNames) { +// return Promise.all( +// paths.map(async path => { +// await writeFile( +// path + '.flow', +// `// @flow +// export * from '../src/index.js'${ +// exportNames.indexOf('default') !== -1 +// ? `\nexport { default } from '../src/index.js'` +// : '' +// }\n` +// ) +// }) +// ) +// } + +doBuild().catch(err => { + console.error(err) + process.exitCode = 1 +}) diff --git a/scripts/build/inline-isBrowser.js b/scripts/build/inline-isBrowser.js new file mode 100644 index 000000000..d722f3675 --- /dev/null +++ b/scripts/build/inline-isBrowser.js @@ -0,0 +1,56 @@ +let createMacros = babel => { + let t = babel.types + let replaceWithBoolean = bool => ({ references }) => { + references.forEach(references => { + references.replaceWith(t.booleanLiteral(bool)) + }) + } + return { + '@emotion/utils': { + isBrowser: replaceWithBoolean(true), + shouldSerializeToReactTree: replaceWithBoolean(false) + } + } +} + +module.exports = babel => { + let macros = createMacros(babel) + return { + name: 'inline-isBrowser', + visitor: { + ImportDeclaration(path, state) { + if (macros[path.node.source.value] === undefined) { + return + } + + path.node.specifiers = path.node.specifiers.filter(specifier => { + let localName = specifier.local.name + let importedName = + specifier.type === 'ImportDefaultSpecifier' + ? 'default' + : specifier.imported.name + if (!macros[path.node.source.value][importedName]) { + return true + } + let binding = path.scope.getBinding(localName) + if (!binding) { + return true + } + + if (binding.referencePaths.length) { + macros[path.node.source.value][importedName]({ + references: binding.referencePaths, + state, + babel + }) + } + return false + }) + + if (!path.node.specifiers.length) { + path.remove() + } + } + } + } +} diff --git a/scripts/build/package.json b/scripts/build/package.json new file mode 100644 index 000000000..c2901b89f --- /dev/null +++ b/scripts/build/package.json @@ -0,0 +1,16 @@ +{ + "name": "build", + "version": "0.5.7", + "private": true, + "dependencies": { + "chalk": "^2.3.2", + "del": "^3.0.0", + "rollup": "^0.62.0", + "rollup-plugin-alias": "^1.4.0", + "rollup-plugin-babel": "4.0.0-beta.7", + "rollup-plugin-commonjs": "^9.1.3", + "rollup-plugin-node-resolve": "^3.3.0", + "rollup-plugin-replace": "^2.0.0", + "rollup-plugin-uglify": "^4.0.0" + } +} diff --git a/scripts/build/rollup.config.js b/scripts/build/rollup.config.js new file mode 100644 index 000000000..24ac41104 --- /dev/null +++ b/scripts/build/rollup.config.js @@ -0,0 +1,156 @@ +// @flow +const resolve = require('rollup-plugin-node-resolve') +const { uglify } = require('rollup-plugin-uglify') +const babel = require('rollup-plugin-babel') +const alias = require('rollup-plugin-alias') +const cjs = require('rollup-plugin-commonjs') +const replace = require('rollup-plugin-replace') +const path = require('path') +const lernaAliases = require('lerna-alias').rollup + +// this makes sure nested imports of external packages are external +const makeExternalPredicate = externalArr => { + if (externalArr.length === 0) { + return () => false + } + const pattern = new RegExp(`^(${externalArr.join('|')})($|/)`) + return (id /*: string */) => pattern.test(id) +} + +let unsafeRequire = require + +function getChildPeerDeps(finalPeerDeps, depKeys) { + depKeys.forEach(key => { + const pkgJson = unsafeRequire(key + '/package.json') + if (pkgJson.peerDependencies) { + finalPeerDeps.push(...Object.keys(pkgJson.peerDependencies)) + getChildPeerDeps(finalPeerDeps, Object.keys(pkgJson.peerDependencies)) + } + // if (pkgJson.dependencies) { + // getChildPeerDeps(finalPeerDeps, Object.keys(pkgJson.dependencies)) + // } + }) +} + +/*:: + +import type { Package } from './types' +*/ +module.exports = ( + data /*: Package */, + { + isUMD = false, + isBrowser = false + } /*: { isUMD:boolean, isBrowser:boolean } */ = {} +) => { + const { pkg } = data + let external = [] + if (pkg.peerDependencies) { + external.push(...Object.keys(pkg.peerDependencies)) + } + if (pkg.dependencies && !isUMD) { + external.push(...Object.keys(pkg.dependencies)) + } + getChildPeerDeps(external, external) + external.push('fs', 'path') + if (data.name === 'react-emotion' || data.name === 'preact-emotion') { + external = external.filter(name => name !== 'emotion') + } + + const config = { + input: path.resolve(data.path, 'src', 'index.js'), + external: makeExternalPredicate(external), + plugins: [ + babel({ + presets: [ + [ + '@babel/env', + { + loose: true, + modules: false, + exclude: ['transform-typeof-symbol'] + } + ], + '@babel/react', + '@babel/flow' + ], + plugins: [ + '@babel/plugin-transform-flow-strip-types', + require('./add-basic-constructor-to-react-component'), + 'codegen', + ['@babel/proposal-class-properties', { loose: true }], + require('./fix-dce-for-classes-with-statics'), + isBrowser && require('./inline-isBrowser'), + isBrowser && + (babel => { + let t = babel.types + return { + // for @emotion/utils + visitor: { + VariableDeclarator(path, state) { + if (t.isIdentifier(path.node.id)) { + if (path.node.id.name === 'isBrowser') { + path.get('init').replaceWith(t.booleanLiteral(true)) + } + if (path.node.id.name === 'shouldSerializeToReactTree') { + path.get('init').replaceWith(t.booleanLiteral(false)) + } + } + }, + ReferencedIdentifier(path, node) { + if (path.node.name === 'shouldSerializeToReactTree') { + path.replaceWith(t.booleanLiteral(false)) + } + } + } + } + }), + ['@babel/plugin-proposal-object-rest-spread', { loose: true }] + ].filter(Boolean), + overrides: [ + { + test: filename => filename.includes('packages/utils'), + plugins: [ + isBrowser && + (babel => { + let t = babel.types + return { + // for @emotion/utils + visitor: { + VariableDeclarator(path, state) { + if (t.isIdentifier(path.node.id)) { + if (path.node.id.name === 'isBrowser') { + path.get('init').replaceWith(t.booleanLiteral(true)) + } + if ( + path.node.id.name === 'shouldSerializeToReactTree' + ) { + path + .get('init') + .replaceWith(t.booleanLiteral(false)) + } + } + }, + ReferencedIdentifier(path, node) { + if (path.node.name === 'shouldSerializeToReactTree') { + path.replaceWith(t.booleanLiteral(false)) + } + } + } + } + }) + ].filter(Boolean) + } + ], + babelrc: false + }), + cjs(), + isUMD && alias(lernaAliases()), + isUMD && resolve(), + isUMD && replace({ 'process.env.NODE_ENV': '"production"' }), + isUMD && uglify() + ].filter(Boolean) + } + + return config +} diff --git a/scripts/build/types.js b/scripts/build/types.js new file mode 100644 index 000000000..23086edd6 --- /dev/null +++ b/scripts/build/types.js @@ -0,0 +1,12 @@ +// @flow + +/*:: + +export type Package = { + configs: Array<*>, + path: string, + name: string, + pkg: Object +} + +*/ diff --git a/scripts/build/utils.js b/scripts/build/utils.js new file mode 100644 index 000000000..4e0a56f70 --- /dev/null +++ b/scripts/build/utils.js @@ -0,0 +1,104 @@ +// @flow +const path = require('path') +const del = require('del') +const { promisify } = require('util') +const fs = require('fs') +const makeRollupConfig = require('./rollup.config') +const camelize = require('fbjs/lib/camelize') + +const readdir = promisify(fs.readdir) + +const rootPath = path.resolve(__dirname, '..', '..') + +exports.rootPath = rootPath + +exports.cleanDist = async function cleanDist(pkgPath /*: string */) { + await del(`${pkgPath}/dist`) +} + +/*:: +import type { Package } from './types' +*/ + +let unsafeRequire = require + +exports.getPackages = async function getPackages() /*: Promise> */ { + // we're intentionally not getting all the packages that are part of the monorepo + // we only want ones in packages + const packagePaths = (await readdir(path.join(rootPath, 'packages'))).map( + pkg => path.join(rootPath, 'packages', pkg) + ) + const packages = packagePaths.map(packagePath => { + const fullPackagePath = path.resolve(rootPath, packagePath) + let pkgJSON = unsafeRequire(path.resolve(fullPackagePath, 'package.json')) + const ret /*: Package */ = { + path: fullPackagePath, + pkg: pkgJSON, + configs: [], + name: pkgJSON.name + } + + if (ret.pkg.main && !ret.pkg.main.includes('src')) { + ret.configs.push({ + config: makeRollupConfig(ret), + outputConfigs: getOutputConfigs(ret) + }) + } + if (ret.pkg['umd:main']) { + ret.configs.push({ + config: makeRollupConfig(ret, { isBrowser: true, isUMD: true }), + outputConfigs: [getUMDOutputConfig(ret)] + }) + } + if (ret.pkg.browser) { + ret.configs.push({ + config: makeRollupConfig(ret, { isBrowser: true, isUMD: false }), + outputConfigs: getOutputConfigs(ret, true) + }) + } + return ret + }) + return packages +} + +function getPath(pkg, field, isBrowser) { + return path.resolve( + pkg.path, + isBrowser && pkg.pkg.browser && pkg.pkg.browser['./' + pkg.pkg[field]] + ? pkg.pkg.browser['./' + pkg.pkg[field]] + : pkg.pkg[field] + ) +} + +function getOutputConfigs(pkg, isBrowser = false) { + const cjsPath = getPath(pkg, 'main', isBrowser) + let configs = [ + { + format: 'cjs', + sourcemap: true, + file: cjsPath + } + ] + if (pkg.pkg.module) { + const esmPath = getPath(pkg, 'module', isBrowser) + + configs.push({ + format: 'es', + sourcemap: true, + file: esmPath + }) + } + return configs +} + +function getUMDOutputConfig(pkg) { + const UMDPath = path.resolve(pkg.path, pkg.pkg['umd:main']) + let name = camelize(pkg.pkg.name.replace('@', '').replace('/', '-')) + return { + format: 'umd', + sourcemap: true, + file: UMDPath, + name, + globals: { react: 'React', '@emotion/core': 'emotionCore' } + } +} diff --git a/scripts/build/watch.js b/scripts/build/watch.js new file mode 100644 index 000000000..7e8d9fcfe --- /dev/null +++ b/scripts/build/watch.js @@ -0,0 +1,79 @@ +// @flow +const rollup = require('rollup') +const chalk = require('chalk') +const path = require('path') +const ms = require('ms') +const { getPackages, cleanDist } = require('./utils') + +function relativePath(id) { + return path.relative(process.cwd(), id) +} + +async function watch() { + const packages = await getPackages() + await Promise.all( + packages.map(async pkg => { + await cleanDist(pkg.path) + }) + ) + let configs = packages.reduce((configs, pkg) => { + return configs.concat( + pkg.configs.map(config => { + return Object.assign({}, config.config, { + output: config.outputConfigs + }) + }) + ) + }, []) + const watcher = rollup.watch(configs) + watcher.on('event', event => { + // /~https://github.com/rollup/rollup/blob/aed954e4e6e8beabd47268916ff0955fbb20682d/bin/src/run/watch.ts#L71-L115 + switch (event.code) { + case 'FATAL': { + console.error(chalk.red('There was a fatal error...')) + console.error(event.error) + process.exit(1) + } + + case 'ERROR': { + console.error(chalk.red('There was an error...')) + console.error(event.error) + break + } + + case 'START': + console.log(chalk.underline(`started watching...`)) + break + + case 'BUNDLE_START': { + console.log( + chalk.cyan( + `bundles ${chalk.bold( + typeof event.input === 'string' + ? relativePath(event.input) + : event.input.map(relativePath).join(', ') + )} → ${chalk.bold(event.output.map(relativePath).join(', '))}...` + ) + ) + break + } + + case 'BUNDLE_END': { + console.log( + chalk.green( + `created ${chalk.bold( + event.output.map(relativePath).join(', ') + )} in ${chalk.bold(ms(event.duration))}` + ) + ) + break + } + + case 'END': { + console.log(chalk.cyan(`waiting for changes...`)) + } + } + }) +} + +watch() diff --git a/packages/site/README.md b/site/README.md similarity index 100% rename from packages/site/README.md rename to site/README.md diff --git a/packages/site/docs-yaml.js b/site/docs-yaml.js similarity index 74% rename from packages/site/docs-yaml.js rename to site/docs-yaml.js index d1eaa39e1..4fbe7b881 100644 --- a/packages/site/docs-yaml.js +++ b/site/docs-yaml.js @@ -1,7 +1,7 @@ const fs = require('fs') const path = require('path') const yaml = require('js-yaml') -const packageYamlPath = path.resolve(__dirname, '../../docs/docs.yaml') +const packageYamlPath = path.resolve(__dirname, '../docs/docs.yaml') module.exports = () => { const yamlString = fs.readFileSync(packageYamlPath).toString() diff --git a/packages/site/gatsby-config.js b/site/gatsby-config.js similarity index 89% rename from packages/site/gatsby-config.js rename to site/gatsby-config.js index ea4c2dee9..63f4a39a0 100644 --- a/packages/site/gatsby-config.js +++ b/site/gatsby-config.js @@ -9,7 +9,7 @@ module.exports = { title: `emotion` }, plugins: packages - .map(pkg => path.resolve(`${__dirname}/../${pkg}/README.md`)) + .map(pkg => path.resolve(`${__dirname}/../packages/${pkg}/README.md`)) .map(file => ({ resolve: 'gatsby-source-filesystem', options: { @@ -21,13 +21,13 @@ module.exports = { resolve: 'gatsby-source-filesystem', options: { name: 'docs', - path: `${__dirname}/../../docs` + path: `${__dirname}/../docs` } }, { resolve: 'gatsby-source-filesystem', options: { - path: `${__dirname}/../../emotion.png` + path: `${__dirname}/../emotion.png` } }, { @@ -35,7 +35,7 @@ module.exports = { // /~https://github.com/gatsbyjs/gatsby/issues/5887 resolve: `gatsby-plugin-favicon-fork`, options: { - logo: `${__dirname}/../../emotion.png`, + logo: `${__dirname}/../emotion.png`, injectHTML: true, icons: { android: false, diff --git a/packages/site/gatsby-node.js b/site/gatsby-node.js similarity index 88% rename from packages/site/gatsby-node.js rename to site/gatsby-node.js index 7a29fae46..0b78063f7 100644 --- a/packages/site/gatsby-node.js +++ b/site/gatsby-node.js @@ -5,9 +5,9 @@ global.Babel = require('babel-standalone') exports.onCreateWebpackConfig = ({ stage, actions, plugins, getConfig }) => { actions.setWebpackConfig({ - plugins: [plugins.ignore(/^(xor|props)$/)], + // xor and props are for react-live and cosmiconfig is for babel-plugin-macros + plugins: [plugins.ignore(/^(xor|props|cosmiconfig)$/)], resolve: { - modules: ['node_modules'], alias: { assert: 'fbjs/lib/emptyFunction', 'source-map': 'fbjs/lib/emptyFunction', @@ -28,6 +28,9 @@ exports.onCreateWebpackConfig = ({ stage, actions, plugins, getConfig }) => { ...config.output, // this doesn't seem to always merge correctly with `setWebpackConfig` for some reason // so i'm setting it here + // this is here because it defaults to window and is used for hot reloading and other stuff + // so if this wasn't here, the web worker would break + // since it would try to access window globalObject: 'this' }, module: { diff --git a/packages/site/package.json b/site/package.json similarity index 98% rename from packages/site/package.json rename to site/package.json index b02aeb8d5..b5c4ed530 100644 --- a/packages/site/package.json +++ b/site/package.json @@ -26,7 +26,6 @@ "gatsby-plugin-emotion": "^2.0.0-beta.2", "gatsby-plugin-netlify": "1.0.19-11", "gatsby-plugin-react-helmet": "^3.0.0-beta.3", - "gatsby-plugin-react-next": "next", "gatsby-plugin-sharp": "^2.0.0-beta.2", "gatsby-plugin-sitemap": "^2.0.0-beta.2", "gatsby-remark-autolink-headers": "^2.0.0-beta.3", diff --git a/packages/site/plugins/gatsby-plugin-emotion-next-compat/gatsby-browser.js b/site/plugins/gatsby-plugin-emotion-next-compat/gatsby-browser.js similarity index 100% rename from packages/site/plugins/gatsby-plugin-emotion-next-compat/gatsby-browser.js rename to site/plugins/gatsby-plugin-emotion-next-compat/gatsby-browser.js diff --git a/packages/site/plugins/gatsby-plugin-emotion-next-compat/gatsby-node.js b/site/plugins/gatsby-plugin-emotion-next-compat/gatsby-node.js similarity index 100% rename from packages/site/plugins/gatsby-plugin-emotion-next-compat/gatsby-node.js rename to site/plugins/gatsby-plugin-emotion-next-compat/gatsby-node.js diff --git a/packages/site/plugins/gatsby-plugin-emotion-next-compat/gatsby-ssr.js b/site/plugins/gatsby-plugin-emotion-next-compat/gatsby-ssr.js similarity index 100% rename from packages/site/plugins/gatsby-plugin-emotion-next-compat/gatsby-ssr.js rename to site/plugins/gatsby-plugin-emotion-next-compat/gatsby-ssr.js diff --git a/packages/site/plugins/gatsby-plugin-emotion-next-compat/package.json b/site/plugins/gatsby-plugin-emotion-next-compat/package.json similarity index 100% rename from packages/site/plugins/gatsby-plugin-emotion-next-compat/package.json rename to site/plugins/gatsby-plugin-emotion-next-compat/package.json diff --git a/packages/site/plugins/gatsby-plugin-favicon-fork/gatsby-node.js b/site/plugins/gatsby-plugin-favicon-fork/gatsby-node.js similarity index 100% rename from packages/site/plugins/gatsby-plugin-favicon-fork/gatsby-node.js rename to site/plugins/gatsby-plugin-favicon-fork/gatsby-node.js diff --git a/packages/site/plugins/gatsby-plugin-favicon-fork/gatsby-ssr.js b/site/plugins/gatsby-plugin-favicon-fork/gatsby-ssr.js similarity index 100% rename from packages/site/plugins/gatsby-plugin-favicon-fork/gatsby-ssr.js rename to site/plugins/gatsby-plugin-favicon-fork/gatsby-ssr.js diff --git a/packages/site/plugins/gatsby-plugin-favicon-fork/package.json b/site/plugins/gatsby-plugin-favicon-fork/package.json similarity index 100% rename from packages/site/plugins/gatsby-plugin-favicon-fork/package.json rename to site/plugins/gatsby-plugin-favicon-fork/package.json diff --git a/packages/site/plugins/gatsby-remark-change-awesome/index.js b/site/plugins/gatsby-remark-change-awesome/index.js similarity index 100% rename from packages/site/plugins/gatsby-remark-change-awesome/index.js rename to site/plugins/gatsby-remark-change-awesome/index.js diff --git a/packages/site/plugins/gatsby-remark-change-awesome/package.json b/site/plugins/gatsby-remark-change-awesome/package.json similarity index 100% rename from packages/site/plugins/gatsby-remark-change-awesome/package.json rename to site/plugins/gatsby-remark-change-awesome/package.json diff --git a/packages/site/plugins/gatsby-remark-fix-links/index.js b/site/plugins/gatsby-remark-fix-links/index.js similarity index 100% rename from packages/site/plugins/gatsby-remark-fix-links/index.js rename to site/plugins/gatsby-remark-fix-links/index.js diff --git a/packages/site/plugins/gatsby-remark-fix-links/package.json b/site/plugins/gatsby-remark-fix-links/package.json similarity index 100% rename from packages/site/plugins/gatsby-remark-fix-links/package.json rename to site/plugins/gatsby-remark-fix-links/package.json diff --git a/packages/site/plugins/gatsby-remark-live-code/index.js b/site/plugins/gatsby-remark-live-code/index.js similarity index 89% rename from packages/site/plugins/gatsby-remark-live-code/index.js rename to site/plugins/gatsby-remark-live-code/index.js index 8077929fb..afab0a29d 100644 --- a/packages/site/plugins/gatsby-remark-live-code/index.js +++ b/site/plugins/gatsby-remark-live-code/index.js @@ -11,7 +11,7 @@ module.exports = ({ markdownAST }) => { }" compiled="${ Babel.transform(node.value, { presets: ['es2015', 'react', 'stage-1'], - plugins: [require('babel-plugin-emotion')] + plugins: [require('babel-plugin-emotion').default] }).code }">` } diff --git a/packages/site/plugins/gatsby-remark-live-code/package.json b/site/plugins/gatsby-remark-live-code/package.json similarity index 100% rename from packages/site/plugins/gatsby-remark-live-code/package.json rename to site/plugins/gatsby-remark-live-code/package.json diff --git a/packages/site/plugins/gatsby-remark-remove-readme-titles/index.js b/site/plugins/gatsby-remark-remove-readme-titles/index.js similarity index 100% rename from packages/site/plugins/gatsby-remark-remove-readme-titles/index.js rename to site/plugins/gatsby-remark-remove-readme-titles/index.js diff --git a/packages/site/plugins/gatsby-remark-remove-readme-titles/package.json b/site/plugins/gatsby-remark-remove-readme-titles/package.json similarity index 100% rename from packages/site/plugins/gatsby-remark-remove-readme-titles/package.json rename to site/plugins/gatsby-remark-remove-readme-titles/package.json diff --git a/packages/site/src/.eslintrc.js b/site/src/.eslintrc.js similarity index 100% rename from packages/site/src/.eslintrc.js rename to site/src/.eslintrc.js diff --git a/packages/site/src/assets/logo.png b/site/src/assets/logo.png similarity index 100% rename from packages/site/src/assets/logo.png rename to site/src/assets/logo.png diff --git a/packages/site/src/components/Box.js b/site/src/components/Box.js similarity index 100% rename from packages/site/src/components/Box.js rename to site/src/components/Box.js diff --git a/packages/site/src/components/DocMetadata.js b/site/src/components/DocMetadata.js similarity index 100% rename from packages/site/src/components/DocMetadata.js rename to site/src/components/DocMetadata.js diff --git a/packages/site/src/components/DocSidebar.js b/site/src/components/DocSidebar.js similarity index 100% rename from packages/site/src/components/DocSidebar.js rename to site/src/components/DocSidebar.js diff --git a/packages/site/src/components/DocWrapper.js b/site/src/components/DocWrapper.js similarity index 100% rename from packages/site/src/components/DocWrapper.js rename to site/src/components/DocWrapper.js diff --git a/packages/site/src/components/Link.js b/site/src/components/Link.js similarity index 100% rename from packages/site/src/components/Link.js rename to site/src/components/Link.js diff --git a/packages/site/src/components/Playground.js b/site/src/components/Playground.js similarity index 100% rename from packages/site/src/components/Playground.js rename to site/src/components/Playground.js diff --git a/packages/site/src/components/RenderHAST.js b/site/src/components/RenderHAST.js similarity index 100% rename from packages/site/src/components/RenderHAST.js rename to site/src/components/RenderHAST.js diff --git a/packages/site/src/components/Search.js b/site/src/components/Search.js similarity index 100% rename from packages/site/src/components/Search.js rename to site/src/components/Search.js diff --git a/packages/site/src/components/Title.js b/site/src/components/Title.js similarity index 100% rename from packages/site/src/components/Title.js rename to site/src/components/Title.js diff --git a/packages/site/src/components/live/compile.js b/site/src/components/live/compile.js similarity index 92% rename from packages/site/src/components/live/compile.js rename to site/src/components/live/compile.js index 5061fbfe9..382307b23 100644 --- a/packages/site/src/components/live/compile.js +++ b/site/src/components/live/compile.js @@ -40,8 +40,7 @@ export const compileAndEvaluate = ( code: string, compiler: Compiler, scope: Scope -): Promise<{ error: Error | null, element: React.Element<*> | null }> => { - // $FlowFixMe i'm lazy +): Promise<{ error: Error | null, element: React.Node | null }> => { return compiler(code) .then(compiledCode => { return evaluate(compiledCode, scope) diff --git a/packages/site/src/components/live/compiler.js b/site/src/components/live/compiler.js similarity index 100% rename from packages/site/src/components/live/compiler.js rename to site/src/components/live/compiler.js diff --git a/packages/site/src/components/live/index.js b/site/src/components/live/index.js similarity index 98% rename from packages/site/src/components/live/index.js rename to site/src/components/live/index.js index a553f75d1..78777f19a 100644 --- a/packages/site/src/components/live/index.js +++ b/site/src/components/live/index.js @@ -15,7 +15,7 @@ type Props = { type State = { code: string, - element: React.Element<*> | null, + element: React.Node | null, error: Error | null } diff --git a/packages/site/src/components/live/types.js b/site/src/components/live/types.js similarity index 100% rename from packages/site/src/components/live/types.js rename to site/src/components/live/types.js diff --git a/packages/site/src/components/live/worker.js b/site/src/components/live/worker.js similarity index 100% rename from packages/site/src/components/live/worker.js rename to site/src/components/live/worker.js diff --git a/packages/site/src/components/react-sidebar-fork.js b/site/src/components/react-sidebar-fork.js similarity index 100% rename from packages/site/src/components/react-sidebar-fork.js rename to site/src/components/react-sidebar-fork.js diff --git a/packages/site/src/html.js b/site/src/html.js similarity index 100% rename from packages/site/src/html.js rename to site/src/html.js diff --git a/packages/site/src/layouts/index.js b/site/src/layouts/index.js similarity index 100% rename from packages/site/src/layouts/index.js rename to site/src/layouts/index.js diff --git a/packages/site/src/pages/404.js b/site/src/pages/404.js similarity index 100% rename from packages/site/src/pages/404.js rename to site/src/pages/404.js diff --git a/packages/site/src/pages/another-page.js b/site/src/pages/another-page.js similarity index 100% rename from packages/site/src/pages/another-page.js rename to site/src/pages/another-page.js diff --git a/packages/site/src/pages/community.js b/site/src/pages/community.js similarity index 100% rename from packages/site/src/pages/community.js rename to site/src/pages/community.js diff --git a/packages/site/src/pages/docs.js b/site/src/pages/docs.js similarity index 100% rename from packages/site/src/pages/docs.js rename to site/src/pages/docs.js diff --git a/packages/site/src/pages/index.js b/site/src/pages/index.js similarity index 100% rename from packages/site/src/pages/index.js rename to site/src/pages/index.js diff --git a/packages/site/src/templates/doc.js b/site/src/templates/doc.js similarity index 100% rename from packages/site/src/templates/doc.js rename to site/src/templates/doc.js diff --git a/packages/site/src/utils/algolia-styles.js b/site/src/utils/algolia-styles.js similarity index 100% rename from packages/site/src/utils/algolia-styles.js rename to site/src/utils/algolia-styles.js diff --git a/packages/site/src/utils/async-load-search.js b/site/src/utils/async-load-search.js similarity index 100% rename from packages/site/src/utils/async-load-search.js rename to site/src/utils/async-load-search.js diff --git a/packages/site/src/utils/babel-types.js b/site/src/utils/babel-types.js similarity index 100% rename from packages/site/src/utils/babel-types.js rename to site/src/utils/babel-types.js diff --git a/packages/site/src/utils/demo-buttons.js b/site/src/utils/demo-buttons.js similarity index 100% rename from packages/site/src/utils/demo-buttons.js rename to site/src/utils/demo-buttons.js diff --git a/packages/site/src/utils/global.js b/site/src/utils/global.js similarity index 100% rename from packages/site/src/utils/global.js rename to site/src/utils/global.js diff --git a/packages/site/src/utils/highlight-css.js b/site/src/utils/highlight-css.js similarity index 100% rename from packages/site/src/utils/highlight-css.js rename to site/src/utils/highlight-css.js diff --git a/packages/site/src/utils/make-prism-manual.js b/site/src/utils/make-prism-manual.js similarity index 100% rename from packages/site/src/utils/make-prism-manual.js rename to site/src/utils/make-prism-manual.js diff --git a/packages/site/src/utils/markdown-styles.js b/site/src/utils/markdown-styles.js similarity index 100% rename from packages/site/src/utils/markdown-styles.js rename to site/src/utils/markdown-styles.js diff --git a/packages/site/src/utils/misc.js b/site/src/utils/misc.js similarity index 90% rename from packages/site/src/utils/misc.js rename to site/src/utils/misc.js index 54d52301c..3e499a2c0 100644 --- a/packages/site/src/utils/misc.js +++ b/site/src/utils/misc.js @@ -22,4 +22,4 @@ export const docList: Array<{ title: string, items: Array // $FlowFixMe -}> = require('../../../../docs/docs.yaml') +}> = require('../../../docs/docs.yaml') diff --git a/packages/site/src/utils/style.js b/site/src/utils/style.js similarity index 100% rename from packages/site/src/utils/style.js rename to site/src/utils/style.js diff --git a/packages/site/src/utils/transform.js b/site/src/utils/transform.js similarity index 100% rename from packages/site/src/utils/transform.js rename to site/src/utils/transform.js diff --git a/packages/site/src/utils/types.js b/site/src/utils/types.js similarity index 100% rename from packages/site/src/utils/types.js rename to site/src/utils/types.js diff --git a/packages/site/transform.js b/site/transform.js similarity index 100% rename from packages/site/transform.js rename to site/transform.js diff --git a/yarn.lock b/yarn.lock index 5dc4971e8..03c3a0a40 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,19 +2,13 @@ # yarn lockfile v1 -"@babel/code-frame@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.40.tgz#37e2b0cf7c56026b4b21d3927cadf81adec32ac6" - dependencies: - "@babel/highlight" "7.0.0-beta.40" - "@babel/code-frame@7.0.0-beta.44": version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz#2a02643368de80916162be70865c97774f3adbd9" dependencies: "@babel/highlight" "7.0.0-beta.44" -"@babel/code-frame@7.0.0-beta.51": +"@babel/code-frame@7.0.0-beta.51", "@babel/code-frame@^7.0.0-beta.35": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.51.tgz#bd71d9b192af978df915829d39d4094456439a0c" dependencies: @@ -26,25 +20,6 @@ dependencies: "@babel/highlight" "7.0.0-beta.49" -"@babel/core@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.0.0-beta.40.tgz#455464dd81d499fd97d32b473f0331f74379a33f" - dependencies: - "@babel/code-frame" "7.0.0-beta.40" - "@babel/generator" "7.0.0-beta.40" - "@babel/helpers" "7.0.0-beta.40" - "@babel/template" "7.0.0-beta.40" - "@babel/traverse" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - babylon "7.0.0-beta.40" - convert-source-map "^1.1.0" - debug "^3.0.1" - json5 "^0.5.0" - lodash "^4.2.0" - micromatch "^2.3.11" - resolve "^1.3.2" - source-map "^0.5.0" - "@babel/core@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.0.0-beta.51.tgz#0e54bd6b638736b2ae593c31a47f0969e2b2b96d" @@ -65,16 +40,6 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.40.tgz#ab61f9556f4f71dbd1138949c795bb9a21e302ea" - dependencies: - "@babel/types" "7.0.0-beta.40" - jsesc "^2.5.1" - lodash "^4.2.0" - source-map "^0.5.0" - trim-right "^1.0.1" - "@babel/generator@7.0.0-beta.44": version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.44.tgz#c7e67b9b5284afcf69b309b50d7d37f3e5033d42" @@ -95,25 +60,12 @@ source-map "^0.5.0" trim-right "^1.0.1" -"@babel/helper-annotate-as-pure@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.40.tgz#095dd4c70b231eba17ebf61c3434e6f9d71bd574" - dependencies: - "@babel/types" "7.0.0-beta.40" - "@babel/helper-annotate-as-pure@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.51.tgz#38cf7920bf5f338a227f754e286b6fbadee04b58" dependencies: "@babel/types" "7.0.0-beta.51" -"@babel/helper-builder-binary-assignment-operator-visitor@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.40.tgz#bec4240c95d8b646812c5d4ac536a5579dbcdd53" - dependencies: - "@babel/helper-explode-assignable-expression" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - "@babel/helper-builder-binary-assignment-operator-visitor@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.51.tgz#2133fffe3e2f71591e42147b947291ca2ad39237" @@ -121,13 +73,6 @@ "@babel/helper-explode-assignable-expression" "7.0.0-beta.51" "@babel/types" "7.0.0-beta.51" -"@babel/helper-builder-react-jsx@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0-beta.40.tgz#2a171b6c4939c6cd0bdc38cca261d1f3b32cedb1" - dependencies: - "@babel/types" "7.0.0-beta.40" - esutils "^2.0.0" - "@babel/helper-builder-react-jsx@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0-beta.51.tgz#86c72d6683bd2597c938a12153a6e480bf140128" @@ -135,14 +80,6 @@ "@babel/types" "7.0.0-beta.51" esutils "^2.0.0" -"@babel/helper-call-delegate@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.40.tgz#5d5000d0bf76c68ee6866961e0b7eb6e9ed52438" - dependencies: - "@babel/helper-hoist-variables" "7.0.0-beta.40" - "@babel/traverse" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - "@babel/helper-call-delegate@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.51.tgz#04ed727c97cf05bcb2fd644837331ab15d63c819" @@ -151,14 +88,6 @@ "@babel/traverse" "7.0.0-beta.51" "@babel/types" "7.0.0-beta.51" -"@babel/helper-define-map@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.40.tgz#ad64c548dd98e7746305852f113ed04dc74329c0" - dependencies: - "@babel/helper-function-name" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - lodash "^4.2.0" - "@babel/helper-define-map@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.51.tgz#d88c64737e948c713f9f1153338e8415fee40b11" @@ -167,13 +96,6 @@ "@babel/types" "7.0.0-beta.51" lodash "^4.17.5" -"@babel/helper-explode-assignable-expression@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.40.tgz#0ef579288d894a987c60bf0577c074ad18cfa9dd" - dependencies: - "@babel/traverse" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - "@babel/helper-explode-assignable-expression@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.51.tgz#9875332ad8b5d5c982fa481cb82b731703f2cd2d" @@ -181,14 +103,6 @@ "@babel/traverse" "7.0.0-beta.51" "@babel/types" "7.0.0-beta.51" -"@babel/helper-function-name@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.40.tgz#9d033341ab16517f40d43a73f2d81fc431ccd7b6" - dependencies: - "@babel/helper-get-function-arity" "7.0.0-beta.40" - "@babel/template" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - "@babel/helper-function-name@7.0.0-beta.44": version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz#e18552aaae2231100a6e485e03854bc3532d44dd" @@ -205,12 +119,6 @@ "@babel/template" "7.0.0-beta.51" "@babel/types" "7.0.0-beta.51" -"@babel/helper-get-function-arity@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.40.tgz#ac0419cf067b0ec16453e1274f03878195791c6e" - dependencies: - "@babel/types" "7.0.0-beta.40" - "@babel/helper-get-function-arity@7.0.0-beta.44": version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz#d03ca6dd2b9f7b0b1e6b32c56c72836140db3a15" @@ -223,12 +131,6 @@ dependencies: "@babel/types" "7.0.0-beta.51" -"@babel/helper-hoist-variables@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.40.tgz#59d47fd133782d60db89af0d18083ad3c9f4801c" - dependencies: - "@babel/types" "7.0.0-beta.40" - "@babel/helper-hoist-variables@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.51.tgz#5d7ebc8596567b644fc989912c3a3ef98be058fc" @@ -241,20 +143,6 @@ dependencies: "@babel/types" "7.0.0-beta.51" -"@babel/helper-module-imports@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.40.tgz#251cbb6404599282e8f7356a5b32c9381bef5d2d" - dependencies: - "@babel/types" "7.0.0-beta.40" - lodash "^4.2.0" - -"@babel/helper-module-imports@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.44.tgz#60edc68cdf17e13eaca5be813c96127303085133" - dependencies: - "@babel/types" "7.0.0-beta.44" - lodash "^4.2.0" - "@babel/helper-module-imports@7.0.0-beta.46": version "7.0.0-beta.46" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.46.tgz#8bd2e1fcfae883d28149a350e31ce606aa24eda6" @@ -269,16 +157,6 @@ "@babel/types" "7.0.0-beta.51" lodash "^4.17.5" -"@babel/helper-module-transforms@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.40.tgz#e5240afd47bd98f6ae65874b9ae508533abfee76" - dependencies: - "@babel/helper-module-imports" "7.0.0-beta.40" - "@babel/helper-simple-access" "7.0.0-beta.40" - "@babel/template" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - lodash "^4.2.0" - "@babel/helper-module-transforms@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.51.tgz#13af0c8ee41f277743c8fc43d444315db2326f73" @@ -290,12 +168,6 @@ "@babel/types" "7.0.0-beta.51" lodash "^4.17.5" -"@babel/helper-optimise-call-expression@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.40.tgz#f0e7f70d455bff8ab6a248a84f0221098fa468ac" - dependencies: - "@babel/types" "7.0.0-beta.40" - "@babel/helper-optimise-call-expression@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.51.tgz#21f2158ef083a123ce1e04665b5bb84f370080d7" @@ -306,28 +178,12 @@ version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.51.tgz#0f6a5f2b6d1c6444413f8fab60940d79b63c2031" -"@babel/helper-regex@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.0.0-beta.40.tgz#b47018ecca8ff66bb390c34a95ff71bc01495833" - dependencies: - lodash "^4.2.0" - "@babel/helper-regex@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.0.0-beta.51.tgz#99722a3c0c704596afb123284b0a888a1a003d82" dependencies: lodash "^4.17.5" -"@babel/helper-remap-async-to-generator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.40.tgz#33414d1cc160ebf0991ebc60afebe36b08feae05" - dependencies: - "@babel/helper-annotate-as-pure" "7.0.0-beta.40" - "@babel/helper-wrap-function" "7.0.0-beta.40" - "@babel/template" "7.0.0-beta.40" - "@babel/traverse" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - "@babel/helper-remap-async-to-generator@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.51.tgz#0edc57e05dcb5dde2a0b6ee6f8d0261982def25f" @@ -338,15 +194,6 @@ "@babel/traverse" "7.0.0-beta.51" "@babel/types" "7.0.0-beta.51" -"@babel/helper-replace-supers@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.40.tgz#2ab0c9e7fa17d313745f1634ce6b7bccaa5dd5fe" - dependencies: - "@babel/helper-optimise-call-expression" "7.0.0-beta.40" - "@babel/template" "7.0.0-beta.40" - "@babel/traverse" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - "@babel/helper-replace-supers@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.51.tgz#279a61afb849476c6cc70d5519f83df4a74ffa6f" @@ -356,14 +203,6 @@ "@babel/traverse" "7.0.0-beta.51" "@babel/types" "7.0.0-beta.51" -"@babel/helper-simple-access@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.40.tgz#018f765090a3d25153778958969f235dc6ce5b57" - dependencies: - "@babel/template" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - lodash "^4.2.0" - "@babel/helper-simple-access@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.51.tgz#c9d7fecd84a181d50a3afcc422fc94a968be3050" @@ -384,15 +223,6 @@ dependencies: "@babel/types" "7.0.0-beta.51" -"@babel/helper-wrap-function@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.40.tgz#4db4630cdaf4fd47fa2c45b5b7a9ecc33ff3f2be" - dependencies: - "@babel/helper-function-name" "7.0.0-beta.40" - "@babel/template" "7.0.0-beta.40" - "@babel/traverse" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - "@babel/helper-wrap-function@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.51.tgz#6c516fb044109964ee031c22500a830313862fb1" @@ -402,14 +232,6 @@ "@babel/traverse" "7.0.0-beta.51" "@babel/types" "7.0.0-beta.51" -"@babel/helpers@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.0.0-beta.40.tgz#82f8e144f56b2896b1d624ca88ac4603023ececd" - dependencies: - "@babel/template" "7.0.0-beta.40" - "@babel/traverse" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - "@babel/helpers@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.0.0-beta.51.tgz#95272be2ab4634d6820425f8925031a928918397" @@ -418,14 +240,6 @@ "@babel/traverse" "7.0.0-beta.51" "@babel/types" "7.0.0-beta.51" -"@babel/highlight@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.40.tgz#b43d67d76bf46e1d10d227f68cddcd263786b255" - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^3.0.0" - "@babel/highlight@7.0.0-beta.44": version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.44.tgz#18c94ce543916a80553edcdcf681890b200747d5" @@ -454,16 +268,11 @@ version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.0.0-beta.51.tgz#27cec2df409df60af58270ed8f6aa55409ea86f6" -"@babel/plugin-external-helpers@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-external-helpers/-/plugin-external-helpers-7.0.0-beta.40.tgz#9f08717d1016918a60d497ad9e35c44b3489a45c" - -"@babel/plugin-proposal-async-generator-functions@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.40.tgz#64f4aebc3fff33d2ae8f0a0870f0dfe2ff6815d6" +"@babel/plugin-external-helpers@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-external-helpers/-/plugin-external-helpers-7.0.0-beta.51.tgz#b4783bcf9152d15942cbe0f0bca261b849d35c98" dependencies: - "@babel/helper-remap-async-to-generator" "7.0.0-beta.40" - "@babel/plugin-syntax-async-generators" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-proposal-async-generator-functions@7.0.0-beta.51": version "7.0.0-beta.51" @@ -473,13 +282,6 @@ "@babel/helper-remap-async-to-generator" "7.0.0-beta.51" "@babel/plugin-syntax-async-generators" "7.0.0-beta.51" -"@babel/plugin-proposal-class-properties@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.0.0-beta.40.tgz#ee0549729e9f44603efa17523b459ea3021458dc" - dependencies: - "@babel/helper-function-name" "7.0.0-beta.40" - "@babel/plugin-syntax-class-properties" "7.0.0-beta.40" - "@babel/plugin-proposal-class-properties@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.0.0-beta.51.tgz#b5c662f862a30ace94fc48477837b1d255fa38df" @@ -491,60 +293,76 @@ "@babel/helper-replace-supers" "7.0.0-beta.51" "@babel/plugin-syntax-class-properties" "7.0.0-beta.51" -"@babel/plugin-proposal-decorators@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.0.0-beta.40.tgz#d2c033bfa55719ddea681c241c9609b346c7cd9c" +"@babel/plugin-proposal-decorators@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.0.0-beta.51.tgz#7e903a57edbb2d98f7ae5ead71306e3d7b4487fe" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-decorators" "7.0.0-beta.51" + +"@babel/plugin-proposal-do-expressions@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-do-expressions/-/plugin-proposal-do-expressions-7.0.0-beta.51.tgz#f7443be4b5a201cf36d9563ec28055c0a2d5abec" dependencies: - "@babel/plugin-syntax-decorators" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-do-expressions" "7.0.0-beta.51" -"@babel/plugin-proposal-do-expressions@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-do-expressions/-/plugin-proposal-do-expressions-7.0.0-beta.40.tgz#ab49417110c75ad22ae23b319279a71306d9802b" +"@babel/plugin-proposal-export-default-from@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.0.0-beta.51.tgz#3286004155b4c5148207298fcb2224ea535e508c" dependencies: - "@babel/plugin-syntax-do-expressions" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-export-default-from" "7.0.0-beta.51" -"@babel/plugin-proposal-export-default-from@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.0.0-beta.40.tgz#af86537dc76cb3d31b6697480e30058a6da3c753" +"@babel/plugin-proposal-export-namespace-from@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.0.0-beta.51.tgz#979a3c5951cf4caf78e4ce061c51b9fcfc275dbf" dependencies: - "@babel/plugin-syntax-export-default-from" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-export-namespace-from" "7.0.0-beta.51" -"@babel/plugin-proposal-export-namespace-from@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.0.0-beta.40.tgz#ae8cdf479c256823f45a052e023b3a50aa350c5a" +"@babel/plugin-proposal-function-bind@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-function-bind/-/plugin-proposal-function-bind-7.0.0-beta.51.tgz#796fc38ffeec44f16d69046a50012b85a694d941" dependencies: - "@babel/plugin-syntax-export-namespace-from" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-function-bind" "7.0.0-beta.51" -"@babel/plugin-proposal-function-bind@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-function-bind/-/plugin-proposal-function-bind-7.0.0-beta.40.tgz#2c0269686bdc3fee64bff42db44dea2d2ab7c7a6" +"@babel/plugin-proposal-function-sent@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-function-sent/-/plugin-proposal-function-sent-7.0.0-beta.51.tgz#7f5ead6bbdef6dc9b5984260301995d1edd78dda" dependencies: - "@babel/plugin-syntax-function-bind" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/helper-wrap-function" "7.0.0-beta.51" + "@babel/plugin-syntax-function-sent" "7.0.0-beta.51" -"@babel/plugin-proposal-function-sent@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-function-sent/-/plugin-proposal-function-sent-7.0.0-beta.40.tgz#9e99c4f8cd63f32849534a6888480af2d1e09e24" +"@babel/plugin-proposal-json-strings@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.0.0-beta.51.tgz#c4c52aaf90bd555870d56708f526b6c2610694b2" dependencies: - "@babel/helper-wrap-function" "7.0.0-beta.40" - "@babel/plugin-syntax-function-sent" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-json-strings" "7.0.0-beta.51" -"@babel/plugin-proposal-nullish-coalescing-operator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.0.0-beta.40.tgz#51c239dc0ec8831d4e2319eec7538d21ac162336" +"@babel/plugin-proposal-logical-assignment-operators@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.0.0-beta.51.tgz#8bb940b97acdf1e662d21c22909f05aab8da10d9" dependencies: - "@babel/plugin-syntax-nullish-coalescing-operator" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-logical-assignment-operators" "7.0.0-beta.51" -"@babel/plugin-proposal-numeric-separator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.0.0-beta.40.tgz#d7c9dbc6bfa9e410e243373397a89a8977892765" +"@babel/plugin-proposal-nullish-coalescing-operator@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.0.0-beta.51.tgz#7221a7def086cae9c9dfaaa388ed4dc925fbe336" dependencies: - "@babel/plugin-syntax-numeric-separator" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-nullish-coalescing-operator" "7.0.0-beta.51" -"@babel/plugin-proposal-object-rest-spread@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.40.tgz#ce35d2240908e52706a612eb26d67db667cd700f" +"@babel/plugin-proposal-numeric-separator@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.0.0-beta.51.tgz#df9c4b7f22d0e075c9e36214fe4871c03cf80145" dependencies: - "@babel/plugin-syntax-object-rest-spread" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-numeric-separator" "7.0.0-beta.51" "@babel/plugin-proposal-object-rest-spread@7.0.0-beta.51": version "7.0.0-beta.51" @@ -553,12 +371,6 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-object-rest-spread" "7.0.0-beta.51" -"@babel/plugin-proposal-optional-catch-binding@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.40.tgz#e76ddcb21880eea0225f1dcde20a5e97ca85fd39" - dependencies: - "@babel/plugin-syntax-optional-catch-binding" "7.0.0-beta.40" - "@babel/plugin-proposal-optional-catch-binding@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.51.tgz#3ecc6d2919d52c94cbfae8625da33582102fb3d6" @@ -566,30 +378,26 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-optional-catch-binding" "7.0.0-beta.51" -"@babel/plugin-proposal-optional-chaining@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.0.0-beta.40.tgz#2fe8e8e0f17fa0fe0a9bdd3e7d72594ba773cc80" - dependencies: - "@babel/plugin-syntax-optional-chaining" "7.0.0-beta.40" - -"@babel/plugin-proposal-pipeline-operator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-pipeline-operator/-/plugin-proposal-pipeline-operator-7.0.0-beta.40.tgz#768bbde06bb7f1695bf4eef79c1702a269f6c08a" +"@babel/plugin-proposal-optional-chaining@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.0.0-beta.51.tgz#0c57597bc4233400fe86fe4ead97dff9e32626f3" dependencies: - "@babel/plugin-syntax-pipeline-operator" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-optional-chaining" "7.0.0-beta.51" -"@babel/plugin-proposal-throw-expressions@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.0.0-beta.40.tgz#4f34c51a9455baf81fdc2eec176a2c68c59eab20" +"@babel/plugin-proposal-pipeline-operator@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-pipeline-operator/-/plugin-proposal-pipeline-operator-7.0.0-beta.51.tgz#131b96caf983f209ceee4135b7029c2bad3054cf" dependencies: - "@babel/plugin-syntax-throw-expressions" "7.0.0-beta.40" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-pipeline-operator" "7.0.0-beta.51" -"@babel/plugin-proposal-unicode-property-regex@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0-beta.40.tgz#1fb2c29c8bd88d5fff82ec080dbe24e7126ec460" +"@babel/plugin-proposal-throw-expressions@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.0.0-beta.51.tgz#38c11db4b1e0948df912965d0e228f70815dcb38" dependencies: - "@babel/helper-regex" "7.0.0-beta.40" - regexpu-core "^4.1.3" + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-syntax-throw-expressions" "7.0.0-beta.51" "@babel/plugin-proposal-unicode-property-regex@7.0.0-beta.51": version "7.0.0-beta.51" @@ -599,37 +407,29 @@ "@babel/helper-regex" "7.0.0-beta.51" regexpu-core "^4.2.0" -"@babel/plugin-syntax-async-generators@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.40.tgz#6c45889569add3b3721cc9a481ae99906f240874" - "@babel/plugin-syntax-async-generators@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.51.tgz#6921af1dc3da0fcedde0a61073eec797b8caa707" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-class-properties@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.40.tgz#ff82c04c6d97cdb947dc64e3f3d4bc791e85a16f" - "@babel/plugin-syntax-class-properties@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.51.tgz#f0cbf6f22a879c593a07e8e141c908e087701e91" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-decorators@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.0.0-beta.40.tgz#26700fe4599606701bf73cddedeb6f470aa0fe54" - -"@babel/plugin-syntax-do-expressions@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-do-expressions/-/plugin-syntax-do-expressions-7.0.0-beta.40.tgz#05afe1230a8dabc5dc84800c3b6553c1d374695e" +"@babel/plugin-syntax-decorators@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.0.0-beta.51.tgz#b8f1a4be6e331dd9356797e407980358bda427ae" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-dynamic-import@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.0.0-beta.40.tgz#5d9b58d4fbe1dfabbd44dee2eb267c466d7e9b87" +"@babel/plugin-syntax-do-expressions@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-do-expressions/-/plugin-syntax-do-expressions-7.0.0-beta.51.tgz#96ae974818b4350b11ec6d0aad2ca9f1a1d99210" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-dynamic-import@7.0.0-beta.51": version "7.0.0-beta.51" @@ -637,17 +437,17 @@ dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-export-default-from@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.0.0-beta.40.tgz#6457a80bd22779eaf61f41b1d322d84d7e2deb65" - -"@babel/plugin-syntax-export-namespace-from@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.0.0-beta.40.tgz#c1622252e7059f16cd4ed0c8d6353ff73684fc86" +"@babel/plugin-syntax-export-default-from@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.0.0-beta.51.tgz#32c61e2febcbaa1c06743d6c75bd91a146f59ef4" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-flow@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.0.0-beta.40.tgz#2326da177cd83ad3d12e8324ad003edb702c384c" +"@babel/plugin-syntax-export-namespace-from@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.0.0-beta.51.tgz#c8f2b9a8058d1493ba93d1495aaa1d007e6a598b" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-flow@7.0.0-beta.51": version "7.0.0-beta.51" @@ -655,21 +455,29 @@ dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-function-bind@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-function-bind/-/plugin-syntax-function-bind-7.0.0-beta.40.tgz#e871da1b529821affc2954abd4bec9e52da0a357" +"@babel/plugin-syntax-function-bind@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-function-bind/-/plugin-syntax-function-bind-7.0.0-beta.51.tgz#f0d8ec94bdd29dedc017dec49a1020175635edd3" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-function-sent@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-function-sent/-/plugin-syntax-function-sent-7.0.0-beta.40.tgz#ed4906f37695a6c0a2fc0d6b129fa89afdd7d635" +"@babel/plugin-syntax-function-sent@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-function-sent/-/plugin-syntax-function-sent-7.0.0-beta.51.tgz#a1528b5a631f481f3ca7a5d4102587a4990d0a20" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-import-meta@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.0.0-beta.40.tgz#40b2f7508d418fe624148e81030e2355b689f104" +"@babel/plugin-syntax-import-meta@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.0.0-beta.51.tgz#11f95e493649231962271ba891776fa2ec499823" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-jsx@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0-beta.40.tgz#db44d52ff06f784be22f2659e694cc2cf97f99f9" +"@babel/plugin-syntax-json-strings@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.0.0-beta.51.tgz#9b6ecd20817746c2cd643459bb545bfdbfa461f7" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-jsx@7.0.0-beta.51": version "7.0.0-beta.51" @@ -677,17 +485,23 @@ dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-nullish-coalescing-operator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.0.0-beta.40.tgz#1bd13137a2053b1bab0bb4e914e141fd67a10d7e" +"@babel/plugin-syntax-logical-assignment-operators@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.0.0-beta.51.tgz#0cdf4fccae82e41dd84e39a3e6de894296822d76" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-numeric-separator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.0.0-beta.40.tgz#d63dd89919b94632310a83c8be4d50b5c479b3a5" +"@babel/plugin-syntax-nullish-coalescing-operator@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.0.0-beta.51.tgz#6aa6f241453fe0f219fdb8160a0f20c293c47916" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-object-rest-spread@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.40.tgz#d5e04536062e4df685c203ae48bb19bfe2cf235c" +"@babel/plugin-syntax-numeric-separator@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.0.0-beta.51.tgz#6a60faeb28cfab141674342d14a994f5537457d3" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-object-rest-spread@7.0.0-beta.51": version "7.0.0-beta.51" @@ -695,31 +509,29 @@ dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-optional-catch-binding@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.40.tgz#2e3de0919d05136bb658172ef9ba9ef7e84bce9e" - "@babel/plugin-syntax-optional-catch-binding@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.51.tgz#ce2675720cb41248c26433515c90c94b9d01a6fd" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-optional-chaining@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.0.0-beta.40.tgz#0a2628511e8f7f35666f5977fb07e1a8d1d363eb" - -"@babel/plugin-syntax-pipeline-operator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-pipeline-operator/-/plugin-syntax-pipeline-operator-7.0.0-beta.40.tgz#602277fa156b41953eb95b154c39d1167a8c98b2" +"@babel/plugin-syntax-optional-chaining@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.0.0-beta.51.tgz#51022b28dd19bd5e4e33196e1f1124cfcd2d4b6c" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-syntax-throw-expressions@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-throw-expressions/-/plugin-syntax-throw-expressions-7.0.0-beta.40.tgz#a0d8969dcbfece1d85d1938b4e9ecfac4e411682" +"@babel/plugin-syntax-pipeline-operator@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-pipeline-operator/-/plugin-syntax-pipeline-operator-7.0.0-beta.51.tgz#1e674cebc0c57e74c924e6ff0d3dea5cbe996efd" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-arrow-functions@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.40.tgz#0842045b16835d6da0c334d0b09d575852f27962" +"@babel/plugin-syntax-throw-expressions@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-throw-expressions/-/plugin-syntax-throw-expressions-7.0.0-beta.51.tgz#3e55c42cfd96706bde38eb9116a1e896eb6b3ed0" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-transform-arrow-functions@7.0.0-beta.51": version "7.0.0-beta.51" @@ -727,13 +539,6 @@ dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-async-to-generator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.40.tgz#9195e2473a435b9a9aabc0b64572e9d1ec1c57cb" - dependencies: - "@babel/helper-module-imports" "7.0.0-beta.40" - "@babel/helper-remap-async-to-generator" "7.0.0-beta.40" - "@babel/plugin-transform-async-to-generator@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.51.tgz#945385055a2e6d3566bf55af127c8d725cd3a173" @@ -742,22 +547,12 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/helper-remap-async-to-generator" "7.0.0-beta.51" -"@babel/plugin-transform-block-scoped-functions@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.40.tgz#491e61f860cabe69379233983fe7ca14f879e41f" - "@babel/plugin-transform-block-scoped-functions@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.51.tgz#23129baf814471f39ea94eec84ab1ffe76c9fe96" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-block-scoping@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.40.tgz#23197ee6f696b7e5ace884f0dc5434df20d7dd97" - dependencies: - lodash "^4.2.0" - "@babel/plugin-transform-block-scoping@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.51.tgz#be555c79f0da4eb168a7fe16d787a9a7173701e0" @@ -765,17 +560,6 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" lodash "^4.17.5" -"@babel/plugin-transform-classes@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.40.tgz#c7a752009df4bb0f77179027daa0783f9a036b0b" - dependencies: - "@babel/helper-annotate-as-pure" "7.0.0-beta.40" - "@babel/helper-define-map" "7.0.0-beta.40" - "@babel/helper-function-name" "7.0.0-beta.40" - "@babel/helper-optimise-call-expression" "7.0.0-beta.40" - "@babel/helper-replace-supers" "7.0.0-beta.40" - globals "^11.1.0" - "@babel/plugin-transform-classes@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.51.tgz#043f31fb6327664a32d8ba65de15799efdc65da0" @@ -789,33 +573,18 @@ "@babel/helper-split-export-declaration" "7.0.0-beta.51" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.40.tgz#e4bd53455d9f96882cc8e9923895d71690f6969e" - "@babel/plugin-transform-computed-properties@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.51.tgz#8c72a1ab3e0767034ff9e6732d2581c23c032efe" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-destructuring@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.40.tgz#503a4719eb9ed8c933b50d4ec3f106ed371852ee" - "@babel/plugin-transform-destructuring@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.51.tgz#d5d454e574c7ef33ee49e918b048afb29be935f6" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-dotall-regex@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.40.tgz#89b5ccff477624b97129f9a7e262a436437d7ae2" - dependencies: - "@babel/helper-regex" "7.0.0-beta.40" - regexpu-core "^4.1.3" - "@babel/plugin-transform-dotall-regex@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.51.tgz#980558a1e5f7e28850f5ffde20404291e2aa33fb" @@ -824,22 +593,12 @@ "@babel/helper-regex" "7.0.0-beta.51" regexpu-core "^4.1.3" -"@babel/plugin-transform-duplicate-keys@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.40.tgz#91599be229d4409cf3c9bbd094fb04d354bd8068" - "@babel/plugin-transform-duplicate-keys@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.51.tgz#541eaf8a97d14a9809b359d8f548001f085b9b7f" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-exponentiation-operator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.40.tgz#bf0bafdd5aad7061c25dba25e29e12329838baeb" - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "7.0.0-beta.40" - "@babel/plugin-transform-exponentiation-operator@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.51.tgz#04b4e3e40b3701112dd6eda39625132757881fd4" @@ -847,12 +606,6 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "7.0.0-beta.51" "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-flow-strip-types@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.0.0-beta.40.tgz#fe3afe922de6dfbd21d9f53f01cbe1bac89e0423" - dependencies: - "@babel/plugin-syntax-flow" "7.0.0-beta.40" - "@babel/plugin-transform-flow-strip-types@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.0.0-beta.51.tgz#67d434459f7a7b26a9f2a6855bc12e67894e47a6" @@ -860,22 +613,12 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-flow" "7.0.0-beta.51" -"@babel/plugin-transform-for-of@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.40.tgz#67920d749bac4840ceeae9907d918dad33908244" - "@babel/plugin-transform-for-of@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.51.tgz#44f476b06c4035517a8403a2624fb164c4371455" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-function-name@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.40.tgz#37b5ca4f90fba207d359c0be3af5bfecdc737a3d" - dependencies: - "@babel/helper-function-name" "7.0.0-beta.40" - "@babel/plugin-transform-function-name@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.51.tgz#70653c360b53254246f4659ec450b0c0a56d86aa" @@ -883,22 +626,12 @@ "@babel/helper-function-name" "7.0.0-beta.51" "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-literals@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.40.tgz#a6bf8808f97accf42a171b27a133802aa0650d3e" - "@babel/plugin-transform-literals@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.51.tgz#45b07a94223cfa226701a79460b42b32df1dec05" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-modules-amd@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.40.tgz#1882f1a02b16d261a332c87c035c9aeefd402683" - dependencies: - "@babel/helper-module-transforms" "7.0.0-beta.40" - "@babel/plugin-transform-modules-amd@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.51.tgz#f68a8be7f65177d246506a3914dae4d66e675a1f" @@ -906,13 +639,6 @@ "@babel/helper-module-transforms" "7.0.0-beta.51" "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-modules-commonjs@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.40.tgz#a85f8c311f498a94a45531cc4ed5ff98b338a70a" - dependencies: - "@babel/helper-module-transforms" "7.0.0-beta.40" - "@babel/helper-simple-access" "7.0.0-beta.40" - "@babel/plugin-transform-modules-commonjs@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.51.tgz#4038f9e15244e10900cb89f5b796d050f1eb195b" @@ -921,12 +647,6 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/helper-simple-access" "7.0.0-beta.51" -"@babel/plugin-transform-modules-systemjs@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.40.tgz#808b372bdbe06a28bf7a3870d8e810bd7298227a" - dependencies: - "@babel/helper-hoist-variables" "7.0.0-beta.40" - "@babel/plugin-transform-modules-systemjs@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.51.tgz#6e7fc4ad9421b725cddf37cc924eaf777f228c27" @@ -934,12 +654,6 @@ "@babel/helper-hoist-variables" "7.0.0-beta.51" "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-modules-umd@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.40.tgz#5bd4e395a2673e687ed592608ad2fd4883a5a119" - dependencies: - "@babel/helper-module-transforms" "7.0.0-beta.40" - "@babel/plugin-transform-modules-umd@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.51.tgz#ee2ef575579d96e40613fca6e6c8edb5cadb6c6f" @@ -947,22 +661,12 @@ "@babel/helper-module-transforms" "7.0.0-beta.51" "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-new-target@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.40.tgz#ee52bb87fbf325ac054811ec739b25fbce97809e" - "@babel/plugin-transform-new-target@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.51.tgz#7075a106595cbfdd425ed6b830b79f8a7aff5283" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-object-super@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.40.tgz#c64f9ba3587610d76c2edfdd8f507a59ea3ba63d" - dependencies: - "@babel/helper-replace-supers" "7.0.0-beta.40" - "@babel/plugin-transform-object-super@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.51.tgz#ac18e88bc1d79b718bdaf48a756833cdf5bdcebf" @@ -970,13 +674,6 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/helper-replace-supers" "7.0.0-beta.51" -"@babel/plugin-transform-parameters@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.40.tgz#efa366fab0dcbd0221b46aa2662c324b4b414d1d" - dependencies: - "@babel/helper-call-delegate" "7.0.0-beta.40" - "@babel/helper-get-function-arity" "7.0.0-beta.40" - "@babel/plugin-transform-parameters@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.51.tgz#990195b1dfdb1bcc94906f3034951089ed1edd4e" @@ -985,22 +682,12 @@ "@babel/helper-get-function-arity" "7.0.0-beta.51" "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-react-display-name@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.0.0-beta.40.tgz#2e9aba5d74da8ecee00d6d4bf68c833955355e4c" - "@babel/plugin-transform-react-display-name@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.0.0-beta.51.tgz#1b48bd34dfa9087252c8707d29bd1df2e8821cbe" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-react-jsx-self@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.0.0-beta.40.tgz#cbf0286ec9e52129840e16d1a173adb98e52fb97" - dependencies: - "@babel/plugin-syntax-jsx" "7.0.0-beta.40" - "@babel/plugin-transform-react-jsx-self@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.0.0-beta.51.tgz#a4f098597fe70985544366f893ac47389864d894" @@ -1008,12 +695,6 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-jsx" "7.0.0-beta.51" -"@babel/plugin-transform-react-jsx-source@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.0.0-beta.40.tgz#7e62fe33f3e46c7f0d81d187d9c9aa348daa6488" - dependencies: - "@babel/plugin-syntax-jsx" "7.0.0-beta.40" - "@babel/plugin-transform-react-jsx-source@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.0.0-beta.51.tgz#6999dc491c8b4602efb4d0bd1bafc936ad696ecf" @@ -1021,13 +702,6 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-jsx" "7.0.0-beta.51" -"@babel/plugin-transform-react-jsx@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0-beta.40.tgz#93af0b0ef691cda86ab52d912b50f72eb538349d" - dependencies: - "@babel/helper-builder-react-jsx" "7.0.0-beta.40" - "@babel/plugin-syntax-jsx" "7.0.0-beta.40" - "@babel/plugin-transform-react-jsx@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0-beta.51.tgz#7af8498518b83906405438370198808ca6e63b10" @@ -1036,12 +710,6 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-syntax-jsx" "7.0.0-beta.51" -"@babel/plugin-transform-regenerator@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.40.tgz#f8a89ce89a0fae8e9cdfc2f2768104811517374a" - dependencies: - regenerator-transform "^0.12.3" - "@babel/plugin-transform-regenerator@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.51.tgz#536f0d599d2753dca0a2be8a65e2c244a7b5612b" @@ -1055,32 +723,18 @@ "@babel/helper-module-imports" "7.0.0-beta.51" "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-shorthand-properties@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.40.tgz#421835237b0fcab0e67c941726d95dfc543514f4" - "@babel/plugin-transform-shorthand-properties@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.51.tgz#ddbc0b1ae1ddb3bcfe6969f2c968103f11e32bd9" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-spread@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.40.tgz#881578938e5750137301750bef7fdd0e01be76be" - "@babel/plugin-transform-spread@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.51.tgz#100129bc8d7dcf4bc79adcd6129a4214259d8a50" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-sticky-regex@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.40.tgz#5b44b31f8539fc66af18962e55752b82298032ee" - dependencies: - "@babel/helper-regex" "7.0.0-beta.40" - "@babel/plugin-transform-sticky-regex@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.51.tgz#48cbeacd31bd05ee800b5facbcb09c5781bd9619" @@ -1088,12 +742,6 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/helper-regex" "7.0.0-beta.51" -"@babel/plugin-transform-template-literals@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.40.tgz#5ef3377d1294aee39b913768a1f884806a45393b" - dependencies: - "@babel/helper-annotate-as-pure" "7.0.0-beta.40" - "@babel/plugin-transform-template-literals@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.51.tgz#2d0595f56461d4345ba35c38d73033f87ecbbbc8" @@ -1101,23 +749,12 @@ "@babel/helper-annotate-as-pure" "7.0.0-beta.51" "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-typeof-symbol@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.40.tgz#67f0b8a5dd298b0aa5b347c3b6738c9c7baf1bcf" - "@babel/plugin-transform-typeof-symbol@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.51.tgz#4950c0c8e3c9e1e141e45cebab5e6148263204c3" dependencies: "@babel/helper-plugin-utils" "7.0.0-beta.51" -"@babel/plugin-transform-unicode-regex@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.40.tgz#a956187aad2965d7c095d64b1ae87eba10e0a2c6" - dependencies: - "@babel/helper-regex" "7.0.0-beta.40" - regexpu-core "^4.1.3" - "@babel/plugin-transform-unicode-regex@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.51.tgz#9019f91508f40b50a64435043228c4142c2cd864" @@ -1133,48 +770,6 @@ core-js "^2.5.7" regenerator-runtime "^0.11.1" -"@babel/preset-env@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.0.0-beta.40.tgz#713292f9e410f76b3f4301330756c89343c4b2e4" - dependencies: - "@babel/plugin-proposal-async-generator-functions" "7.0.0-beta.40" - "@babel/plugin-proposal-object-rest-spread" "7.0.0-beta.40" - "@babel/plugin-proposal-optional-catch-binding" "7.0.0-beta.40" - "@babel/plugin-proposal-unicode-property-regex" "7.0.0-beta.40" - "@babel/plugin-syntax-async-generators" "7.0.0-beta.40" - "@babel/plugin-syntax-object-rest-spread" "7.0.0-beta.40" - "@babel/plugin-syntax-optional-catch-binding" "7.0.0-beta.40" - "@babel/plugin-transform-arrow-functions" "7.0.0-beta.40" - "@babel/plugin-transform-async-to-generator" "7.0.0-beta.40" - "@babel/plugin-transform-block-scoped-functions" "7.0.0-beta.40" - "@babel/plugin-transform-block-scoping" "7.0.0-beta.40" - "@babel/plugin-transform-classes" "7.0.0-beta.40" - "@babel/plugin-transform-computed-properties" "7.0.0-beta.40" - "@babel/plugin-transform-destructuring" "7.0.0-beta.40" - "@babel/plugin-transform-dotall-regex" "7.0.0-beta.40" - "@babel/plugin-transform-duplicate-keys" "7.0.0-beta.40" - "@babel/plugin-transform-exponentiation-operator" "7.0.0-beta.40" - "@babel/plugin-transform-for-of" "7.0.0-beta.40" - "@babel/plugin-transform-function-name" "7.0.0-beta.40" - "@babel/plugin-transform-literals" "7.0.0-beta.40" - "@babel/plugin-transform-modules-amd" "7.0.0-beta.40" - "@babel/plugin-transform-modules-commonjs" "7.0.0-beta.40" - "@babel/plugin-transform-modules-systemjs" "7.0.0-beta.40" - "@babel/plugin-transform-modules-umd" "7.0.0-beta.40" - "@babel/plugin-transform-new-target" "7.0.0-beta.40" - "@babel/plugin-transform-object-super" "7.0.0-beta.40" - "@babel/plugin-transform-parameters" "7.0.0-beta.40" - "@babel/plugin-transform-regenerator" "7.0.0-beta.40" - "@babel/plugin-transform-shorthand-properties" "7.0.0-beta.40" - "@babel/plugin-transform-spread" "7.0.0-beta.40" - "@babel/plugin-transform-sticky-regex" "7.0.0-beta.40" - "@babel/plugin-transform-template-literals" "7.0.0-beta.40" - "@babel/plugin-transform-typeof-symbol" "7.0.0-beta.40" - "@babel/plugin-transform-unicode-regex" "7.0.0-beta.40" - browserslist "^3.0.0" - invariant "^2.2.2" - semver "^5.3.0" - "@babel/preset-env@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.0.0-beta.51.tgz#5b580e6e9e8304166c1317017e863c06dcfc04a2" @@ -1220,12 +815,6 @@ js-levenshtein "^1.1.3" semver "^5.3.0" -"@babel/preset-flow@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.0.0-beta.40.tgz#08784f5a847bf1a7fc7ea031977c5e43ef72753a" - dependencies: - "@babel/plugin-transform-flow-strip-types" "7.0.0-beta.40" - "@babel/preset-flow@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.0.0-beta.51.tgz#5f92cb981afad0f221a1b7a403ce082d378012db" @@ -1233,16 +822,6 @@ "@babel/helper-plugin-utils" "7.0.0-beta.51" "@babel/plugin-transform-flow-strip-types" "7.0.0-beta.51" -"@babel/preset-react@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.0.0-beta.40.tgz#ccc8f916b694c8ea4b4ccbd1584f873caf199557" - dependencies: - "@babel/plugin-syntax-jsx" "7.0.0-beta.40" - "@babel/plugin-transform-react-display-name" "7.0.0-beta.40" - "@babel/plugin-transform-react-jsx" "7.0.0-beta.40" - "@babel/plugin-transform-react-jsx-self" "7.0.0-beta.40" - "@babel/plugin-transform-react-jsx-source" "7.0.0-beta.40" - "@babel/preset-react@7.0.0-beta.51": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.0.0-beta.51.tgz#957d812a86d96c89214928b79800748f51935e49" @@ -1253,46 +832,52 @@ "@babel/plugin-transform-react-jsx-self" "7.0.0-beta.51" "@babel/plugin-transform-react-jsx-source" "7.0.0-beta.51" -"@babel/preset-stage-0@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/preset-stage-0/-/preset-stage-0-7.0.0-beta.40.tgz#1ea9823b501ac7b6221c80bf4bf1c610c660dcc3" - dependencies: - "@babel/plugin-proposal-function-bind" "7.0.0-beta.40" - "@babel/preset-stage-1" "7.0.0-beta.40" - -"@babel/preset-stage-1@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/preset-stage-1/-/preset-stage-1-7.0.0-beta.40.tgz#acc899ae0480a3e417c4c1ce918f3a1886386641" - dependencies: - "@babel/plugin-proposal-decorators" "7.0.0-beta.40" - "@babel/plugin-proposal-do-expressions" "7.0.0-beta.40" - "@babel/plugin-proposal-export-default-from" "7.0.0-beta.40" - "@babel/plugin-proposal-nullish-coalescing-operator" "7.0.0-beta.40" - "@babel/plugin-proposal-optional-chaining" "7.0.0-beta.40" - "@babel/plugin-proposal-pipeline-operator" "7.0.0-beta.40" - "@babel/preset-stage-2" "7.0.0-beta.40" - -"@babel/preset-stage-2@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/preset-stage-2/-/preset-stage-2-7.0.0-beta.40.tgz#c88db5e0e7ebfde8460c9cd3bed9acd841830e72" - dependencies: - "@babel/plugin-proposal-export-namespace-from" "7.0.0-beta.40" - "@babel/plugin-proposal-function-sent" "7.0.0-beta.40" - "@babel/plugin-proposal-numeric-separator" "7.0.0-beta.40" - "@babel/plugin-proposal-throw-expressions" "7.0.0-beta.40" - "@babel/preset-stage-3" "7.0.0-beta.40" - -"@babel/preset-stage-3@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/preset-stage-3/-/preset-stage-3-7.0.0-beta.40.tgz#5b6eb45908d8355ab5512b4d1dd2fb4c3cad2dec" - dependencies: - "@babel/plugin-proposal-async-generator-functions" "7.0.0-beta.40" - "@babel/plugin-proposal-class-properties" "7.0.0-beta.40" - "@babel/plugin-proposal-object-rest-spread" "7.0.0-beta.40" - "@babel/plugin-proposal-optional-catch-binding" "7.0.0-beta.40" - "@babel/plugin-proposal-unicode-property-regex" "7.0.0-beta.40" - "@babel/plugin-syntax-dynamic-import" "7.0.0-beta.40" - "@babel/plugin-syntax-import-meta" "7.0.0-beta.40" +"@babel/preset-stage-0@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/preset-stage-0/-/preset-stage-0-7.0.0-beta.51.tgz#d316ecf9ab43856e8216592a5864186bdd81002a" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-proposal-function-bind" "7.0.0-beta.51" + "@babel/preset-stage-1" "7.0.0-beta.51" + +"@babel/preset-stage-1@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/preset-stage-1/-/preset-stage-1-7.0.0-beta.51.tgz#c90140f6dfc2b12c279d083bd1d1e8556ddfdfde" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-proposal-do-expressions" "7.0.0-beta.51" + "@babel/plugin-proposal-export-default-from" "7.0.0-beta.51" + "@babel/plugin-proposal-logical-assignment-operators" "7.0.0-beta.51" + "@babel/plugin-proposal-nullish-coalescing-operator" "7.0.0-beta.51" + "@babel/plugin-proposal-optional-chaining" "7.0.0-beta.51" + "@babel/plugin-proposal-pipeline-operator" "7.0.0-beta.51" + "@babel/preset-stage-2" "7.0.0-beta.51" + +"@babel/preset-stage-2@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/preset-stage-2/-/preset-stage-2-7.0.0-beta.51.tgz#c3b369d9c7bd4c497d1b29dc772f4a76821a9078" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-proposal-decorators" "7.0.0-beta.51" + "@babel/plugin-proposal-export-namespace-from" "7.0.0-beta.51" + "@babel/plugin-proposal-function-sent" "7.0.0-beta.51" + "@babel/plugin-proposal-numeric-separator" "7.0.0-beta.51" + "@babel/plugin-proposal-throw-expressions" "7.0.0-beta.51" + "@babel/preset-stage-3" "7.0.0-beta.51" + +"@babel/preset-stage-3@7.0.0-beta.51": + version "7.0.0-beta.51" + resolved "https://registry.yarnpkg.com/@babel/preset-stage-3/-/preset-stage-3-7.0.0-beta.51.tgz#ff8dc00ff05b1d90b1df1e64e9264cabbbfbddb3" + dependencies: + "@babel/helper-plugin-utils" "7.0.0-beta.51" + "@babel/plugin-proposal-async-generator-functions" "7.0.0-beta.51" + "@babel/plugin-proposal-class-properties" "7.0.0-beta.51" + "@babel/plugin-proposal-json-strings" "7.0.0-beta.51" + "@babel/plugin-proposal-object-rest-spread" "7.0.0-beta.51" + "@babel/plugin-proposal-optional-catch-binding" "7.0.0-beta.51" + "@babel/plugin-proposal-unicode-property-regex" "7.0.0-beta.51" + "@babel/plugin-syntax-dynamic-import" "7.0.0-beta.51" + "@babel/plugin-syntax-import-meta" "7.0.0-beta.51" "@babel/runtime@7.0.0-beta.47": version "7.0.0-beta.47" @@ -1308,15 +893,6 @@ core-js "^2.5.7" regenerator-runtime "^0.11.1" -"@babel/template@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.40.tgz#034988c6424eb5c3268fe6a608626de1f4410fc8" - dependencies: - "@babel/code-frame" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - babylon "7.0.0-beta.40" - lodash "^4.2.0" - "@babel/template@7.0.0-beta.44": version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f" @@ -1335,20 +911,6 @@ "@babel/types" "7.0.0-beta.51" lodash "^4.17.5" -"@babel/traverse@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.40.tgz#d140e449b2e093ef9fe1a2eecc28421ffb4e521e" - dependencies: - "@babel/code-frame" "7.0.0-beta.40" - "@babel/generator" "7.0.0-beta.40" - "@babel/helper-function-name" "7.0.0-beta.40" - "@babel/types" "7.0.0-beta.40" - babylon "7.0.0-beta.40" - debug "^3.0.1" - globals "^11.1.0" - invariant "^2.2.0" - lodash "^4.2.0" - "@babel/traverse@7.0.0-beta.44": version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.44.tgz#a970a2c45477ad18017e2e465a0606feee0d2966" @@ -1379,14 +941,6 @@ invariant "^2.2.0" lodash "^4.17.5" -"@babel/types@7.0.0-beta.40": - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.40.tgz#25c3d7aae14126abe05fcb098c65a66b6d6b8c14" - dependencies: - esutils "^2.0.2" - lodash "^4.2.0" - to-fast-properties "^2.0.0" - "@babel/types@7.0.0-beta.44": version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.44.tgz#6b1b164591f77dec0a0342aca995f2d046b3a757" @@ -1802,7 +1356,7 @@ JSONStream@^1.0.4: jsonparse "^1.2.0" through ">=2.2.7 <3" -abab@^1.0.3, abab@^1.0.4: +abab@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.4.tgz#5faad9c2c07f60dd76770f71cf025b62a63cfd4e" @@ -1829,12 +1383,6 @@ acorn-dynamic-import@^3.0.0: dependencies: acorn "^5.0.0" -acorn-globals@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-3.1.0.tgz#fd8270f71fbb4996b004fa880ee5d46573a731bf" - dependencies: - acorn "^4.0.4" - acorn-globals@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-4.1.0.tgz#ab716025dbe17c54d3ef81d32ece2b2d99fe2538" @@ -1857,7 +1405,7 @@ acorn@^3.0.4: version "3.3.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" -acorn@^4.0.3, acorn@^4.0.4: +acorn@^4.0.3: version "4.0.13" resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" @@ -1935,10 +1483,6 @@ ansi-align@^2.0.0: dependencies: string-width "^2.0.0" -ansi-escapes@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" - ansi-escapes@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30" @@ -1953,7 +1497,7 @@ ansi-html@0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e" -ansi-regex@^2.0.0, ansi-regex@^2.1.1: +ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" @@ -1965,7 +1509,7 @@ ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" -ansi-styles@^3.0.0, ansi-styles@^3.1.0, ansi-styles@^3.2.0, ansi-styles@^3.2.1: +ansi-styles@^3.1.0, ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" dependencies: @@ -2498,20 +2042,12 @@ babel-helpers@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-jest@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-20.0.3.tgz#e4a03b13dc10389e140fc645d09ffc4ced301671" - dependencies: - babel-core "^6.0.0" - babel-plugin-istanbul "^4.0.0" - babel-preset-jest "^20.0.3" - -babel-jest@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-21.2.0.tgz#2ce059519a9374a2c46f2455b6fbef5ad75d863e" +babel-jest@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-23.2.0.tgz#14a9d6a3f4122dfea6069d37085adf26a53a4dba" dependencies: - babel-plugin-istanbul "^4.0.0" - babel-preset-jest "^21.2.0" + babel-plugin-istanbul "^4.1.6" + babel-preset-jest "^23.2.0" babel-loader@8.0.0-beta.0: version "8.0.0-beta.0" @@ -2571,7 +2107,7 @@ babel-plugin-external-helpers@^6.22.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-istanbul@^4.0.0: +babel-plugin-istanbul@^4.1.6: version "4.1.6" resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.6.tgz#36c59b2192efce81c5b378321b74175add1c9a45" dependencies: @@ -2580,13 +2116,9 @@ babel-plugin-istanbul@^4.0.0: istanbul-lib-instrument "^1.10.1" test-exclude "^4.2.1" -babel-plugin-jest-hoist@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-20.0.3.tgz#afedc853bd3f8dc3548ea671fbe69d03cc2c1767" - -babel-plugin-jest-hoist@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-21.2.0.tgz#2cef637259bd4b628a6cace039de5fcd14dbb006" +babel-plugin-jest-hoist@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-23.2.0.tgz#e61fae05a1ca8801aadee57a6d66b8cefaf44167" babel-plugin-jsx-pragmatic@^1.0.2: version "1.0.2" @@ -3056,17 +2588,11 @@ babel-preset-flow@^6.23.0: dependencies: babel-plugin-transform-flow-strip-types "^6.22.0" -babel-preset-jest@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-20.0.3.tgz#cbacaadecb5d689ca1e1de1360ebfc66862c178a" - dependencies: - babel-plugin-jest-hoist "^20.0.3" - -babel-preset-jest@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-21.2.0.tgz#ff9d2bce08abd98e8a36d9a8a5189b9173b85638" +babel-preset-jest@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-23.2.0.tgz#8ec7a03a138f001a1a8fb1e8113652bf1a55da46" dependencies: - babel-plugin-jest-hoist "^21.2.0" + babel-plugin-jest-hoist "^23.2.0" babel-plugin-syntax-object-rest-spread "^6.13.0" babel-preset-react@^6.24.1: @@ -3171,10 +2697,6 @@ babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26 lodash "^4.17.4" to-fast-properties "^1.0.3" -babylon@7.0.0-beta.40: - version "7.0.0-beta.40" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.40.tgz#91fc8cd56d5eb98b28e6fde41045f2957779940a" - babylon@7.0.0-beta.44: version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d" @@ -3468,9 +2990,9 @@ browser-process-hrtime@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-0.1.2.tgz#425d68a58d3447f02a04aa894187fce8af8b7b8e" -browser-resolve@^1.11.2: - version "1.11.2" - resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.2.tgz#8ff09b0a2c421718a1051c260b32e48f442938ce" +browser-resolve@^1.11.3: + version "1.11.3" + resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.3.tgz#9b7cbb3d0f510e4cb86bdbd796124d28b5890af6" dependencies: resolve "1.1.7" @@ -3526,33 +3048,13 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6: - version "1.7.7" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.7.tgz#0bd76704258be829b2398bb50e4b62d1a166b0b9" - dependencies: - caniuse-db "^1.0.30000639" - electron-to-chromium "^1.2.7" - -browserslist@^2.11.3: - version "2.11.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.3.tgz#fe36167aed1bbcde4827ebfe71347a2cc70b99b2" - dependencies: - caniuse-lite "^1.0.30000792" - electron-to-chromium "^1.3.30" - -browserslist@^3.0.0, browserslist@^3.2.6: +browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6, browserslist@^2.11.3, browserslist@^3.0.0, browserslist@^3.2.6, browserslist@^3.2.8: version "3.2.8" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.8.tgz#b0005361d6471f0f5952797a76fc985f1f978fc6" dependencies: caniuse-lite "^1.0.30000844" electron-to-chromium "^1.3.47" -bser@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.2.tgz#381116970b2a6deea5646dd15dd7278444b56169" - dependencies: - node-int64 "^0.4.0" - bser@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" @@ -3786,14 +3288,18 @@ caniuse-api@^1.5.2: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: +caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634: version "1.0.30000860" resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000860.tgz#5ceab253aae172b5f0acd0d5428ba501c4b08d41" -caniuse-lite@^1.0.30000792, caniuse-lite@^1.0.30000805, caniuse-lite@^1.0.30000844: +caniuse-lite@^1.0.30000805: version "1.0.30000859" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000859.tgz#da974adc5348fffe94724877a7ef8cb5d6d3d777" +caniuse-lite@^1.0.30000844: + version "1.0.30000861" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000861.tgz#a32bb9607c34e4639b497ff37de746fc8a160410" + capture-exit@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-1.2.0.tgz#1c5fcc489fd0ab00d4f1ac7ae1072e3173fbab6f" @@ -4111,6 +3617,10 @@ clone@^1.0.0, clone@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" +clorox@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/clorox/-/clorox-1.0.3.tgz#6fa63653f280c33d69f548fb14d239ddcfa1590d" + cmd-shim@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-2.0.2.tgz#6fcbda99483a8fd15d7d30a196ca69d688a2efdb" @@ -4396,10 +3906,6 @@ content-disposition@0.5.2, content-disposition@^0.5.2: version "0.5.2" resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" -content-type-parser@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.2.tgz#caabe80623e63638b2502fd4c7f12ff4ce2352e7" - content-type@1.0.4, content-type@^1.0.4, content-type@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" @@ -4600,7 +4106,7 @@ core-js@^1.0.0: version "1.2.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" -core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0, core-js@^2.5.1, core-js@^2.5.3, core-js@^2.5.7: +core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0, core-js@^2.5.3, core-js@^2.5.7: version "2.5.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.7.tgz#f972608ff0cead68b841a16a932d0b183791814e" @@ -4663,13 +4169,6 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: safe-buffer "^5.0.1" sha.js "^2.4.8" -cross-env@^5.0.1, cross-env@^5.0.5: - version "5.1.6" - resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.6.tgz#0dc05caf945b24e4b9e3b12871fe0e858d08b38d" - dependencies: - cross-spawn "^5.1.0" - is-windows "^1.0.0" - cross-fetch@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-2.0.0.tgz#a17475449561e0f325146cea636a8619efb9b382" @@ -4870,12 +4369,6 @@ cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": version "0.3.2" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.2.tgz#b8036170c79f07a90ff2f16e22284027a243848b" -"cssstyle@>= 0.2.37 < 0.3.0": - version "0.2.37" - resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-0.2.37.tgz#541097234cb2513c83ceed3acddc27ff27987d54" - dependencies: - cssom "0.3.x" - "cssstyle@>= 0.3.1 < 0.4.0": version "0.3.1" resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-0.3.1.tgz#6da9b4cff1bc5d716e6e5fe8e04fcb1b50a49adf" @@ -4981,7 +4474,7 @@ debug@2, debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, de dependencies: ms "2.0.0" -debug@^3.0.1, debug@^3.1.0, debug@~3.1.0: +debug@^3.1.0, debug@~3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" dependencies: @@ -5265,6 +4758,10 @@ detect-libc@^1.0.2, detect-libc@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" +detect-newline@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" + detect-node@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.3.tgz#a2033c09cc8e158d37748fbde7507832bd6ce127" @@ -5569,7 +5066,7 @@ ejs@^2.5.7: version "2.6.1" resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.6.1.tgz#498ec0d495655abc6f23cd61868d926464071aa0" -electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.30, electron-to-chromium@^1.3.47: +electron-to-chromium@^1.3.47: version "1.3.50" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.50.tgz#7438b76f92b41b919f3fbdd350fbd0757dacddf7" @@ -5764,7 +5261,7 @@ es-abstract@^1.4.3, es-abstract@^1.6.1: is-callable "^1.1.3" is-regex "^1.0.4" -es-abstract@^1.7.0: +es-abstract@^1.5.1, es-abstract@^1.7.0: version "1.12.0" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165" dependencies: @@ -5869,7 +5366,7 @@ escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1 version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" -escodegen@^1.6.1, escodegen@^1.9.0: +escodegen@^1.9.0: version "1.9.1" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.9.1.tgz#dbae17ef96c8e4bedb1356f4504fa4cc2f7cb7e2" dependencies: @@ -6254,6 +5751,10 @@ exif-parser@^0.1.9: version "0.1.12" resolved "https://registry.yarnpkg.com/exif-parser/-/exif-parser-0.1.12.tgz#58a9d2d72c02c1f6f02a0ef4a9166272b7760922" +exit@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" + expand-brackets@^0.1.4: version "0.1.5" resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" @@ -6288,16 +5789,16 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: dependencies: homedir-polyfill "^1.0.1" -expect@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/expect/-/expect-21.2.1.tgz#003ac2ac7005c3c29e73b38a272d4afadd6d1d7b" +expect@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-23.2.0.tgz#53a7e135e36fe27e75867b1178ff08aaacc2b0dd" dependencies: ansi-styles "^3.2.0" - jest-diff "^21.2.1" - jest-get-type "^21.2.0" - jest-matcher-utils "^21.2.1" - jest-message-util "^21.2.1" - jest-regex-util "^21.2.0" + jest-diff "^23.2.0" + jest-get-type "^22.1.0" + jest-matcher-utils "^23.2.0" + jest-message-util "^23.2.0" + jest-regex-util "^23.0.0" express-graphql@^0.6.12: version "0.6.12" @@ -6517,12 +6018,6 @@ faye-websocket@~0.11.0: dependencies: websocket-driver ">=0.5.1" -fb-watchman@^1.8.0: - version "1.9.2" - resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-1.9.2.tgz#a24cf47827f82d38fb59a69ad70b76e3b6ae7383" - dependencies: - bser "1.0.2" - fb-watchman@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58" @@ -7035,14 +6530,6 @@ gatsby-plugin-react-helmet@^3.0.0-beta.3: dependencies: "@babel/runtime" "7.0.0-beta.51" -gatsby-plugin-react-next@next: - version "2.0.1-13" - resolved "https://registry.yarnpkg.com/gatsby-plugin-react-next/-/gatsby-plugin-react-next-2.0.1-13.tgz#c08a5335c0b3c9e8f016ae5495a17c8ce1422a44" - dependencies: - "@babel/runtime" "7.0.0-beta.47" - core-js "^2.5.1" - resolve "^1.5.0" - gatsby-plugin-sharp@^2.0.0-beta.2: version "2.0.0-beta.2" resolved "https://registry.yarnpkg.com/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.0.0-beta.2.tgz#ea7e42d1ba7adbeebeeffe3ddafc675d6eb2fc33" @@ -8085,7 +7572,7 @@ html-element-attributes@^1.0.0: version "1.3.1" resolved "https://registry.yarnpkg.com/html-element-attributes/-/html-element-attributes-1.3.1.tgz#9fa6a2e37e6b61790a303e87ddbbb9746e8c035f" -html-encoding-sniffer@^1.0.1, html-encoding-sniffer@^1.0.2: +html-encoding-sniffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8" dependencies: @@ -8612,6 +8099,10 @@ is-function@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.1.tgz#12cfb98b65b57dd3d193a3121f5f6e2f437602b5" +is-generator-fn@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-1.0.0.tgz#969d49e1bb3329f6bb7f09089be26578b2ddd46a" + is-glob@^2.0.0, is-glob@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" @@ -8851,7 +8342,7 @@ is-whitespace-character@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.2.tgz#ede53b4c6f6fb3874533751ec9280d01928d03ed" -is-windows@^1.0.0, is-windows@^1.0.1, is-windows@^1.0.2: +is-windows@^1.0.1, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" @@ -8910,7 +8401,7 @@ isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" -istanbul-api@^1.1.1: +istanbul-api@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.3.1.tgz#4c3b05d18c0016d1022e079b98dc82c40f488954" dependencies: @@ -8927,7 +8418,7 @@ istanbul-api@^1.1.1: mkdirp "^0.5.1" once "^1.4.0" -istanbul-lib-coverage@^1.0.1, istanbul-lib-coverage@^1.1.2, istanbul-lib-coverage@^1.2.0: +istanbul-lib-coverage@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.0.tgz#f7d8f2e42b97e37fe796114cb0f9d68b5e3a4341" @@ -8937,7 +8428,7 @@ istanbul-lib-hook@^1.2.0: dependencies: append-transform "^0.4.0" -istanbul-lib-instrument@^1.10.1, istanbul-lib-instrument@^1.4.2: +istanbul-lib-instrument@^1.10.1: version "1.10.1" resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.1.tgz#724b4b6caceba8692d3f1f9d0727e279c401af7b" dependencies: @@ -8958,16 +8449,6 @@ istanbul-lib-report@^1.1.4: path-parse "^1.0.5" supports-color "^3.1.2" -istanbul-lib-source-maps@^1.1.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.3.tgz#20fb54b14e14b3fb6edb6aca3571fd2143db44e6" - dependencies: - debug "^3.1.0" - istanbul-lib-coverage "^1.1.2" - mkdirp "^0.5.1" - rimraf "^2.6.1" - source-map "^0.5.3" - istanbul-lib-source-maps@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.4.tgz#cc7ccad61629f4efff8e2f78adb8c522c9976ec7" @@ -8995,379 +8476,238 @@ iterall@^1.2.1: version "1.2.2" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7" -jest-changed-files@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-20.0.3.tgz#9394d5cc65c438406149bef1bf4d52b68e03e3f8" - -jest-changed-files@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-21.2.0.tgz#5dbeecad42f5d88b482334902ce1cba6d9798d29" +jest-changed-files@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-23.2.0.tgz#a145a6e4b66d0129fc7c99cee134dc937a643d9c" dependencies: throat "^4.0.0" -jest-cli@^20.0.4: - version "20.0.4" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-20.0.4.tgz#e532b19d88ae5bc6c417e8b0593a6fe954b1dc93" - dependencies: - ansi-escapes "^1.4.0" - callsites "^2.0.0" - chalk "^1.1.3" - graceful-fs "^4.1.11" - is-ci "^1.0.10" - istanbul-api "^1.1.1" - istanbul-lib-coverage "^1.0.1" - istanbul-lib-instrument "^1.4.2" - istanbul-lib-source-maps "^1.1.0" - jest-changed-files "^20.0.3" - jest-config "^20.0.4" - jest-docblock "^20.0.3" - jest-environment-jsdom "^20.0.3" - jest-haste-map "^20.0.4" - jest-jasmine2 "^20.0.4" - jest-message-util "^20.0.3" - jest-regex-util "^20.0.3" - jest-resolve-dependencies "^20.0.3" - jest-runtime "^20.0.4" - jest-snapshot "^20.0.3" - jest-util "^20.0.3" - micromatch "^2.3.11" - node-notifier "^5.0.2" - pify "^2.3.0" - slash "^1.0.0" - string-length "^1.0.1" - throat "^3.0.0" - which "^1.2.12" - worker-farm "^1.3.1" - yargs "^7.0.2" - -jest-cli@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-21.2.1.tgz#9c528b6629d651911138d228bdb033c157ec8c00" +jest-cli@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-23.2.0.tgz#3b543a3da5145dd8937931017282379fc696c45b" dependencies: ansi-escapes "^3.0.0" chalk "^2.0.1" + exit "^0.1.2" glob "^7.1.2" graceful-fs "^4.1.11" + import-local "^1.0.0" is-ci "^1.0.10" - istanbul-api "^1.1.1" - istanbul-lib-coverage "^1.0.1" - istanbul-lib-instrument "^1.4.2" - istanbul-lib-source-maps "^1.1.0" - jest-changed-files "^21.2.0" - jest-config "^21.2.1" - jest-environment-jsdom "^21.2.1" - jest-haste-map "^21.2.0" - jest-message-util "^21.2.1" - jest-regex-util "^21.2.0" - jest-resolve-dependencies "^21.2.0" - jest-runner "^21.2.1" - jest-runtime "^21.2.1" - jest-snapshot "^21.2.1" - jest-util "^21.2.1" - micromatch "^2.3.11" - node-notifier "^5.0.2" - pify "^3.0.0" + istanbul-api "^1.3.1" + istanbul-lib-coverage "^1.2.0" + istanbul-lib-instrument "^1.10.1" + istanbul-lib-source-maps "^1.2.4" + jest-changed-files "^23.2.0" + jest-config "^23.2.0" + jest-environment-jsdom "^23.2.0" + jest-get-type "^22.1.0" + jest-haste-map "^23.2.0" + jest-message-util "^23.2.0" + jest-regex-util "^23.0.0" + jest-resolve-dependencies "^23.2.0" + jest-runner "^23.2.0" + jest-runtime "^23.2.0" + jest-snapshot "^23.2.0" + jest-util "^23.2.0" + jest-validate "^23.2.0" + jest-watcher "^23.2.0" + jest-worker "^23.2.0" + micromatch "^3.1.10" + node-notifier "^5.2.1" + prompts "^0.1.9" + realpath-native "^1.0.0" + rimraf "^2.5.4" slash "^1.0.0" string-length "^2.0.0" strip-ansi "^4.0.0" which "^1.2.12" - worker-farm "^1.3.1" - yargs "^9.0.0" + yargs "^11.0.0" -jest-config@^20.0.4: - version "20.0.4" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-20.0.4.tgz#e37930ab2217c913605eff13e7bd763ec48faeea" - dependencies: - chalk "^1.1.3" - glob "^7.1.1" - jest-environment-jsdom "^20.0.3" - jest-environment-node "^20.0.3" - jest-jasmine2 "^20.0.4" - jest-matcher-utils "^20.0.3" - jest-regex-util "^20.0.3" - jest-resolve "^20.0.4" - jest-validate "^20.0.3" - pretty-format "^20.0.3" - -jest-config@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-21.2.1.tgz#c7586c79ead0bcc1f38c401e55f964f13bf2a480" +jest-config@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-23.2.0.tgz#d2fb556fd5a2a19c39eb56d139dcca5dad2a1c88" dependencies: + babel-core "^6.0.0" + babel-jest "^23.2.0" chalk "^2.0.1" glob "^7.1.1" - jest-environment-jsdom "^21.2.1" - jest-environment-node "^21.2.1" - jest-get-type "^21.2.0" - jest-jasmine2 "^21.2.1" - jest-regex-util "^21.2.0" - jest-resolve "^21.2.0" - jest-util "^21.2.1" - jest-validate "^21.2.1" - pretty-format "^21.2.1" - -jest-diff@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-20.0.3.tgz#81f288fd9e675f0fb23c75f1c2b19445fe586617" - dependencies: - chalk "^1.1.3" - diff "^3.2.0" - jest-matcher-utils "^20.0.3" - pretty-format "^20.0.3" - -jest-diff@^21.0.2, jest-diff@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-21.2.1.tgz#46cccb6cab2d02ce98bc314011764bb95b065b4f" + jest-environment-jsdom "^23.2.0" + jest-environment-node "^23.2.0" + jest-get-type "^22.1.0" + jest-jasmine2 "^23.2.0" + jest-regex-util "^23.0.0" + jest-resolve "^23.2.0" + jest-util "^23.2.0" + jest-validate "^23.2.0" + pretty-format "^23.2.0" + +jest-diff@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-23.2.0.tgz#9f2cf4b51e12c791550200abc16b47130af1062a" dependencies: chalk "^2.0.1" diff "^3.2.0" - jest-get-type "^21.2.0" - pretty-format "^21.2.1" - -jest-docblock@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712" + jest-get-type "^22.1.0" + pretty-format "^23.2.0" -jest-docblock@^21.0.0, jest-docblock@^21.2.0: +jest-docblock@^21.0.0: version "21.2.0" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414" -jest-environment-jsdom@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-20.0.3.tgz#048a8ac12ee225f7190417713834bb999787de99" +jest-docblock@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-23.2.0.tgz#f085e1f18548d99fdd69b20207e6fd55d91383a7" dependencies: - jest-mock "^20.0.3" - jest-util "^20.0.3" - jsdom "^9.12.0" + detect-newline "^2.1.0" -jest-environment-jsdom@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-21.2.1.tgz#38d9980c8259b2a608ec232deee6289a60d9d5b4" +jest-each@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-23.2.0.tgz#a400f81c857083f50c4f53399b109f12023fb19d" dependencies: - jest-mock "^21.2.0" - jest-util "^21.2.1" - jsdom "^9.12.0" - -jest-environment-node@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-20.0.3.tgz#d488bc4612af2c246e986e8ae7671a099163d403" - dependencies: - jest-mock "^20.0.3" - jest-util "^20.0.3" + chalk "^2.0.1" + pretty-format "^23.2.0" -jest-environment-node@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-21.2.1.tgz#98c67df5663c7fbe20f6e792ac2272c740d3b8c8" +jest-environment-jsdom@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-23.2.0.tgz#3634603a08a975b0ca8a658320f56a54a8e04558" dependencies: - jest-mock "^21.2.0" - jest-util "^21.2.1" - -jest-get-type@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.2.0.tgz#f6376ab9db4b60d81e39f30749c6c466f40d4a23" + jest-mock "^23.2.0" + jest-util "^23.2.0" + jsdom "^11.5.1" -jest-glamor-react@^3.1.1: - version "3.3.0" - resolved "https://registry.yarnpkg.com/jest-glamor-react/-/jest-glamor-react-3.3.0.tgz#86be9bf699a4e20fa4f6e29d8f93d6c3b8f58cd5" +jest-environment-node@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-23.2.0.tgz#b6fe41372e382093bb6f3d9bdf6c1c4ec0a50f18" dependencies: - chalk "^1.1.3" - css "^2.2.1" - jest-diff "^21.0.2" - jest-snapshot "^21.0.2" - strip-ansi "^3.0.1" + jest-mock "^23.2.0" + jest-util "^23.2.0" -jest-haste-map@^20.0.4: - version "20.0.5" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.0.5.tgz#abad74efb1a005974a7b6517e11010709cab9112" - dependencies: - fb-watchman "^2.0.0" - graceful-fs "^4.1.11" - jest-docblock "^20.0.3" - micromatch "^2.3.11" - sane "~1.6.0" - worker-farm "^1.3.1" +jest-get-type@^22.1.0: + version "22.4.3" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4" -jest-haste-map@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-21.2.0.tgz#1363f0a8bb4338f24f001806571eff7a4b2ff3d8" +jest-haste-map@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-23.2.0.tgz#d10cbac007c695948c8ef1821a2b2ed2d4f2d4d8" dependencies: fb-watchman "^2.0.0" graceful-fs "^4.1.11" - jest-docblock "^21.2.0" - micromatch "^2.3.11" + jest-docblock "^23.2.0" + jest-serializer "^23.0.1" + jest-worker "^23.2.0" + micromatch "^3.1.10" sane "^2.0.0" - worker-farm "^1.3.1" jest-in-case@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/jest-in-case/-/jest-in-case-1.0.2.tgz#56744b5af33222bd0abab70cf919f1d170ab75cc" -jest-jasmine2@^20.0.4: - version "20.0.4" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-20.0.4.tgz#fcc5b1411780d911d042902ef1859e852e60d5e1" - dependencies: - chalk "^1.1.3" - graceful-fs "^4.1.11" - jest-diff "^20.0.3" - jest-matcher-utils "^20.0.3" - jest-matchers "^20.0.3" - jest-message-util "^20.0.3" - jest-snapshot "^20.0.3" - once "^1.4.0" - p-map "^1.1.1" - -jest-jasmine2@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-21.2.1.tgz#9cc6fc108accfa97efebce10c4308548a4ea7592" +jest-jasmine2@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-23.2.0.tgz#aa670cdb1e4d5f8ec774c94dda5e105fe33d8bb4" dependencies: chalk "^2.0.1" - expect "^21.2.1" - graceful-fs "^4.1.11" - jest-diff "^21.2.1" - jest-matcher-utils "^21.2.1" - jest-message-util "^21.2.1" - jest-snapshot "^21.2.1" - p-cancelable "^0.3.0" - -jest-matcher-utils@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-20.0.3.tgz#b3a6b8e37ca577803b0832a98b164f44b7815612" - dependencies: - chalk "^1.1.3" - pretty-format "^20.0.3" - -jest-matcher-utils@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-21.2.1.tgz#72c826eaba41a093ac2b4565f865eb8475de0f64" + co "^4.6.0" + expect "^23.2.0" + is-generator-fn "^1.0.0" + jest-diff "^23.2.0" + jest-each "^23.2.0" + jest-matcher-utils "^23.2.0" + jest-message-util "^23.2.0" + jest-snapshot "^23.2.0" + jest-util "^23.2.0" + pretty-format "^23.2.0" + +jest-leak-detector@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-23.2.0.tgz#c289d961dc638f14357d4ef96e0431ecc1aa377d" + dependencies: + pretty-format "^23.2.0" + +jest-matcher-utils@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-23.2.0.tgz#4d4981f23213e939e3cedf23dc34c747b5ae1913" dependencies: chalk "^2.0.1" - jest-get-type "^21.2.0" - pretty-format "^21.2.1" - -jest-matchers@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-matchers/-/jest-matchers-20.0.3.tgz#ca69db1c32db5a6f707fa5e0401abb55700dfd60" - dependencies: - jest-diff "^20.0.3" - jest-matcher-utils "^20.0.3" - jest-message-util "^20.0.3" - jest-regex-util "^20.0.3" - -jest-message-util@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-20.0.3.tgz#6aec2844306fcb0e6e74d5796c1006d96fdd831c" - dependencies: - chalk "^1.1.3" - micromatch "^2.3.11" - slash "^1.0.0" + jest-get-type "^22.1.0" + pretty-format "^23.2.0" -jest-message-util@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-21.2.1.tgz#bfe5d4692c84c827d1dcf41823795558f0a1acbe" +jest-message-util@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-23.2.0.tgz#591e8148fff69cf89b0414809c721756ebefe744" dependencies: + "@babel/code-frame" "^7.0.0-beta.35" chalk "^2.0.1" - micromatch "^2.3.11" + micromatch "^3.1.10" slash "^1.0.0" + stack-utils "^1.0.1" -jest-mock@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-20.0.3.tgz#8bc070e90414aa155c11a8d64c869a0d5c71da59" - -jest-mock@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-21.2.0.tgz#7eb0770e7317968165f61ea2a7281131534b3c0f" - -jest-regex-util@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-20.0.3.tgz#85bbab5d133e44625b19faf8c6aa5122d085d762" - -jest-regex-util@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-21.2.0.tgz#1b1e33e63143babc3e0f2e6c9b5ba1eb34b2d530" - -jest-resolve-dependencies@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-20.0.3.tgz#6e14a7b717af0f2cb3667c549de40af017b1723a" - dependencies: - jest-regex-util "^20.0.3" +jest-mock@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-23.2.0.tgz#ad1c60f29e8719d47c26e1138098b6d18b261134" -jest-resolve-dependencies@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-21.2.0.tgz#9e231e371e1a736a1ad4e4b9a843bc72bfe03d09" - dependencies: - jest-regex-util "^21.2.0" +jest-regex-util@^23.0.0: + version "23.0.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-23.0.0.tgz#dd5c1fde0c46f4371314cf10f7a751a23f4e8f76" -jest-resolve@^20.0.4: - version "20.0.4" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-20.0.4.tgz#9448b3e8b6bafc15479444c6499045b7ffe597a5" +jest-resolve-dependencies@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-23.2.0.tgz#6df8d5709c6406639cd07f54bff074e01b5c0458" dependencies: - browser-resolve "^1.11.2" - is-builtin-module "^1.0.0" - resolve "^1.3.2" + jest-regex-util "^23.0.0" + jest-snapshot "^23.2.0" -jest-resolve@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-21.2.0.tgz#068913ad2ba6a20218e5fd32471f3874005de3a6" +jest-resolve@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-23.2.0.tgz#a0790ad5a3b99002ab4dbfcbf8d9e2d6a69b3d99" dependencies: - browser-resolve "^1.11.2" + browser-resolve "^1.11.3" chalk "^2.0.1" - is-builtin-module "^1.0.0" - -jest-runner@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-21.2.1.tgz#194732e3e518bfb3d7cbfc0fd5871246c7e1a467" - dependencies: - jest-config "^21.2.1" - jest-docblock "^21.2.0" - jest-haste-map "^21.2.0" - jest-jasmine2 "^21.2.1" - jest-message-util "^21.2.1" - jest-runtime "^21.2.1" - jest-util "^21.2.1" - pify "^3.0.0" - throat "^4.0.0" - worker-farm "^1.3.1" + realpath-native "^1.0.0" -jest-runtime@^20.0.4: - version "20.0.4" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-20.0.4.tgz#a2c802219c4203f754df1404e490186169d124d8" +jest-runner@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-23.2.0.tgz#0d91967ea82f72b0c705910926086d2055ce75af" dependencies: - babel-core "^6.0.0" - babel-jest "^20.0.3" - babel-plugin-istanbul "^4.0.0" - chalk "^1.1.3" - convert-source-map "^1.4.0" + exit "^0.1.2" graceful-fs "^4.1.11" - jest-config "^20.0.4" - jest-haste-map "^20.0.4" - jest-regex-util "^20.0.3" - jest-resolve "^20.0.4" - jest-util "^20.0.3" - json-stable-stringify "^1.0.1" - micromatch "^2.3.11" - strip-bom "3.0.0" - yargs "^7.0.2" + jest-config "^23.2.0" + jest-docblock "^23.2.0" + jest-haste-map "^23.2.0" + jest-jasmine2 "^23.2.0" + jest-leak-detector "^23.2.0" + jest-message-util "^23.2.0" + jest-runtime "^23.2.0" + jest-util "^23.2.0" + jest-worker "^23.2.0" + source-map-support "^0.5.6" + throat "^4.0.0" -jest-runtime@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-21.2.1.tgz#99dce15309c670442eee2ebe1ff53a3cbdbbb73e" +jest-runtime@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-23.2.0.tgz#62dcb01766a1c4c64696dc090209e76ce1aadcbc" dependencies: babel-core "^6.0.0" - babel-jest "^21.2.0" - babel-plugin-istanbul "^4.0.0" + babel-plugin-istanbul "^4.1.6" chalk "^2.0.1" convert-source-map "^1.4.0" + exit "^0.1.2" + fast-json-stable-stringify "^2.0.0" graceful-fs "^4.1.11" - jest-config "^21.2.1" - jest-haste-map "^21.2.0" - jest-regex-util "^21.2.0" - jest-resolve "^21.2.0" - jest-util "^21.2.1" - json-stable-stringify "^1.0.1" - micromatch "^2.3.11" + jest-config "^23.2.0" + jest-haste-map "^23.2.0" + jest-message-util "^23.2.0" + jest-regex-util "^23.0.0" + jest-resolve "^23.2.0" + jest-snapshot "^23.2.0" + jest-util "^23.2.0" + jest-validate "^23.2.0" + micromatch "^3.1.10" + realpath-native "^1.0.0" slash "^1.0.0" strip-bom "3.0.0" write-file-atomic "^2.1.0" - yargs "^9.0.0" + yargs "^11.0.0" jest-serializer-html@^4.0.1: version "4.0.1" @@ -9375,75 +8715,74 @@ jest-serializer-html@^4.0.1: dependencies: diffable-html "^2.0.0" -jest-snapshot@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-20.0.3.tgz#5b847e1adb1a4d90852a7f9f125086e187c76566" - dependencies: - chalk "^1.1.3" - jest-diff "^20.0.3" - jest-matcher-utils "^20.0.3" - jest-util "^20.0.3" - natural-compare "^1.4.0" - pretty-format "^20.0.3" +jest-serializer@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-23.0.1.tgz#a3776aeb311e90fe83fab9e533e85102bd164165" -jest-snapshot@^21.0.2, jest-snapshot@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-21.2.1.tgz#29e49f16202416e47343e757e5eff948c07fd7b0" +jest-snapshot@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-23.2.0.tgz#c7a3d017177bbad60c8a595869cf90a8782e6a7e" dependencies: chalk "^2.0.1" - jest-diff "^21.2.1" - jest-matcher-utils "^21.2.1" + jest-diff "^23.2.0" + jest-matcher-utils "^23.2.0" mkdirp "^0.5.1" natural-compare "^1.4.0" - pretty-format "^21.2.1" - -jest-util@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-20.0.3.tgz#0c07f7d80d82f4e5a67c6f8b9c3fe7f65cfd32ad" - dependencies: - chalk "^1.1.3" - graceful-fs "^4.1.11" - jest-message-util "^20.0.3" - jest-mock "^20.0.3" - jest-validate "^20.0.3" - leven "^2.1.0" - mkdirp "^0.5.1" + pretty-format "^23.2.0" -jest-util@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-21.2.1.tgz#a274b2f726b0897494d694a6c3d6a61ab819bb78" +jest-util@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-23.2.0.tgz#62b770757696d96e094a04b8f1c373ca50a5ab2e" dependencies: callsites "^2.0.0" chalk "^2.0.1" graceful-fs "^4.1.11" - jest-message-util "^21.2.1" - jest-mock "^21.2.0" - jest-validate "^21.2.1" + is-ci "^1.0.10" + jest-message-util "^23.2.0" mkdirp "^0.5.1" + slash "^1.0.0" + source-map "^0.6.0" -jest-validate@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-20.0.3.tgz#d0cfd1de4f579f298484925c280f8f1d94ec3cab" +jest-validate@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-23.2.0.tgz#67c8b909e11af1701765238894c67ac3291b195e" dependencies: - chalk "^1.1.3" - jest-matcher-utils "^20.0.3" + chalk "^2.0.1" + jest-get-type "^22.1.0" leven "^2.1.0" - pretty-format "^20.0.3" + pretty-format "^23.2.0" + +jest-watch-typeahead@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/jest-watch-typeahead/-/jest-watch-typeahead-0.1.0.tgz#16b6cfe087fc7f181daadea5abeb68a0fcc70eac" + dependencies: + ansi-escapes "^3.0.0" + chalk "^2.3.1" + lodash "4.17.5" + slash "^1.0.0" + string-length "^2.0.0" + strip-ansi "^4.0.0" -jest-validate@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-21.2.1.tgz#cc0cbca653cd54937ba4f2a111796774530dd3c7" +jest-watcher@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-23.2.0.tgz#678e852896e919e9d9a0eb4b8baf1ae279620ea9" dependencies: + ansi-escapes "^3.0.0" chalk "^2.0.1" - jest-get-type "^21.2.0" - leven "^2.1.0" - pretty-format "^21.2.1" + string-length "^2.0.0" -jest@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest/-/jest-21.2.1.tgz#c964e0b47383768a1438e3ccf3c3d470327604e1" +jest-worker@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-23.2.0.tgz#faf706a8da36fae60eb26957257fa7b5d8ea02b9" dependencies: - jest-cli "^21.2.1" + merge-stream "^1.0.1" + +jest@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/jest/-/jest-23.2.0.tgz#828bf31a096d45dcf06824d1ea03013af7bcfc20" + dependencies: + import-local "^1.0.0" + jest-cli "^23.2.0" jimp@^0.2.13, jimp@^0.2.21, jimp@^0.2.24: version "0.2.28" @@ -9523,7 +8862,7 @@ jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" -jsdom@^11.3.0: +jsdom@^11.3.0, jsdom@^11.5.1: version "11.11.0" resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-11.11.0.tgz#df486efad41aee96c59ad7a190e2449c7eb1110e" dependencies: @@ -9554,30 +8893,6 @@ jsdom@^11.3.0: ws "^4.0.0" xml-name-validator "^3.0.0" -jsdom@^9.12.0: - version "9.12.0" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-9.12.0.tgz#e8c546fffcb06c00d4833ca84410fed7f8a097d4" - dependencies: - abab "^1.0.3" - acorn "^4.0.4" - acorn-globals "^3.1.0" - array-equal "^1.0.0" - content-type-parser "^1.0.1" - cssom ">= 0.3.2 < 0.4.0" - cssstyle ">= 0.2.37 < 0.3.0" - escodegen "^1.6.1" - html-encoding-sniffer "^1.0.1" - nwmatcher ">= 1.3.9 < 2.0.0" - parse5 "^1.5.1" - request "^2.79.0" - sax "^1.2.1" - symbol-tree "^3.2.1" - tough-cookie "^2.3.2" - webidl-conversions "^4.0.0" - whatwg-encoding "^1.0.1" - whatwg-url "^4.3.0" - xml-name-validator "^2.0.1" - jsesc@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" @@ -9614,7 +8929,7 @@ json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" -json-stable-stringify@^1.0.0, json-stable-stringify@^1.0.1: +json-stable-stringify@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" dependencies: @@ -10081,6 +9396,10 @@ lodash@4.17.4: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" +lodash@4.17.5: + version "4.17.5" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" + lodash@^3.2.0: version "3.10.1" resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" @@ -10380,7 +9699,7 @@ merge-descriptors@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" -merge-stream@^1.0.0: +merge-stream@^1.0.0, merge-stream@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-1.0.1.tgz#4041202d508a342ba00174008df0c251b8c135e1" dependencies: @@ -10805,7 +10124,7 @@ node-libs-browser@^2.0.0: util "^0.10.3" vm-browserify "0.0.4" -node-notifier@^5.0.2: +node-notifier@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.2.1.tgz#fa313dd08f5517db0e2502e5758d664ac69f9dea" dependencies: @@ -10976,10 +10295,6 @@ number-is-nan@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" -"nwmatcher@>= 1.3.9 < 2.0.0": - version "1.4.4" - resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.4.tgz#2285631f34a95f0d0395cd900c96ed39b58f346e" - nwsapi@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.0.0.tgz#7c8faf4ad501e1d17a651ebc5547f966b547c5c7" @@ -11060,6 +10375,13 @@ object.entries@^1.0.4: function-bind "^1.1.0" has "^1.0.1" +object.getownpropertydescriptors@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" + dependencies: + define-properties "^1.1.2" + es-abstract "^1.5.1" + object.omit@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" @@ -11405,10 +10727,6 @@ parse5@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" -parse5@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94" - parse5@^3.0.1, parse5@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c" @@ -11976,23 +11294,16 @@ pretty-error@^2.0.2, pretty-error@^2.1.1: renderkid "^2.0.1" utila "~0.4" -pretty-format@^20.0.3: - version "20.0.3" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-20.0.3.tgz#020e350a560a1fe1a98dc3beb6ccffb386de8b14" - dependencies: - ansi-regex "^2.1.1" - ansi-styles "^3.0.0" - -pretty-format@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-21.2.1.tgz#ae5407f3cf21066cd011aa1ba5fce7b6a2eddb36" +pretty-format@^22.4.3: + version "22.4.3" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.4.3.tgz#f873d780839a9c02e9664c8a082e9ee79eaac16f" dependencies: ansi-regex "^3.0.0" ansi-styles "^3.2.0" -pretty-format@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.4.3.tgz#f873d780839a9c02e9664c8a082e9ee79eaac16f" +pretty-format@^23.2.0: + version "23.2.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-23.2.0.tgz#3b0aaa63c018a53583373c1cb3a5d96cc5e83017" dependencies: ansi-regex "^3.0.0" ansi-styles "^3.2.0" @@ -12054,6 +11365,13 @@ promise@^7.1.1: dependencies: asap "~2.0.3" +prompts@^0.1.9: + version "0.1.10" + resolved "https://registry.yarnpkg.com/prompts/-/prompts-0.1.10.tgz#832cbf6116ecb121d6884e84643bb2cf92b3ed2c" + dependencies: + clorox "^1.0.3" + sisteransi "^0.1.1" + prop-types@^15.5.10, prop-types@^15.6.0: version "15.6.1" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.1.tgz#36644453564255ddda391191fb3a125cbdf654ca" @@ -12566,6 +11884,12 @@ readdirp@^2.0.0: readable-stream "^2.0.2" set-immediate-shim "^1.0.1" +realpath-native@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-1.0.0.tgz#7885721a83b43bd5327609f0ddecb2482305fdf0" + dependencies: + util.promisify "^1.0.0" + recompose@^0.27.1: version "0.27.1" resolved "https://registry.yarnpkg.com/recompose/-/recompose-0.27.1.tgz#1a49e931f183634516633bbb4f4edbfd3f38a7ba" @@ -12653,7 +11977,7 @@ regenerator-transform@^0.10.0: babel-types "^6.19.0" private "^0.1.6" -regenerator-transform@^0.12.3, regenerator-transform@^0.12.4: +regenerator-transform@^0.12.4: version "0.12.4" resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.12.4.tgz#aa9b6c59f4b97be080e972506c560b3bccbfcff0" dependencies: @@ -12956,7 +12280,7 @@ request@2.77.0: tough-cookie "~2.3.0" tunnel-agent "~0.4.1" -request@^2.65.0, request@^2.79.0, request@^2.81.0, request@^2.83.0, request@^2.85.0: +request@^2.65.0, request@^2.81.0, request@^2.83.0, request@^2.85.0: version "2.87.0" resolved "https://registry.yarnpkg.com/request/-/request-2.87.0.tgz#32f00235cd08d482b4d0d68db93a829c0ed5756e" dependencies: @@ -12997,10 +12321,6 @@ require-main-filename@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" -require-relative@0.8.7: - version "0.8.7" - resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de" - require-uncached@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" @@ -13145,18 +12465,18 @@ rn-host-detect@^1.0.1: version "1.1.3" resolved "https://registry.yarnpkg.com/rn-host-detect/-/rn-host-detect-1.1.3.tgz#242d76e2fa485c48d751416e65b7cce596969e91" -rollup-plugin-alias@^1.3.1: +rollup-plugin-alias@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/rollup-plugin-alias/-/rollup-plugin-alias-1.4.0.tgz#120cba7c46621c03138f0ca6fd5dd2ade9872db9" dependencies: slash "^1.0.0" -rollup-plugin-babel@4.0.0-beta.4: - version "4.0.0-beta.4" - resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.0.0-beta.4.tgz#d869646885d6ad73dd10791a261fb92674a80410" +rollup-plugin-babel@4.0.0-beta.7: + version "4.0.0-beta.7" + resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.0.0-beta.7.tgz#8c38a685f8009fc6fbf1d31597cb3c5f8060caf5" dependencies: - "@babel/helper-module-imports" "7.0.0-beta.44" - rollup-pluginutils "^2.0.1" + "@babel/helper-module-imports" "7.0.0-beta.51" + rollup-pluginutils "^2.3.0" rollup-plugin-commonjs@^9.1.3: version "9.1.3" @@ -13167,7 +12487,7 @@ rollup-plugin-commonjs@^9.1.3: resolve "^1.5.0" rollup-pluginutils "^2.0.1" -rollup-plugin-node-resolve@^3.0.0: +rollup-plugin-node-resolve@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.3.0.tgz#c26d110a36812cbefa7ce117cadcd3439aa1c713" dependencies: @@ -13190,24 +12510,16 @@ rollup-plugin-uglify@^4.0.0: "@babel/code-frame" "^7.0.0-beta.47" uglify-js "^3.3.25" -rollup-pluginutils@^2.0.1: +rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.3.0.tgz#478ace04bd7f6da2e724356ca798214884738fc4" dependencies: estree-walker "^0.5.2" micromatch "^2.3.11" -rollup-watch@^4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/rollup-watch/-/rollup-watch-4.3.1.tgz#5aa1eaeab787addf368905d102b39d6fc5ce4a8b" - dependencies: - chokidar "^1.7.0" - require-relative "0.8.7" - rollup-pluginutils "^2.0.1" - -rollup@^0.60.1: - version "0.60.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.60.1.tgz#07cb66153f1541d5f7e82b8393b405c31647dae9" +rollup@^0.62.0: + version "0.62.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.62.0.tgz#4ca8b3c9582195dc9341ff8a1375f58319b95bfc" dependencies: "@types/estree" "0.0.39" "@types/node" "*" @@ -13282,18 +12594,6 @@ sane@^2.0.0: optionalDependencies: fsevents "^1.2.3" -sane@~1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/sane/-/sane-1.6.0.tgz#9610c452307a135d29c1fdfe2547034180c46775" - dependencies: - anymatch "^1.3.0" - exec-sh "^0.2.0" - fb-watchman "^1.8.0" - minimatch "^3.0.2" - minimist "^1.1.1" - walker "~1.0.5" - watch "~0.10.0" - sanitize-html@^1.18.2: version "1.18.2" resolved "https://registry.yarnpkg.com/sanitize-html/-/sanitize-html-1.18.2.tgz#61877ba5a910327e42880a28803c2fbafa8e4642" @@ -13309,7 +12609,7 @@ sanitize-html@^1.18.2: srcset "^1.0.0" xtend "^4.0.0" -sax@>=0.6.0, sax@^1.2.1, sax@^1.2.4, sax@~1.2.1: +sax@>=0.6.0, sax@^1.2.4, sax@~1.2.1: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" @@ -13607,6 +12907,10 @@ simple-swizzle@^0.2.2: dependencies: is-arrayish "^0.3.1" +sisteransi@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-0.1.1.tgz#5431447d5f7d1675aac667ccd0b865a4994cb3ce" + sitemap@^1.12.0: version "1.13.0" resolved "https://registry.yarnpkg.com/sitemap/-/sitemap-1.13.0.tgz#569cbe2180202926a62a266cd3de09c9ceb43f83" @@ -13769,6 +13073,13 @@ source-map-support@^0.4.15: dependencies: source-map "^0.5.6" +source-map-support@^0.5.6: + version "0.5.6" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.6.tgz#4435cee46b1aab62b8e8610ce60f788091c51c13" + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + source-map-url@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" @@ -13789,7 +13100,7 @@ source-map@^0.4.4: dependencies: amdefine ">=0.0.4" -source-map@^0.6.1, source-map@~0.6.1: +source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" @@ -13924,6 +13235,10 @@ stack-trace@^0.0.10: version "0.0.10" resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" +stack-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.1.tgz#d4f33ab54e8e38778b0ca5cfd3b3afb12db68620" + stackframe@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.0.4.tgz#357b24a992f9427cba6b545d96a14ed2cbca187b" @@ -14022,12 +13337,6 @@ strict-uri-encode@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" -string-length@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/string-length/-/string-length-1.0.1.tgz#56970fb1c38558e9e70b728bf3de269ac45adfac" - dependencies: - strip-ansi "^3.0.0" - string-length@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed" @@ -14041,7 +13350,7 @@ string-similarity@^1.2.0: dependencies: lodash "^4.13.1" -string-width@^1.0.1, string-width@^1.0.2: +string-width@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" dependencies: @@ -14268,7 +13577,7 @@ symbol-observable@^1.0.2, symbol-observable@^1.0.3, symbol-observable@^1.0.4: version "1.2.0" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" -symbol-tree@^3.2.1, symbol-tree@^3.2.2: +symbol-tree@^3.2.2: version "3.2.2" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" @@ -14389,10 +13698,6 @@ thenify-all@^1.0.0, thenify-all@^1.6.0: dependencies: any-promise "^1.0.0" -throat@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/throat/-/throat-3.2.0.tgz#50cb0670edbc40237b9e347d7e1f88e4620af836" - throat@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a" @@ -14553,7 +13858,7 @@ touch@^1.0.0: dependencies: nopt "~1.0.10" -tough-cookie@>=2.3.3, tough-cookie@^2.3.2, tough-cookie@^2.3.3, tough-cookie@~2.3.0, tough-cookie@~2.3.3: +tough-cookie@>=2.3.3, tough-cookie@^2.3.3, tough-cookie@~2.3.0, tough-cookie@~2.3.3: version "2.3.4" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" dependencies: @@ -14565,10 +13870,6 @@ tr46@^1.0.1: dependencies: punycode "^2.1.0" -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - traverse@0.6.6: version "0.6.6" resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137" @@ -15044,6 +14345,13 @@ util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" +util.promisify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" + dependencies: + define-properties "^1.1.2" + object.getownpropertydescriptors "^2.0.3" + util@0.10.3: version "0.10.3" resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" @@ -15236,10 +14544,6 @@ warning@^4.0.1: dependencies: loose-envify "^1.0.0" -watch@~0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/watch/-/watch-0.10.0.tgz#77798b2da0f9910d595f1ace5b0c2258521f21dc" - watch@~0.18.0: version "0.18.0" resolved "https://registry.yarnpkg.com/watch/-/watch-0.18.0.tgz#28095476c6df7c90c963138990c0a5423eb4b986" @@ -15271,11 +14575,7 @@ web-namespaces@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.2.tgz#c8dc267ab639505276bae19e129dbd6ae72b22b4" -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - -webidl-conversions@^4.0.0, webidl-conversions@^4.0.2: +webidl-conversions@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" @@ -15480,13 +14780,6 @@ whatwg-mimetype@^2.0.0, whatwg-mimetype@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.1.0.tgz#f0f21d76cbba72362eb609dbed2a30cd17fcc7d4" -whatwg-url@^4.3.0: - version "4.8.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-4.8.0.tgz#d2981aa9148c1e00a41c5a6131166ab4683bbcc0" - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - whatwg-url@^6.4.0, whatwg-url@^6.4.1: version "6.4.1" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-6.4.1.tgz#fdb94b440fd4ad836202c16e9737d511f012fd67" @@ -15499,10 +14792,6 @@ whet.extend@~0.9.9: version "0.9.9" resolved "https://registry.yarnpkg.com/whet.extend/-/whet.extend-0.9.9.tgz#f877d5bf648c97e5aa542fadc16d6a259b9c11a1" -which-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" - which-module@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" @@ -15549,7 +14838,7 @@ wordwrap@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" -worker-farm@^1.3.1, worker-farm@^1.5.2: +worker-farm@^1.5.2: version "1.6.0" resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.6.0.tgz#aecc405976fab5a95526180846f0dba288f3a4a0" dependencies: @@ -15660,10 +14949,6 @@ xhr@^2.0.1: parse-headers "^2.0.0" xtend "^4.0.0" -xml-name-validator@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" - xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" @@ -15723,12 +15008,6 @@ yaml-loader@^0.5.0: dependencies: js-yaml "^3.5.2" -yargs-parser@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a" - dependencies: - camelcase "^3.0.0" - yargs-parser@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9" @@ -15741,7 +15020,7 @@ yargs-parser@^9.0.2: dependencies: camelcase "^4.1.0" -yargs@11.0.0: +yargs@11.0.0, yargs@^11.0.0: version "11.0.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.0.0.tgz#c052931006c5eee74610e5fc0354bedfd08a201b" dependencies: @@ -15787,24 +15066,6 @@ yargs@^3.31.0: window-size "^0.1.4" y18n "^3.2.0" -yargs@^7.0.2: - version "7.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8" - dependencies: - camelcase "^3.0.0" - cliui "^3.2.0" - decamelize "^1.1.1" - get-caller-file "^1.0.1" - os-locale "^1.4.0" - read-pkg-up "^1.0.1" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^1.0.2" - which-module "^1.0.0" - y18n "^3.2.1" - yargs-parser "^5.0.0" - yargs@^8.0.2: version "8.0.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-8.0.2.tgz#6299a9055b1cefc969ff7e79c1d918dceb22c360"