diff --git a/site/Dockerfile b/site/Dockerfile index 6674e45336..ed7cba5011 100644 --- a/site/Dockerfile +++ b/site/Dockerfile @@ -1,4 +1,4 @@ -FROM mhart/alpine-node:10.15 +FROM mhart/alpine-node:11.14 # install dependencies WORKDIR /app @@ -12,7 +12,7 @@ RUN npm install --production # Only copy over the Node pieces we need # ~> Saves 35MB ### -FROM mhart/alpine-node:base-10.15 +FROM mhart/alpine-node:base-11.14 WORKDIR /app COPY --from=0 /app . diff --git a/site/package-lock.json b/site/package-lock.json index e01503eba7..bffc2628b7 100644 --- a/site/package-lock.json +++ b/site/package-lock.json @@ -3246,16 +3246,6 @@ "integrity": "sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw==", "dev": true }, - "globalyzer": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.4.tgz", - "integrity": "sha512-LeguVWaxgHN0MNbWC6YljNMzHkrCny9fzjmEUdnF1kQ7wATFD1RHFRqA1qxaX2tgxGENlcxjOflopBwj3YZiXA==" - }, - "globrex": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", - "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==" - }, "golden-fleece": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/golden-fleece/-/golden-fleece-1.0.9.tgz", @@ -5227,13 +5217,12 @@ "dev": true }, "sirv": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/sirv/-/sirv-0.2.4.tgz", - "integrity": "sha512-0YaLzpD6dPiJZUqDEwDqk9NLGZDm/nNWvpg8Rym+3hdt5pWGRrlggjjt1KtF0+tZgGtyI4F5f5JZ9XTCp53Oqw==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/sirv/-/sirv-0.3.1.tgz", + "integrity": "sha512-03p4fuXPfhlNrDjUBw5bGF//4i0Rjwf7hVm8XhuKgeguHGQPr4pV+lgAJZKSP9BaJKn+QG9QvTxLX1wSYshccg==", "requires": { "@polka/url": "^0.5.0", - "mime": "^2.3.1", - "tiny-glob": "^0.2.0" + "mime": "^2.3.1" }, "dependencies": { "mime": { @@ -5617,15 +5606,6 @@ "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==", "optional": true }, - "tiny-glob": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.6.tgz", - "integrity": "sha512-A7ewMqPu1B5PWwC3m7KVgAu96Ch5LA0w4SnEN/LbDREj/gAD0nPWboRbn8YoP9ISZXqeNAlMvKSKoEuhcfK3Pw==", - "requires": { - "globalyzer": "^0.1.0", - "globrex": "^0.1.1" - } - }, "tinycolor2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.1.tgz", diff --git a/site/package.json b/site/package.json index 5f31257942..0249fd6c8d 100644 --- a/site/package.json +++ b/site/package.json @@ -28,7 +28,7 @@ "prismjs": "^1.15.0", "session-file-store": "^1.2.0", "shelljs": "^0.8.3", - "sirv": "^0.2.2", + "sirv": "^0.3.1", "yootils": "0.0.14" }, "devDependencies": { diff --git a/site/src/components/PreloadingIndicator.svelte b/site/src/components/PreloadingIndicator.svelte new file mode 100644 index 0000000000..22980e2a6b --- /dev/null +++ b/site/src/components/PreloadingIndicator.svelte @@ -0,0 +1,64 @@ + + + + +{#if p > 0} +