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

sajari

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sajari - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

2

package.json
{
"name": "sajari",
"version": "0.8.2",
"version": "0.8.3",
"description": "JavaScript SDK for access to the Sajari search API",

@@ -5,0 +5,0 @@ "author": {

@@ -14,2 +14,5 @@ var isArray = require('./utils/isArray');

}
if (this.options.attrs === undefined) {
this.options.attrs = {};
}
if (this.id === undefined) {

@@ -304,6 +307,3 @@ this.id = stringGen(16);

attr: function(key, value) {
if (this.options.attrs === undefined) {
this.options.attrs = {};
}
if (key !== undefined && key != "" && value !== undefined) {
if (key !== undefined && key !== "" && value !== undefined) {
this.options.attrs[key] = value;

@@ -321,7 +321,4 @@ }

}
if (this.options.attrs === undefined) {
this.options.attrs = {};
}
for (var key in data) {
if (key !== undefined && key != "" && data[key] !== undefined) {
if (key !== undefined && key !== "" && data[key] !== undefined) {
this.options.attrs[key] = data[key];

@@ -328,0 +325,0 @@ }

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