This commit is contained in:
Bret Comnes 2020-02-13 11:46:12 -07:00
parent 1638c39428
commit fad2c4a165
No known key found for this signature in database
GPG Key ID: 3705F4634DC3A1AC
5 changed files with 24 additions and 12 deletions

View File

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v0.0.8](https://github.com/bcomnes/deploy-to-neocities/compare/v0.0.7...v0.0.8) - 2020-02-13
### Commits
- chore: update async-neocities to 1.1.3 [`1638c39`](https://github.com/bcomnes/deploy-to-neocities/commit/1638c394287dcf61bcf439a387dbefc2e68b2128)
## [v0.0.7](https://github.com/bcomnes/deploy-to-neocities/compare/v0.0.6...v0.0.7) - 2020-02-13
### Commits

View File

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v1.1.3](https://github.com/bcomnes/async-neocities/compare/v1.1.2...v1.1.3) - 2020-02-13
### Commits
- refactor: Stop logging progress when the stream has been read. [`3ce0fc4`](https://github.com/bcomnes/async-neocities/commit/3ce0fc452acbbbd28c39b53a3a9a4318a8019c09)
## [v1.1.2](https://github.com/bcomnes/async-neocities/compare/v1.1.1...v1.1.2) - 2020-02-13
### Commits

View File

@ -35,7 +35,7 @@ function statsHandler (opts = {}) {
function progressHandler (stats) {
Object.assign(lastStats, stats)
if (!stats.complete) {
if (!stats.complete || stats.progress < 1) {
if (!progressInterval) {
progressInterval = setInterval(logProgress, 500, lastStats)
logProgress(lastStats)

View File

@ -1,26 +1,26 @@
{
"_from": "async-neocities@1.1.2",
"_id": "async-neocities@1.1.2",
"_from": "async-neocities@1.1.3",
"_id": "async-neocities@1.1.3",
"_inBundle": false,
"_integrity": "sha512-Pe7dwjZYb85T0g7YgPjbbhGUa5WlIVVwCrieoPj3urCIN1lVDWSu39OiBkG61Wbi+VDxoJqaa7qWoKC7etSVDw==",
"_integrity": "sha512-lUPontZXSugOx3/3TsJQGLmgUwUsH6pKy/yPTnxJF6tMaItXbdR3YwTJne5A//FWFd0sFMfCOkTYuTAz7w55OQ==",
"_location": "/async-neocities",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "async-neocities@1.1.2",
"raw": "async-neocities@1.1.3",
"name": "async-neocities",
"escapedName": "async-neocities",
"rawSpec": "1.1.2",
"rawSpec": "1.1.3",
"saveSpec": null,
"fetchSpec": "1.1.2"
"fetchSpec": "1.1.3"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/async-neocities/-/async-neocities-1.1.2.tgz",
"_shasum": "275c86c483cfb6360835ba792bc0ba985c9a889a",
"_spec": "async-neocities@1.1.2",
"_resolved": "https://registry.npmjs.org/async-neocities/-/async-neocities-1.1.3.tgz",
"_shasum": "15604ec2f98746f8185d7916a5b7469b96480148",
"_spec": "async-neocities@1.1.3",
"_where": "/Users/bret/repos/deploy-to-neocities",
"author": {
"name": "Bret Comnes",
@ -80,5 +80,5 @@
"dist"
]
},
"version": "1.1.2"
"version": "1.1.3"
}

View File

@ -1,6 +1,6 @@
{
"name": "deploy-to-neocities",
"version": "0.0.7",
"version": "0.0.8",
"description": "Github Action to deplpoy a folder to Neocities.org",
"main": "index.js",
"private": true,