Socket
Socket
Sign inDemoInstall

unirest

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unirest - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

4

index.js

@@ -409,5 +409,5 @@ /**

if (item.attachment && is(item.value).a(String)) {
if (does(value).contain('http://') || does(value).contain('https://')) {
if (does(item.value).contain('http://') || does(item.value).contain('https://')) {
item.value = Unirest.require(item.value);
} else if (does(value).contain('://')) {
} else if (does(item.value).contain('://')) {
item.value = fs.createReadStream(item.value);

@@ -414,0 +414,0 @@ } else {

{
"name": "unirest",
"version": "0.0.9",
"version": "0.1.0",
"description": "Lightweight HTTP Request library.",

@@ -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