Socket
Socket
Sign inDemoInstall

koa-rtapi

Package Overview
Dependencies
6
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.56 to 1.1.561

9

code/coder/edit/edit.js

@@ -30,8 +30,13 @@ /*<%#

members: {
static: {
checker: {
// <%# for (const c of columns) { %>
// <%# const cname = c.COLUMN_NAME; %>
// <%# if (c.COLUMN_KEY === 'PRI') { continue; } %>
'<%= c.COLUMN_NAME %>': { rgx: /^.+$/, msg: '<%= c.COLUMN_COMMENT || c.COLUMN_NAME %>输入有误' },
// <%# if (c.IS_NULLABLE === 'YES') {%>
'<%= cname %>': { rgx: /.*/, msg: '<%= c.COLUMN_COMMENT || cname %>输入有误' },
// <%# } else { %>
'<%= cname %>': { rgx: /.+/, msg: '<%= c.COLUMN_COMMENT || cname %>不能为空' },
// <%# } %>
// <%# } %>
}

@@ -38,0 +43,0 @@ },

@@ -48,6 +48,6 @@ /*<%#

members: {
static: {
checker: {
// <%# for (const c of columns) { %>
'<%= c.COLUMN_NAME %>': { rgx: /^.+$/, msg: '<%= c.COLUMN_COMMENT || c.COLUMN_NAME %>输入有误' },
'<%= c.COLUMN_NAME %>': { rgx: /.*/, msg: '<%= c.COLUMN_COMMENT || c.COLUMN_NAME %>输入有误' },
// <%# } %>

@@ -54,0 +54,0 @@ }

@@ -85,3 +85,3 @@

// 直接附加的静态对象
if (k === 'static') {
if (k === 'static' || k === 'members') {
xf(members, value);

@@ -88,0 +88,0 @@ continue;

{
"name": "koa-rtapi",
"version": "1.1.56",
"version": "1.1.561",
"description": "koa api in rtworld company",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc