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

@superhuman/fast64

Package Overview
Dependencies
Maintainers
9
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superhuman/fast64 - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

20

index.js

@@ -87,3 +87,3 @@ /*

i = 0,
enc = [, , , ];
enc0, enc1, enc2, enc3;

@@ -102,13 +102,13 @@ if (!B64.lookup) {

while (++position < len) {
enc[0] = B64.lookup[s.charCodeAt(position)];
enc[1] = B64.lookup[s.charCodeAt(++position)];
buffer[i++] = (enc[0] << 2) | (enc[1] >> 4);
enc[2] = B64.lookup[s.charCodeAt(++position)];
if (enc[2] === 64)
enc0 = B64.lookup[s.charCodeAt(position)];
enc1 = B64.lookup[s.charCodeAt(++position)];
buffer[i++] = (enc0 << 2) | (enc1 >> 4);
enc2 = B64.lookup[s.charCodeAt(++position)];
if (enc2 === 64)
break;
buffer[i++] = ((enc[1] & 15) << 4) | (enc[2] >> 2);
enc[3] = B64.lookup[s.charCodeAt(++position)];
if (enc[3] === 64)
buffer[i++] = ((enc1 & 15) << 4) | (enc2 >> 2);
enc3 = B64.lookup[s.charCodeAt(++position)];
if (enc3 === 64)
break;
buffer[i++] = ((enc[2] & 3) << 6) | enc[3];
buffer[i++] = ((enc2 & 3) << 6) | enc3;
}

@@ -115,0 +115,0 @@

{
"name": "@superhuman/fast64",
"version": "0.6.0",
"version": "0.7.0",
"license": "Apache",

@@ -5,0 +5,0 @@ "repository": "https://github.com/ConradIrwin/fast64",

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