From 095cf064c88c00d2728eeac2770d01b90517270b Mon Sep 17 00:00:00 2001 From: mihaisc Date: Tue, 26 Jan 2021 23:00:54 +0200 Subject: [PATCH] downgrade gatsby (#339) * down gatsby Signed-off-by: mihaisc * fix travis Signed-off-by: mihaisc --- .travis.yml | 10 +++++----- gatsby-browser.js | 5 ----- package.json | 4 ++-- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index d44ec521f..79e0ab1aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,11 @@ node_js: node cache: npm: true -before_install: - - sudo apt-get -qq update - - sudo apt-get install python3-pip - - sudo -H pip3 install --upgrade pip - - sudo -H pip3 install -U setuptools +addons: + apt: + packages: + - python3 + - python3-pip before_script: # - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter diff --git a/gatsby-browser.js b/gatsby-browser.js index 6a1a870a8..28a1db925 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -3,8 +3,3 @@ import wrapRootElementWithProviders from './src/helpers/wrapRootElement' export const wrapPageElement = wrapPageElementWithStyles export const wrapRootElement = wrapRootElementWithProviders - -// IntersectionObserver polyfill for gatsby-image (Safari, IE) -if (typeof window.IntersectionObserver === 'undefined') { - import('intersection-observer') -} diff --git a/package.json b/package.json index 096c68933..77077515f 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "ethereum-blockies": "github:MyEtherWallet/blockies", "filesize": "^6.1.0", "formik": "^2.2.6", - "gatsby": "^2.31.0", + "gatsby": "^2.30.2", "gatsby-image": "^2.9.0", "gatsby-plugin-google-analytics": "^2.9.0", "gatsby-plugin-manifest": "^2.10.0", @@ -58,7 +58,7 @@ "gatsby-plugin-use-dark-mode": "^1.2.0", "gatsby-plugin-webpack-size": "^1.0.0", "gatsby-source-filesystem": "^2.9.0", - "gatsby-source-graphql": "^2.13.0", + "gatsby-source-graphql": "^2.12.0", "gatsby-transformer-json": "^2.9.0", "gatsby-transformer-remark": "^2.14.0", "gatsby-transformer-sharp": "^2.10.1",