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

@fastly/esi

Package Overview
Dependencies
Maintainers
20
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastly/esi - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

CHANGELOG.md

17

build/EsiVariables.js

@@ -55,6 +55,3 @@ /*

}
const value = this.map[key];
if (value == null) {
return undefined;
}
const value = this.map[key] ?? '';
return quoteString(value);

@@ -152,10 +149,6 @@ }

constructor(url, headers) {
const httpAcceptLanguageValue = headers?.get('accept-language');
if (httpAcceptLanguageValue != null) {
this.values['HTTP_ACCEPT_LANGUAGE'] = new EsiAcceptLanguageVariable(httpAcceptLanguageValue);
}
const httpCookieValue = headers?.get('cookie');
if (httpCookieValue != null) {
this.values['HTTP_COOKIE'] = new EsiCookieVariable(httpCookieValue);
}
const httpAcceptLanguageValue = headers?.get('accept-language') ?? '';
this.values['HTTP_ACCEPT_LANGUAGE'] = new EsiAcceptLanguageVariable(httpAcceptLanguageValue);
const httpCookieValue = headers?.get('cookie') ?? '';
this.values['HTTP_COOKIE'] = new EsiCookieVariable(httpCookieValue);
const httpHostValue = headers?.get('host');

@@ -162,0 +155,0 @@ if (httpHostValue != null) {

{
"name": "@fastly/esi",
"description": "ESI implementation for JavaScript, using the modern fetch and streaming APIs.",
"version": "0.1.0",
"version": "0.1.1",
"repository": {

@@ -37,2 +37,3 @@ "type": "git",

"README.md",
"CHANGELOG.md",
"SECURITY.md"

@@ -39,0 +40,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