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

itty-cors

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

itty-cors - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

package.json
{
"name": "itty-cors",
"version": "0.2.1",
"version": "0.2.2",
"description": "Simple (and tiny) CORS-handling for any itty-router API. Designed on Cloudflare Workers, but works anywhere.",

@@ -5,0 +5,0 @@ "sourceType": "module",

@@ -17,2 +17,3 @@ # ![itty-cors](https://user-images.githubusercontent.com/865416/193479569-da9e4d63-cd0e-44da-ab00-43322bf4cd51.png)

## Features
- Tiny. Currently ~600 bytes, with zero-dependencies.
- Granular control over allowed methods, origins, etc.

@@ -19,0 +20,0 @@ - handles OPTIONS preflight requests

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