mm_expand 2.3.0 → 2.3.1

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/string.js +3 -0
  2. package/package.json +1 -1
package/lib/string.js CHANGED
@@ -309,6 +309,9 @@ String.prototype.has = function (pattern) {
309
309
  const clean = pattern.replaceAll('*', '');
310
310
  return str.startsWith(clean);
311
311
  }
312
+ else {
313
+ return false;
314
+ }
312
315
  };
313
316
 
314
317
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_expand",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Super Meimei Prototype Function Extension Module - Enhanced operations for string, array, object, date manipulation with error prevention and simplified business logic.",
5
5
  "main": "index.js",
6
6
  "scripts": {