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

js-jpa

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-jpa - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

2

package.json
{
"name": "js-jpa",
"version": "0.0.21",
"version": "0.0.22",
"description": "jpa for node",

@@ -5,0 +5,0 @@ "author": "stone",

@@ -37,5 +37,7 @@ const MysqlGenerator = require('./MysqlGenerator')

let result = await super.executeInsert(context, schema, entity)
SchemaUtil.setPrimaryValue(schema, entity, result.insertId)
if (result.insertId > 0) {
SchemaUtil.setPrimaryValue(schema, entity, result.insertId)
}
return entity
}
}
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