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

fastrx

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastrx - npm Package Compare versions

Comparing version 1.3.3 to 1.3.4

38

filtering.js

@@ -197,2 +197,3 @@ const {

this._throttle && this._throttle.complete()
super.complete()
}

@@ -235,2 +236,39 @@ }

exports.debounceTime = deliver(DebounceTime)
class _Debounce extends Sink {
next() {
this.complete()
}
complete(err) {
this.defer()
this.sink.next(this.last)
this.isComplete = true
}
}
class Debounce extends Sink {
init(durationSelector) {
this.durationSelector = durationSelector
}
next(data) {
if (!this._debounce) {
this._debounce = new _Debounce(this.sink)
this.defer(this._debounce)
} else if (this._debounce.isComplete) {
this._debounce.isComplete = false
}
this.durationSelector(data)(this._debounce)
this._debounce.last = data
}
complete(err) {
if (err) {
this._debounce && this._debounce.dispose()
super.complete(err)
} else {
this._debounce && this._debounce.complete()
super.complete()
}
}
}
exports.debounce = deliver(Debounce)
class ElementAt extends Sink {

@@ -237,0 +275,0 @@ init(count, defaultValue) {

2

package.json
{
"name": "fastrx",
"version": "1.3.3",
"version": "1.3.4",
"description": "fast rxjs implemention",

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

Sorry, the diff of this file is not supported yet

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