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

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.1.7 to 0.1.8

14

index.js

@@ -704,3 +704,2 @@ /**

Unirest.request = require('request');
Unirest.jar = Unirest.request.jar;
Unirest.cookie = Unirest.request.cookie;

@@ -710,2 +709,15 @@ Unirest.pipe = Unirest.request.pipe;

/**
* Expose cookie store (tough-cookie)
* @return {Function} Cookie Store
*/
Unirest.jar = function () {
var jar = Unirest.request.jar();
jar.add = jar.setCookie;
jar.toString = jar.getCookieString;
return jar;
};
/**
* Enum Structures

@@ -712,0 +724,0 @@ *

2

package.json
{
"name": "unirest",
"version": "0.1.7",
"version": "0.1.8",
"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