isite 2025.9.3 → 2025.10.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.
@@ -34,7 +34,7 @@ exports = module.exports = function init(____0) {
34
34
  if (!Object.prototype.like) {
35
35
  Object.defineProperty(Object.prototype, 'like', {
36
36
  value: function (name) {
37
- if (!name) {
37
+ if (typeof name !== 'string') {
38
38
  return !1;
39
39
  }
40
40
  if (name.indexOf('*') !== -1) {
@@ -53,6 +53,9 @@ exports = module.exports = function init(____0) {
53
53
  if (!Object.prototype.contains) {
54
54
  Object.defineProperty(Object.prototype, 'contains', {
55
55
  value: function (name) {
56
+ if (typeof name !== 'string') {
57
+ return !1;
58
+ }
56
59
  return name.split('|').some((n) => n && ____0.toJson(this).test('^.*' + ____0.escapeRegExp(n) + '.*$', 'gium'));
57
60
  },
58
61
  });
@@ -60,6 +63,9 @@ exports = module.exports = function init(____0) {
60
63
  if (!Object.prototype.contain) {
61
64
  Object.defineProperty(Object.prototype, 'contain', {
62
65
  value: function (name) {
66
+ if (typeof name !== 'string') {
67
+ return !1;
68
+ }
63
69
  return name.split('|').some((n) => n && ____0.toJson(this).test('^.*' + ____0.escapeRegExp(n) + '.*$', 'gium'));
64
70
  },
65
71
  });
@@ -100,11 +106,17 @@ exports = module.exports = function init(____0) {
100
106
  }
101
107
  if (!Array.prototype.contains) {
102
108
  Array.prototype.contains = function (name = '') {
109
+ if (typeof name !== 'string') {
110
+ return !1;
111
+ }
103
112
  return name.split('|').some((n) => n && ____0.toJson(this).test('^.*' + ____0.escapeRegExp(n) + '.*$', 'gium'));
104
113
  };
105
114
  }
106
115
  if (!Array.prototype.contain) {
107
116
  Array.prototype.contain = function (name = '') {
117
+ if (typeof name !== 'string') {
118
+ return !1;
119
+ }
108
120
  return name.split('|').some((n) => n && ____0.toJson(this).test('^.*' + ____0.escapeRegExp(n) + '.*$', 'gium'));
109
121
  };
110
122
  }
@@ -142,11 +154,17 @@ exports = module.exports = function init(____0) {
142
154
 
143
155
  if (!String.prototype.contains) {
144
156
  String.prototype.contains = function (name = '') {
157
+ if (typeof name !== 'string') {
158
+ return !1;
159
+ }
145
160
  return name.split('|').some((n) => n && this.test('^.*' + ____0.escapeRegExp(n) + '.*$', 'gium'));
146
161
  };
147
162
  }
148
163
  if (!String.prototype.contain) {
149
164
  String.prototype.contain = function (name = '') {
165
+ if (typeof name !== 'string') {
166
+ return !1;
167
+ }
150
168
  return name.split('|').some((n) => n && this.test('^.*' + ____0.escapeRegExp(n) + '.*$', 'gium'));
151
169
  };
152
170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isite",
3
- "version": "2025.09.03",
3
+ "version": "2025.10.01",
4
4
  "description": "Create High Level Multi-Language Web Site [Fast and Easy] ",
5
5
  "main": "index.js",
6
6
  "repository": {