Comparing version 0.0.1-beta.19 to 0.0.1
@@ -46,4 +46,4 @@ import { PriorityQueueI } from '../../queue/PriorityQueueI'; | ||
/** Number of inputs being joined. */ | ||
readonly size: number; | ||
readonly length: number; | ||
get size(): number; | ||
get length(): number; | ||
/** | ||
@@ -50,0 +50,0 @@ * |
@@ -94,9 +94,2 @@ "use strict"; | ||
class QZip { | ||
/** Number of inputs being joined. */ | ||
get size() { | ||
return this.inputs.length; | ||
} | ||
get length() { | ||
return Object.entries(this.msgJoinedState).length; | ||
} | ||
/** | ||
@@ -115,2 +108,9 @@ * | ||
} | ||
/** Number of inputs being joined. */ | ||
get size() { | ||
return this.inputs.length; | ||
} | ||
get length() { | ||
return Object.entries(this.msgJoinedState).length; | ||
} | ||
/** | ||
@@ -117,0 +117,0 @@ * This method is invoked upon `push` to any input queue-like interface. |
@@ -75,3 +75,3 @@ export declare type MessageData = { | ||
readonly parent: IdMessage | undefined; | ||
readonly id: string; | ||
get id(): string; | ||
protected constructor(parent: IdMessage | undefined); | ||
@@ -78,0 +78,0 @@ } |
@@ -24,5 +24,2 @@ "use strict"; | ||
class CIdentifiable { | ||
get id() { | ||
return (this.parent ? `${this.parent.id}` : '') + '/' + this._id; | ||
} | ||
constructor(parent) { | ||
@@ -32,2 +29,5 @@ this._id = `${messageId++}`; | ||
} | ||
get id() { | ||
return (this.parent ? `${this.parent.id}` : '') + '/' + this._id; | ||
} | ||
} | ||
@@ -34,0 +34,0 @@ class SentinelMessage extends CIdentifiable { |
@@ -21,4 +21,5 @@ import { PriorityQueueI } from './PriorityQueueI'; | ||
push(message: T | T[], priority?: undefined): void; | ||
readonly length: number; | ||
source: string | undefined; | ||
get length(): number; | ||
set source(value: string | undefined); | ||
get source(): string | undefined; | ||
} | ||
@@ -25,0 +26,0 @@ export declare class MemoryPrioritySingleQueue<T extends Message> extends AQueue<T> implements PriorityQueueI<T> { |
{ | ||
"name": "bakeryjs", | ||
"version": "0.0.1-beta.19", | ||
"version": "0.0.1", | ||
"description": "FBP-inspired library", | ||
@@ -27,4 +27,4 @@ "main": "build/index", | ||
"dependencies": { | ||
"ajv": "^6.10.0", | ||
"async": "^2.6.2", | ||
"ajv": "^6.10.2", | ||
"better-queue": "^3.8.10", | ||
@@ -37,19 +37,21 @@ "debug": "^4.1.1", | ||
"@types/async": "^2.4.1", | ||
"@types/better-queue": "^3.8.0", | ||
"@types/jest": "^24.0.9", | ||
"@types/node": "^12.0.0", | ||
"@types/better-queue": "^3.8.1", | ||
"@types/jest": "^24.0.15", | ||
"@types/node": "^12.6.8", | ||
"@types/verror": "^1.10.3", | ||
"eslint": "^5.15.1", | ||
"eslint-config-prettier": "^4.1.0", | ||
"eslint-plugin-jest": "^22.3.0", | ||
"eslint-plugin-prettier": "^3.0.1", | ||
"@typescript-eslint/eslint-plugin": "^1.13.0", | ||
"@typescript-eslint/parser": "^1.13.0", | ||
"eslint": "^6.1.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-jest": "^23.0.3", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"eslint-plugin-typescript": "^0.14.0", | ||
"jest": "^24.3.1", | ||
"jest": "^25.1.0", | ||
"json5": "^2.1.0", | ||
"nodemon": "^1.18.10", | ||
"prettier": "1.17.1", | ||
"ts-jest": "^24.0.0", | ||
"ts-node": "^8.0.3", | ||
"typedoc": "^0.14.2", | ||
"typescript": "^3.3.3333", | ||
"nodemon": "^2.0.1", | ||
"prettier": "1.19.1", | ||
"ts-jest": "^25.0.0", | ||
"ts-node": "^8.3.0", | ||
"typedoc": "^0.16.2", | ||
"typescript": "^3.5.3", | ||
"typescript-eslint-parser": "^22.0.0" | ||
@@ -65,13 +67,3 @@ }, | ||
"doc": "typedoc --out ./docs/ --target ES6 src/" | ||
}, | ||
"greenkeeper": { | ||
"commitMessages": { | ||
"initialDependencies": "Update dependencies", | ||
"initialBranches": "Whitelist greenkeeper branches", | ||
"dependencyUpdate": "deps: Update ${dependency} to version ${version}", | ||
"devDependencyUpdate": "devDeps: Update ${dependency} to version ${version}", | ||
"dependencyPin": "deps: Pin ${dependency} to ${oldVersion}", | ||
"devDependencyPin": "devDeps: Pin ${dependency} to ${oldVersion}" | ||
} | ||
} | ||
} |
# ![BakeryJS](assets/logo.png) | ||
[![npm version](https://img.shields.io/npm/v/bakeryjs.svg?style=flat-square)](https://www.npmjs.com/package/bakeryjs) | ||
[![Travis build status](https://img.shields.io/travis/com/Socialbakers/BakeryJS.svg?style=flat-square)](https://travis-ci.com/Socialbakers/BakeryJS) [![Greenkeeper badge](https://badges.greenkeeper.io/Socialbakers/BakeryJS.svg?style=flat-square)](https://greenkeeper.io/) | ||
[![Travis build status](https://img.shields.io/travis/com/Socialbakers/BakeryJS.svg?style=flat-square)](https://travis-ci.com/Socialbakers/BakeryJS) | ||
@@ -6,0 +6,0 @@ BakeryJS is a Node.js framework for handling common data processing needs. |
3483
156650
21
Updatedajv@^6.10.2