Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

egg-sequelize-autotrx

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

egg-sequelize-autotrx - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

app.js
const assert = require('assert')
module.exports = app => {
const index = app.config.coreMiddleware.indexOf('sequelize')
console.log('egg-sequelize-autotrx app.js')
/*const index = app.config.coreMiddleware.indexOf('sequelize')

@@ -10,3 +11,4 @@ // egg-sequelize is required

// put this plugin after egg-sequelize
app.config.coreMiddleware.splice(index + 1, 0, 'sequelizeAutotrx')
app.config.coreMiddleware.splice(index + 1, 0, 'sequelizeAutotrx') */
app.config.coreMiddleware.push('transaction')
}
{
"name": "egg-sequelize-autotrx",
"version": "0.0.1",
"version": "0.0.2",
"description": "Auto transaction based on cls-hooked for egg-sequelize plugin",

@@ -5,0 +5,0 @@ "eggPlugin": {

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