diff --git a/package-lock.json b/package-lock.json index a31284886e..b0c4ad08d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4559,11 +4559,6 @@ "sha.js": "2.4.11" } }, - "perfect-scrollbar": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/perfect-scrollbar/-/perfect-scrollbar-1.4.0.tgz", - "integrity": "sha512-/2Sk/khljhdrsamjJYS5NjrH+GKEHEwh7zFSiYyxROyYKagkE4kSn2zDQDRTOMo8mpT2jikxx6yI1dG7lNP/hw==" - }, "performance-now": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz", @@ -4889,7 +4884,7 @@ "prop-types": "15.6.2", "remark-parse": "5.0.0", "unified": "6.2.0", - "unist-util-visit": "1.4.0", + "unist-util-visit": "1.3.1", "xtend": "4.0.1" }, "dependencies": { @@ -6150,7 +6145,7 @@ "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-1.1.2.tgz", "integrity": "sha512-XxoNOBvq1WXRKXxgnSYbtCF76TJrRoe5++pD4cCBsssSiWSnPEktyFrFLE8LTk3JW5mt9hB0Sk5zn4x/JeWY7Q==", "requires": { - "unist-util-visit": "1.4.0" + "unist-util-visit": "1.3.1" } }, "unist-util-stringify-position": { @@ -6159,17 +6154,9 @@ "integrity": "sha512-pNCVrk64LZv1kElr0N1wPiHEUoXNVFERp+mlTg/s9R5Lwg87f9bM/3sQB99w+N9D/qnM9ar3+AKDBwo/gm/iQQ==" }, "unist-util-visit": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.4.0.tgz", - "integrity": "sha512-FiGu34ziNsZA3ZUteZxSFaczIjGmksfSgdKqBfOejrrfzyUy5b7YrlzT1Bcvi+djkYDituJDy2XB7tGTeBieKw==", - "requires": { - "unist-util-visit-parents": "2.0.1" - } - }, - "unist-util-visit-parents": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-2.0.1.tgz", - "integrity": "sha512-6B0UTiMfdWql4cQ03gDTCSns+64Zkfo2OCbK31Ov0uMizEz+CJeAp0cgZVb5Fhmcd7Bct2iRNywejT0orpbqUA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.3.1.tgz", + "integrity": "sha512-0fdB9EQJU0tho5tK0VzOJzAQpPv2LyLZ030b10GxuzAWEfvd54mpY7BMjQ1L69k2YNvL+SvxRzH0yUIehOO8aA==", "requires": { "unist-util-is": "2.1.2" } diff --git a/package.json b/package.json index 78eb7eacb0..86f7e87c7a 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "lodash.startcase": "^4.4.0", "lodash.throttle": "^4.1.1", "next": "^6.0.3", - "perfect-scrollbar": "^1.4.0", "raw-loader": "^0.5.1", "react": "^16.4.1", "react-collapse": "^4.0.3", diff --git a/pages/doc.js b/pages/doc.js index 7e4f1b1df3..572f7269ca 100644 --- a/pages/doc.js +++ b/pages/doc.js @@ -7,7 +7,6 @@ import Page from '../src/Page' import SearchForm from '../src/SearchForm' import DownloadButton from '../src/DownloadButton' import Page404 from '../src/Page404' -import PerfectScrollbar from 'perfect-scrollbar'; // utils import fetch from 'isomorphic-fetch' import kebabCase from 'lodash.kebabcase' @@ -25,7 +24,6 @@ const HeadInjector = ({ sectionName = 'Documentation' }) => ( -