didelity: only wrap JS globals if necessary (via wabac.js 2.9.5)

update to wabac.js 2.9.5
bump to 1.5.5
This commit is contained in:
Ilya Kreymer
2021-10-25 11:04:55 -07:00
parent 10cfe36350
commit 34b03e6b08
8 changed files with 220 additions and 187 deletions
+6 -1
View File
@@ -1,11 +1,16 @@
## CHANGES
v1.5.5
- Fidelity: Only wrap JS globals if necessary (via wabac.js 2.9.5)
- UI: Add download option from collection info and dropdown menu to download web archives from http.
- Dependencies: update to wabac.js 2.9.5
v1.5.4
- Fidelity: Faster rewriting of large JS files
- Fidelity: Fixes for twitter video replay
- Loading: Fix IPFS loading of WARCs
- Fidelity: fix replay of .php files being treated as static files (via wabac.js 2.9.4)
- Fidelity: Fix wombat.js build to avoid adding '__esModule' to window (via wabac.js 2.9.4)
- Fidelity: Fix wombat.js build to avoid adding 'esModule' to window (via wabac.js 2.9.4)
- Dependencies: update to wabac.js 2.9.4
v1.5.3
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "replaywebpage",
"productName": "ReplayWeb.page",
"version": "1.5.4",
"version": "1.5.5",
"description": "Serverless Web Archive Replay",
"repository": "https://github.com/webrecorder/replayweb.page",
"homepage": "https://replayweb.page/",
@@ -9,7 +9,7 @@
"license": "AGPL-3.0-or-later",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
"@webrecorder/wabac": "^2.9.4",
"@webrecorder/wabac": "^2.9.5",
"bulma": "^0.9.3",
"electron-log": "^4.4.1",
"electron-updater": "^4.3.9",
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "replaywebpage",
"productName": "ReplayWeb.page",
"version": "1.5.4",
"version": "1.5.5",
"description": "Serverless Web Archive Replay",
"repository": "https://github.com/webrecorder/replayweb.page",
"homepage": "https://replayweb.page/",
@@ -9,7 +9,7 @@
"license": "AGPL-3.0-or-later",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
"@webrecorder/wabac": "^2.9.4",
"@webrecorder/wabac": "^2.9.5",
"bulma": "^0.9.3",
"electron-log": "^4.4.1",
"electron-updater": "^4.3.9",
+6 -1
View File
@@ -425,7 +425,12 @@ class CollInfo extends LitElement
</div>` : html`
`}
<div class="column is-4">
<span class="source-text"><p class="minihead">Source</p>${coll.sourceUrl}&nbsp;</span>
<span class="source-text"><p class="minihead">Source</p>
${coll.sourceUrl && (coll.sourceUrl.startsWith("http://") || coll.sourceUrl.startsWith("https://")) ? html`
<a href="${coll.sourceUrl}">${coll.sourceUrl}&nbsp;</a>` : html`
${coll.sourceUrl}&nbsp;`}
</span>
<a @click="${(e) => this.onCopy(e, coll.sourceUrl)}" class="copy"><fa-icon .svg="${fasCopy}"/></a>
${coll.sourceUrl && coll.sourceUrl.startsWith("googledrive://") ? html`
<p><i>(${coll.filename})</i></p>` : ""}
+10
View File
@@ -5,6 +5,8 @@ import { sourceToId, tsToDate, getPageDateTS } from "./pageutils";
import fasBook from "@fortawesome/fontawesome-free/svgs/solid/book.svg";
import fasDownload from "@fortawesome/fontawesome-free/svgs/solid/download.svg";
import farListAlt from "@fortawesome/fontawesome-free/svgs/regular/list-alt.svg";
import farResources from "@fortawesome/fontawesome-free/svgs/solid/puzzle-piece.svg";
import farPages from "@fortawesome/fontawesome-free/svgs/regular/file-image.svg";
@@ -826,6 +828,14 @@ class Coll extends LitElement
</span>
<span>Purge Cache + Full Reload</span>
</a>` : html``}
${!this.editable && this.sourceUrl.startsWith("http://") || this.sourceUrl.startsWith("https://") ? html`
<hr class="dropdown-divider">
<a href="${this.sourceUrl}" role="button" class="dropdown-item" @keyup="${clickOnSpacebarPress}">
<span class="icon is-small">
<fa-icon size="1.0em" class="has-text-grey" aria-hidden="true" .svg="${fasDownload}"></fa-icon>
</span>
<span>Download Archive</span>
</a>` : html``}
${dateStr ? html`
<hr class="dropdown-divider is-hidden-desktop">
<div class="dropdown-item info is-hidden-desktop">
+2 -2
View File
File diff suppressed because one or more lines are too long
+188 -175
View File
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -962,10 +962,10 @@
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.5.2.tgz#ea584b637ff63c5a477f6f21604b5a205b72c9ec"
integrity sha512-vgJ5OLWadI8aKjDlOH3rb+dYyPd2GTZuQC/Tihjct6F9GpXGZINo3Y/IVuZVTM1eDQB+/AOsjPUWH/WySDaXvw==
"@webrecorder/wabac@^2.9.4":
version "2.9.4"
resolved "https://registry.yarnpkg.com/@webrecorder/wabac/-/wabac-2.9.4.tgz#6ad301522d54e8ca96048217c1c33bf9e10e86a2"
integrity sha512-oUCf7jxrbijbdRXYjS/RxxxsarSpWSTL+4eb1eOkPSvXdHCBSpcGZcU2XXDx3bk+hEiV6stwyrfOgM+8N1OlKQ==
"@webrecorder/wabac@^2.9.5":
version "2.9.5"
resolved "https://registry.yarnpkg.com/@webrecorder/wabac/-/wabac-2.9.5.tgz#a69b9033ebb322f95fc6441a0b45ce70556c042c"
integrity sha512-E6B9s+l+6a3wZt4sK6uU1j4X8Mm4nAJLKVr5U2GpqC9fwOiSllIYTKJ9eSvy6auettIvGlB9BNfYNiw9T5Xnsg==
dependencies:
"@webrecorder/wombat" "^3.3.4"
brotli "github:foliojs/brotli.js"