utilitas 1999.1.13 → 1999.1.14
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/README.md +0 -1
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/manifest.mjs +1 -1
- package/lib/utilitas.mjs +4 -2
- package/package.json +1 -1
package/lib/manifest.mjs
CHANGED
package/lib/utilitas.mjs
CHANGED
|
@@ -741,9 +741,11 @@ const getFuncParams = (func) => {
|
|
|
741
741
|
|
|
742
742
|
const analyzeModule = (obj) => {
|
|
743
743
|
assertModule(obj);
|
|
744
|
-
const [keys, result] = [Object.getOwnPropertyNames(obj)
|
|
744
|
+
const [keys, result] = [Object.getOwnPropertyNames(obj).filter(
|
|
745
|
+
x => !['INSTRUCTIONS', 'MODELS'].includes(x)
|
|
746
|
+
), {}];
|
|
745
747
|
keys.sort();
|
|
746
|
-
keys.
|
|
748
|
+
keys.map(key => result[key] = {
|
|
747
749
|
type: getType(obj[key]), ...Function.isFunction(obj[key])
|
|
748
750
|
? { params: getFuncParams(obj[key]) }
|
|
749
751
|
: { value: ensureString(obj[key]) }
|