Socket
Socket
Sign inDemoInstall

brando

Package Overview
Dependencies
3
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.50 to 0.0.51

bench/parse-sq-emt-simple-bench.js

5

lib/filters/emitters/fullperm.js

@@ -37,3 +37,3 @@ /*

fproto.clear = function ( zerofill ) {
fproto.clear = function ( trash, zerofill ) {
var me = this

@@ -43,3 +43,4 @@ , parent = me.constructor.super_

// clear result buffer and bitmap
parent.prototype.clear.call( me, zerofill );
parent.prototype.clear.call( me, trash );
if ( zerofill ) me.fill( 1 );
// set write position to last element

@@ -46,0 +47,0 @@ me.wpos = me.tbytes - me.ibytes;

4

lib/filters/emitters/partperm.js

@@ -46,3 +46,3 @@ /*

pproto.clear = function ( zerofill ) {
pproto.clear = function ( trash, zerofill ) {
var me = this

@@ -54,3 +54,3 @@ , parent = me.constructor.super_

// clear result buffer and bitmap
parent.prototype.clear.call( me, zerofill );
parent.prototype.clear.call( me, trash, zerofill );
if ( bmap instanceof Toni ) bmap.clear();

@@ -57,0 +57,0 @@ else me.bitmap = Toni( { range : range } );

@@ -66,7 +66,7 @@ /*

sproto.clear = function ( zerofill ) {
sproto.clear = function ( trash, zerofill ) {
var me = this
;
// create new Buffer
me.result = new Buffer( me.tbytes );
me.result = trash ? new Buffer( me.tbytes ) : me.result;
// clear result buffer and indexes

@@ -73,0 +73,0 @@ if ( zerofill ) me.result.fill();

{
"name": "brando"
, "version": "0.0.50"
, "version": "0.0.51"
, "description": "Brando."

@@ -5,0 +5,0 @@ , "homepage": "https://github.com/rootslab/brando"

@@ -97,3 +97,3 @@ ### Brando

*
* Sequence#clear : function ( [ Boolean zerofill ] ) : Sequence
* Sequence#clear : function ( [ Boolean trash [, Boolean zerofill ] ] ) : Sequence
*

@@ -106,3 +106,3 @@ * - for parsing input data from a random source:

* - 'feed' when needs more data: function ( Number miss_bytes, Number curr_usage_ratio )
* - 'fart' when result is ready: function ( Number missing_bytes, Buffer result, Number curr_usage_ratio )
* - 'fart' when result is ready: function ( Buffer result, Number curr_usage_ratio )
*/

@@ -118,2 +118,4 @@ Brando#get : function ( Number items, Number range [, Number repeat ] ) : Sequence

> See also __[emitter examples](example/)__.
------------------------------------------------------------------------------------

@@ -120,0 +122,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc