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

bs-hyperquest

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs-hyperquest - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

2

bsconfig.json

@@ -26,3 +26,3 @@ {

"suffix": ".bs.js",
"version": "0.4.0"
"version": "0.5.0"
}
{
"name": "bs-hyperquest",
"version": "0.4.0",
"version": "0.5.0",
"description": "BuckleScript bindings for Substack's hyperquest (http-client) library.",

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

@@ -5,18 +5,19 @@ // Generated by BUCKLESCRIPT VERSION 4.0.2, PLEASE EDIT WITH CARE

var Js_primitive = require("bs-platform/lib/js/js_primitive.js");
var Hyperquest_method = require("./Hyperquest_method.bs.js");
function make(prim, prim$1, prim$2, prim$3, prim$4, _) {
function make(method_, headers, agent, auth, timeout, _) {
var tmp = {
method: prim
method: Hyperquest_method.toString(method_)
};
if (prim$1 !== undefined) {
tmp.headers = Js_primitive.valFromOption(prim$1);
if (headers !== undefined) {
tmp.headers = Js_primitive.valFromOption(headers);
}
if (prim$2 !== undefined) {
tmp.agent = Js_primitive.valFromOption(prim$2);
if (agent !== undefined) {
tmp.agent = Js_primitive.valFromOption(agent);
}
if (prim$3 !== undefined) {
tmp.auth = Js_primitive.valFromOption(prim$3);
if (auth !== undefined) {
tmp.auth = Js_primitive.valFromOption(auth);
}
if (prim$4 !== undefined) {
tmp.timeout = Js_primitive.valFromOption(prim$4);
if (timeout !== undefined) {
tmp.timeout = Js_primitive.valFromOption(timeout);
}

@@ -26,3 +27,6 @@ return tmp;

var Method = 0;
exports.Method = Method;
exports.make = make;
/* No side effect */

@@ -7,2 +7,3 @@ // Generated by BUCKLESCRIPT VERSION 4.0.2, PLEASE EDIT WITH CARE

var Hyperquest_future = require("./Hyperquest_future.bs.js");
var Hyperquest_method = require("./Hyperquest_method.bs.js");
var Hyperquest_options = require("./Hyperquest_options.bs.js");

@@ -202,4 +203,10 @@ var Hyperquest_incoming_message = require("./Hyperquest_incoming_message.bs.js");

var Options = /* Hyperquest_options */[Hyperquest_options.make];
var Method = [
Hyperquest_method.toString,
Hyperquest_method.fromString,
Hyperquest_method.fromStringUnsafe
];
var Options = [Hyperquest_options.make];
function make$1(prim, prim$1, prim$2, _) {

@@ -252,2 +259,3 @@ return Hyperquest(prim, prim$1 !== undefined ? Js_primitive.valFromOption(prim$1) : undefined, prim$2 !== undefined ? Js_primitive.valFromOption(prim$2) : undefined);

exports.Msg = Msg;
exports.Method = Method;
exports.Options = Options;

@@ -254,0 +262,0 @@ exports.make = make$1;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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