patreon-dl 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -343,7 +343,7 @@ abortController.abort();
|
|
|
343
343
|
3. Downloader begins saving media belonging to target (again, subject to downloader configuration). Emits `phaseBegin` event with `phase: saveMedia`.
|
|
344
344
|
1. Downloader saves files that do not need to be downloaded, e.g. embedded video / link info.
|
|
345
345
|
2. Downloader proceeds to download files (images, videos, audio, attachments, etc.) belonging to the target in batches. For each batch, downloader emits `phaseBegin` event with `phase: batchDownload`. When done, downloader emits `phaseEnd` event with `phase: batchDownload`.
|
|
346
|
-
- In this `phaseBegin` event, you can attach listeners to the download batch to monitor events for each download. See Download Task Batch.
|
|
346
|
+
- In this `phaseBegin` event, you can attach listeners to the download batch to monitor events for each download. See [Download Task Batch](#download-task-batch).
|
|
347
347
|
4. Downloader emits `phaseEnd` event with `phase: saveMedia`.
|
|
348
348
|
5. Downloader emits `targetEnd` event with `isSkipped: false`, and proceeds to the next target.
|
|
349
349
|
4. When there are no more targets to be processed, or a fatal error occurred, downloader ends with `end` event.
|
|
@@ -418,5 +418,9 @@ Each event emitted by a download task batch has a payload, which is an object wi
|
|
|
418
418
|
|
|
419
419
|
## Changelog
|
|
420
420
|
|
|
421
|
+
v1.0.1
|
|
422
|
+
- Fix missing types when importing as library
|
|
423
|
+
- Fix link in this README
|
|
424
|
+
|
|
421
425
|
v1.0.0
|
|
422
426
|
- Initial release
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "patreon-dl",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Patreon Downloader",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -28,17 +28,14 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/capitalize": "^2.0.2",
|
|
31
|
-
"@types/cli-color": "^2.0.5",
|
|
32
31
|
"@types/command-line-args": "^5.2.2",
|
|
33
32
|
"@types/command-line-usage": "^5.0.4",
|
|
34
33
|
"@types/content-disposition": "^0.5.7",
|
|
35
34
|
"@types/dateformat": "^5.0.2",
|
|
36
|
-
"@types/deep-freeze": "^0.1.5",
|
|
37
35
|
"@types/fluent-ffmpeg": "^2.1.24",
|
|
38
36
|
"@types/fs-extra": "^9.0.0",
|
|
39
37
|
"@types/mime-types": "^2.1.3",
|
|
40
38
|
"@types/node": "^16.18.62",
|
|
41
|
-
"@types/progress-stream": "^2.0.3",
|
|
42
39
|
"@types/prompt-sync": "^4.2.3",
|
|
43
40
|
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
44
41
|
"@typescript-eslint/parser": "^5.56.0",
|
|
@@ -49,6 +46,9 @@
|
|
|
49
46
|
"typescript": "^4.9.5"
|
|
50
47
|
},
|
|
51
48
|
"dependencies": {
|
|
49
|
+
"@types/cli-color": "^2.0.5",
|
|
50
|
+
"@types/deep-freeze": "^0.1.5",
|
|
51
|
+
"@types/progress-stream": "^2.0.3",
|
|
52
52
|
"bottleneck": "^2.19.5",
|
|
53
53
|
"capitalize": "^2.0.4",
|
|
54
54
|
"cli-color": "^2.0.3",
|