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

rxjs-marbles

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rxjs-marbles - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

7

CHANGELOG.md

@@ -0,1 +1,8 @@

<a name="2.3.3"></a>
## [2.3.3](https://github.com/cartant/rxjs-marbles/compare/v2.3.2...v2.3.3) (2018-03-29)
### Bug fixes
* **bind**: Ensure teardown always happens for each `bind`. ([19caa51](https://github.com/cartant/rxjs-marbles/commit/19caa51))
<a name="2.3.2"></a>

@@ -2,0 +9,0 @@ ## [2.3.2](https://github.com/cartant/rxjs-marbles/compare/v2.3.1...v2.3.2) (2018-03-05)

38

context.js

@@ -86,20 +86,24 @@ import { animationFrame } from "rxjs/scheduler/animationFrame";

Context.prototype.teardown = function () {
if (this.autoFlush) {
this.scheduler.flush();
try {
if (this.autoFlush) {
this.scheduler.flush();
}
}
this.bindings_.forEach(function (_a) {
var instance = _a.instance, now = _a.now, schedule = _a.schedule;
if (now) {
instance.now = now;
}
else {
delete instance.now;
}
if (schedule) {
instance.schedule = schedule;
}
else {
delete instance.schedule;
}
});
finally {
this.bindings_.forEach(function (_a) {
var instance = _a.instance, now = _a.now, schedule = _a.schedule;
if (now) {
instance.now = now;
}
else {
delete instance.now;
}
if (schedule) {
instance.schedule = schedule;
}
else {
delete instance.schedule;
}
});
}
};

@@ -106,0 +110,0 @@ Context.prototype.time = function (marbles) {

@@ -14,5 +14,9 @@ import { TestScheduler } from "rxjs/testing/TestScheduler";

var context = new Context(scheduler);
var result = func.apply(void 0, [context, first].concat(rest));
context.teardown();
return result;
try {
var result = func.apply(void 0, [context, first].concat(rest));
return result;
}
finally {
context.teardown();
}
};

@@ -27,6 +31,10 @@ }

var context = new Context(scheduler);
var result = func.apply(void 0, [context].concat(rest));
context.teardown();
return result;
try {
var result = func.apply(void 0, [context].concat(rest));
return result;
}
finally {
context.teardown();
}
};
}

@@ -43,4 +43,4 @@ {

"unpkg": "./bundles/rxjs-marbles.umd.js",
"version": "2.3.2",
"version": "2.3.3",
"ava": {}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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