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

loopback-connector

Package Overview
Dependencies
Maintainers
4
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loopback-connector - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

lib/sql.js

@@ -337,3 +337,3 @@ var util = require('util');

*/
SqlConnector.prototype.updateAttributes = function updateAttrs(model, id, data, cb) {
SqlConnector.prototype.updateAttributes = function updateAttributes(model, id, data, cb) {
if (!isIdValuePresent(id, cb)) {

@@ -343,4 +343,6 @@ return;

var idName = this.getDataSource(model).idName(model);
data[idName] = id;
this.save(model, data, cb);
delete data[idName];
var where = {};
where[idName] = id;
this.updateAll(model, where, data, cb);
};

@@ -347,0 +349,0 @@

{
"name": "loopback-connector",
"version": "1.1.0",
"version": "1.1.1",
"description": "Building blocks for LoopBack connectors",

@@ -5,0 +5,0 @@ "keywords": [

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