[website] nextjs optimizations + IE fixes (#8341)

* add modern and polyfill optimizations

* update subnav
This commit is contained in:
Jeff Escalante 2020-03-13 18:34:39 -04:00 committed by GitHub
parent 4aa582a6f4
commit e8d2c28ed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 114 additions and 143 deletions

View File

@ -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'

View File

@ -8,7 +8,8 @@ module.exports = withHashicorp({
})({ })({
experimental: { experimental: {
css: true, css: true,
granularChunks: true, modern: true,
polyfillsOptimization: true,
rewrites: () => [ rewrites: () => [
{ {
source: '/api/:path*', source: '/api/:path*',
@ -24,23 +25,6 @@ module.exports = withHashicorp({
] ]
}, },
exportTrailingSlash: true, 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: { env: {
HASHI_ENV: process.env.HASHI_ENV HASHI_ENV: process.env.HASHI_ENV
} }

View File

@ -1597,6 +1597,11 @@
"@hapi/hoek": "^8.3.0" "@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": { "@hashicorp/localstorage-polyfill": {
"version": "1.0.12", "version": "1.0.12",
"resolved": "https://registry.npmjs.org/@hashicorp/localstorage-polyfill/-/localstorage-polyfill-1.0.12.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/localstorage-polyfill/-/localstorage-polyfill-1.0.12.tgz",
@ -1703,21 +1708,21 @@
"integrity": "sha512-9CvkSJ2Onvy+1sXg0n0E3V4X0tl4u9wmp10ISQ4Wh55tstVeBBj/WhqBg8+MZlm9Ib9K903J2A3aDSWBo6k44w==" "integrity": "sha512-9CvkSJ2Onvy+1sXg0n0E3V4X0tl4u9wmp10ISQ4Wh55tstVeBBj/WhqBg8+MZlm9Ib9K903J2A3aDSWBo6k44w=="
}, },
"@hashicorp/react-button": { "@hashicorp/react-button": {
"version": "2.1.5", "version": "2.1.6",
"resolved": "https://registry.npmjs.org/@hashicorp/react-button/-/react-button-2.1.5.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-button/-/react-button-2.1.6.tgz",
"integrity": "sha512-eE99jDgJMmK8B5z2VcC3qs4rBH+7OJi+vdCR1fdsCqFJOb3jw3mv1FsOT/Jd95q542usvGEOT9jeQqod9kVeVw==", "integrity": "sha512-6ReNt9nbjsp//SSWErw/lQzf1unwzzIPdV/7FmJEOXSbmNVyeNJMyOOyFen/XhxUZefX2SuPtP3n48Q2U7bu0g==",
"requires": { "requires": {
"@hashicorp/react-global-styles": "^4.0.9", "@hashicorp/react-global-styles": "^4.0.10",
"@hashicorp/react-inline-svg": "^1.0.0", "@hashicorp/react-inline-svg": "^1.0.0",
"slugify": "^1.3.6" "slugify": "^1.3.6"
} }
}, },
"@hashicorp/react-case-study-slider": { "@hashicorp/react-case-study-slider": {
"version": "2.0.6", "version": "2.0.7",
"resolved": "https://registry.npmjs.org/@hashicorp/react-case-study-slider/-/react-case-study-slider-2.0.6.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-case-study-slider/-/react-case-study-slider-2.0.7.tgz",
"integrity": "sha512-BZnHmhjdWzPiBNuYk995ZQNT/5T3B16aJllPnBhMFU1Rh7AYEFn9pH9e+LpE1wP+TlPQVMnXnVAE34B/bhby5g==", "integrity": "sha512-T7nmCbALFS8LsR0Iqzyzm5X/3XudDYlvih8CuamlYwvWYB3naEwJemnjtc7q7j3PmRu7vC4kTcSRh4ftnHEsyw==",
"requires": { "requires": {
"@hashicorp/react-button": "^2.1.5", "@hashicorp/react-button": "^2.1.6",
"@hashicorp/react-image": "^2.0.1", "@hashicorp/react-image": "^2.0.1",
"marked": "^0.7.0" "marked": "^0.7.0"
} }
@ -1731,20 +1736,20 @@
} }
}, },
"@hashicorp/react-code-block": { "@hashicorp/react-code-block": {
"version": "1.2.4", "version": "1.2.6",
"resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-1.2.4.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-1.2.6.tgz",
"integrity": "sha512-sHxeqG1lDQxYlqcuX1CgMDwBJfKbiji+/FbRA1uLids9upp/ehR1Aaaz73u2xrz7HAtk1JTQeEb0WI0FeFwyLA==", "integrity": "sha512-Uy/d74i0AH0qf3RwDLQVjih9s3GztC4Wbjjo4vkHTqcC7dNGBN9P+vDas4kuRN+npoha2la8ikD7CNRw47noiA==",
"requires": { "requires": {
"@tippy.js/react": "^2.1.2", "@tippy.js/react": "^2.1.2",
"highlight.js": "^9.15.6" "highlight.js": "^9.15.6"
} }
}, },
"@hashicorp/react-consent-manager": { "@hashicorp/react-consent-manager": {
"version": "2.0.5", "version": "2.0.6",
"resolved": "https://registry.npmjs.org/@hashicorp/react-consent-manager/-/react-consent-manager-2.0.5.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-consent-manager/-/react-consent-manager-2.0.6.tgz",
"integrity": "sha512-LAQNeMSaZR7m9QSMJkWSQDH0cdM5tU5JwaX95dTIq5lwC66Fv4D7iNod4XItsSlTMNuFvpE12CD4wDy4vP74OA==", "integrity": "sha512-ERfE5McIuR836gsbLQlVJ9XM40UF65OEVS6oCfcvLNYTpGgylAWmYlvIaBEAsOtzG8pD1uzFdu7bQuiR+aYZug==",
"requires": { "requires": {
"@hashicorp/react-button": "^2.1.5", "@hashicorp/react-button": "^2.1.6",
"@hashicorp/react-toggle": "^1.0.1", "@hashicorp/react-toggle": "^1.0.1",
"@segment/in-eu": "^0.2.1", "@segment/in-eu": "^0.2.1",
"js-cookie": "^2.2.0", "js-cookie": "^2.2.0",
@ -1758,9 +1763,9 @@
"integrity": "sha512-c9eYZGu/1YC7tGWKE/mPsi4DLfHOTlpOwOjUCXgzauOOwqrjJHEfLiGzJsgd8CMDxWRswZ7Es/i/s8rZnCN5og==" "integrity": "sha512-c9eYZGu/1YC7tGWKE/mPsi4DLfHOTlpOwOjUCXgzauOOwqrjJHEfLiGzJsgd8CMDxWRswZ7Es/i/s8rZnCN5og=="
}, },
"@hashicorp/react-docs-sidenav": { "@hashicorp/react-docs-sidenav": {
"version": "3.0.2", "version": "3.0.3",
"resolved": "https://registry.npmjs.org/@hashicorp/react-docs-sidenav/-/react-docs-sidenav-3.0.2.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-sidenav/-/react-docs-sidenav-3.0.3.tgz",
"integrity": "sha512-qIB+xm+AVds8H/SL/GsQdZhQUzVn58WyO2XL0egutqU9x9noQc5ZxF+u4CDVnQeRGCaRtAT4xyZYsmqTaeyWSQ==", "integrity": "sha512-zoPbQ2VvwSJsy+f0/HiMfwLoGN5ot1ZkvoI/oqx/uOSzh3K+lIlu9OAu7xNRMmaTaXe9c6/68Ov62urj4bVuzw==",
"requires": { "requires": {
"@hashicorp/react-link-wrap": "^0.0.3", "@hashicorp/react-link-wrap": "^0.0.3",
"fuzzysearch": "^1.0.3" "fuzzysearch": "^1.0.3"
@ -1772,40 +1777,33 @@
"integrity": "sha512-hMmGfwNUBJjZE/hW6+dfCDwwfqqye+BIIcQgpoiHTrv6y9bPprPAQ6k5NRhBGtpkP1My4C5MQVQKBwHt+jIa/Q==" "integrity": "sha512-hMmGfwNUBJjZE/hW6+dfCDwwfqqye+BIIcQgpoiHTrv6y9bPprPAQ6k5NRhBGtpkP1My4C5MQVQKBwHt+jIa/Q=="
}, },
"@hashicorp/react-footer": { "@hashicorp/react-footer": {
"version": "3.1.9", "version": "3.1.11",
"resolved": "https://registry.npmjs.org/@hashicorp/react-footer/-/react-footer-3.1.9.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-footer/-/react-footer-3.1.11.tgz",
"integrity": "sha512-eGxZ2MbxECbk/RztZwkqJ64pu/3M4/LmMAwBwFd1FIzlxLVVf361oTfsxZpFeylK8bcIMZX540KB/yyE7MjiDQ==", "integrity": "sha512-IJ2/4svsmbORB5F7lH/14yicg7rCJR37W0+b7hsrENGh5acalSbi2VSBoGVOR3Jw3KcVvAIe3LRjo94QCZFOAA==",
"requires": { "requires": {
"@hashicorp/react-newsletter-signup-form": "^2.0.6" "@hashicorp/react-newsletter-signup-form": "^2.0.7"
} }
}, },
"@hashicorp/react-global-styles": { "@hashicorp/react-global-styles": {
"version": "4.0.9", "version": "4.0.10",
"resolved": "https://registry.npmjs.org/@hashicorp/react-global-styles/-/react-global-styles-4.0.9.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-global-styles/-/react-global-styles-4.0.10.tgz",
"integrity": "sha512-2I5cgGrn34rBsmcoku4Wbu9qq/WramrYn8r9brMVNfHqvnJojORfIr0uMBEheh3ic9fZiN7XtnbovYcqt4Oy2g==" "integrity": "sha512-4YA2Svko3GqrfEdHWV08Yk3VIkNiMK5pVqslzDhVGnFNXP5FjL9G8c6RVrGXbgSY8Qwh8nBs1xJSalJGJynaUg=="
}, },
"@hashicorp/react-hero": { "@hashicorp/react-hero": {
"version": "3.0.3", "version": "3.0.4",
"resolved": "https://registry.npmjs.org/@hashicorp/react-hero/-/react-hero-3.0.3.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-hero/-/react-hero-3.0.4.tgz",
"integrity": "sha512-w/rfe8D0fhjZPNivDBbSD9JL7RMj8eUwJry1mcnLlXy8kTiWSpqbC6GVpEeFEDn+xGEVuUYK/MxOwrGXMKFvKQ==", "integrity": "sha512-OByGem2xVwz74qDGtP8yZkudu3d2zsznflp/8E47U5hmj2/RIV1dUYOT4imWPJCOMc5ipExxrF9RJIkTlrVaQA==",
"requires": { "requires": {
"@hashicorp/js-utils": "^1.0.8-alpha.0", "@hashicorp/js-utils": "^1.0.8-alpha.0",
"@hashicorp/localstorage-polyfill": "^1.0.12", "@hashicorp/localstorage-polyfill": "^1.0.12",
"@hashicorp/react-alert": "^2.0.0", "@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-image": "^2.0.1",
"@hashicorp/react-text-input": "^2.0.1", "@hashicorp/react-text-input": "^2.0.1",
"formik": "^1.5.8", "formik": "^1.5.8",
"marked": "^0.7.0", "marked": "^0.7.0",
"promise-polyfill": "^8.1.0", "promise-polyfill": "^8.1.0",
"query-string": "^5.1.1" "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": { "@hashicorp/react-image": {
@ -1831,11 +1829,11 @@
} }
}, },
"@hashicorp/react-logo-grid": { "@hashicorp/react-logo-grid": {
"version": "2.0.7", "version": "2.0.8",
"resolved": "https://registry.npmjs.org/@hashicorp/react-logo-grid/-/react-logo-grid-2.0.7.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-logo-grid/-/react-logo-grid-2.0.8.tgz",
"integrity": "sha512-idtXomowEvk6ddTM4juq7BkDeubw0RES5nfH5Jq9I293KB9RfTCQ4Wg/1Dqq6XmfEl0dxrAVZEfwqXNofdDDzg==", "integrity": "sha512-563eKeXQWzm0f1v97MUNlcnUuF3uc6+gTUNFBy053iu5Oe4G2CLht8CHIjuKvWvTV2t9BU7hbBuNZdL55w6tdw==",
"requires": { "requires": {
"@hashicorp/react-button": "^2.1.5", "@hashicorp/react-button": "^2.1.6",
"@hashicorp/react-image": "^2.0.1", "@hashicorp/react-image": "^2.0.1",
"@tippy.js/react": "^2.1.2" "@tippy.js/react": "^2.1.2"
} }
@ -1849,12 +1847,12 @@
} }
}, },
"@hashicorp/react-newsletter-signup-form": { "@hashicorp/react-newsletter-signup-form": {
"version": "2.0.6", "version": "2.0.7",
"resolved": "https://registry.npmjs.org/@hashicorp/react-newsletter-signup-form/-/react-newsletter-signup-form-2.0.6.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-newsletter-signup-form/-/react-newsletter-signup-form-2.0.7.tgz",
"integrity": "sha512-raMHeua75ENCxz2tjUAyPyShYWgVQwaF6MluevKPjm1gPhF0agt841BuxsBDY3QV7IczZmKHvlMI+F3iIqWLWA==", "integrity": "sha512-mTLjOF+qbq67SNNSrVyrkkZ6F9Z+K1yj//3BbRp2s4pw6aFs0Ofenc24ZVKmlzsfvpJLcVPQbfwp9NE08znUlQ==",
"requires": { "requires": {
"@hashicorp/localstorage-polyfill": "^1.0.12", "@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-checkbox-input": "^2.0.0",
"@hashicorp/react-text-input": "^2.0.1", "@hashicorp/react-text-input": "^2.0.1",
"formik": "^1.5.8", "formik": "^1.5.8",
@ -1865,11 +1863,11 @@
} }
}, },
"@hashicorp/react-product-downloader": { "@hashicorp/react-product-downloader": {
"version": "3.0.1", "version": "3.0.2",
"resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-3.0.1.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-3.0.2.tgz",
"integrity": "sha512-VZlpK9KLPvhxrzPfZx043MPS0Y1CYnvVS7rOK/8n3QD2zBaQqW+7IS4bJEBxFtfXYckA56NstlzSQgAmWUQ2pQ==", "integrity": "sha512-c8PePhLgnZKfHpM5rZJR17E2Xpgg6fkRZy0dKVBpMEBXW8u+sNpXzb6tI7o/WAzMhIv/fQSKUWQwx+4M30cJrQ==",
"requires": { "requires": {
"@hashicorp/react-button": "^2.1.5" "@hashicorp/react-button": "^2.1.6"
} }
}, },
"@hashicorp/react-section-header": { "@hashicorp/react-section-header": {
@ -1889,12 +1887,12 @@
} }
}, },
"@hashicorp/react-subnav": { "@hashicorp/react-subnav": {
"version": "2.0.0", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-2.0.0.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-2.0.2.tgz",
"integrity": "sha512-Bz0+NRinEnzXLGsfJ1n/xnVldfym3vXUL5glXKK0zyeqGLKpQ4vJnJyLbbnZxiAnr1uy8tW/yBB16/5Ck0OFEA==", "integrity": "sha512-4ZHtKiaMgwaSJDJ3+4bsb8S/ELjS5h77ZkhqN51GxkZF2QN/Q/qKEsvfhwIEA/0obpxhzM9s1s1kDoK2s0pCFg==",
"requires": { "requires": {
"@hashicorp/react-button": "^2.1.5", "@hashicorp/react-button": "^2.1.6",
"@hashicorp/react-global-styles": "^4.0.9", "@hashicorp/react-global-styles": "^4.0.10",
"@hashicorp/react-inline-svg": "^1.0.0", "@hashicorp/react-inline-svg": "^1.0.0",
"@hashicorp/react-link-wrap": "1.0.0", "@hashicorp/react-link-wrap": "1.0.0",
"@primer/octicons-react": "^9.4.0", "@primer/octicons-react": "^9.4.0",
@ -1909,14 +1907,14 @@
} }
}, },
"@hashicorp/react-text-and-content": { "@hashicorp/react-text-and-content": {
"version": "4.0.3", "version": "4.0.6",
"resolved": "https://registry.npmjs.org/@hashicorp/react-text-and-content/-/react-text-and-content-4.0.3.tgz", "resolved": "https://registry.npmjs.org/@hashicorp/react-text-and-content/-/react-text-and-content-4.0.6.tgz",
"integrity": "sha512-I8kbMM7Shi7s+xjofyFCyfjb9zyVqB6zKDUJ5IkNCdaUyz/yefVKWRdd+LPrkBvJqWC/GQ5GrA3773VHbW2MsA==", "integrity": "sha512-9Whvw601i1BjRe0QDJ0iQ2T1ZJMCFgCh546XpYOyuVfSFom4sJOXDISAM2Mb/350R+Vy/Rn3vDtmTWPwoxK9Ow==",
"requires": { "requires": {
"@hashicorp/react-button": "^2.1.5", "@hashicorp/react-button": "^2.1.6",
"@hashicorp/react-code-block": "^1.2.4", "@hashicorp/react-code-block": "^1.2.6",
"@hashicorp/react-image": "^2.0.1", "@hashicorp/react-image": "^2.0.1",
"@hashicorp/react-logo-grid": "^2.0.7", "@hashicorp/react-logo-grid": "^2.0.8",
"marked": "^0.7.0" "marked": "^0.7.0"
} }
}, },
@ -2117,9 +2115,9 @@
} }
}, },
"@primer/octicons-react": { "@primer/octicons-react": {
"version": "9.5.0", "version": "9.6.0",
"resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-9.5.0.tgz", "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-9.6.0.tgz",
"integrity": "sha512-7YmjwpBix3LClr6DSgB6HLSnAORPUPOYnid71qb7+tB85RVZu16gKqmz1L524/AO91MK/bToLJ7B9eBZ0wqsOw==", "integrity": "sha512-FR0fiU1UY1ds5ZMCUY+iVkkm1Eh4yDHf2ui+cxB3VvYX23DAdUAohPGit+qaMFy2caDd7uWYGRZduKS7dW1FZQ==",
"requires": { "requires": {
"prop-types": "^15.6.1" "prop-types": "^15.6.1"
} }
@ -8330,22 +8328,22 @@
"integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==" "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q=="
}, },
"inquirer": { "inquirer": {
"version": "7.0.4", "version": "7.1.0",
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.4.tgz", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.1.0.tgz",
"integrity": "sha512-Bu5Td5+j11sCkqfqmUTiwv+tWisMtP0L7Q8WrqA2C/BbBhy1YTdFrvjjlrKq8oagA/tLQBski2Gcx/Sqyi2qSQ==", "integrity": "sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg==",
"requires": { "requires": {
"ansi-escapes": "^4.2.1", "ansi-escapes": "^4.2.1",
"chalk": "^2.4.2", "chalk": "^3.0.0",
"cli-cursor": "^3.1.0", "cli-cursor": "^3.1.0",
"cli-width": "^2.0.0", "cli-width": "^2.0.0",
"external-editor": "^3.0.3", "external-editor": "^3.0.3",
"figures": "^3.0.0", "figures": "^3.0.0",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"mute-stream": "0.0.8", "mute-stream": "0.0.8",
"run-async": "^2.2.0", "run-async": "^2.4.0",
"rxjs": "^6.5.3", "rxjs": "^6.5.3",
"string-width": "^4.1.0", "string-width": "^4.1.0",
"strip-ansi": "^5.1.0", "strip-ansi": "^6.0.0",
"through": "^2.3.6" "through": "^2.3.6"
}, },
"dependencies": { "dependencies": {
@ -8354,16 +8352,6 @@
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" "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": { "emoji-regex": {
"version": "8.0.0", "version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
@ -8382,16 +8370,14 @@
"emoji-regex": "^8.0.0", "emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0", "is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.0" "strip-ansi": "^6.0.0"
}, }
"dependencies": { },
"strip-ansi": { "strip-ansi": {
"version": "6.0.0", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
"integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
"requires": { "requires": {
"ansi-regex": "^5.0.0" "ansi-regex": "^5.0.0"
}
}
} }
} }
} }
@ -13916,9 +13902,9 @@
} }
}, },
"react": { "react": {
"version": "16.12.0", "version": "16.13.0",
"resolved": "https://registry.npmjs.org/react/-/react-16.12.0.tgz", "resolved": "https://registry.npmjs.org/react/-/react-16.13.0.tgz",
"integrity": "sha512-fglqy3k5E+81pA8s+7K0/T3DBCF0ZDOher1elBFzF7O6arXJgzyu/FW+COxFvAWXJoJN9KIZbT2LXlukwphYTA==", "integrity": "sha512-TSavZz2iSLkq5/oiE7gnFzmURKZMltmi193rm5HEoUDAXpzT9Kzw6oNZnGoai/4+fUnm7FqS5dwgUL34TujcWQ==",
"requires": { "requires": {
"loose-envify": "^1.1.0", "loose-envify": "^1.1.0",
"object-assign": "^4.1.1", "object-assign": "^4.1.1",
@ -13938,14 +13924,25 @@
} }
}, },
"react-dom": { "react-dom": {
"version": "16.12.0", "version": "16.13.0",
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.12.0.tgz", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.0.tgz",
"integrity": "sha512-LMxFfAGrcS3kETtQaCkTKjMiifahaMySFDn71fZUNpPHZQEzmk/GiAeIT8JSOrHB23fnuCOMruL2a8NYlw+8Gw==", "integrity": "sha512-y09d2c4cG220DzdlFkPTnVvGTszVvNpC73v+AaLGLHbkpy3SSgvYq8x0rNwPJ/Rk/CicTNgk0hbHNw1gMEZAXg==",
"requires": { "requires": {
"loose-envify": "^1.1.0", "loose-envify": "^1.1.0",
"object-assign": "^4.1.1", "object-assign": "^4.1.1",
"prop-types": "^15.6.2", "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": { "react-error-overlay": {
@ -14668,9 +14665,9 @@
} }
}, },
"run-async": { "run-async": {
"version": "2.3.0", "version": "2.4.0",
"resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.0.tgz",
"integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", "integrity": "sha512-xJTbh/d7Lm7SBhc1tNvTpeCHaEzoyxPrqNlvSdMfBTYwaY++UJFyXUOxAtsRUXjlqOfj8luNaR9vjCh4KeV+pg==",
"requires": { "requires": {
"is-promise": "^2.1.0" "is-promise": "^2.1.0"
} }
@ -15021,9 +15018,9 @@
} }
}, },
"slugify": { "slugify": {
"version": "1.3.6", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/slugify/-/slugify-1.3.6.tgz", "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.4.0.tgz",
"integrity": "sha512-wA9XS475ZmGNlEnYYLPReSfuz/c3VQsEMoU43mi6OnKMCdbnFXd4/Yg7J0lBv8jkPolacMpOrWEaoYxuE1+hoQ==" "integrity": "sha512-FtLNsMGBSRB/0JOE2A0fxlqjI6fJsgHGS13iTuVT28kViI4JjUiNqp/vyis0ZXYcMnpR3fzGNkv+6vRlI2GwdQ=="
}, },
"snapdragon": { "snapdragon": {
"version": "0.8.2", "version": "0.8.2",

View File

@ -7,22 +7,22 @@
"@bugsnag/js": "^6.5.2", "@bugsnag/js": "^6.5.2",
"@bugsnag/plugin-react": "^6.5.0", "@bugsnag/plugin-react": "^6.5.0",
"@hashicorp/nextjs-scripts": "^6.0.0-2", "@hashicorp/nextjs-scripts": "^6.0.0-2",
"@hashicorp/react-button": "^2.1.5", "@hashicorp/react-button": "^2.1.6",
"@hashicorp/react-case-study-slider": "^2.0.6", "@hashicorp/react-case-study-slider": "^2.0.7",
"@hashicorp/react-consent-manager": "^2.0.5", "@hashicorp/react-consent-manager": "^2.0.6",
"@hashicorp/react-content": "^2.2.0", "@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-docs-sitemap": "^1.0.0",
"@hashicorp/react-footer": "3.1.9", "@hashicorp/react-footer": "3.1.11",
"@hashicorp/react-global-styles": "^4.0.9", "@hashicorp/react-global-styles": "^4.0.10",
"@hashicorp/react-hero": "3.0.3", "@hashicorp/react-hero": "3.0.4",
"@hashicorp/react-image": "^2.0.1", "@hashicorp/react-image": "^2.0.1",
"@hashicorp/react-inline-svg": "^1.0.0", "@hashicorp/react-inline-svg": "^1.0.0",
"@hashicorp/react-mega-nav": "^4.0.1-2", "@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-section-header": "^2.0.0",
"@hashicorp/react-subnav": "^2.0.0", "@hashicorp/react-subnav": "^2.0.2",
"@hashicorp/react-text-and-content": "^4.0.3", "@hashicorp/react-text-and-content": "^4.0.6",
"@hashicorp/react-use-cases": "^1.0.4", "@hashicorp/react-use-cases": "^1.0.4",
"@hashicorp/react-vertical-text-block-list": "^2.0.1", "@hashicorp/react-vertical-text-block-list": "^2.0.1",
"babel-plugin-import-glob-array": "^0.2.0", "babel-plugin-import-glob-array": "^0.2.0",
@ -34,16 +34,16 @@
"marked": "^0.7.0", "marked": "^0.7.0",
"next": "^9.2.2", "next": "^9.2.2",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"react": "^16.12.0", "react": "^16.13.0",
"react-dom": "^16.12.0", "react-dom": "^16.13.0",
"slugify": "^1.3.6", "slugify": "^1.4.0",
"stringify-object": "^3.3.0" "stringify-object": "^3.3.0"
}, },
"devDependencies": { "devDependencies": {
"dart-linkcheck": "^2.0.12", "dart-linkcheck": "^2.0.12",
"glob": "^7.1.6", "glob": "^7.1.6",
"husky": "^4.2.3", "husky": "^4.2.3",
"inquirer": "^7.0.4", "inquirer": "^7.1.0",
"prettier": "^1.19.1" "prettier": "^1.19.1"
}, },
"husky": { "husky": {