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

@bonniernews/local-esi

Package Overview
Dependencies
Maintainers
25
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bonniernews/local-esi - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

4

CHANGELOG.md

@@ -11,2 +11,6 @@ Changelog

## [2.3.1] - 2023-03-22
- Fixed bad example in README
## [2.3.0] - 2022-09-03

@@ -13,0 +17,0 @@

2

package.json
{
"name": "@bonniernews/local-esi",
"version": "2.3.0",
"version": "2.3.1",
"description": "Local Edge Side Includes parser",

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

@@ -119,6 +119,11 @@ Local-ESI

if (statusCode < 309 && statusCode > 300) {
return res.redirect(response.statusCode, headers.location);
return res.redirect(statusCode, headers.location);
}
res.status(statusCode || 200);
if (statusCode) {
res.status(statusCode);
} else if (!res.statusCode) {
res.status(200);
}
return res.send(body);

@@ -125,0 +130,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