diff --git a/external/dev-ocean b/external/dev-ocean index e2a5a37a..09c02d9f 160000 --- a/external/dev-ocean +++ b/external/dev-ocean @@ -1 +1 @@ -Subproject commit e2a5a37a7bb57a5d548000d12886ad63fb7ab340 +Subproject commit 09c02d9f4a7fd51a78fc1fdf44ca0b05de00eecb diff --git a/package.json b/package.json index 12ae7019..9a55aeb3 100644 --- a/package.json +++ b/package.json @@ -25,30 +25,30 @@ "@oceanprotocol/art": "^2.2.0", "axios": "^0.19.0", "classnames": "^2.2.6", - "gatsby": "^2.10.4", - "gatsby-image": "^2.2.3", + "gatsby": "^2.13.3", + "gatsby-image": "^2.2.4", "gatsby-plugin-catch-links": "^2.1.0", - "gatsby-plugin-google-analytics": "^2.1.0", - "gatsby-plugin-manifest": "^2.2.0", + "gatsby-plugin-google-analytics": "^2.1.1", + "gatsby-plugin-manifest": "^2.2.1", "gatsby-plugin-offline": "^2.2.0", "gatsby-plugin-react-helmet": "^3.1.0", "gatsby-plugin-sass": "^2.1.0", - "gatsby-plugin-sharp": "^2.2.1", - "gatsby-plugin-sitemap": "^2.2.0", + "gatsby-plugin-sharp": "^2.2.2", + "gatsby-plugin-sitemap": "^2.2.1", "gatsby-plugin-svgr": "^2.0.2", "gatsby-remark-autolink-headers": "^2.1.0", "gatsby-remark-component": "^1.1.3", "gatsby-remark-copy-linked-files": "^2.1.0", "gatsby-remark-embed-video": "^1.7.1", "gatsby-remark-github": "^2.0.0", - "gatsby-remark-images": "^3.1.0", - "gatsby-remark-prismjs": "^3.3.0", - "gatsby-remark-responsive-iframe": "^2.2.0", + "gatsby-remark-images": "^3.1.2", + "gatsby-remark-prismjs": "^3.3.1", + "gatsby-remark-responsive-iframe": "^2.2.1", "gatsby-remark-smartypants": "^2.1.0", - "gatsby-source-filesystem": "^2.1.0", + "gatsby-source-filesystem": "^2.1.2", "gatsby-source-graphql": "^2.1.0", "gatsby-transformer-remark": "^2.5.0", - "gatsby-transformer-sharp": "^2.2.0", + "gatsby-transformer-sharp": "^2.2.1", "gatsby-transformer-xml": "^2.1.0", "gatsby-transformer-yaml": "^2.2.0", "giphy-js-sdk-core": "^1.0.6", @@ -67,10 +67,9 @@ "swagger-client": "^3.9.0" }, "devDependencies": { - "@svgr/webpack": "^4.3.0", + "@svgr/webpack": "^4.3.1", "dotenv": "^8.0.0", - "es6-promise": "^4.2.8", - "eslint": "^5.16.0", + "eslint": "^6.0.1", "eslint-config-oceanprotocol": "^1.3.0", "eslint-config-prettier": "^6.0.0", "eslint-plugin-prettier": "^3.1.0", diff --git a/src/components/Sidebar.jsx b/src/components/Sidebar.jsx index 86079029..5cc4952b 100644 --- a/src/components/Sidebar.jsx +++ b/src/components/Sidebar.jsx @@ -117,11 +117,7 @@ export default class Sidebar extends Component { const { sidebar, location, collapsed, toc, tocComponent } = this.props if (sidebar) { - try { - var sidebarfile = require(`../../data/sidebars/${sidebar}.yml`) // eslint-disable-line - } catch (e) { - throw e - } + var sidebarfile = require(`../../data/sidebars/${sidebar}.yml`) // eslint-disable-line } if (!sidebarfile) {