Socket
Socket
Sign inDemoInstall

@oada/client

Package Overview
Dependencies
Maintainers
8
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oada/client - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

5

dist/http.js

@@ -44,2 +44,3 @@ "use strict";

const type_is_1 = __importDefault(require("type-is"));
const buffer_1 = require("buffer");
const websocket_1 = require("./websocket");

@@ -160,3 +161,3 @@ const errors_1 = require("./errors");

// Assume anything that is not a Buffer should be JSON?
const body = Buffer.isBuffer(req.data)
const body = buffer_1.Buffer.isBuffer(req.data)
? req.data

@@ -203,3 +204,3 @@ : JSON.stringify(req.data);

if (!type_is_1.default.is(result.headers.get("content-type"), ["json", "+json"])) {
data = Buffer.from(await result.arrayBuffer());
data = buffer_1.Buffer.from(await result.arrayBuffer());
}

@@ -206,0 +207,0 @@ else {

2

package.json
{
"name": "@oada/client",
"version": "2.6.0",
"version": "2.6.1",
"description": "A lightweight client tool to interact with an OADA-compliant server",

@@ -5,0 +5,0 @@ "repository": "https://github.com/OADA/client",

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