extension-install 4.1.22 → 4.1.24

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/dist/module.cjs +2 -1
  2. package/package.json +1 -1
package/dist/module.cjs CHANGED
@@ -163,7 +163,8 @@ const fmt = {
163
163
  truncate (input, max = 800) {
164
164
  const s = (()=>{
165
165
  try {
166
- return 'string' == typeof input ? input : JSON.stringify(input);
166
+ if ('string' == typeof input) return input;
167
+ return JSON.stringify(input) ?? String(input);
167
168
  } catch {
168
169
  return String(input);
169
170
  }
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "dist"
24
24
  ],
25
25
  "name": "extension-install",
26
- "version": "4.1.22",
26
+ "version": "4.1.24",
27
27
  "description": "Managed browser installer/uninstaller for Extension.js",
28
28
  "author": {
29
29
  "name": "Cezar Augusto",