Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/inventory.picotech.app/public_html/node_modules/bootstrap-vue/esm/utils/ drwxr-xr-x |
Viewing file: Select action/file-type: import { isDate, isObject, isUndefinedOrNull } from './inspect'; import { keys } from './object'; import { toString } from './string'; // Recursively stringifies the values of an object, space separated, in an // SSR safe deterministic way (keys are sorted before stringification) // // ex: // { b: 3, c: { z: 'zzz', d: null, e: 2 }, d: [10, 12, 11], a: 'one' } // becomes // 'one 3 2 zzz 10 12 11' // // Strings are returned as-is // Numbers get converted to string // `null` and `undefined` values are filtered out // Dates are converted to their native string format export var stringifyObjectValues = function stringifyObjectValues(value) { if (isUndefinedOrNull(value)) { return ''; } // Arrays are also object, and keys just returns the array indexes // Date objects we convert to strings if (isObject(value) && !isDate(value)) { return keys(value).sort() // Sort to prevent SSR issues on pre-rendered sorted tables .map(function (k) { return stringifyObjectValues(value[k]); }).filter(function (v) { return !!v; }) // Ignore empty strings .join(' '); } return toString(value); }; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0032 ]-- |