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

@cloudflare/kv-asset-handler

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/kv-asset-handler - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json
{
"name": "@cloudflare/kv-asset-handler",
"version": "0.0.4",
"version": "0.0.5",
"description": "Routes requests to KV assets",

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

@@ -61,4 +61,6 @@ import mime from 'mime'

if (request.method !== 'GET') {
throw new Error(`this is not a GET request: ${request.method}`)
const SUPPORTED_METHODS = ["GET", "HEAD"]
if (!SUPPORTED_METHODS.includes(request.method)) {
throw new Error(`${request.method} is not a valid request method`)
}

@@ -65,0 +67,0 @@

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