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.0 to 0.8.1

2

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

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

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

function query(options) {
options = options || {};
if (options === undefined) {
options = {};
}
this.options = options;

@@ -305,6 +307,8 @@ if (this.se === undefined) {

}
this.options.attrs.push({
key: key,
value: value
});
if (key !== undefined && value !== undefined) {
this.options.attrs.push({
key: key,
value: value
});
}
return this;

@@ -324,6 +328,8 @@ },

for (var k in data) {
this.options.attrs.push({
key: k,
value: data[k]
});
if (k !== undefined && data[k] !== undefined) {
this.options.attrs.push({
key: k,
value: data[k]
});
}
}

@@ -330,0 +336,0 @@ return this;

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