Socket
Socket
Sign inDemoInstall

@growthbook/proxy

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@growthbook/proxy - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

dist/services/features/index.js

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

const fetchOptions = { headers };
if (process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0") {
if (process.env.NODE_TLS_REJECT_UNAUTHORIZED === "0") {
fetchOptions.agent = new https.Agent({ rejectUnauthorized: false });

@@ -78,0 +78,0 @@ }

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

const fetchOptions = { headers };
if (process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0") {
if (process.env.NODE_TLS_REJECT_UNAUTHORIZED === "0") {
fetchOptions.agent = new https_1.default.Agent({ rejectUnauthorized: false });

@@ -108,0 +108,0 @@ }

@@ -7,3 +7,3 @@ {

"description": "GrowthBook proxy server for caching, realtime updates, telemetry, etc",
"version": "1.1.2",
"version": "1.1.3",
"main": "dist/app.js",

@@ -10,0 +10,0 @@ "license": "MIT",

@@ -52,3 +52,3 @@ import * as https from "https";

const fetchOptions: any = { headers };
if (process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0") {
if (process.env.NODE_TLS_REJECT_UNAUTHORIZED === "0") {
fetchOptions.agent = new https.Agent({ rejectUnauthorized: false });

@@ -55,0 +55,0 @@ }

@@ -117,3 +117,3 @@ import https from "https";

const fetchOptions: any = { headers };
if (process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0") {
if (process.env.NODE_TLS_REJECT_UNAUTHORIZED === "0") {
fetchOptions.agent = new https.Agent({ rejectUnauthorized: false });

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