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

@azteam/http-client

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azteam/http-client - npm Package Compare versions

Comparing version 1.0.76 to 1.0.77

3

package.json
{
"name": "@azteam/http-client",
"version": "1.0.76",
"version": "1.0.77",
"description": "",

@@ -27,2 +27,3 @@ "main": "src/index.js",

"axios-cookiejar-support": "1.0.1",
"form-data": "^4.0.0",
"https-proxy-agent": "5.0.0",

@@ -29,0 +30,0 @@ "node-html-parser": "1.2.8",

@@ -11,2 +11,3 @@ import fs from 'fs';

import HttpsProxyAgent from 'https-proxy-agent';
import FormData from 'form-data';

@@ -140,4 +141,4 @@ import agents from './agents';

return new Promise((resolve, reject) => {

@@ -161,2 +162,15 @@ axios(options).then((response) => {

upload(url, buffer, method = 'post') {
if (url.startsWith('https')) {
this._changeOption('proxy', false);
}
const form = new FormData();
form.append('productImage', image, 'stickers.jpg');
return this._requestAPI(url, method);
}
_requestAPI(url, method = 'get', body = null, stringify = true) {

@@ -163,0 +177,0 @@ if (method === 'get') {

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