From e8d2c28ed98c7a5138f76c80c59d7571e8339a41 Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Fri, 13 Mar 2020 18:34:39 -0400 Subject: [PATCH] [website] nextjs optimizations + IE fixes (#8341) * add modern and polyfill optimizations * update subnav --- website/lib/polyfills.js | 10 -- website/next.config.js | 20 +--- website/package-lock.json | 199 +++++++++++++++++++------------------- website/package.json | 28 +++--- 4 files changed, 114 insertions(+), 143 deletions(-) delete mode 100644 website/lib/polyfills.js diff --git a/website/lib/polyfills.js b/website/lib/polyfills.js deleted file mode 100644 index 8046a6c96..000000000 --- a/website/lib/polyfills.js +++ /dev/null @@ -1,10 +0,0 @@ -// If you run into issues with features missing in IE11, you likely need to -// make additions to this file for those features. -// See https://github.com/zloirock/core-js -import 'core-js/fn/array' -import 'core-js/fn/object/assign' -import 'core-js/fn/string/ends-with' -import 'core-js/fn/string/includes' -import 'core-js/fn/string/repeat' -import 'core-js/fn/string/starts-with' -import 'core-js/fn/symbol' diff --git a/website/next.config.js b/website/next.config.js index c37e60724..cc782ed4a 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -8,7 +8,8 @@ module.exports = withHashicorp({ })({ experimental: { css: true, - granularChunks: true, + modern: true, + polyfillsOptimization: true, rewrites: () => [ { source: '/api/:path*', @@ -24,23 +25,6 @@ module.exports = withHashicorp({ ] }, exportTrailingSlash: true, - webpack(config) { - // Add polyfills - const originalEntry = config.entry - config.entry = async () => { - const entries = await originalEntry() - let polyEntry = entries['static/runtime/polyfills.js'] - if (polyEntry && !polyEntry.includes('./lib/polyfills.js')) { - if (!Array.isArray(polyEntry)) { - entries['static/runtime/polyfills.js'] = [polyEntry] - } - entries['static/runtime/polyfills.js'].unshift('./lib/polyfills.js') - } - return entries - } - - return config - }, env: { HASHI_ENV: process.env.HASHI_ENV } diff --git a/website/package-lock.json b/website/package-lock.json index f3ab9a15e..9aa4074d5 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -1597,6 +1597,11 @@ "@hapi/hoek": "^8.3.0" } }, + "@hashicorp/js-utils": { + "version": "1.0.8-alpha.0", + "resolved": "https://registry.npmjs.org/@hashicorp/js-utils/-/js-utils-1.0.8-alpha.0.tgz", + "integrity": "sha512-Sa51DV8GPlvmrcRP9t7HlOysqEZeZ4xrCC2Jga7olONKaDfw+Jip1+ihJFeBszMaa9nvu2uB0Kxpxn0W9w9s2w==" + }, "@hashicorp/localstorage-polyfill": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/@hashicorp/localstorage-polyfill/-/localstorage-polyfill-1.0.12.tgz", @@ -1703,21 +1708,21 @@ "integrity": "sha512-9CvkSJ2Onvy+1sXg0n0E3V4X0tl4u9wmp10ISQ4Wh55tstVeBBj/WhqBg8+MZlm9Ib9K903J2A3aDSWBo6k44w==" }, "@hashicorp/react-button": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@hashicorp/react-button/-/react-button-2.1.5.tgz", - "integrity": "sha512-eE99jDgJMmK8B5z2VcC3qs4rBH+7OJi+vdCR1fdsCqFJOb3jw3mv1FsOT/Jd95q542usvGEOT9jeQqod9kVeVw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@hashicorp/react-button/-/react-button-2.1.6.tgz", + "integrity": "sha512-6ReNt9nbjsp//SSWErw/lQzf1unwzzIPdV/7FmJEOXSbmNVyeNJMyOOyFen/XhxUZefX2SuPtP3n48Q2U7bu0g==", "requires": { - "@hashicorp/react-global-styles": "^4.0.9", + "@hashicorp/react-global-styles": "^4.0.10", "@hashicorp/react-inline-svg": "^1.0.0", "slugify": "^1.3.6" } }, "@hashicorp/react-case-study-slider": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@hashicorp/react-case-study-slider/-/react-case-study-slider-2.0.6.tgz", - "integrity": "sha512-BZnHmhjdWzPiBNuYk995ZQNT/5T3B16aJllPnBhMFU1Rh7AYEFn9pH9e+LpE1wP+TlPQVMnXnVAE34B/bhby5g==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@hashicorp/react-case-study-slider/-/react-case-study-slider-2.0.7.tgz", + "integrity": "sha512-T7nmCbALFS8LsR0Iqzyzm5X/3XudDYlvih8CuamlYwvWYB3naEwJemnjtc7q7j3PmRu7vC4kTcSRh4ftnHEsyw==", "requires": { - "@hashicorp/react-button": "^2.1.5", + "@hashicorp/react-button": "^2.1.6", "@hashicorp/react-image": "^2.0.1", "marked": "^0.7.0" } @@ -1731,20 +1736,20 @@ } }, "@hashicorp/react-code-block": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-1.2.4.tgz", - "integrity": "sha512-sHxeqG1lDQxYlqcuX1CgMDwBJfKbiji+/FbRA1uLids9upp/ehR1Aaaz73u2xrz7HAtk1JTQeEb0WI0FeFwyLA==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-1.2.6.tgz", + "integrity": "sha512-Uy/d74i0AH0qf3RwDLQVjih9s3GztC4Wbjjo4vkHTqcC7dNGBN9P+vDas4kuRN+npoha2la8ikD7CNRw47noiA==", "requires": { "@tippy.js/react": "^2.1.2", "highlight.js": "^9.15.6" } }, "@hashicorp/react-consent-manager": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@hashicorp/react-consent-manager/-/react-consent-manager-2.0.5.tgz", - "integrity": "sha512-LAQNeMSaZR7m9QSMJkWSQDH0cdM5tU5JwaX95dTIq5lwC66Fv4D7iNod4XItsSlTMNuFvpE12CD4wDy4vP74OA==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@hashicorp/react-consent-manager/-/react-consent-manager-2.0.6.tgz", + "integrity": "sha512-ERfE5McIuR836gsbLQlVJ9XM40UF65OEVS6oCfcvLNYTpGgylAWmYlvIaBEAsOtzG8pD1uzFdu7bQuiR+aYZug==", "requires": { - "@hashicorp/react-button": "^2.1.5", + "@hashicorp/react-button": "^2.1.6", "@hashicorp/react-toggle": "^1.0.1", "@segment/in-eu": "^0.2.1", "js-cookie": "^2.2.0", @@ -1758,9 +1763,9 @@ "integrity": "sha512-c9eYZGu/1YC7tGWKE/mPsi4DLfHOTlpOwOjUCXgzauOOwqrjJHEfLiGzJsgd8CMDxWRswZ7Es/i/s8rZnCN5og==" }, "@hashicorp/react-docs-sidenav": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-sidenav/-/react-docs-sidenav-3.0.2.tgz", - "integrity": "sha512-qIB+xm+AVds8H/SL/GsQdZhQUzVn58WyO2XL0egutqU9x9noQc5ZxF+u4CDVnQeRGCaRtAT4xyZYsmqTaeyWSQ==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-sidenav/-/react-docs-sidenav-3.0.3.tgz", + "integrity": "sha512-zoPbQ2VvwSJsy+f0/HiMfwLoGN5ot1ZkvoI/oqx/uOSzh3K+lIlu9OAu7xNRMmaTaXe9c6/68Ov62urj4bVuzw==", "requires": { "@hashicorp/react-link-wrap": "^0.0.3", "fuzzysearch": "^1.0.3" @@ -1772,40 +1777,33 @@ "integrity": "sha512-hMmGfwNUBJjZE/hW6+dfCDwwfqqye+BIIcQgpoiHTrv6y9bPprPAQ6k5NRhBGtpkP1My4C5MQVQKBwHt+jIa/Q==" }, "@hashicorp/react-footer": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/@hashicorp/react-footer/-/react-footer-3.1.9.tgz", - "integrity": "sha512-eGxZ2MbxECbk/RztZwkqJ64pu/3M4/LmMAwBwFd1FIzlxLVVf361oTfsxZpFeylK8bcIMZX540KB/yyE7MjiDQ==", + "version": "3.1.11", + "resolved": "https://registry.npmjs.org/@hashicorp/react-footer/-/react-footer-3.1.11.tgz", + "integrity": "sha512-IJ2/4svsmbORB5F7lH/14yicg7rCJR37W0+b7hsrENGh5acalSbi2VSBoGVOR3Jw3KcVvAIe3LRjo94QCZFOAA==", "requires": { - "@hashicorp/react-newsletter-signup-form": "^2.0.6" + "@hashicorp/react-newsletter-signup-form": "^2.0.7" } }, "@hashicorp/react-global-styles": { - "version": "4.0.9", - "resolved": "https://registry.npmjs.org/@hashicorp/react-global-styles/-/react-global-styles-4.0.9.tgz", - "integrity": "sha512-2I5cgGrn34rBsmcoku4Wbu9qq/WramrYn8r9brMVNfHqvnJojORfIr0uMBEheh3ic9fZiN7XtnbovYcqt4Oy2g==" + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/@hashicorp/react-global-styles/-/react-global-styles-4.0.10.tgz", + "integrity": "sha512-4YA2Svko3GqrfEdHWV08Yk3VIkNiMK5pVqslzDhVGnFNXP5FjL9G8c6RVrGXbgSY8Qwh8nBs1xJSalJGJynaUg==" }, "@hashicorp/react-hero": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@hashicorp/react-hero/-/react-hero-3.0.3.tgz", - "integrity": "sha512-w/rfe8D0fhjZPNivDBbSD9JL7RMj8eUwJry1mcnLlXy8kTiWSpqbC6GVpEeFEDn+xGEVuUYK/MxOwrGXMKFvKQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@hashicorp/react-hero/-/react-hero-3.0.4.tgz", + "integrity": "sha512-OByGem2xVwz74qDGtP8yZkudu3d2zsznflp/8E47U5hmj2/RIV1dUYOT4imWPJCOMc5ipExxrF9RJIkTlrVaQA==", "requires": { "@hashicorp/js-utils": "^1.0.8-alpha.0", "@hashicorp/localstorage-polyfill": "^1.0.12", "@hashicorp/react-alert": "^2.0.0", - "@hashicorp/react-button": "^2.1.5", + "@hashicorp/react-button": "^2.1.6", "@hashicorp/react-image": "^2.0.1", "@hashicorp/react-text-input": "^2.0.1", "formik": "^1.5.8", "marked": "^0.7.0", "promise-polyfill": "^8.1.0", "query-string": "^5.1.1" - }, - "dependencies": { - "@hashicorp/js-utils": { - "version": "1.0.8-alpha.0", - "resolved": "https://registry.npmjs.org/@hashicorp/js-utils/-/js-utils-1.0.8-alpha.0.tgz", - "integrity": "sha512-Sa51DV8GPlvmrcRP9t7HlOysqEZeZ4xrCC2Jga7olONKaDfw+Jip1+ihJFeBszMaa9nvu2uB0Kxpxn0W9w9s2w==" - } } }, "@hashicorp/react-image": { @@ -1831,11 +1829,11 @@ } }, "@hashicorp/react-logo-grid": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@hashicorp/react-logo-grid/-/react-logo-grid-2.0.7.tgz", - "integrity": "sha512-idtXomowEvk6ddTM4juq7BkDeubw0RES5nfH5Jq9I293KB9RfTCQ4Wg/1Dqq6XmfEl0dxrAVZEfwqXNofdDDzg==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@hashicorp/react-logo-grid/-/react-logo-grid-2.0.8.tgz", + "integrity": "sha512-563eKeXQWzm0f1v97MUNlcnUuF3uc6+gTUNFBy053iu5Oe4G2CLht8CHIjuKvWvTV2t9BU7hbBuNZdL55w6tdw==", "requires": { - "@hashicorp/react-button": "^2.1.5", + "@hashicorp/react-button": "^2.1.6", "@hashicorp/react-image": "^2.0.1", "@tippy.js/react": "^2.1.2" } @@ -1849,12 +1847,12 @@ } }, "@hashicorp/react-newsletter-signup-form": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@hashicorp/react-newsletter-signup-form/-/react-newsletter-signup-form-2.0.6.tgz", - "integrity": "sha512-raMHeua75ENCxz2tjUAyPyShYWgVQwaF6MluevKPjm1gPhF0agt841BuxsBDY3QV7IczZmKHvlMI+F3iIqWLWA==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@hashicorp/react-newsletter-signup-form/-/react-newsletter-signup-form-2.0.7.tgz", + "integrity": "sha512-mTLjOF+qbq67SNNSrVyrkkZ6F9Z+K1yj//3BbRp2s4pw6aFs0Ofenc24ZVKmlzsfvpJLcVPQbfwp9NE08znUlQ==", "requires": { "@hashicorp/localstorage-polyfill": "^1.0.12", - "@hashicorp/react-button": "^2.1.5", + "@hashicorp/react-button": "^2.1.6", "@hashicorp/react-checkbox-input": "^2.0.0", "@hashicorp/react-text-input": "^2.0.1", "formik": "^1.5.8", @@ -1865,11 +1863,11 @@ } }, "@hashicorp/react-product-downloader": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-3.0.1.tgz", - "integrity": "sha512-VZlpK9KLPvhxrzPfZx043MPS0Y1CYnvVS7rOK/8n3QD2zBaQqW+7IS4bJEBxFtfXYckA56NstlzSQgAmWUQ2pQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-3.0.2.tgz", + "integrity": "sha512-c8PePhLgnZKfHpM5rZJR17E2Xpgg6fkRZy0dKVBpMEBXW8u+sNpXzb6tI7o/WAzMhIv/fQSKUWQwx+4M30cJrQ==", "requires": { - "@hashicorp/react-button": "^2.1.5" + "@hashicorp/react-button": "^2.1.6" } }, "@hashicorp/react-section-header": { @@ -1889,12 +1887,12 @@ } }, "@hashicorp/react-subnav": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-2.0.0.tgz", - "integrity": "sha512-Bz0+NRinEnzXLGsfJ1n/xnVldfym3vXUL5glXKK0zyeqGLKpQ4vJnJyLbbnZxiAnr1uy8tW/yBB16/5Ck0OFEA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-2.0.2.tgz", + "integrity": "sha512-4ZHtKiaMgwaSJDJ3+4bsb8S/ELjS5h77ZkhqN51GxkZF2QN/Q/qKEsvfhwIEA/0obpxhzM9s1s1kDoK2s0pCFg==", "requires": { - "@hashicorp/react-button": "^2.1.5", - "@hashicorp/react-global-styles": "^4.0.9", + "@hashicorp/react-button": "^2.1.6", + "@hashicorp/react-global-styles": "^4.0.10", "@hashicorp/react-inline-svg": "^1.0.0", "@hashicorp/react-link-wrap": "1.0.0", "@primer/octicons-react": "^9.4.0", @@ -1909,14 +1907,14 @@ } }, "@hashicorp/react-text-and-content": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@hashicorp/react-text-and-content/-/react-text-and-content-4.0.3.tgz", - "integrity": "sha512-I8kbMM7Shi7s+xjofyFCyfjb9zyVqB6zKDUJ5IkNCdaUyz/yefVKWRdd+LPrkBvJqWC/GQ5GrA3773VHbW2MsA==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@hashicorp/react-text-and-content/-/react-text-and-content-4.0.6.tgz", + "integrity": "sha512-9Whvw601i1BjRe0QDJ0iQ2T1ZJMCFgCh546XpYOyuVfSFom4sJOXDISAM2Mb/350R+Vy/Rn3vDtmTWPwoxK9Ow==", "requires": { - "@hashicorp/react-button": "^2.1.5", - "@hashicorp/react-code-block": "^1.2.4", + "@hashicorp/react-button": "^2.1.6", + "@hashicorp/react-code-block": "^1.2.6", "@hashicorp/react-image": "^2.0.1", - "@hashicorp/react-logo-grid": "^2.0.7", + "@hashicorp/react-logo-grid": "^2.0.8", "marked": "^0.7.0" } }, @@ -2117,9 +2115,9 @@ } }, "@primer/octicons-react": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-9.5.0.tgz", - "integrity": "sha512-7YmjwpBix3LClr6DSgB6HLSnAORPUPOYnid71qb7+tB85RVZu16gKqmz1L524/AO91MK/bToLJ7B9eBZ0wqsOw==", + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-9.6.0.tgz", + "integrity": "sha512-FR0fiU1UY1ds5ZMCUY+iVkkm1Eh4yDHf2ui+cxB3VvYX23DAdUAohPGit+qaMFy2caDd7uWYGRZduKS7dW1FZQ==", "requires": { "prop-types": "^15.6.1" } @@ -8330,22 +8328,22 @@ "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==" }, "inquirer": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.4.tgz", - "integrity": "sha512-Bu5Td5+j11sCkqfqmUTiwv+tWisMtP0L7Q8WrqA2C/BbBhy1YTdFrvjjlrKq8oagA/tLQBski2Gcx/Sqyi2qSQ==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.1.0.tgz", + "integrity": "sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg==", "requires": { "ansi-escapes": "^4.2.1", - "chalk": "^2.4.2", + "chalk": "^3.0.0", "cli-cursor": "^3.1.0", "cli-width": "^2.0.0", "external-editor": "^3.0.3", "figures": "^3.0.0", "lodash": "^4.17.15", "mute-stream": "0.0.8", - "run-async": "^2.2.0", + "run-async": "^2.4.0", "rxjs": "^6.5.3", "string-width": "^4.1.0", - "strip-ansi": "^5.1.0", + "strip-ansi": "^6.0.0", "through": "^2.3.6" }, "dependencies": { @@ -8354,16 +8352,6 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -8382,16 +8370,14 @@ "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.0" - }, - "dependencies": { - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - } + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "requires": { + "ansi-regex": "^5.0.0" } } } @@ -13916,9 +13902,9 @@ } }, "react": { - "version": "16.12.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.12.0.tgz", - "integrity": "sha512-fglqy3k5E+81pA8s+7K0/T3DBCF0ZDOher1elBFzF7O6arXJgzyu/FW+COxFvAWXJoJN9KIZbT2LXlukwphYTA==", + "version": "16.13.0", + "resolved": "https://registry.npmjs.org/react/-/react-16.13.0.tgz", + "integrity": "sha512-TSavZz2iSLkq5/oiE7gnFzmURKZMltmi193rm5HEoUDAXpzT9Kzw6oNZnGoai/4+fUnm7FqS5dwgUL34TujcWQ==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", @@ -13938,14 +13924,25 @@ } }, "react-dom": { - "version": "16.12.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.12.0.tgz", - "integrity": "sha512-LMxFfAGrcS3kETtQaCkTKjMiifahaMySFDn71fZUNpPHZQEzmk/GiAeIT8JSOrHB23fnuCOMruL2a8NYlw+8Gw==", + "version": "16.13.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.0.tgz", + "integrity": "sha512-y09d2c4cG220DzdlFkPTnVvGTszVvNpC73v+AaLGLHbkpy3SSgvYq8x0rNwPJ/Rk/CicTNgk0hbHNw1gMEZAXg==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "prop-types": "^15.6.2", - "scheduler": "^0.18.0" + "scheduler": "^0.19.0" + }, + "dependencies": { + "scheduler": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.0.tgz", + "integrity": "sha512-xowbVaTPe9r7y7RUejcK73/j8tt2jfiyTednOvHbA8JoClvMYCp+r8QegLwK/n8zWQAtZb1fFnER4XLBZXrCxA==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + } } }, "react-error-overlay": { @@ -14668,9 +14665,9 @@ } }, "run-async": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", - "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.0.tgz", + "integrity": "sha512-xJTbh/d7Lm7SBhc1tNvTpeCHaEzoyxPrqNlvSdMfBTYwaY++UJFyXUOxAtsRUXjlqOfj8luNaR9vjCh4KeV+pg==", "requires": { "is-promise": "^2.1.0" } @@ -15021,9 +15018,9 @@ } }, "slugify": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.3.6.tgz", - "integrity": "sha512-wA9XS475ZmGNlEnYYLPReSfuz/c3VQsEMoU43mi6OnKMCdbnFXd4/Yg7J0lBv8jkPolacMpOrWEaoYxuE1+hoQ==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.4.0.tgz", + "integrity": "sha512-FtLNsMGBSRB/0JOE2A0fxlqjI6fJsgHGS13iTuVT28kViI4JjUiNqp/vyis0ZXYcMnpR3fzGNkv+6vRlI2GwdQ==" }, "snapdragon": { "version": "0.8.2", diff --git a/website/package.json b/website/package.json index 1504b1c74..f6089b00d 100644 --- a/website/package.json +++ b/website/package.json @@ -7,22 +7,22 @@ "@bugsnag/js": "^6.5.2", "@bugsnag/plugin-react": "^6.5.0", "@hashicorp/nextjs-scripts": "^6.0.0-2", - "@hashicorp/react-button": "^2.1.5", - "@hashicorp/react-case-study-slider": "^2.0.6", - "@hashicorp/react-consent-manager": "^2.0.5", + "@hashicorp/react-button": "^2.1.6", + "@hashicorp/react-case-study-slider": "^2.0.7", + "@hashicorp/react-consent-manager": "^2.0.6", "@hashicorp/react-content": "^2.2.0", - "@hashicorp/react-docs-sidenav": "^3.0.2", + "@hashicorp/react-docs-sidenav": "^3.0.3", "@hashicorp/react-docs-sitemap": "^1.0.0", - "@hashicorp/react-footer": "3.1.9", - "@hashicorp/react-global-styles": "^4.0.9", - "@hashicorp/react-hero": "3.0.3", + "@hashicorp/react-footer": "3.1.11", + "@hashicorp/react-global-styles": "^4.0.10", + "@hashicorp/react-hero": "3.0.4", "@hashicorp/react-image": "^2.0.1", "@hashicorp/react-inline-svg": "^1.0.0", "@hashicorp/react-mega-nav": "^4.0.1-2", - "@hashicorp/react-product-downloader": "^3.0.1", + "@hashicorp/react-product-downloader": "^3.0.2", "@hashicorp/react-section-header": "^2.0.0", - "@hashicorp/react-subnav": "^2.0.0", - "@hashicorp/react-text-and-content": "^4.0.3", + "@hashicorp/react-subnav": "^2.0.2", + "@hashicorp/react-text-and-content": "^4.0.6", "@hashicorp/react-use-cases": "^1.0.4", "@hashicorp/react-vertical-text-block-list": "^2.0.1", "babel-plugin-import-glob-array": "^0.2.0", @@ -34,16 +34,16 @@ "marked": "^0.7.0", "next": "^9.2.2", "nprogress": "^0.2.0", - "react": "^16.12.0", - "react-dom": "^16.12.0", - "slugify": "^1.3.6", + "react": "^16.13.0", + "react-dom": "^16.13.0", + "slugify": "^1.4.0", "stringify-object": "^3.3.0" }, "devDependencies": { "dart-linkcheck": "^2.0.12", "glob": "^7.1.6", "husky": "^4.2.3", - "inquirer": "^7.0.4", + "inquirer": "^7.1.0", "prettier": "^1.19.1" }, "husky": {