Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

loop54-js-connector

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loop54-js-connector - npm Package Compare versions

Comparing version 1.5.113 to 1.6.117

17

lib/loop54-js-connector-client.js

@@ -65,3 +65,3 @@ 'use strict';

versions: {
libVersion: "1.5.113", //"113" will be replaced by teamcity. also in package.json
libVersion: "1.5.117", //"117" will be replaced by teamcity. also in package.json
apiVersion: "V3"

@@ -419,3 +419,3 @@ },

var args = core.getOptionsAndCallback(arguments, 1);
var args = core.getOptionsAndCallback(arguments, 1, 4);
if (args.error) {

@@ -427,2 +427,12 @@ return core.returnError(args.error,args.callback);

var callback = args.callback ? args.callback : null;
// read and validate relKind
var relKind;
for (var i = 1; i < arguments.length; i++) {
if (typeof(arguments[i]) === "string")
relKind = arguments[i];
}
if (!(relKind === undefined || relKind === "similar" || relKind === "complementary"))
return core.returnError("relKind must be either undefined or \"similar\" or \"complementary\".");

@@ -437,3 +447,4 @@ //validate entity

resultsOptions: core.deleteCustomData(options),
customData:options.customData
customData: options.customData,
relationKind: relKind // because relKind is undefined, it'll be skipped during stringify, so older engines won't choke on it
}, null, callback, userId, apiKey, customHeaders);

@@ -440,0 +451,0 @@

2

package.json
{
"name": "loop54-js-connector",
"version": "1.5.113",
"version": "1.6.117",
"description": "JS Wrapper for Loop54 JSON API",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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