@signalplus/params-about 0.1.28 → 0.1.29

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 +2 -2
  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
3
  * Generated: 2022-04-12
4
- * Version: 0.1.28
4
+ * Version: 0.1.29
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -413,7 +413,7 @@ function keyValidator(val, allKeys) {
413
413
  var error = emptyValidator(val);
414
414
  if (error) return error;
415
415
 
416
- if (/^[_.a-zA-Z0-9]+$/.test(val)) {
416
+ if (!/^[_.a-zA-Z0-9]+$/.test(val)) {
417
417
  return 'Out of format: should be a combination of the following chars `_.0-9a-zA-Z`';
418
418
  }
419
419
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",