New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rx-queue

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rx-queue - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

8

bundles/rx-queue.es6.umd.js

@@ -1,2 +0,2 @@

/* rx-queue version 0.8.1 */
/* rx-queue version 0.8.2 */
(function (global, factory) {

@@ -8,3 +8,3 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs'), require('rxjs/operators')) :

var version = "0.8.1";
var version = "0.8.2";

@@ -169,6 +169,6 @@ let VERSION = version;

exports.DelayQueueExecutor = DelayQueueExecutor;
exports.DelayQueueExector = DelayQueueExecutor;
exports.DebounceQueue = DebounceQueue;
exports.DelayQueue = DelayQueue;
exports.DelayQueueExector = DelayQueueExecutor;
exports.DelayQueueExecutor = DelayQueueExecutor;
exports.RxQueue = RxQueue;

@@ -175,0 +175,0 @@ exports.ThrottleQueue = ThrottleQueue;

@@ -41,3 +41,3 @@ var __extends = (this && this.__extends) || (function () {

};
/* rx-queue version 0.8.1 */
/* rx-queue version 0.8.2 */
(function (global, factory) {

@@ -49,3 +49,3 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs'), require('rxjs/operators')) :

'use strict';
var version = "0.8.1";
var version = "0.8.2";
var VERSION = version;

@@ -233,6 +233,6 @@ // default set to 500 milliseconds

}(DelayQueue));
exports.DelayQueueExecutor = DelayQueueExecutor;
exports.DelayQueueExector = DelayQueueExecutor;
exports.DebounceQueue = DebounceQueue;
exports.DelayQueue = DelayQueue;
exports.DelayQueueExector = DelayQueueExecutor;
exports.DelayQueueExecutor = DelayQueueExecutor;
exports.RxQueue = RxQueue;

@@ -239,0 +239,0 @@ exports.ThrottleQueue = ThrottleQueue;

{
"name": "rx-queue",
"version": "0.8.1",
"description": "Easy to Use ReactiveX Queue that Supports Delay/DelayExector/Throttle/Debounce Features Powered by RxJS.",
"version": "0.8.2",
"description": "Easy to Use ReactiveX Queue that Supports Delay/DelayExecutor/Throttle/Debounce Features Powered by RxJS.",
"main": "bundles/rx-queue.umd.js",

@@ -26,3 +26,3 @@ "typings": "dist/src/index.d.ts",

"delay",
"exector",
"executor",
"throttle",

@@ -45,5 +45,5 @@ "debounce",

"devDependencies": {
"@types/blue-tape": "^0.1.31",
"@types/node": "^10.0.4",
"@types/semver": "^5.5.0",
"@types/blue-tape": "^0.1.33",
"@types/node": "^12.0.0",
"@types/semver": "^6.0.0",
"@types/sinon": "^7.0.0",

@@ -54,9 +54,9 @@ "blue-tape": "^1.0.0",

"rollup": "^1.0.1",
"rollup-plugin-json": "^3.0.0",
"rxjs": "^6.1.0",
"semver": "^5.5.0",
"rollup-plugin-json": "^4.0.0",
"rxjs": "^6.5.2",
"semver": "^6.0.0",
"shx": "^0.3.0",
"sinon": "^7.1.1",
"source-map-support": "^0.5.0",
"ts-node": "^7.0.0",
"ts-node": "^8.0.3",
"tslint": "^5.11.0",

@@ -63,0 +63,0 @@ "tslint-config-standard": "^8.0.1",

@@ -10,2 +10,3 @@ #!/usr/bin/env ts-node

};
// tslint:disable:no-shadowed-variable
import test from 'blue-tape';

@@ -12,0 +13,0 @@ import sinon from 'sinon';

@@ -10,5 +10,6 @@ #!/usr/bin/env ts-node

};
// tslint:disable:no-shadowed-variable
import test from 'blue-tape';
import sinon from 'sinon';
import DelayExector from './delay-queue-executor';
import DelayExecutor from './delay-queue-executor';
const DELAY_PERIOD_TIME = 10;

@@ -21,3 +22,3 @@ const EXPECTED_VAL1 = 1;

const spy = sinon.spy();
const delay = new DelayExector(DELAY_PERIOD_TIME);
const delay = new DelayExecutor(DELAY_PERIOD_TIME);
delay

@@ -31,3 +32,3 @@ .execute(() => spy(EXPECTED_VAL1))

const spy = sinon.spy();
const delay = new DelayExector(DELAY_PERIOD_TIME);
const delay = new DelayExecutor(DELAY_PERIOD_TIME);
delay.execute(() => spy(EXPECTED_VAL1)).catch(() => { });

@@ -48,3 +49,3 @@ delay.execute(() => spy(EXPECTED_VAL2)).catch(() => { });

test('DelayQueueExecutor return Promise', (t) => __awaiter(this, void 0, void 0, function* () {
const delay = new DelayExector(0);
const delay = new DelayExecutor(0);
const mol = yield delay.execute(() => MEANING_OF_LIFE);

@@ -51,0 +52,0 @@ t.equal(mol, MEANING_OF_LIFE, 'should get the function return value');

@@ -10,2 +10,3 @@ #!/usr/bin/env ts-node

};
// tslint:disable:no-shadowed-variable
import test from 'blue-tape';

@@ -12,0 +13,0 @@ import sinon from 'sinon';

@@ -10,2 +10,3 @@ #!/usr/bin/env ts-node

};
// tslint:disable:no-shadowed-variable
import test from 'blue-tape';

@@ -12,0 +13,0 @@ import sinon from 'sinon';

@@ -10,2 +10,3 @@ #!/usr/bin/env ts-node

};
// tslint:disable:no-shadowed-variable
import test from 'blue-tape';

@@ -12,0 +13,0 @@ import sinon from 'sinon';

{
"name": "rx-queue",
"version": "0.8.1",
"description": "Easy to Use ReactiveX Queue that Supports Delay/DelayExector/Throttle/Debounce Features Powered by RxJS.",
"version": "0.8.2",
"description": "Easy to Use ReactiveX Queue that Supports Delay/DelayExecutor/Throttle/Debounce Features Powered by RxJS.",
"main": "bundles/rx-queue.umd.js",

@@ -26,3 +26,3 @@ "typings": "dist/src/index.d.ts",

"delay",
"exector",
"executor",
"throttle",

@@ -45,5 +45,5 @@ "debounce",

"devDependencies": {
"@types/blue-tape": "^0.1.31",
"@types/node": "^10.0.4",
"@types/semver": "^5.5.0",
"@types/blue-tape": "^0.1.33",
"@types/node": "^12.0.0",
"@types/semver": "^6.0.0",
"@types/sinon": "^7.0.0",

@@ -54,9 +54,9 @@ "blue-tape": "^1.0.0",

"rollup": "^1.0.1",
"rollup-plugin-json": "^3.0.0",
"rxjs": "^6.1.0",
"semver": "^5.5.0",
"rollup-plugin-json": "^4.0.0",
"rxjs": "^6.5.2",
"semver": "^6.0.0",
"shx": "^0.3.0",
"sinon": "^7.1.1",
"source-map-support": "^0.5.0",
"ts-node": "^7.0.0",
"ts-node": "^8.0.3",
"tslint": "^5.11.0",

@@ -63,0 +63,0 @@ "tslint-config-standard": "^8.0.1",

@@ -6,3 +6,3 @@ # RX-QUEUE

Easy to Use ReactiveX Queue that Supports Delay/DelayExector/Throttle/Debounce Features Powered by RxJS.
Easy to Use ReactiveX Queue that Supports Delay/DelayExecutor/Throttle/Debounce Features Powered by RxJS.

@@ -141,5 +141,5 @@ ![RxQueue](https://huan.github.io/rx-queue/images/queue.png)

```ts
import { DelayuQueueExector } from 'rx-queue'
import { DelayQueueExecutor } from 'rx-queue'
const delay = new DelayuQueueExector(500) // set delay period time to 500 milliseconds
const delay = new DelayQueueExecutor(500) // set delay period time to 500 milliseconds

@@ -183,7 +183,5 @@ delay.execute(() => console.log(1))

Huan LI \<zixia@zixia.net\> (http://linkedin.com/in/zixia)
[Huan LI (李卓桓)](http://linkedin.com/in/zixia) \<zixia@zixia.net\>
<a href="http://stackoverflow.com/users/1123955/zixia">
<img src="http://stackoverflow.com/users/flair/1123955.png" width="208" height="58" alt="profile for zixia at Stack Overflow, Q&amp;A for professional and enthusiast programmers" title="profile for zixia at Stack Overflow, Q&amp;A for professional and enthusiast programmers">
</a>
[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackexchange.com/users/flair/265499.png)](https://stackexchange.com/users/265499)

@@ -190,0 +188,0 @@ ## COPYRIGHT & LICENSE

@@ -7,3 +7,3 @@ #!/usr/bin/env ts-node

import DelayExector from './delay-queue-executor'
import DelayExecutor from './delay-queue-executor'

@@ -21,3 +21,3 @@ const DELAY_PERIOD_TIME = 10

const delay = new DelayExector(DELAY_PERIOD_TIME)
const delay = new DelayExecutor(DELAY_PERIOD_TIME)

@@ -35,3 +35,3 @@ delay

const delay = new DelayExector(DELAY_PERIOD_TIME)
const delay = new DelayExecutor(DELAY_PERIOD_TIME)

@@ -58,3 +58,3 @@ delay.execute(() => spy(EXPECTED_VAL1)).catch(() => { /* */ })

test('DelayQueueExecutor return Promise', async t => {
const delay = new DelayExector(0)
const delay = new DelayExecutor(0)

@@ -61,0 +61,0 @@ const mol = await delay.execute(() => MEANING_OF_LIFE)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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