Update website dependencies, fix IE11 (#7345)

This commit is contained in:
Jeff Escalante
2020-03-25 16:34:16 -04:00
committed by GitHub
parent 7bd7136c33
commit d405f77525
5 changed files with 749 additions and 515 deletions

View File

@@ -1,8 +1,8 @@
{
"ignore": {
"marked": {
"versions": "0.8.0",
"reason": "Broken IE"
"versions": "0.8.2",
"reason": "Breaks IE"
}
}
}

View File

@@ -9,7 +9,6 @@ module.exports = withHashicorp({
experimental: {
css: true,
modern: true,
polyfillsOptimization: true,
rewrites: () => [
{
source: '/api/:path*',

1217
website/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -8,28 +8,28 @@
"@bugsnag/plugin-react": "^6.5.0",
"@hashicorp/nextjs-scripts": "^6.0.0-2",
"@hashicorp/react-alert": "^2.0.0",
"@hashicorp/react-button": "^2.1.5",
"@hashicorp/react-call-to-action": "^0.1.2",
"@hashicorp/react-case-study-slider": "^2.0.6",
"@hashicorp/react-button": "^2.1.6",
"@hashicorp/react-call-to-action": "^0.1.3",
"@hashicorp/react-case-study-slider": "^2.0.10",
"@hashicorp/react-code-block": "^1.2.6",
"@hashicorp/react-consent-manager": "^2.0.5",
"@hashicorp/react-consent-manager": "^2.0.6",
"@hashicorp/react-content": "^2.2.0",
"@hashicorp/react-docs-page": "^0.1.1-alpha.1939",
"@hashicorp/react-docs-sidenav": "^3.0.3",
"@hashicorp/react-docs-sidenav": "^3.0.4",
"@hashicorp/react-docs-sitemap": "^1.0.0",
"@hashicorp/react-footer": "^3.1.10",
"@hashicorp/react-global-styles": "^4.0.9",
"@hashicorp/react-footer": "^3.1.11",
"@hashicorp/react-global-styles": "^4.0.10",
"@hashicorp/react-head": "^0.1.1",
"@hashicorp/react-hero": "^3.0.3",
"@hashicorp/react-hero": "^3.0.4",
"@hashicorp/react-image": "^2.0.1",
"@hashicorp/react-inline-svg": "^1.0.0",
"@hashicorp/react-product-downloader": "^3.0.1",
"@hashicorp/react-product-downloader": "^3.0.3",
"@hashicorp/react-section-header": "^2.0.0",
"@hashicorp/react-subnav": "^2.0.0",
"@hashicorp/react-text-and-content": "^4.0.4",
"@hashicorp/react-text-split": "^0.2.2",
"@hashicorp/react-subnav": "^3.0.0",
"@hashicorp/react-text-and-content": "^4.0.6",
"@hashicorp/react-text-split": "^0.2.3",
"@hashicorp/react-text-split-with-code": "0.0.6",
"@hashicorp/react-text-split-with-image": "^1.2.2",
"@hashicorp/react-text-split-with-image": "^1.2.3",
"@hashicorp/react-use-cases": "^1.0.4",
"@hashicorp/react-vertical-text-block-list": "^2.0.1",
"babel-plugin-import-glob-array": "^0.2.0",
@@ -39,21 +39,21 @@
"imagemin-svgo": "^7.1.0",
"isomorphic-unfetch": "^3.0.0",
"marked": "^0.7.0",
"next": "9.2.2",
"next": "9.3.1",
"nprogress": "^0.2.0",
"nuka-carousel": "^4.6.3",
"react": "^16.13.0",
"nuka-carousel": "^4.6.6",
"react": "^16.13.1",
"react-device-detect": "^1.11.14",
"react-dom": "^16.13.0",
"react-dom": "^16.13.1",
"slugify": "^1.4.0",
"stringify-object": "^3.3.0"
},
"devDependencies": {
"dart-linkcheck": "^2.0.12",
"dart-linkcheck": "^2.0.15",
"glob": "^7.1.6",
"husky": "^4.2.3",
"inquirer": "^7.0.5",
"prettier": "^1.19.1"
"inquirer": "^7.1.0",
"prettier": "^2.0.2"
},
"husky": {
"hooks": {

View File

@@ -24,7 +24,7 @@ export default function DownloadsPage({ downloadData }) {
)
}
export async function unstable_getStaticProps() {
export async function getStaticProps() {
return fetch(`https://releases.hashicorp.com/nomad/${VERSION}/index.json`)
.then(r => r.json())
.then(r => {