New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cf-workers-query

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-workers-query - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

11

CHANGELOG.md

@@ -0,1 +1,12 @@

## 0.6.3 (2024-09-02)
### 🩹 Fixes
- **cache-api:** response headers immutability handling ([b399660](https://github.com/anymaniax/cf-workers-query/commit/b399660))
### ❤️ Thank You
- Victor Bury
## 0.6.2 (2024-09-02)

@@ -2,0 +13,0 @@

2

package.json
{
"name": "cf-workers-query",
"version": "0.6.2",
"version": "0.6.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Automatically cache and revalidate data in Cloudflare Workers. Using the Cache API and Execution Context",

@@ -57,3 +57,3 @@ export const CACHE_URL = 'INTERNAL_CF_WORKERS_QUERY_CACHE_HOSTNAME.local';

if (value instanceof Response) {
const response = value;
const response = new Response(value.body, value);
response.headers.append('cache-control', `max-age=${maxAge}`);

@@ -60,0 +60,0 @@ await cache.put(cacheKey, response);

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