Socket
Socket
Sign inDemoInstall

sequel-builder

Package Overview
Dependencies
4
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.6 to 0.0.7

6

dist/classes/query.builder.class.js

@@ -18,6 +18,4 @@ 'use strict';

var _strtr = require('phpjs/strtr');
var _phpjs = require('phpjs');
var _strtr2 = _interopRequireDefault(_strtr);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -803,3 +801,3 @@

var phName = '' + QueryBuilder.PARAM_PREFIX + index;
params[phName] = _lodash2.default.isEmpty(escape) ? value : '%' + (0, _strtr2.default)(value, escape) + '%';
params[phName] = _lodash2.default.isEmpty(escape) ? value : '%' + (0, _phpjs.strtr)(value, escape) + '%';
parts.push(column + ' ' + operator + ' ' + phName);

@@ -806,0 +804,0 @@ });

{
"name": "sequel-builder",
"version": "0.0.6",
"version": "0.0.7",
"description": "Ported query library from php yii2 to nodejs. currently only supporting mysql.",

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

import _ from 'lodash';
import {Query} from './query.class';
import {SORT_DESC} from '../constants';
import strtr from 'phpjs/strtr';
import {strtr} from 'phpjs';

@@ -6,0 +6,0 @@ export class QueryBuilder {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc