New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/chunked-stream-reader-node

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/chunked-stream-reader-node - npm Package Compare versions

Comparing version 3.693.0 to 3.723.0

2

dist-cjs/index.js

@@ -32,3 +32,3 @@ "use strict";

stream.on("end", () => {
if (temporaryBuffer == null ? void 0 : temporaryBuffer.byteLength) {
if (temporaryBuffer?.byteLength) {
for (let i = 0; i < temporaryBuffer.byteLength; i += chunkSize) {

@@ -35,0 +35,0 @@ onChunk(temporaryBuffer.subarray(i, Math.min(i + chunkSize, temporaryBuffer.byteLength)));

import { Readable } from "stream";
export class ReadFromBuffers extends Readable {
buffersToRead;
numBuffersRead = 0;
errorAfter;
constructor(options) {
super(options);
this.numBuffersRead = 0;
this.buffersToRead = options.buffers;

@@ -7,0 +9,0 @@ this.errorAfter = typeof options.errorAfter === "number" ? options.errorAfter : -1;

{
"name": "@aws-sdk/chunked-stream-reader-node",
"version": "3.693.0",
"version": "3.723.0",
"scripts": {

@@ -28,10 +28,10 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@tsconfig/recommended": "1.0.1",
"@types/node": "^16.18.96",
"@types/node": "^18.19.69",
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",
"typescript": "~4.9.5"
"typescript": "~5.2.2"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},

@@ -38,0 +38,0 @@ "typesVersions": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc