Socket
Socket
Sign inDemoInstall

http-cache-semantics

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-cache-semantics - npm Package Compare versions

Comparing version 3.6.0 to 3.6.1

3

index.js

@@ -10,6 +10,5 @@ 'use strict';

const excludedFromRevalidationUpdate = {
'etag': true, 'last-modified': true, // Per spec
'content-range': true,
// Since the old body is reused, it doesn't make sense to change properties of the body
'content-length': true, 'content-encoding': true, 'transfer-encoding': true,
'content-range': true,
};

@@ -16,0 +15,0 @@

{
"name": "http-cache-semantics",
"version": "3.6.0",
"version": "3.6.1",
"description": "Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies",

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

@@ -43,2 +43,3 @@ 'use strict';

assert.strictEqual(headers['x-ignore-new'], undefined);
assert.strictEqual(headers['etag'], secondResponse.headers.etag);
}

@@ -45,0 +46,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