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

@nocobase/plugin-china-region

Package Overview
Dependencies
Maintainers
1
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nocobase/plugin-china-region - npm Package Compare versions

Comparing version 0.18.0-alpha.9 to 0.19.0-alpha.1

6

dist/externalVersion.js
module.exports = {
"@formily/core": "2.3.0",
"@formily/react": "2.3.0",
"@nocobase/client": "0.18.0-alpha.9",
"@nocobase/server": "0.18.0-alpha.9",
"@nocobase/client": "0.19.0-alpha.1",
"@nocobase/server": "0.19.0-alpha.1",
"china-division": "2.7.0",
"@nocobase/database": "0.18.0-alpha.9"
"@nocobase/database": "0.19.0-alpha.1"
};

@@ -25,6 +25,4 @@ var __defProp = Object.defineProperty;

var chinaRegions_default = (0, import_database.defineCollection)({
namespace: "china-region.china-region",
duplicator: "skip",
dumpRules: "skipped",
name: "chinaRegions",
title: "\u4E2D\u56FD\u884C\u653F\u533A\u5212",
autoGenId: false,

@@ -31,0 +29,0 @@ fields: [

@@ -39,5 +39,3 @@ var __defProp = Object.defineProperty;

async load() {
await this.db.import({
directory: (0, import_path.resolve)(__dirname, "collections")
});
await this.importCollections((0, import_path.resolve)(__dirname, "collections"));
this.app.acl.allow("chinaRegions", "list", "loggedIn");

@@ -44,0 +42,0 @@ this.app.resourcer.use(async (ctx, next) => {

{
"name": "@nocobase/plugin-china-region",
"version": "0.18.0-alpha.9",
"version": "0.19.0-alpha.1",
"displayName": "China region",

@@ -23,3 +23,3 @@ "displayName.zh-CN": "中国行政区",

},
"gitHead": "34ca0df4eede2e83fc86297b0fe19eba970e2b1b"
"gitHead": "64601944412fc4d2e2bd05f4b982118dd28247dc"
}
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