You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@bitovi/sequelize-querystring-parser

Package Overview
Dependencies
Maintainers
14
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitovi/sequelize-querystring-parser - npm Package Compare versions

Comparing version

to
0.2.1

4

package.json
{
"name": "@bitovi/sequelize-querystring-parser",
"version": "0.2.1-pre.0",
"version": "0.2.1",
"description": "",

@@ -20,3 +20,3 @@ "main": "index.js",

"dependencies": {
"@bitovi/querystring-parser": "^0.7.1-pre.0",
"@bitovi/querystring-parser": "^0.7.1",
"sequelize": "^6.21.2"

@@ -23,0 +23,0 @@ },

@@ -324,2 +324,11 @@ const { Op } = require("sequelize");

title:
"should parse array of strings correctly with the $like operator - beginning of string",
parameters: [{ LIKE: ["#name", "john", "jane"] }, []],
expectedResults: {
errors: [],
results: { where: { name: { [Op.like]: ["john", "jane"] } } },
},
},
{
title:
"should parse strings correctly with the $ilike operator - end of string",

@@ -343,2 +352,11 @@ parameters: [{ ILIKE: ["#name", "%NE"] }, []],

title:
"should parse array of strings correctly with the $ilike operator - beginning of string",
parameters: [{ ILIKE: ["#name", "john", "jane"] }, []],
expectedResults: {
errors: [],
results: { where: { name: { [Op.iLike]: ["john", "jane"] } } },
},
},
{
title:
"should parse strings correctly with the $ilike operator - contains string",

@@ -345,0 +363,0 @@ parameters: [{ ILIKE: ["#name", "%An%"] }, []],