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

feathers-solr

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-solr - npm Package Compare versions

Comparing version 2.7.7 to 2.7.8

13

lib/core/query.js

@@ -84,7 +84,7 @@ const { _ } = require('@feathersjs/commons');

$params(filters, query) {
if (query.$params) return { params: convertBooleanAndInteger(query.$params) };
if (query.$params) return { params: query.$params };
return {};
},
$facet(filters, query) {
if (query.$facet) return { facet: convertBooleanAndInteger(query.$facet) };
if (query.$facet) return { facet: query.$facet };
return {};

@@ -174,10 +174,3 @@ },

}
function convertBooleanAndInteger(object) {
return JSON.parse(JSON.stringify(object), (key, value) => {
if (value == 'true') return true;
if (value == 'false') return false;
if (value == parseInt(value).toString()) return parseInt(value);
return value;
});
}
function deleteQuery(id, params) {

@@ -184,0 +177,0 @@ if (id) {

{
"name": "feathers-solr",
"description": "A service plugin for Solr",
"version": "2.7.7",
"version": "2.7.8",
"homepage": "https://github.com/sajov/feathers-solr",

@@ -6,0 +6,0 @@ "keywords": [

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