New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aqui

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aqui - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

10

lib/build.js

@@ -17,2 +17,12 @@ module.exports = build

})
.option('username', {
type: 'string',
desc: 'basic auth username',
alias: ['u']
})
.option('password', {
type: 'string',
desc: 'basic auth password',
alias: ['p']
})
.option('allow-invalid-certs', {

@@ -19,0 +29,0 @@ type: 'boolean',

13

lib/http.js

@@ -20,3 +20,11 @@ module.exports = {

function query ({method, timeout, url, header = [], allowInvalidCerts}) {
function query ({
method,
timeout,
url,
username,
password,
allowInvalidCerts,
header = []
}) {
let httpsAgent = undefined

@@ -28,2 +36,4 @@ if (allowInvalidCerts) {

let auth = (username || password) ? {username, password} : undefined
const {

@@ -53,2 +63,3 @@ blue, green, orange, purple, red, yellow

httpsAgent,
auth,
validateStatus: status => true

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

2

package.json
{
"name": "aqui",
"version": "1.5.0",
"version": "1.6.0",
"description": "Simple CLI HTTP client",

@@ -5,0 +5,0 @@ "main": "index.js",

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