Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datastream/monorepo",
"version": "0.2.0",
"version": "0.3.0",
"description": "Streams made easy.",
"private": true,
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions packages/aws/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datastream/aws",
"version": "0.2.0",
"version": "0.3.0",
"description": "AWS service streaming integrations for CloudWatch Logs, DynamoDB, Kinesis, Lambda, S3, SNS, and SQS",
"type": "module",
"engines": {
Expand Down Expand Up @@ -148,7 +148,7 @@
},
"homepage": "https://datastream.js.org",
"dependencies": {
"@datastream/core": "0.2.0"
"@datastream/core": "0.3.0"
},
"peerDependencies": {
"@aws-sdk/client-cloudwatch-logs": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/base64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datastream/base64",
"version": "0.2.0",
"version": "0.3.0",
"description": "Base64 encoding and decoding transform streams",
"type": "module",
"engines": {
Expand Down Expand Up @@ -60,6 +60,6 @@
},
"homepage": "https://datastream.js.org",
"dependencies": {
"@datastream/core": "0.2.0"
"@datastream/core": "0.3.0"
}
}
4 changes: 2 additions & 2 deletions packages/charset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datastream/charset",
"version": "0.2.0",
"version": "0.3.0",
"description": "Character encoding detection, decoding, and conversion streams",
"type": "module",
"engines": {
Expand Down Expand Up @@ -108,7 +108,7 @@
},
"homepage": "https://datastream.js.org",
"dependencies": {
"@datastream/core": "0.2.0",
"@datastream/core": "0.3.0",
"charset-detector": "0.0.2",
"iconv-lite": "0.7.2"
}
Expand Down
7 changes: 4 additions & 3 deletions packages/compress/deflate.web.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2026 will Farrell, and datastream contributors.
// SPDX-License-Identifier: MIT
/* global CompressionStream, DecompressionStream */
/* global CompressionStream, DecompressionStream, TransformStream */
// CompressionStream
// - https://caniuse.com/?search=CompressionStream
// - not supported on firefox - https://bugzilla.mozilla.org/show_bug.cgi?id=1586639
Expand All @@ -14,7 +14,7 @@
const decompressor = new DecompressionStream("deflate");
if (maxOutputSize != null) {
let outputSize = 0;
const limiter = new TransformStream({
const transformer = {
transform(chunk, controller) {
outputSize += chunk.byteLength;
if (outputSize > maxOutputSize) {
Expand All @@ -27,7 +27,8 @@
}
controller.enqueue(chunk);
},
});
};
const limiter = new TransformStream(transformer);

Check warning

Code scanning / CodeQL

Superfluous trailing arguments Warning

Superfluous argument passed to
function TransformStream
.
Comment thread
willfarrell marked this conversation as resolved.
Dismissed
return {
readable: decompressor.readable.pipeThrough(limiter),
writable: decompressor.writable,
Expand Down
7 changes: 4 additions & 3 deletions packages/compress/gzip.web.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2026 will Farrell, and datastream contributors.
// SPDX-License-Identifier: MIT
/* global CompressionStream, DecompressionStream */
/* global CompressionStream, DecompressionStream, TransformStream */
// CompressionStream
// - https://caniuse.com/?search=CompressionStream
// - not supported on firefox - https://bugzilla.mozilla.org/show_bug.cgi?id=1586639
Expand All @@ -14,7 +14,7 @@
const decompressor = new DecompressionStream("gzip");
if (maxOutputSize != null) {
let outputSize = 0;
const limiter = new TransformStream({
const transformer = {
transform(chunk, controller) {
outputSize += chunk.byteLength;
if (outputSize > maxOutputSize) {
Expand All @@ -27,7 +27,8 @@
}
controller.enqueue(chunk);
},
});
};
const limiter = new TransformStream(transformer);

Check warning

Code scanning / CodeQL

Superfluous trailing arguments Warning

Superfluous argument passed to
function TransformStream
.
Comment thread
willfarrell marked this conversation as resolved.
Dismissed
return {
readable: decompressor.readable.pipeThrough(limiter),
writable: decompressor.writable,
Expand Down
4 changes: 2 additions & 2 deletions packages/compress/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datastream/compress",
"version": "0.2.0",
"version": "0.3.0",
"description": "Compression and decompression streams for gzip, deflate, brotli, and zstd",
"type": "module",
"engines": {
Expand Down Expand Up @@ -140,7 +140,7 @@
},
"homepage": "https://datastream.js.org",
"dependencies": {
"@datastream/core": "0.2.0"
"@datastream/core": "0.3.0"
},
"peerDependencies": {
"brotli-wasm": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datastream/core",
"version": "0.2.0",
"version": "0.3.0",
"description": "Stream creation utilities and pipeline functions for Web Streams API and Node.js streams",
"type": "module",
"engines": {
Expand Down Expand Up @@ -61,6 +61,6 @@
"homepage": "https://datastream.js.org",
"dependencies": {},
"devDependencies": {
"@datastream/object": "0.2.0"
"@datastream/object": "0.3.0"
}
}
6 changes: 3 additions & 3 deletions packages/csv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datastream/csv",
"version": "0.2.0",
"version": "0.3.0",
"description": "CSV parsing and formatting transform streams",
"type": "module",
"engines": {
Expand Down Expand Up @@ -63,7 +63,7 @@
},
"homepage": "https://datastream.js.org",
"dependencies": {
"@datastream/core": "0.2.0",
"@datastream/object": "0.2.0"
"@datastream/core": "0.3.0",
"@datastream/object": "0.3.0"
}
}
Loading
Loading