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

brando

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brando - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

9

lib/filters/sequence.js

@@ -58,2 +58,4 @@ /*

me.brange[ me.wuint ]( me.range, 0 );
// currying compare function with current range
me.bcompare = compare.bind( me, me.brange, 0 );
// create result Buffer without filling it with data

@@ -122,3 +124,3 @@ me.result = new Buffer( me.tbytes );

var me = this
, dlen = data.length
, bcomp = me.bcompare
, brange = me.brange

@@ -130,5 +132,4 @@ , result = me.result

, ibits = me.ibits
// mask to apply to cut bits out of current range
, cmask = masks[ ibits - bits ]
// current data read offset and limit
, dlen = data.length
, l = dlen - ibytes

@@ -149,3 +150,3 @@ , o = 0

data[ o ] &= cmask;
if ( compare( brange, 0, data, o ) <= 0 ) continue;
if ( bcomp( data, o ) <= 0 ) continue;
data.copy( result, me.wpos, o, o + ibytes );

@@ -152,0 +153,0 @@ me.wpos += ibytes;

{
"name": "brando"
, "version": "0.0.17"
, "version": "0.0.18"
, "description": "Brando."

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

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