npm/pacote

[BUG] Unexpected end of file.

Closed this issue · 1 comments

What / Why

Truncated download is resulting in a zlib error

When

  • slow network connection results in an incomplete fetch

Where

  • using private artifactory server over bad VPN connection

How

Current Behavior

  • we are using pacote.extract with the integrity value passed into the options

Steps to Reproduce

  • unsure. perhaps disconnecting network connecton?

Expected Behavior

  • expect pacote to abort with failed integrity check error rather than attempting to unpack a truncated file.

Who

  • n/a

References

  • n/a

Closing due to age and lack of reproduceable steps. If this problem persists please open a new issue.