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

sequelize-search-builder

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sequelize-search-builder - npm Package Compare versions

Comparing version 0.9.4 to 0.9.5

2

package.json
{
"name": "sequelize-search-builder",
"description": "Minimalist library for parsing search request to sequelize query",
"version": "0.9.4",
"version": "0.9.5",
"author": "Sergey Mukhin (segemun) <sergeymukhin21@gmail.com>",

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

@@ -0,4 +1,6 @@

/* eslint class-methods-use-this: ["error", { "exceptMethods": ["_getConditionQuery"] }] */
const { Op } = require('sequelize');
const BuilderAbstract = require('./builder-abstract');
const helper = require('./helper');
const { Op } = require('sequelize');

@@ -29,3 +31,2 @@ const allowedConditions = ['gt', 'gte', 'lt', 'lte', 'ne', 'like', 'notLike', 'iLike', 'notILike', 'regexp', 'notRegexp', 'iRegexp', 'notIRegexp'];

_getConditionQuery(query, request) {
const { Sequelize } = this;
let conditionQuery = {};

@@ -48,3 +49,2 @@ if (typeof request._condition === 'string') {

_getFieldQuery(fieldKey, values) {
const { Sequelize } = this;
const fieldQuery = [];

@@ -51,0 +51,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