From 850e48d39e6367c9dd077df21c8cbea11c840c1b Mon Sep 17 00:00:00 2001 From: Hypnosphi Date: Tue, 30 Jan 2018 01:29:36 +0300 Subject: [PATCH 01/11] Fix browser navigation again --- lib/core/src/client/preview/syncUrlWithStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/client/preview/syncUrlWithStore.js b/lib/core/src/client/preview/syncUrlWithStore.js index d5f192b3b7d2..e02521df9637 100644 --- a/lib/core/src/client/preview/syncUrlWithStore.js +++ b/lib/core/src/client/preview/syncUrlWithStore.js @@ -21,6 +21,6 @@ export default function syncUrlToStore(reduxStore) { selectedKind, selectedStory, }); - window.history.pushState({}, '', `?${queryString}`); + window.history.replaceState({}, '', `?${queryString}`); }); } From ebbc4f1e8119a3c179c8798c8a0d1dc180e5d78b Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 30 Jan 2018 16:32:34 +0000 Subject: [PATCH 02/11] Update gatsby-source-filesystem from 1.5.15 to 1.5.16 --- docs/package.json | 2 +- docs/yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/package.json b/docs/package.json index ac712cf7a7b3..79ee6fb64164 100644 --- a/docs/package.json +++ b/docs/package.json @@ -38,7 +38,7 @@ "gatsby-remark-copy-linked-files": "^1.5.25", "gatsby-remark-images": "^1.5.41", "gatsby-remark-smartypants": "^1.4.10", - "gatsby-source-filesystem": "^1.5.15", + "gatsby-source-filesystem": "^1.5.16", "gatsby-transformer-remark": "^1.7.30", "gh-pages": "^1.1.0", "global": "^4.3.2", diff --git a/docs/yarn.lock b/docs/yarn.lock index ecaae34307f6..f5529ace5f41 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4458,9 +4458,9 @@ gatsby-remark-smartypants@^1.4.10: retext-smartypants "^2.0.0" unist-util-visit "^1.1.1" -gatsby-source-filesystem@^1.5.15: - version "1.5.15" - resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-1.5.15.tgz#26278e00101f03c279f4f0bdd285420ff561e8b2" +gatsby-source-filesystem@^1.5.16: + version "1.5.16" + resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-1.5.16.tgz#1439093b6ad53322667870ca4ed636ad0e2121b0" dependencies: babel-cli "^6.26.0" babel-runtime "^6.26.0" From e4b8aecd5de3280b2166d20c7495761a62403f8a Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 30 Jan 2018 16:34:36 +0000 Subject: [PATCH 03/11] Update gatsby from 1.9.172 to 1.9.174 --- docs/package.json | 2 +- docs/yarn.lock | 27 ++++++++++++++++----------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/docs/package.json b/docs/package.json index 79ee6fb64164..cb07205250d7 100644 --- a/docs/package.json +++ b/docs/package.json @@ -31,7 +31,7 @@ "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", - "gatsby": "^1.9.171", + "gatsby": "^1.9.174", "gatsby-link": "^1.6.35", "gatsby-plugin-sharp": "^1.6.27", "gatsby-remark-autolink-headers": "^1.4.11", diff --git a/docs/yarn.lock b/docs/yarn.lock index f5529ace5f41..b11501d74de4 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4352,9 +4352,9 @@ gatsby-1-config-css-modules@^1.0.8: dependencies: babel-runtime "^6.26.0" -gatsby-cli@^1.1.32: - version "1.1.32" - resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.32.tgz#5591b343a1ef4c4643a05c85ca711043dcd487c7" +gatsby-cli@^1.1.33: + version "1.1.33" + resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.33.tgz#a79337d73f88ef1157aceefd245242ec0d463680" dependencies: babel-code-frame "^6.26.0" babel-runtime "^6.26.0" @@ -4407,9 +4407,9 @@ gatsby-plugin-sharp@^1.6.27: sharp "^0.19.0" svgo "^0.7.2" -gatsby-react-router-scroll@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.8.tgz#6cc9d80c139e58ed5189dd35146ac37b46846cd5" +gatsby-react-router-scroll@^1.0.9: + version "1.0.9" + resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.9.tgz#0a321e7ae8c69ac6ba9528abf5b7be4e549a943f" dependencies: babel-runtime "^6.26.0" scroll-behavior "^0.9.1" @@ -4499,9 +4499,9 @@ gatsby-transformer-remark@^1.7.30: unist-util-select "^1.5.0" unist-util-visit "^1.1.1" -gatsby@^1.9.171: - version "1.9.172" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.172.tgz#2d3719b85fcce392415a654e7bdad1369d12726b" +gatsby@^1.9.174: + version "1.9.175" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.175.tgz#a0e1f9a66202f5821abfc1fdbcf3673c3dfa5b4c" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" @@ -4541,10 +4541,10 @@ gatsby@^1.9.171: front-matter "^2.1.0" fs-extra "^4.0.1" gatsby-1-config-css-modules "^1.0.8" - gatsby-cli "^1.1.32" + gatsby-cli "^1.1.33" gatsby-link "^1.6.35" gatsby-module-loader "^1.0.9" - gatsby-react-router-scroll "^1.0.8" + gatsby-react-router-scroll "^1.0.9" glob "^7.1.1" graphql "^0.11.7" graphql-relay "^0.5.1" @@ -4589,6 +4589,7 @@ gatsby@^1.9.171: relay-compiler "^1.4.1" remote-redux-devtools "^0.5.7" serve "^6.4.0" + shallow-compare "^1.2.2" sift "^3.2.6" signal-exit "^3.0.2" slash "^1.0.0" @@ -9835,6 +9836,10 @@ sha.js@^2.4.0, sha.js@^2.4.8: inherits "^2.0.1" safe-buffer "^5.0.1" +shallow-compare@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/shallow-compare/-/shallow-compare-1.2.2.tgz#fa4794627bf455a47c4f56881d8a6132d581ffdb" + shallowequal@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-0.2.2.tgz#1e32fd5bcab6ad688a4812cb0cc04efc75c7014e" From 27da0735ea181b606c9cd51db75eb3bef7b267f3 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 30 Jan 2018 16:35:51 +0000 Subject: [PATCH 04/11] Update @types/lodash from 4.14.97 to 4.14.98 in / --- package.json | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 907f81b188ec..892b7446fff2 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "chromatic": "npm --prefix examples/official-storybook run chromatic" }, "devDependencies": { - "@types/lodash": "^4.14.97", + "@types/lodash": "^4.14.98", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.2.1", diff --git a/yarn.lock b/yarn.lock index 4282b507d202..ce9e5ecd54c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -298,9 +298,9 @@ version "4.14.92" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.92.tgz#6e3cb0b71a1e12180a47a42a744e856c3ae99a57" -"@types/lodash@^4.14.97": - version "4.14.97" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.97.tgz#7262d6d5fc5e87cdb3f68eb33accd4024f2b211e" +"@types/lodash@^4.14.98": + version "4.14.98" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.98.tgz#aaf012ae443e657e7885e605a4c1b340db160609" "@types/mz@0.0.32": version "0.0.32" From f6e6d251fe852599d5051cfa4b2f0490f669ca74 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 30 Jan 2018 16:38:09 +0000 Subject: [PATCH 05/11] Update jest-enzyme from 4.0.2 to 4.1.0 in / --- package.json | 2 +- yarn.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 892b7446fff2..f9a46214474c 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "jest-config": "^22.1.4", "jest-diff": "^22.1.0", "jest-environment-jsdom": "^22.1.4", - "jest-enzyme": "^4.0.2", + "jest-enzyme": "^4.1.0", "jest-image-snapshot": "^2.3.0", "jest-jasmine2": "^22.1.4", "jest-preset-angular": "^5.0.0", diff --git a/yarn.lock b/yarn.lock index ce9e5ecd54c8..4358f41ffec5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4547,9 +4547,9 @@ enzyme-adapter-utils@^1.3.0: object.assign "^4.0.4" prop-types "^15.6.0" -enzyme-matchers@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-4.0.2.tgz#3f4457d0d0da3e268af4bee9f222439dfca26214" +enzyme-matchers@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-4.1.1.tgz#ce8c177f96f05e757a2c7b5ca4040450c3beb57c" dependencies: circular-json-es6 "^2.0.1" deep-equal-ident "^1.1.1" @@ -7847,11 +7847,11 @@ jest-environment-node@^22.1.4: jest-mock "^22.1.0" jest-util "^22.1.4" -jest-enzyme@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/jest-enzyme/-/jest-enzyme-4.0.2.tgz#c3a87f311889819d51ae2639c9da412da07cfc4a" +jest-enzyme@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/jest-enzyme/-/jest-enzyme-4.1.1.tgz#db080b3ff2f93ab7161715d69801d1d5f187ed13" dependencies: - enzyme-matchers "^4.0.2" + enzyme-matchers "^4.1.1" enzyme-to-json "^3.3.0" jest-get-type@^21.2.0: From 293215d79a27287c97c66cd652402fd9132b0ae2 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 30 Jan 2018 16:40:29 +0000 Subject: [PATCH 06/11] Update uglifyjs-webpack-plugin from 1.1.6 to 1.1.7 in app/angular --- app/angular/package.json | 2 +- yarn.lock | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app/angular/package.json b/app/angular/package.json index d309bbb798c4..a30d10da9212 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -79,7 +79,7 @@ "shelljs": "^0.8.1", "style-loader": "^0.20.1", "ts-loader": "^2.2.2", - "uglifyjs-webpack-plugin": "^1.1.6", + "uglifyjs-webpack-plugin": "^1.1.7", "url-loader": "^0.6.2", "util-deprecate": "^1.0.2", "uuid": "^3.2.1", diff --git a/yarn.lock b/yarn.lock index 4358f41ffec5..8f527c5f489f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14690,6 +14690,19 @@ uglifyjs-webpack-plugin@^1.1.5, uglifyjs-webpack-plugin@^1.1.6: webpack-sources "^1.1.0" worker-farm "^1.5.2" +uglifyjs-webpack-plugin@^1.1.7: + version "1.1.8" + resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.8.tgz#1302fb9471a7daf3d0a5174da6d65f0f415e75ad" + dependencies: + cacache "^10.0.1" + find-cache-dir "^1.0.0" + schema-utils "^0.4.2" + serialize-javascript "^1.4.0" + source-map "^0.6.1" + uglify-es "^3.3.4" + webpack-sources "^1.1.0" + worker-farm "^1.5.2" + uid-number@0.0.6, uid-number@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" From b1e6da0fb431151dc897f49f22ae9c3569b0c805 Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 30 Jan 2018 16:42:42 +0000 Subject: [PATCH 07/11] Update uglifyjs-webpack-plugin from 1.1.6 to 1.1.7 in app/react-native --- app/react-native/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react-native/package.json b/app/react-native/package.json index 60467b655ba5..b8032ed70654 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -62,7 +62,7 @@ "react-native-iphone-x-helper": "^1.0.1", "shelljs": "^0.8.1", "style-loader": "^0.20.1", - "uglifyjs-webpack-plugin": "^1.1.6", + "uglifyjs-webpack-plugin": "^1.1.7", "url-loader": "^0.6.2", "url-parse": "^1.1.9", "util-deprecate": "^1.0.2", From 46ce5285928c83e9de7081fb4a101df47b99909e Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 30 Jan 2018 16:44:53 +0000 Subject: [PATCH 08/11] Update uglifyjs-webpack-plugin from 1.1.6 to 1.1.7 in app/react --- app/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/package.json b/app/react/package.json index 9a3e079c2d67..28bed8332450 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -75,7 +75,7 @@ "serve-favicon": "^2.4.5", "shelljs": "^0.8.1", "style-loader": "^0.20.1", - "uglifyjs-webpack-plugin": "^1.1.6", + "uglifyjs-webpack-plugin": "^1.1.7", "url-loader": "^0.6.2", "util-deprecate": "^1.0.2", "uuid": "^3.2.1", From 9b3a02a5f8861bdbf30c1decd4d972e70286a21e Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Tue, 30 Jan 2018 16:47:09 +0000 Subject: [PATCH 09/11] Update uglifyjs-webpack-plugin from 1.1.6 to 1.1.7 in app/vue --- app/vue/package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/vue/package.json b/app/vue/package.json index 227c018eb132..a0c961ff0bd7 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -71,7 +71,7 @@ "serve-favicon": "^2.4.5", "shelljs": "^0.8.1", "style-loader": "^0.20.1", - "uglifyjs-webpack-plugin": "^1.1.6", + "uglifyjs-webpack-plugin": "^1.1.7", "url-loader": "^0.6.2", "util-deprecate": "^1.0.2", "uuid": "^3.2.1", diff --git a/yarn.lock b/yarn.lock index 8f527c5f489f..a3906c95a7cc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14677,7 +14677,7 @@ uglifyjs-webpack-plugin@^0.4.6: uglify-js "^2.8.29" webpack-sources "^1.0.1" -uglifyjs-webpack-plugin@^1.1.5, uglifyjs-webpack-plugin@^1.1.6: +uglifyjs-webpack-plugin@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.6.tgz#f4ba8449edcf17835c18ba6ae99b9d610857fb19" dependencies: From e160beda8503da5f6f2b74f52686a5be5cc5fb5b Mon Sep 17 00:00:00 2001 From: Hypnosphi Date: Tue, 30 Jan 2018 23:54:08 +0300 Subject: [PATCH 10/11] Run prettier --- examples/vue-kitchen-sink/src/stories/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/vue-kitchen-sink/src/stories/index.js b/examples/vue-kitchen-sink/src/stories/index.js index e8d1d93d6d56..645a4b23cc32 100644 --- a/examples/vue-kitchen-sink/src/stories/index.js +++ b/examples/vue-kitchen-sink/src/stories/index.js @@ -233,7 +233,6 @@ storiesOf('Addon Knobs', module) const salutation = nice ? 'Nice to meet you!' : 'Leave me alone!'; const dateOptions = { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' }; - button('Arbitrary action', action('You clicked it!')); return { From 8259467795e8543b9d80762568000cb106856a84 Mon Sep 17 00:00:00 2001 From: Hypnosphi Date: Tue, 30 Jan 2018 23:56:57 +0300 Subject: [PATCH 11/11] Update CLI snapshots --- lib/cli/test/snapshots/sfc_vue/package.json | 2 +- lib/cli/test/snapshots/vue/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cli/test/snapshots/sfc_vue/package.json b/lib/cli/test/snapshots/sfc_vue/package.json index b29e79adee86..234aa75a1b05 100644 --- a/lib/cli/test/snapshots/sfc_vue/package.json +++ b/lib/cli/test/snapshots/sfc_vue/package.json @@ -53,7 +53,7 @@ "@storybook/addon-actions": "^3.4.0-alpha.6", "@storybook/addon-links": "^3.4.0-alpha.6", "@storybook/addons": "^3.4.0-alpha.6", - "babel-preset-vue": "^2.0.0" + "babel-preset-vue": "^2.0.1" }, "engines": { "node": ">= 4.0.0", diff --git a/lib/cli/test/snapshots/vue/package.json b/lib/cli/test/snapshots/vue/package.json index a2abd2931cbd..9a24e0bf0bb4 100644 --- a/lib/cli/test/snapshots/vue/package.json +++ b/lib/cli/test/snapshots/vue/package.json @@ -38,6 +38,6 @@ "@storybook/addon-actions": "^3.4.0-alpha.6", "@storybook/addon-links": "^3.4.0-alpha.6", "@storybook/addons": "^3.4.0-alpha.6", - "babel-preset-vue": "^2.0.0" + "babel-preset-vue": "^2.0.1" } }