Socket
Socket
Sign inDemoInstall

@quantos/micro-request

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quantos/micro-request - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

dist/redis_cache.js

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

let _redisEnabled = false;
if (process.env.REDIS_PORT && process.env.REDIS_HOST) {
if (process.env.REDIS_URL) {
console.log('[@quantos/micro-request][Init redis client] Creating client on ' + process.env.REDIS_URL);

@@ -19,0 +19,0 @@ redisClient = (0, redis_1.createClient)({ url: process.env.REDIS_URL });

{
"name": "@quantos/micro-request",
"version": "1.1.0",
"version": "1.1.1",
"description": "Quantos http client with cache, retry and fallback mechanism",

@@ -5,0 +5,0 @@ "author": "fabriziotognetto <info@quantos.it>",

@@ -8,3 +8,3 @@ import { createClient, RedisClientType } from 'redis';

if (process.env.REDIS_PORT && process.env.REDIS_HOST) {
if (process.env.REDIS_URL) {
console.log('[@quantos/micro-request][Init redis client] Creating client on ' + process.env.REDIS_URL);

@@ -11,0 +11,0 @@ redisClient = createClient({ url: process.env.REDIS_URL });

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