Socket
Socket
Sign inDemoInstall

bent

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bent - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

3

package.json
{
"name": "bent",
"version": "6.0.0",
"version": "6.0.1",
"description": "Functional HTTP client for Node.js w/ async/await.",

@@ -15,2 +15,3 @@ "main": "src/nodejs.js",

"dependencies": {
"bytesish": "^0.3.1",
"caseless": "~0.12.0",

@@ -17,0 +18,0 @@ "is-stream": "^2.0.0"

@@ -7,2 +7,3 @@ 'use strict'

const caseless = require('caseless')
const bytes = require('bytesish')
const bent = require('./core')

@@ -84,2 +85,5 @@

if (body) {
if (body instanceof ArrayBuffer || ArrayBuffer.isView(body)) {
body = bytes.native(body)
}
if (Buffer.isBuffer(body) || typeof body === 'string') {

@@ -86,0 +90,0 @@ req.end(body)

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