not-node 6.3.92 → 6.3.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/form/form.js +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-node",
3
- "version": "6.3.92",
3
+ "version": "6.3.93",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/form/form.js CHANGED
@@ -110,7 +110,8 @@ class Form {
110
110
  AFTER_EXTRACT_TRANSFORMERS = [],
111
111
  rate,
112
112
  }) {
113
- this.#FORM_NAME = FORM_NAME ?? this.createName(MODULE_NAME, MODEL_NAME, actionName);
113
+ this.#FORM_NAME =
114
+ FORM_NAME ?? Form.createName(MODULE_NAME, MODEL_NAME, actionName);
114
115
  this.#MODEL_NAME = MODEL_NAME;
115
116
  this.#MODULE_NAME = MODULE_NAME;
116
117
  this.#PROTO_FIELDS = FIELDS;
@@ -135,7 +136,7 @@ class Form {
135
136
  * @param {string} actionName = 'data'
136
137
  * @returns {string}
137
138
  */
138
- static createName(MODULE_NAME, MODEL_NAME, actionName = 'data') {
139
+ static createName(MODULE_NAME, MODEL_NAME, actionName = "data") {
139
140
  if (MODEL_NAME) {
140
141
  return `${MODULE_NAME}:${MODEL_NAME}:${firstLetterToUpper(
141
142
  actionName
@@ -662,7 +663,10 @@ class Form {
662
663
  if (typeof schemaField === "undefined" || schemaField === null) {
663
664
  return [];
664
665
  }
665
- if(schemaField.transformers && Array.isArray(schemaField.transformers)){
666
+ if (
667
+ schemaField.transformers &&
668
+ Array.isArray(schemaField.transformers)
669
+ ) {
666
670
  return schemaField.transformers;
667
671
  }
668
672
  switch (schemaField.type) {