🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

hono

Package Overview
Dependencies
Maintainers
1
Versions
365
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hono - npm Package Compare versions

Comparing version

to
0.3.2

11

dist/middleware/basic-auth/basic-auth.js

@@ -28,4 +28,11 @@ "use strict";

function decodeBase64(str) {
if (atob && btoa) {
return atob(str);
if (atob) {
const text = atob(str);
const length = text.length;
const bytes = new Uint8Array(length);
for (let i = 0; i < length; i++) {
bytes[i] = text.charCodeAt(i);
}
const decoder = new TextDecoder();
return decoder.decode(bytes);
}

@@ -32,0 +39,0 @@ else {

2

package.json
{
"name": "hono",
"version": "0.3.1",
"version": "0.3.2",
"description": "[炎] Ultrafast web framework for Cloudflare Workers.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",