Comparing version 2.0.2 to 2.0.3
@@ -9,5 +9,18 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const AWS = __importStar(require("aws-sdk")); | ||
const https_1 = __importDefault(require("https")); | ||
const sqs = (config) => { | ||
if (process.env.NODE_ENV === 'development') { | ||
AWS.config.update({ | ||
httpOptions: { | ||
agent: new https_1.default.Agent({ | ||
rejectUnauthorized: false, | ||
}), | ||
}, | ||
}); | ||
} | ||
const instance = new AWS.SQS({ | ||
@@ -14,0 +27,0 @@ region: config.region, |
{ | ||
"name": "steveo", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A Task Pub/Sub Background processing library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72473
1371
2
2