Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Nov 12, 2023
1 parent c7d19ec commit 0b01310
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
1 change: 0 additions & 1 deletion .github/.keepalive

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
Philipp Burckhardt <pburckhardt@outlook.com>
Pranav Goswami <goswami.4@iitj.ac.in>
Ricky Reusser <rsreusser@gmail.com>
Robert Gislason <gztown2216@yahoo.com>
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
Ryan Seal <splrk@users.noreply.github.com>
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
Expand All @@ -37,4 +38,3 @@ Stephannie Jiménez Gacha <steff456@hotmail.com>
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
orimiles5 <97595296+orimiles5@users.noreply.github.com>
rei2hu <reimu@reimu.ws>
Robert Gislason <gztown2216@yahoo.com>
20 changes: 10 additions & 10 deletions docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,37 +115,37 @@ declare class RandomStream extends Readable {
/**
* Destruction state.
*/
private readonly _destroyed: boolean; // tslint:disable-line: variable-name
private readonly _destroyed: boolean;

/**
* Flag indicating whether a stream is operating in object mode.
*/
private readonly _objectMode: boolean; // tslint:disable-line: variable-name
private readonly _objectMode: boolean;

/**
* Data separator.
*/
private readonly _sep: string; // tslint:disable-line: variable-name
private readonly _sep: string;

/**
* Total number of iterations.
*/
private readonly _iter: number; // tslint:disable-line: variable-name
private readonly _iter: number;

/**
* Number of iterations after which to emit the underlying PRNG state.
*/
private readonly _siter: number; // tslint:disable-line: variable-name
private readonly _siter: number;

/**
* Iteration counter.
*/
private _i: number; // tslint:disable-line: variable-name
private _i: number;

/**
* Pseudorandom number generator for generating Erlang distributed pseudorandom numbers.
*/
private readonly _prng: random.PRNG; // tslint:disable-line: variable-name
private readonly _prng: random.PRNG;

/**
* Underlying PRNG.
Expand Down Expand Up @@ -182,7 +182,7 @@ declare class RandomStream extends Readable {
*
* @param size - number (of bytes) to read
*/
_read( size: number ): void; // tslint:disable-line: variable-name
_read( size: number ): void;

/**
* Gracefully destroys a stream, providing backward compatibility.
Expand Down Expand Up @@ -287,7 +287,7 @@ interface Constructor {
* streams.push( createStream() );
* }
*/
factory( k: number, lambda: number, options?: Options ): ( ...args: Array<any> ) => RandomStream; // tslint:disable-line: max-line-length
factory( k: number, lambda: number, options?: Options ): ( ...args: Array<any> ) => RandomStream;

/**
* Returns a function for creating readable streams which generate pseudorandom numbers drawn from an Erlang distribution.
Expand All @@ -312,7 +312,7 @@ interface Constructor {
* streams.push( createStream( 2, 5.0 ) );
* }
*/
factory( options?: Options ): ( k: number, lambda: number ) => RandomStream; // tslint:disable-line: max-line-length
factory( options?: Options ): ( k: number, lambda: number ) => RandomStream;

/**
* Returns an "objectMode" readable stream for generating a stream of pseudorandom numbers drawn from an Erlang distribution.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@stdlib/random-base-erlang": "^0.1.0",
"@stdlib/streams-node-stdout": "^0.1.1",
"@stdlib/string-format": "^0.1.1",
"@stdlib/types": "^0.1.0",
"@stdlib/types": "^0.2.0",
"@stdlib/utils-define-nonenumerable-property": "^0.1.1",
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.1",
"@stdlib/utils-define-read-only-accessor": "^0.1.1",
Expand All @@ -79,7 +79,7 @@
"@stdlib/assert-is-buffer": "^0.1.1",
"@stdlib/assert-is-uint32array": "^0.1.1",
"@stdlib/assert-is-windows": "^0.1.1",
"@stdlib/bench": "^0.1.0",
"@stdlib/bench": "^0.2.0",
"@stdlib/constants-uint32-max": "^0.1.1",
"@stdlib/fs-exists": "^0.1.1",
"@stdlib/fs-unlink": "^0.1.1",
Expand Down

0 comments on commit 0b01310

Please sign in to comment.