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

sipware-knex

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sipware-knex - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

12

index.js

@@ -29,11 +29,5 @@ const env = process.env.SIPWARE_ENV || 'production';

static async like(attr, ...where) {
var rows = await knex(this._table).where(attr, 'like', ...where);
return rows.map(data => {
var model = new this(data, {db: true, inject: true});
model.emit('afterFind', model._data);
return model;
})
// important: like will return raw data!
static like(attr, ...where) {
return knex(this._table).where(attr, 'like', ...where);
}

@@ -40,0 +34,0 @@

@@ -21,3 +21,3 @@ {

"optionalDependencies": {},
"version": "0.4.1",
"version": "0.4.2",
"scripts": {

@@ -24,0 +24,0 @@ "test": "mocha"

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