From 6a221c245fbcf9875a65a5363b3a1ef425dca2df Mon Sep 17 00:00:00 2001 From: Mikael Kristiansson Date: Tue, 2 Apr 2019 22:19:36 +0200 Subject: [PATCH] chore(gatsby): fix domready package to be compatible with ie10 (#13027) * changed domready package to domready-loaded which is compatible with ie10 * updated domready to @mikaelkristiansson/domready * updated packages/gatsby to use @mikaelkristiansson/domready --- 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..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" +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 0e174ab30376e..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" +import domReady from "@mikaelkristiansson/domready" import { shouldUpdateScroll, init as navigationInit, diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 885c63c58e82e..aa7ec34ef1952 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", + "@mikaelkristiansson/domready": "^1.0.9", "dotenv": "^4.0.0", "eslint": "^5.6.0", "eslint-config-react-app": "^3.0.0",