From 43737d0c35cc54bd49fa4c16b594c5fd480bd6df Mon Sep 17 00:00:00 2001 From: mikael-kristiansson Date: Tue, 2 Apr 2019 12:33:00 +0200 Subject: [PATCH 1/3] changed domready package to domready-loaded which is compatible with ie10 --- packages/gatsby/cache-dir/app.js | 2 +- packages/gatsby/cache-dir/production-app.js | 2 +- packages/gatsby/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/gatsby/cache-dir/app.js b/packages/gatsby/cache-dir/app.js index be21e769d9e4e..195090bf30a48 100644 --- a/packages/gatsby/cache-dir/app.js +++ b/packages/gatsby/cache-dir/app.js @@ -1,6 +1,6 @@ import React from "react" import ReactDOM from "react-dom" -import domReady from "domready" +import domReady from "domready-loaded" import socketIo from "./socketIo" import emitter from "./emitter" diff --git a/packages/gatsby/cache-dir/production-app.js b/packages/gatsby/cache-dir/production-app.js index 0e174ab30376e..f2a9b2cc39a5e 100644 --- a/packages/gatsby/cache-dir/production-app.js +++ b/packages/gatsby/cache-dir/production-app.js @@ -4,7 +4,7 @@ import ReactDOM from "react-dom" import { Router, navigate } from "@reach/router" import { match } from "@reach/router/lib/utils" import { ScrollContext } from "gatsby-react-router-scroll" -import domReady from "domready" +import domReady from "domready-loaded" import { shouldUpdateScroll, init as navigationInit, diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 6d8749bdb02b1..212cee82efbf4 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -46,7 +46,7 @@ "del": "^3.0.0", "detect-port": "^1.2.1", "devcert-san": "^0.3.3", - "domready": "^1.0.8", + "domready-loaded": "^1.0.9", "dotenv": "^4.0.0", "eslint": "^5.6.0", "eslint-config-react-app": "^3.0.0", From 4bad295a7d8247538bfb88aa780a0e5d0c0fd974 Mon Sep 17 00:00:00 2001 From: mikael-kristiansson Date: Tue, 2 Apr 2019 14:34:49 +0200 Subject: [PATCH 2/3] updated domready to @mikaelkristiansson/domready --- packages/gatsby/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 212cee82efbf4..5a1a3b522dd28 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -46,7 +46,7 @@ "del": "^3.0.0", "detect-port": "^1.2.1", "devcert-san": "^0.3.3", - "domready-loaded": "^1.0.9", + "@mikaelkristiansson/domready": "^1.0.9", "dotenv": "^4.0.0", "eslint": "^5.6.0", "eslint-config-react-app": "^3.0.0", From 1383a9f9cc975c82998662909eb2b1f2657ca9ad Mon Sep 17 00:00:00 2001 From: mikael-kristiansson Date: Tue, 2 Apr 2019 14:57:17 +0200 Subject: [PATCH 3/3] updated packages/gatsby to use @mikaelkristiansson/domready --- packages/gatsby/cache-dir/app.js | 2 +- packages/gatsby/cache-dir/production-app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gatsby/cache-dir/app.js b/packages/gatsby/cache-dir/app.js index 195090bf30a48..a3da15eaa97f7 100644 --- a/packages/gatsby/cache-dir/app.js +++ b/packages/gatsby/cache-dir/app.js @@ -1,6 +1,6 @@ import React from "react" import ReactDOM from "react-dom" -import domReady from "domready-loaded" +import domReady from "@mikaelkristiansson/domready" import socketIo from "./socketIo" import emitter from "./emitter" diff --git a/packages/gatsby/cache-dir/production-app.js b/packages/gatsby/cache-dir/production-app.js index f2a9b2cc39a5e..c3067b678e9d5 100644 --- a/packages/gatsby/cache-dir/production-app.js +++ b/packages/gatsby/cache-dir/production-app.js @@ -4,7 +4,7 @@ import ReactDOM from "react-dom" import { Router, navigate } from "@reach/router" import { match } from "@reach/router/lib/utils" import { ScrollContext } from "gatsby-react-router-scroll" -import domReady from "domready-loaded" +import domReady from "@mikaelkristiansson/domready" import { shouldUpdateScroll, init as navigationInit,