Comparing version 4.2.0 to 4.2.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
778870
412
21685