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

reliable-get

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reliable-get - npm Package Compare versions

Comparing version 0.1.28 to 0.1.29

2

index.js

@@ -84,3 +84,3 @@ 'use strict';

res.headers = res.headers || {};
res.headers['cache-control'] = 'no-store';
res.headers['cache-control'] = 'no-cache, no-store, must-revalidate';
next(null, {statusCode: res.statusCode, content: res.content, headers: res.headers, timing: res.timing});

@@ -87,0 +87,0 @@ });

{
"name": "reliable-get",
"version": "0.1.28",
"version": "0.1.29",
"description": "A circuit breaker and cached wrapper for GET requests (enables reliable external service interaction).",

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

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

expect(err).to.be(null);
expect(response.headers['cache-control']).to.be('no-cache, no-store, must-revalidate');
expect(response.statusCode).to.be(200);

@@ -65,0 +66,0 @@ done();

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