Comparing version 4.1.6 to 4.1.7
@@ -25,3 +25,3 @@ "use strict"; | ||
const cache = (options) => { | ||
if (!caches) { | ||
if (!globalThis.caches) { | ||
console.log("Cache Middleware is not enabled because caches is not defined."); | ||
@@ -28,0 +28,0 @@ return async (_c, next) => await next(); |
// src/middleware/cache/index.ts | ||
var cache = (options) => { | ||
if (!caches) { | ||
if (!globalThis.caches) { | ||
console.log("Cache Middleware is not enabled because caches is not defined."); | ||
@@ -5,0 +5,0 @@ return async (_c, next) => await next(); |
{ | ||
"name": "hono", | ||
"version": "4.1.6", | ||
"version": "4.1.7", | ||
"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
747493