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

@trivago/samsa

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trivago/samsa - npm Package Compare versions

Comparing version 0.3.0-beta.1 to 0.3.0-beta.2

1

lib/combinators/join.d.ts

@@ -15,2 +15,3 @@ /// <reference types="node" />

constructor(primaryKTable: KTable, foreignKTable: KTable, projection: JoinProjection<any, any, any>);
private startProcessInterval;
finishUp(): Promise<unknown>;

@@ -17,0 +18,0 @@ finalizeBuffer(): EventEmitter;

@@ -91,7 +91,12 @@ "use strict";

_this.subProcesses = new Set();
_this.keyBufferProcessInterval = setInterval(function () {
_this.keyBufferProcessInterval = _this.startProcessInterval();
return _this;
}
Joiner.prototype.startProcessInterval = function () {
var _this = this;
this.keyBufferProcessInterval = setInterval(function () {
_this.finalizeBuffer();
}, 1000);
return _this;
}
return this.keyBufferProcessInterval;
};
Joiner.prototype.finishUp = function () {

@@ -146,2 +151,7 @@ var _this = this;

this.keyBuffer.add(key);
if (this.keyBuffer.size >= 1000) {
clearInterval(this.keyBufferProcessInterval);
this.finalizeBuffer();
this.startProcessInterval();
}
next();

@@ -148,0 +158,0 @@ return [2 /*return*/];

2

package.json
{
"name": "@trivago/samsa",
"version": "0.3.0-beta.1",
"version": "0.3.0-beta.2",
"types": "lib/index.d.ts",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -31,5 +31,10 @@ import { Readable, TransformCallback } from "stream";

this.keyBufferProcessInterval = this.startProcessInterval();
}
private startProcessInterval() {
this.keyBufferProcessInterval = setInterval(() => {
this.finalizeBuffer();
}, 1000);
return this.keyBufferProcessInterval;
}

@@ -97,2 +102,9 @@

this.keyBuffer.add(key);
if (this.keyBuffer.size >= 1000) {
clearInterval(this.keyBufferProcessInterval);
this.finalizeBuffer();
this.startProcessInterval();
}
next();

@@ -99,0 +111,0 @@ }

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