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

cloudflare-esi

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudflare-esi - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

dist/index.js

@@ -229,4 +229,8 @@ import { create as createHandleChunk } from "./handleChunk";

};
// We create our own array here
// because if we use the iterator directly and cleanup a key
// it causes the loop to skip one as the iterator doesn't update correctly
const current = new URL(request.url);
for (const key of current.searchParams.keys()) {
const keys = Array.from(current.searchParams.keys());
for (const key of keys) {
const match = key.match(esiArgsRegex);

@@ -233,0 +237,0 @@ if (match && match[1]) {

2

package.json
{
"name": "cloudflare-esi",
"version": "0.2.1",
"version": "0.2.2",
"repository": "cdloh/cloudflare-esi",

@@ -5,0 +5,0 @@ "description": "ESI Parser built to run in Cloudflare workers",

Sorry, the diff of this file is not supported yet

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