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

@nocobase/plugin-data-source-manager

Package Overview
Dependencies
Maintainers
1
Versions
229
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nocobase/plugin-data-source-manager - npm Package Compare versions

Comparing version 0.20.0-alpha.4 to 0.20.0-alpha.5

12

dist/externalVersion.js
module.exports = {
"@nocobase/client": "0.20.0-alpha.4",
"@nocobase/client": "0.20.0-alpha.5",
"react": "18.2.0",
"@nocobase/server": "0.20.0-alpha.4",
"@nocobase/server": "0.20.0-alpha.5",
"lodash": "4.17.21",

@@ -13,6 +13,6 @@ "@ant-design/icons": "5.2.6",

"@emotion/css": "11.11.2",
"@nocobase/database": "0.20.0-alpha.4",
"@nocobase/utils": "0.20.0-alpha.4",
"@nocobase/plugin-acl": "0.20.0-alpha.4",
"@nocobase/acl": "0.20.0-alpha.4",
"@nocobase/database": "0.20.0-alpha.5",
"@nocobase/utils": "0.20.0-alpha.5",
"@nocobase/plugin-acl": "0.20.0-alpha.5",
"@nocobase/acl": "0.20.0-alpha.5",
"sequelize": "6.35.2",

@@ -19,0 +19,0 @@ "@formily/antd-v5": "1.1.9",

@@ -31,2 +31,8 @@ var __defProp = Object.defineProperty;

timestamps: false,
indexes: [
{
unique: true,
fields: ["name", "dataSourceKey"]
}
],
fields: [

@@ -40,4 +46,3 @@ {

type: "string",
name: "name",
unique: true
name: "name"
},

@@ -44,0 +49,0 @@ {

@@ -41,3 +41,9 @@ var __defProp = Object.defineProperty;

const dataSource = app.dataSourceManager.dataSources.get(dataSourceKey);
if (!dataSource) {
return;
}
const collection = dataSource.collectionManager.getCollection(collectionName);
if (!collection) {
return;
}
collection.removeField(name);

@@ -44,0 +50,0 @@ }

@@ -282,2 +282,5 @@ var __create = Object.create;

});
this.app.db.on("dataSources.afterDestroy", async (model) => {
this.app.dataSourceManager.dataSources.delete(model.get("key"));
});
this.app.on("afterStart", async (app2) => {

@@ -284,0 +287,0 @@ const dataSourcesRecords = await this.app.db.getRepository("dataSources").find({

{
"name": "@nocobase/plugin-data-source-manager",
"version": "0.20.0-alpha.4",
"version": "0.20.0-alpha.5",
"main": "dist/server/index.js",

@@ -19,3 +19,3 @@ "displayName": "Data source manager",

],
"gitHead": "9f0ec793806251c36029ebac3e80fbbec90ec0db"
"gitHead": "b72d7fdf357a6bc4460ff181644b9014d3dad13b"
}

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

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