Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@smithy/util-stream

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/util-stream - npm Package Compare versions

Comparing version 3.3.4 to 4.0.0

7

dist-cjs/index.js

@@ -47,3 +47,6 @@ var __defProp = Object.defineProperty;

// src/blob/Uint8ArrayBlobAdapter.ts
var _Uint8ArrayBlobAdapter = class _Uint8ArrayBlobAdapter extends Uint8Array {
var Uint8ArrayBlobAdapter = class _Uint8ArrayBlobAdapter extends Uint8Array {
static {
__name(this, "Uint8ArrayBlobAdapter");
}
/**

@@ -77,4 +80,2 @@ * @param source - such as a string or Stream.

};
__name(_Uint8ArrayBlobAdapter, "Uint8ArrayBlobAdapter");
var Uint8ArrayBlobAdapter = _Uint8ArrayBlobAdapter;

@@ -81,0 +82,0 @@ // src/index.ts

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

if (typeof stream_1.Readable.toWeb !== "function") {
throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");
throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");
}

@@ -51,0 +51,0 @@ transformed = true;

@@ -44,3 +44,3 @@ import { streamCollector } from "@smithy/node-http-handler";

if (typeof Readable.toWeb !== "function") {
throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");
throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");
}

@@ -47,0 +47,0 @@ transformed = true;

/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { Checksum, Encoder } from "@smithy/types";

@@ -4,0 +5,0 @@ import { Duplex, Readable } from "stream";

{
"name": "@smithy/util-stream",
"version": "3.3.4",
"version": "4.0.0",
"scripts": {

@@ -31,9 +31,9 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",

"dependencies": {
"@smithy/fetch-http-handler": "^4.1.3",
"@smithy/node-http-handler": "^3.3.3",
"@smithy/types": "^3.7.2",
"@smithy/util-base64": "^3.0.0",
"@smithy/util-buffer-from": "^3.0.0",
"@smithy/util-hex-encoding": "^3.0.0",
"@smithy/util-utf8": "^3.0.0",
"@smithy/fetch-http-handler": "^5.0.0",
"@smithy/node-http-handler": "^4.0.0",
"@smithy/types": "^4.0.0",
"@smithy/util-base64": "^4.0.0",
"@smithy/util-buffer-from": "^4.0.0",
"@smithy/util-hex-encoding": "^4.0.0",
"@smithy/util-utf8": "^4.0.0",
"tslib": "^2.6.2"

@@ -43,3 +43,3 @@ },

"@smithy/util-test": "^0.2.8",
"@types/node": "^16.18.96",
"@types/node": "^18.11.9",
"concurrently": "7.0.0",

@@ -51,3 +51,3 @@ "downlevel-dts": "0.10.1",

"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},

@@ -54,0 +54,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