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

@bonniernews/local-esi

Package Overview
Dependencies
Maintainers
5
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 0.0.2 to 0.0.3

2

index.js

@@ -105,3 +105,3 @@ "use strict";

}
const listener = ESIListener(ListenerContext(context.req));
const listener = ESIListener(ListenerContext(context.req, context.res));
transformHtml(fetchResult, listener, (parseError, parsedResult) => {

@@ -108,0 +108,0 @@ writeToResult(parsedResult, next);

{
"name": "@bonniernews/local-esi",
"version": "0.0.2",
"version": "0.0.3",
"description": "Local Edge Side Includes parser",

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

@@ -19,8 +19,5 @@ Local-ESI

localEsi(html, req, (esiErr, esializedHtml) => {
if (esiErr) return next(esiErr);
res.send(esializedHtml);
});
localEsi(html, req, res, next);
});
};
```
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