From 89da6e3d795726b5530717a1321fe332e8639444 Mon Sep 17 00:00:00 2001 From: CanRau Date: Sat, 16 Mar 2019 07:25:11 -0500 Subject: [PATCH] feat: upgrade deps feat: upgrade react-spring import to new version --- package.json | 73 +++++++++++++++---------------- src/templates/ContributorsPage.js | 2 +- 2 files changed, 37 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index fb309a5..7b560f0 100644 --- a/package.json +++ b/package.json @@ -55,47 +55,46 @@ "bluebird": "3.5.3", "conventional-changelog-cli": "2.0.12", "conventional-github-releaser": "3.1.2", - "cryptocurrency-icons": "0.9.2", + "cryptocurrency-icons": "0.10.0", "cuid": "2.1.6", "date-fns": "1.29.0", - "feed": "2.0.2", - "gatsby": "2.1.17", - "gatsby-image": "2.0.29", - "gatsby-plugin-canonical-urls": "2.0.10", - "gatsby-plugin-catch-links": "2.0.11", + "feed": "2.0.4", + "gatsby": "2.1.35", + "gatsby-image": "2.0.34", "gatsby-mdx": "^0.4.3", + "gatsby-plugin-canonical-urls": "2.0.12", + "gatsby-plugin-catch-links": "2.0.13", "gatsby-plugin-compile-es6-packages": "^1.0.6", - "gatsby-plugin-layout": "1.0.12", - "gatsby-plugin-nprogress": "2.0.8", - "gatsby-plugin-offline": "2.0.24", - "gatsby-plugin-react-helmet": "3.0.6", - "gatsby-remark-autolink-headers": "2.0.14", "gatsby-plugin-emotion": "^4.0.6", + "gatsby-plugin-layout": "1.0.13", + "gatsby-plugin-nprogress": "2.0.10", + "gatsby-plugin-offline": "2.0.25", + "gatsby-plugin-react-helmet": "3.0.9", + "gatsby-remark-autolink-headers": "2.0.16", "gray-percentage": "2.0.0", "hex2rgba": "0.0.1", - "js-yaml": "3.12.1", + "js-yaml": "3.12.2", "lodash": "4.17.11", "moment-timezone": "0.5.23", "prop-styles": "2.0.0", - "prop-types": "15.6.2", + "prop-types": "15.7.2", "qr-image": "3.2.0", "ramda": "0.26.1", - "react": "16.7.0", - "react-dom": "16.7.0", - "react-head": "3.0.2", - "react-headroom": "2.2.4", + "react": "16.8.4", + "react-dom": "16.8.4", + "react-head": "3.1.0", + "react-headroom": "2.2.8", "react-helmet": "5.2.0", - "react-media": "1.8.0", - "react-spring": "^6.1.10", - "react-textarea-autosize": "7.0.4", - "react-toastify": "4.4.3", + "react-media": "1.9.2", + "react-spring": "^8.0.15", + "react-textarea-autosize": "7.1.0", + "react-toastify": "4.5.2", "rehype-react": "3.1.0", "slash": "2.0.0", "slugify": "1.3.4", "speakingurl": "14.0.1", "unist-util-modify-children": "1.1.3", - "unist-util-select": "2.0.0", - "validator": "10.9.0" + "validator": "10.11.0" }, "devDependencies": { "@babel/plugin-proposal-optional-chaining": "^7.0.0", @@ -117,23 +116,23 @@ "eslint-plugin-prettier": "3.0.1", "eslint-plugin-react": "7.11.1", "flow-bin": "0.87.0", - "gatsby-plugin-netlify": "2.0.11", - "gatsby-plugin-sharp": "2.0.22", - "gatsby-remark-copy-linked-files": "2.0.9", - "gatsby-remark-custom-blocks": "2.0.5", - "gatsby-remark-embed-video": "1.7.0", + "gatsby-plugin-netlify": "2.0.13", + "gatsby-plugin-sharp": "2.0.29", + "gatsby-remark-copy-linked-files": "2.0.11", + "gatsby-remark-custom-blocks": "2.0.7", + "gatsby-remark-embed-video": "1.7.1", "gatsby-remark-emoji": "0.0.2", "gatsby-remark-external-links": "0.0.4", - "gatsby-remark-responsive-iframe": "2.0.9", - "gatsby-remark-smartypants": "2.0.8", - "gatsby-source-filesystem": "2.0.22", - "gatsby-source-instagram": "0.2.5", - "gatsby-transformer-javascript-frontmatter": "2.0.8", - "gatsby-transformer-json": "2.1.8", - "gatsby-transformer-remark": "2.2.6", - "gatsby-transformer-sharp": "2.1.14", - "gatsby-transformer-yaml": "2.1.8", "gatsby-remark-images": "3.0.10", + "gatsby-remark-responsive-iframe": "2.1.1", + "gatsby-remark-smartypants": "2.0.9", + "gatsby-source-filesystem": "2.0.27", + "gatsby-source-instagram": "0.3.0", + "gatsby-transformer-javascript-frontmatter": "2.0.9", + "gatsby-transformer-json": "2.1.11", + "gatsby-transformer-remark": "2.3.4", + "gatsby-transformer-sharp": "2.1.17", + "gatsby-transformer-yaml": "2.1.10", "jest": "23.6.0", "jest-cli": "23.6.0", "jest-image-snapshot": "2.7.0", diff --git a/src/templates/ContributorsPage.js b/src/templates/ContributorsPage.js index 3b13f86..b6fa6b0 100644 --- a/src/templates/ContributorsPage.js +++ b/src/templates/ContributorsPage.js @@ -2,9 +2,9 @@ import React from 'react' import PropTypes from 'prop-types' import { graphql, Link } from 'gatsby' -import { Spring, animated, config } from 'react-spring' import styled from '@emotion/styled' import { css } from '@emotion/core' +import { Spring, animated, config } from 'react-spring/renderprops' import MainLayout from '@/components/MainLayout' import { colors, media } from '@/theme'