Socket
Socket
Sign inDemoInstall

@nocobase/plugin-data-visualization

Package Overview
Dependencies
Maintainers
0
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0-alpha.20240710141659 to 1.3.0-alpha.20240710155619

12

dist/externalVersion.js

@@ -11,3 +11,3 @@ /**

module.exports = {
"@nocobase/client": "1.3.0-alpha.20240710141659",
"@nocobase/client": "1.3.0-alpha.20240710155619",
"dayjs": "1.11.10",

@@ -17,4 +17,4 @@ "@formily/react": "2.3.0",

"lodash": "4.17.21",
"@nocobase/cache": "1.3.0-alpha.20240710141659",
"@nocobase/server": "1.3.0-alpha.20240710141659",
"@nocobase/cache": "1.3.0-alpha.20240710155619",
"@nocobase/server": "1.3.0-alpha.20240710155619",
"react": "18.2.0",

@@ -27,7 +27,7 @@ "@ant-design/icons": "5.2.6",

"@formily/core": "2.3.0",
"@nocobase/utils": "1.3.0-alpha.20240710141659",
"@nocobase/utils": "1.3.0-alpha.20240710155619",
"react-i18next": "11.18.6",
"sequelize": "6.35.2",
"@nocobase/actions": "1.3.0-alpha.20240710141659",
"@nocobase/database": "1.3.0-alpha.20240710141659"
"@nocobase/actions": "1.3.0-alpha.20240710155619",
"@nocobase/database": "1.3.0-alpha.20240710155619"
};

@@ -1,1 +0,1 @@

{"name":"koa-compose","description":"compose Koa middleware","repository":"koajs/compose","version":"4.1.0","keywords":["koa","middleware","compose"],"files":["index.js"],"dependencies":{},"devDependencies":{"codecov":"^3.0.0","jest":"^21.0.0","matcha":"^0.7.0","standard":"^10.0.3"},"scripts":{"bench":"matcha bench/bench.js","lint":"standard --fix .","test":"jest --forceExit --coverage"},"jest":{"testEnvironment":"node"},"license":"MIT","_lastModified":"2024-07-10T14:29:34.020Z"}
{"name":"koa-compose","description":"compose Koa middleware","repository":"koajs/compose","version":"4.1.0","keywords":["koa","middleware","compose"],"files":["index.js"],"dependencies":{},"devDependencies":{"codecov":"^3.0.0","jest":"^21.0.0","matcha":"^0.7.0","standard":"^10.0.3"},"scripts":{"bench":"matcha bench/bench.js","lint":"standard --fix .","test":"jest --forceExit --coverage"},"jest":{"testEnvironment":"node"},"license":"MIT","_lastModified":"2024-07-10T16:08:13.140Z"}

@@ -169,2 +169,3 @@ /**

const fields = collection.fields;
const associations = collection.model.associations;
const models = {};

@@ -210,7 +211,21 @@ const parseField = (selected) => {

const parsedOrders = (orders == null ? void 0 : orders.map(parseField)) || [];
const include = Object.entries(models).map(([target, { type }]) => ({
association: target,
attributes: [],
...type === "belongsToMany" ? { through: { attributes: [] } } : {}
}));
const include = Object.entries(models).map(([target, { type }]) => {
let options = {
association: target,
attributes: []
};
if (type === "belongsToMany") {
options["through"] = { attributes: [] };
}
if (type === "belongsToArray") {
const association = associations[target];
if (association) {
options = {
...options,
...association.generateInclude()
};
}
}
return options;
});
const filterParser = new import_database.FilterParser(filter, {

@@ -217,0 +232,0 @@ collection

{
"name": "@nocobase/plugin-data-visualization",
"version": "1.3.0-alpha.20240710141659",
"version": "1.3.0-alpha.20240710155619",
"displayName": "Data visualization",

@@ -36,3 +36,3 @@ "displayName.zh-CN": "数据可视化",

},
"gitHead": "cb8b234443034da0dfa57dd5d6cca1f3b3db6f08",
"gitHead": "95de9b94409d2e98bc2b95161ddf2012499bb5ec",
"keywords": [

@@ -39,0 +39,0 @@ "Blocks"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc