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

stockshark-data-access

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stockshark-data-access - npm Package Compare versions

Comparing version 1.0.69 to 1.0.70

2

config.js

@@ -5,3 +5,3 @@ console.log(process.env);

const REDIS_PORT = process.env.REDIS_PORT || 31623;
const REDIS_PASSWORD = "hoORPPRQj9";
const REDIS_PASSWORD = process.env.REDIS_PASSWORD || "hoORPPRQj9";
const REDIS_URL = "redis://" + REDIS_HOST + ":" + REDIS_PORT;

@@ -8,0 +8,0 @@

{
"name": "stockshark-data-access",
"version": "1.0.69",
"version": "1.0.70",
"main": "./src/index.js",

@@ -5,0 +5,0 @@ "files": [

@@ -15,3 +15,3 @@ const redis = require("redis");

return new Promise((resolve, reject) => {
this.client = redis.createClient(config.REDIS_URL, { password: config.REDIS_PASSWORD });
this.client = redis.createClient(config.REDIS_URL, { user: "default", password: config.REDIS_PASSWORD });

@@ -33,3 +33,3 @@ this.client.on("connect", () => {

this.client.on("error", function (err) {
console.error("ERROR: " + err);
console.error("REDIS ERROR: " + err);
reject(err)

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