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

hono

Package Overview
Dependencies
Maintainers
1
Versions
342
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 4.2.0 to 4.2.1

4

dist/cjs/utils/jwt/jws.js

@@ -25,3 +25,3 @@ "use strict";

module.exports = __toCommonJS(jws_exports);
var import_helper = require("../../helper");
var import_adapter = require("../../helper/adapter");
var import_encode = require("../encode");

@@ -203,3 +203,3 @@ var import_types = require("./types");

function isCryptoKey(key) {
const runtime = (0, import_helper.getRuntimeKey)();
const runtime = (0, import_adapter.getRuntimeKey)();
if (runtime === "node" && !!crypto.webcrypto) {

@@ -206,0 +206,0 @@ return key instanceof crypto.webcrypto.CryptoKey;

// src/utils/jwt/jws.ts
import { getRuntimeKey } from "../../helper.js";
import { getRuntimeKey } from "../../helper/adapter/index.js";
import { decodeBase64 } from "../encode.js";

@@ -4,0 +4,0 @@ import { JwtAlgorithmNotImplemented } from "./types.js";

{
"name": "hono",
"version": "4.2.0",
"version": "4.2.1",
"description": "Ultrafast web framework for the Edges",

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

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