fix(core): update
This commit is contained in:
		@@ -10,3 +10,41 @@ hi+wow
 | 
				
			|||||||
hi+wow
 | 
					hi+wow
 | 
				
			||||||
hi+wow
 | 
					hi+wow
 | 
				
			||||||
hi+wow
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 | 
					hi+wow
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,6 +3,6 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
export const commitinfo = {
 | 
					export const commitinfo = {
 | 
				
			||||||
  name: '@push.rocks/smartstream',
 | 
					  name: '@push.rocks/smartstream',
 | 
				
			||||||
  version: '3.0.24',
 | 
					  version: '3.0.25',
 | 
				
			||||||
  description: 'simplifies access to node streams'
 | 
					  description: 'simplifies access to node streams'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -59,9 +59,7 @@ export class SmartDuplex<TInput = any, TOutput = any> extends Duplex {
 | 
				
			|||||||
    let canPushMore = true; 
 | 
					    let canPushMore = true; 
 | 
				
			||||||
    while(this.backpressuredArray.data.length > 0 && canPushMore) {
 | 
					    while(this.backpressuredArray.data.length > 0 && canPushMore) {
 | 
				
			||||||
      const nextChunk = this.backpressuredArray.shift();
 | 
					      const nextChunk = this.backpressuredArray.shift();
 | 
				
			||||||
      if (nextChunk) {
 | 
					      canPushMore = this.push(nextChunk);
 | 
				
			||||||
        canPushMore = this.push(nextChunk);
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user