Skip to content

Commit

Permalink
Upgrade dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagr9K committed May 31, 2020
1 parent 1914192 commit 4a2a673
Show file tree
Hide file tree
Showing 10 changed files with 18,256 additions and 13,145 deletions.
25,122 changes: 13,778 additions & 11,344 deletions package-lock.json

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions package.json
Expand Up @@ -5,58 +5,58 @@
"author": "Ruben Harutyunyan <vagr9k@gmail.com>",
"dependencies": {
"font-awesome": "^4.7.0",
"gatsby": "^2.20.12",
"gatsby-image": "^2.3.1",
"gatsby-plugin-catch-links": "^2.2.1",
"gatsby-plugin-feed": "^2.4.1",
"gatsby-plugin-google-analytics": "^2.2.2",
"gatsby-plugin-lodash": "^3.2.1",
"gatsby-plugin-manifest": "^2.3.3",
"gatsby-plugin-netlify-cms": "^4.2.2",
"gatsby-plugin-nprogress": "^2.2.1",
"gatsby-plugin-offline": "^3.1.2",
"gatsby-plugin-react-helmet": "^3.2.1",
"gatsby-plugin-sass": "^2.2.1",
"gatsby-plugin-sharp": "^2.5.3",
"gatsby-plugin-sitemap": "^2.3.1",
"gatsby-plugin-twitter": "^2.2.1",
"gatsby-remark-autolink-headers": "^2.2.1",
"gatsby-remark-copy-linked-files": "^2.2.1",
"gatsby-remark-images": "^3.2.1",
"gatsby-remark-prismjs": "^3.4.1",
"gatsby": "^2.22.15",
"gatsby-image": "^2.4.5",
"gatsby-plugin-catch-links": "^2.3.3",
"gatsby-plugin-feed": "^2.5.3",
"gatsby-plugin-google-analytics": "^2.3.2",
"gatsby-plugin-lodash": "^3.3.2",
"gatsby-plugin-manifest": "^2.4.9",
"gatsby-plugin-netlify-cms": "^4.3.3",
"gatsby-plugin-nprogress": "^2.3.2",
"gatsby-plugin-offline": "^3.2.7",
"gatsby-plugin-react-helmet": "^3.3.2",
"gatsby-plugin-sass": "^2.3.2",
"gatsby-plugin-sharp": "^2.6.9",
"gatsby-plugin-sitemap": "^2.4.3",
"gatsby-plugin-twitter": "^2.3.2",
"gatsby-remark-autolink-headers": "^2.3.3",
"gatsby-remark-copy-linked-files": "^2.3.3",
"gatsby-remark-images": "^3.3.8",
"gatsby-remark-prismjs": "^3.5.2",
"gatsby-remark-relative-images": "^0.3.0",
"gatsby-remark-responsive-iframe": "^2.3.1",
"gatsby-source-filesystem": "^2.2.2",
"gatsby-transformer-remark": "^2.7.1",
"gatsby-transformer-sharp": "^2.4.3",
"gatsby-remark-responsive-iframe": "^2.4.3",
"gatsby-source-filesystem": "^2.3.8",
"gatsby-transformer-remark": "^2.8.13",
"gatsby-transformer-sharp": "^2.5.3",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"netlify-cms-app": "^2.12.3",
"node-sass": "^4.13.1",
"prismjs": "^1.19.0",
"moment": "^2.26.0",
"netlify-cms-app": "^2.12.13",
"node-sass": "^4.14.1",
"prismjs": "^1.20.0",
"react": "^16.13.1",
"react-disqus-comments": "^1.4.0",
"react-dom": "^16.13.1",
"react-helmet": "^5.2.1",
"react-helmet": "^6.0.0",
"react-md": "^1.16.1",
"react-share": "^4.1.0",
"react-twitter-widgets": "^1.7.1",
"url-join": "^4.0.1"
},
"devDependencies": {
"cli-glob": "^0.1.0",
"eslint": "^6.8.0",
"eslint": "^7.1.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"gh-pages": "^2.2.0",
"prettier": "^2.0.2",
"eslint-plugin-react": "^7.20.0",
"gh-pages": "^3.0.0",
"prettier": "^2.0.5",
"remark-cli": "^8.0.0",
"remark-preset-lint-recommended": "^4.0.0",
"stylefmt": "^6.0.3",
"stylelint": "^13.2.1",
"stylelint": "^13.5.0",
"stylelint-config-standard": "^20.0.0",
"write-good": "^1.0.2"
},
Expand Down
24 changes: 12 additions & 12 deletions src/components/SEO/index.jsx
@@ -1,5 +1,5 @@
import React, { Component } from "react";
import Helmet from "react-helmet";
import { Helmet } from "react-helmet";
import urljoin from "url-join";
import moment from "moment";
import config from "../../../data/SiteConfig";
Expand All @@ -26,7 +26,7 @@ class SEO extends Component {
image = config.siteLogo;
}

const getImagePath = imageURI => {
const getImagePath = (imageURI) => {
if (
!imageURI.match(
`(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]`
Expand Down Expand Up @@ -55,12 +55,12 @@ class SEO extends Component {
"@type": "Person",
name: config.userName,
email: config.userEmail,
address: config.userLocation
address: config.userLocation,
};

const logoJSONLD = {
"@type": "ImageObject",
url: getImagePath(config.siteLogo)
url: getImagePath(config.siteLogo),
};

const blogURL = urljoin(config.siteUrl, config.pathPrefix);
Expand All @@ -70,8 +70,8 @@ class SEO extends Component {
"@type": "WebSite",
url: blogURL,
name: title,
alternateName: config.siteTitleAlt ? config.siteTitleAlt : ""
}
alternateName: config.siteTitleAlt ? config.siteTitleAlt : "",
},
];
if (postSEO) {
schemaOrgJSONLD.push(
Expand All @@ -85,10 +85,10 @@ class SEO extends Component {
item: {
"@id": postURL,
name: title,
image
}
}
]
image,
},
},
],
},
{
"@context": "http://schema.org",
Expand All @@ -102,10 +102,10 @@ class SEO extends Component {
publisher: {
...authorJSONLD,
"@type": "Organization",
logo: logoJSONLD
logo: logoJSONLD,
},
datePublished,
description
description,
}
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/layout/index.jsx
@@ -1,5 +1,5 @@
import React from "react";
import Helmet from "react-helmet";
import { Helmet } from "react-helmet";
import "font-awesome/scss/font-awesome.scss";
import Navigation from "../components/Navigation";
import config from "../../data/SiteConfig";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/about.jsx
@@ -1,5 +1,5 @@
import React, { Component } from "react";
import Helmet from "react-helmet";
import { Helmet } from "react-helmet";
import Layout from "../layout";
import About from "../components/About";
import config from "../../data/SiteConfig";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.jsx
@@ -1,5 +1,5 @@
import React from "react";
import Helmet from "react-helmet";
import { Helmet } from "react-helmet";
import { graphql } from "gatsby";
import Layout from "../layout";
import PostListing from "../components/PostListing";
Expand Down
2 changes: 1 addition & 1 deletion src/templates/category.jsx
@@ -1,5 +1,5 @@
import React from "react";
import Helmet from "react-helmet";
import { Helmet } from "react-helmet";
import { graphql } from "gatsby";
import PostListing from "../components/PostListing";
import Layout from "../layout";
Expand Down
4 changes: 2 additions & 2 deletions src/templates/post.jsx
@@ -1,5 +1,5 @@
import React from "react";
import Helmet from "react-helmet";
import { Helmet } from "react-helmet";
import { graphql } from "gatsby";
import Card from "react-md/lib/Cards";
import CardText from "react-md/lib/Cards/CardText";
Expand All @@ -20,7 +20,7 @@ export default class PostTemplate extends React.Component {
constructor(props) {
super(props);
this.state = {
mobile: true
mobile: true,
};
this.handleResize = this.handleResize.bind(this);
}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/tag.jsx
@@ -1,5 +1,5 @@
import React from "react";
import Helmet from "react-helmet";
import { Helmet } from "react-helmet";
import { graphql } from "gatsby";
import Layout from "../layout";
import PostListing from "../components/PostListing";
Expand Down

0 comments on commit 4a2a673

Please sign in to comment.