Socket
Socket
Sign inDemoInstall

pwoli

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pwoli - npm Package Compare versions

Comparing version 0.9.9-beta to 0.9.10-beta

2

lib/orm-adapters/SequelizeAdapter.js

@@ -89,3 +89,3 @@ "use strict";

if (this.attributes().includes(param)) {
if (((_c = (_b = (_a = this.modelClass.tableAttributes[param]) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toString) === null || _c === void 0 ? void 0 : _c.call(_b)) === 'INTEGER' && model.sequelize.options.dialect === 'postgresql')
if (((_c = (_b = (_a = this.modelClass.tableAttributes[param]) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toString) === null || _c === void 0 ? void 0 : _c.call(_b)) === 'INTEGER' && model.sequelize.options.dialect === 'postgres')
dataProvider.query.where[Op.and] = sequelize_1.Sequelize.literal(`${this.modelClass.name}.${param}::text LIKE '%${params[this.modelClass.name][param]}%'`);

@@ -92,0 +92,0 @@ else

{
"name": "pwoli",
"version": "0.9.9-beta",
"version": "0.9.10-beta",
"description": "",

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

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