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

warehouse.ai-api-client

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

warehouse.ai-api-client - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

package.json
{
"name": "warehouse.ai-api-client",
"description": "Node.JS API to communicate with warehouse.ai",
"version": "2.2.0",
"version": "2.2.1",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -9,2 +9,3 @@ const debug = require('diagnostics')('warehouse.ai-api-client:verify');

this.wrhs = wrhs;
this.strictSSL = wrhs.strictSSL;
this.conc = wrhs.conc || 10;

@@ -44,8 +45,8 @@ this.dry = wrhs.dry;

debug(`${buildId} | Verify assets`);
async.map(urls, function getOne(uri, next) {
async.map(urls, (uri, next) => {
debug(`${buildId} | Fetch ${uri}`);
request.get(uri, (err, res) => {
request.get(uri, { strictSSL: this.strictSSL }, (err, res) => {
if (err || res.statusCode !== 200) {
debug(`${buildId} | Fail ${uri}: ${err || res.statusCode}`);
return next(null, url);
return next(null, uri);
}

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