@nxtedition/lib 19.0.44 → 19.0.45

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/s3.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "19.0.44",
3
+ "version": "19.0.45",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",
package/s3.js CHANGED
@@ -103,7 +103,7 @@ export async function upload({ client: s3, signal, logger, partSize = 16e6, para
103
103
  PartNumber: number,
104
104
  Body: new stream.Readable({
105
105
  read() {
106
- for (const chunk of chunks.splice(0)) {
106
+ for (const chunk of chunks) {
107
107
  this.push(chunk)
108
108
  }
109
109
  this.push(null)