New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

search-sdk

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

search-sdk - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

17

lib/search.js

@@ -34,8 +34,15 @@ (function() {

}, query)).spread(function(items, response) {
var __omitType, count, facets, next;
__omitType = _.partialRight(function(value, key) {
var __ignoreType, count, facets, next;
__ignoreType = function(value, key) {
return _.endsWith(key, "@odata.type");
});
next = __omitType(response["@search.nextPageParameters"]);
facets = __omitType(response["@search.facets"]);
};
next = _(response["@search.nextPageParameters"]).omit(__ignoreType).value();
facets = _(response["@search.facets"]).omit(__ignoreType).pairs().map(function(arg) {
var key, value;
key = arg.key, value = arg.value;
return {
key: key,
value: value
};
}).value();
count = response["@odata.count"];

@@ -42,0 +49,0 @@ return {

{
"name": "search-sdk",
"version": "0.1.0",
"version": "0.2.0",
"description": "search-sdk",

@@ -5,0 +5,0 @@ "main": "index.js",

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