Skip to content

Commit f68330b

Browse files
authored
Merge/remove awp-sw (#298)
- copy the @webrecorder/awp-sw files back into this repo (under ./sw/) for easier maintenance (avoids build issues) - no longer need the separate package - fix autopilot display indicator not showing up (change color / use space)
1 parent 1724dd0 commit f68330b

File tree

10 files changed

+2840
-79
lines changed

10 files changed

+2840
-79
lines changed

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,33 @@
1212
"license": "AGPL-3.0-or-later",
1313
"dependencies": {
1414
"@fortawesome/fontawesome-free": "^5.13.0",
15-
"@ipld/car": "^5.3.1",
16-
"@webrecorder/awp-sw": "^0.5.3",
15+
"@ipld/car": "^5.3.2",
16+
"@ipld/unixfs": "^3.0.0",
1717
"@webrecorder/wabac": "^2.22.16",
1818
"auto-js-ipfs": "^2.3.0",
1919
"browsertrix-behaviors": "^0.8.5",
2020
"btoa": "^1.2.1",
2121
"bulma": "^0.9.3",
22-
"client-zip": "^2.2.2",
22+
"client-zip": "^2.3.0",
23+
"idb": "^7.1.1",
2324
"hash-wasm": "^4.9.0",
2425
"http-status-codes": "^2.1.4",
2526
"keyword-mark-element": "^0.1.2",
2627
"node-fetch": "2.6.7",
28+
"p-queue": "^8.0.1",
2729
"pdfjs-dist": "2.2.228",
2830
"pretty-bytes": "^5.6.0",
2931
"replaywebpage": "^2.3.7",
3032
"stream-browserify": "^3.0.0",
3133
"tsconfig-paths-webpack-plugin": "^4.1.0",
3234
"unused-filename": "^4.0.1",
33-
"uuid": "^8.3.2",
35+
"uuid": "^9.0.0",
3436
"warcio": "^2.4.4"
3537
},
3638
"devDependencies": {
3739
"@typescript-eslint/eslint-plugin": "^6.15.0",
3840
"@typescript-eslint/parser": "^6.15.0",
41+
"@types/uuid": "^10.0.0",
3942
"copy-webpack-plugin": "^9.0.1",
4043
"css-loader": "^6.2.0",
4144
"electron": "^32.2.0",

src/ext/browser-recorder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ class BrowserRecorder extends Recorder {
254254
// @ts-expect-error - TS2339 - Property 'behaviorState' does not exist on type 'BrowserRecorder'.
255255
if (this.behaviorState === BEHAVIOR_RUNNING) {
256256
title = "Archiving: Autopilot Running!";
257-
color = "#0891b2";
258-
text = "";
257+
color = "#0096ff";
258+
text = " ";
259259
// @ts-expect-error - TS2339 - Property 'numPending' does not exist on type 'BrowserRecorder'.
260260
} else if (this.numPending === 0) {
261261
title = "Archiving: No URLs pending, can continue";

0 commit comments

Comments
 (0)