Socket
Socket
Sign inDemoInstall

kinvey-node-sdk

Package Overview
Dependencies
Maintainers
2
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kinvey-node-sdk - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

9

lib/httpAdapter.js

@@ -6,2 +6,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

var network_1 = require("kinvey-js-sdk/lib/errors/network");
var timeout_1 = require("kinvey-js-sdk/lib/errors/timeout");
var package_json_1 = require("../package.json");

@@ -61,3 +62,9 @@ function deviceInformation() {

error_1 = _a.sent();
if (!error_1.response) {
if (error_1.code === 'ESOCKETTIMEDOUT'
|| error_1.code === 'ETIMEDOUT'
|| error_1.code === 'ECONNABORTED') {
throw new timeout_1.TimeoutError('The network request timed out.');
}
if (error_1.code === 'ENOENT'
|| !error_1.response) {
throw new network_1.NetworkError();

@@ -64,0 +71,0 @@ }

4

package.json
{
"name": "kinvey-node-sdk",
"description": "Kinvey JavaScript SDK for NodeJS applications.",
"version": "4.1.0",
"version": "4.2.0",
"license": "Apache-2.0",

@@ -32,3 +32,3 @@ "homepage": "https://github.com/Kinvey/js-sdk/tree/master/packages/node-sdk",

"events": "3.0.0",
"kinvey-js-sdk": "^4.1.0",
"kinvey-js-sdk": "^4.2.0",
"lodash": "4.17.11",

@@ -35,0 +35,0 @@ "pubnub": "4.23.0",

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