Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

adonis-mqrepository

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

adonis-mqrepository - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

package.json
{
"name": "adonis-mqrepository",
"version": "1.0.0",
"version": "1.0.1",
"private": false,
"main": "./BaseRepository.js"
}
}

@@ -64,3 +64,6 @@ 'use strict'

let type = await this.getTypeofField(filter.id)
if(value != null && value.customType){
if(value == null){
//skip null value
}
else if(value.customType){
let condition = this.buildFilterCustomType(value.customType, value)

@@ -78,6 +81,4 @@ if(condition) conditions[filter.id] = condition

else if(type == "boolean"){
if(filter.value != null){
value = typeof filter.value == "string" ? filter.value.toLowerCase() : filter.value
conditions[filter.id] = [true,"true","1",1].includes(value)
}
}

@@ -84,0 +85,0 @@ else{

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