Socket
Socket
Sign inDemoInstall

virtual-device-sdk

Package Overview
Dependencies
13
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.1 to 1.8.2

20

lib/src/VirtualDevice.js
"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -279,3 +287,3 @@ return new (P || (P = Promise))(function (resolve, reject) {

headers: {
"Content-Length": new Buffer(inputString).length,
"Content-Length": Buffer.from(inputString).length,
"Content-Type": "application/json",

@@ -406,3 +414,3 @@ },

headers: {
"Content-Length": new Buffer(inputString).length,
"Content-Length": Buffer.from(inputString).length,
"Content-Type": "application/json",

@@ -451,9 +459,3 @@ },

}
var errorCode = json.errorCode || json.error_code;
return {
error: json.error,
errorCode: errorCode,
results: results,
status: json.status,
};
return __assign({}, json, { results: results });
};

@@ -460,0 +462,0 @@ VirtualDevice.prototype.handleAsynchResponse = function (data) {

@@ -7,3 +7,3 @@ {

"typings": "./lib/src/Index.d.ts",
"version": "1.8.1",
"version": "1.8.2",
"engines": {

@@ -10,0 +10,0 @@ "node": "> 6.0.0"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc