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

egg-born-module-a-base-sync

Package Overview
Dependencies
Maintainers
1
Versions
354
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-born-module-a-base-sync - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

14

backend/src/config/middleware/adapter/atom.js

@@ -119,6 +119,7 @@ const require3 = require('require3');

const _atomClass = await ctx.meta.atomClass.atomClass(atomClass);
// get
const item = await this._get({
atom: {
id: key.atomId,
tableName: _atomClass.tableName,
tableName: _atomClass.tableNameFull || _atomClass.tableName,
},

@@ -160,5 +161,14 @@ user,

}
// tableName
let tableName = '';
if (_atomClass) {
if (options.mode === 'search') {
tableName = _atomClass.tableNameFull || _atomClass.tableName;
} else {
tableName = _atomClass.tableName;
}
}
// select
const items = await this._list({
tableName: _atomClass ? _atomClass.tableName : '',
tableName,
options,

@@ -165,0 +175,0 @@ user,

@@ -151,2 +151,3 @@ const _modulesLocales = {};

tableName: _atom.tableName || '',
tableNameFull: _atom.tableNameFull,
public: _atom.public ? 1 : 0,

@@ -153,0 +154,0 @@ flow: _atom.flow ? 1 : 0,

2

package.json
{
"name": "egg-born-module-a-base-sync",
"version": "1.1.8",
"version": "1.1.9",
"title": "Base",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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