@signalplus/params-about 1.0.7-alpha2 → 1.0.7

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/lib/es/index.js +5 -5
  2. package/package.json +1 -1
package/lib/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Bundle of @signalplus/params-about
3
- * Generated: 2023-08-16
4
- * Version: 1.0.7-alpha2
3
+ * Generated: 2023-08-18
4
+ * Version: 1.0.7
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -1646,7 +1646,7 @@ var ParamTypeConfig = (_ParamTypeConfig = {}, _defineProperty(_ParamTypeConfig,
1646
1646
  var index = $val.findIndex(function ($it) {
1647
1647
  return !$it.trim();
1648
1648
  });
1649
- if (index > -1) return "The ".concat(index + 1).concat(index === 1 ? 'nd' : index === 2 ? 'rd' : 'th', " item: should not be empty");
1649
+ if (index > -1) return "The ".concat(index + 1).concat(index === 0 ? 'st' : index === 1 ? 'nd' : index === 2 ? 'rd' : 'th', " item: should not be empty");
1650
1650
  return '';
1651
1651
  },
1652
1652
  sort: 7
@@ -1733,11 +1733,11 @@ var ParamTypeConfig = (_ParamTypeConfig = {}, _defineProperty(_ParamTypeConfig,
1733
1733
  if (isNullLike(val.instrument) && isNullLike(val.value)) return '';
1734
1734
 
1735
1735
  if (isNullLike(val.instrument) && !isNullLike(val.value)) {
1736
- return "The ".concat(i + 1).concat(i === 0 ? 'st' : i === 1 ? 'nd' : i === 2 ? 'rd' : 'th', " item: instrument shold not be empty");
1736
+ return "The ".concat(i + 1).concat(i === 0 ? 'st' : i === 1 ? 'nd' : i === 2 ? 'rd' : 'th', " item: instrument should not be empty");
1737
1737
  }
1738
1738
 
1739
1739
  if (!isNullLike(val.instrument) && isNullLike(val.value)) {
1740
- return "The ".concat(i + 1).concat(i === 0 ? 'st' : i === 1 ? 'nd' : i === 2 ? 'rd' : 'th', " item: value shold not be empty");
1740
+ return "The ".concat(i + 1).concat(i === 0 ? 'st' : i === 1 ? 'nd' : i === 2 ? 'rd' : 'th', " item: value should not be empty");
1741
1741
  }
1742
1742
  }
1743
1743
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "1.0.7-alpha2",
3
+ "version": "1.0.7",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",