@t007/utils 0.0.10 → 0.0.11

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.
package/dist/index.cjs CHANGED
@@ -146,8 +146,7 @@ function onAllMethods(owner, callback) {
146
146
  while (proto && proto !== Object.prototype) {
147
147
  for (const method of Object.getOwnPropertyNames(proto)) {
148
148
  if (method === "constructor") continue;
149
- if (isFunc(Object.getOwnPropertyDescriptor(proto, method)?.value)) continue;
150
- callback(method, owner);
149
+ if (isFunc(Object.getOwnPropertyDescriptor(proto, method)?.value)) callback(method, owner);
151
150
  }
152
151
  proto = Object.getPrototypeOf(proto);
153
152
  }
package/dist/index.js CHANGED
@@ -96,8 +96,7 @@ function onAllMethods(owner, callback) {
96
96
  while (proto && proto !== Object.prototype) {
97
97
  for (const method of Object.getOwnPropertyNames(proto)) {
98
98
  if (method === "constructor") continue;
99
- if (isFunc(Object.getOwnPropertyDescriptor(proto, method)?.value)) continue;
100
- callback(method, owner);
99
+ if (isFunc(Object.getOwnPropertyDescriptor(proto, method)?.value)) callback(method, owner);
101
100
  }
102
101
  proto = Object.getPrototypeOf(proto);
103
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t007/utils",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "High-performance, zero-dependency utility functions for the t007 ecosystem.",
5
5
  "author": "Oketade Oluwatobiloba <tobioketade007@gmail.com>",
6
6
  "license": "MIT",