fix(deps): update dependency parse-domain to version 2.3.4 🌟 (#5726)

* fix(deps): update parse-domain to 2.3.4 🌟

* update details now that s3.amazonaws.com is a public suffix

* bump max size


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
This commit is contained in:
renovate[bot]
2019-11-19 13:06:11 -05:00
committed by Zach Bloomquist
parent b03b25c258
commit 6bb3a483f9
4 changed files with 10 additions and 10 deletions

View File

@@ -39,10 +39,10 @@ checkZipSize = (zipPath) ->
stats = fs.statSync(zipPath)
zipSize = filesize(stats.size, {round: 0})
console.log("zip file size #{zipSize}")
MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 245 else 150
MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 245 else 160
MAX_ZIP_FILE_SIZE = megaBytes(MAX_ALLOWED_SIZE_MB)
if stats.size > MAX_ZIP_FILE_SIZE
throw new Error("Zip file is too large: #{zipSize} exceeds #{MAX_ZIP_FILE_SIZE}")
throw new Error("Zip file is too large: #{zipSize} (#{stats.size} bytes) exceeds #{MAX_ZIP_FILE_SIZE} bytes")
# resolves with zipped filename
linuxZip = (src, dest) ->