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 e000ff5 commit 5e3d39a
Show file tree
Hide file tree
Showing 14 changed files with 16,685 additions and 11,394 deletions.
21,967 changes: 12,304 additions & 9,663 deletions package-lock.json

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,54 +4,54 @@
"version": "1.1.0",
"author": "Ruben Harutyunyan <[email protected]>",
"dependencies": {
"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-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-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",
"prismjs": "^1.19.0",
"moment": "^2.26.0",
"netlify-cms-app": "^2.12.13",
"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-share": "^4.1.0",
"react-twitter-widgets": "^1.7.1",
"url-join": "^4.0.0"
},
"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.1",
"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",
"stylelint": "^13.2.1",
"stylelint": "^13.5.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"write-good": "^1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Disqus/Disqus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Disqus extends Component {
constructor(props) {
super(props);
this.state = {
toasts: []
toasts: [],
};
this.notifyAboutComment = this.notifyAboutComment.bind(this);
this.onSnackbarDismiss = this.onSnackbarDismiss.bind(this);
Expand Down
3 changes: 2 additions & 1 deletion src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class Footer extends Component {
<button>Subscribe</button>
</Link>
<h4>
Based on{" "}
Based on
{" "}
<a href="https://github.com/Vagr9K/gatsby-advanced-starter">
Gatsby Advanced Starter
</a>
Expand Down
3 changes: 2 additions & 1 deletion src/components/PostListing/PostListing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class PostListing extends React.Component {
<Link to={post.path} key={post.title}>
<h1>{post.title}</h1>
</Link>
))}
))
}
</div>
);
}
Expand Down
24 changes: 12 additions & 12 deletions src/components/SEO/SEO.jsx
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Helmet from "react-helmet";
import { Helmet } from "react-helmet";
import config from "../../data/SiteConfig";
import "./index.css";

Expand Down
2 changes: 1 addition & 1 deletion src/pages/about.jsx
Original file line number Diff line number Diff line change
@@ -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/About";
import config from "../../data/SiteConfig";
Expand Down
2 changes: 1 addition & 1 deletion src/templates/category.jsx
Original file line number Diff line number Diff line change
@@ -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/PostListing";
Expand Down
2 changes: 1 addition & 1 deletion src/templates/landing.jsx
Original file line number Diff line number Diff line change
@@ -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/PostListing";
Expand Down
2 changes: 1 addition & 1 deletion src/templates/listing.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Helmet from "react-helmet";
import { Helmet } from "react-helmet";
import { graphql, Link } from "gatsby";
import Layout from "../layout";
import PostListing from "../components/PostListing/PostListing";
Expand Down
2 changes: 1 addition & 1 deletion src/templates/post.jsx
Original file line number Diff line number Diff line change
@@ -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 UserInfo from "../components/UserInfo/UserInfo";
Expand Down
2 changes: 1 addition & 1 deletion src/templates/tag.jsx
Original file line number Diff line number Diff line change
@@ -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/PostListing";
Expand Down
Loading

0 comments on commit 5e3d39a

Please sign in to comment.