BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/stable-hash/dist
Run
Logout
Edit File
Size: 526 B
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/stable-hash/dist/index.mjs
Text
Base64
const o=new WeakMap;let u=0;export function stableHash(t){const i=typeof t,s=t&&t.constructor,c=s==Date;if(Object(t)===t&&!c&&s!=RegExp){let e=o.get(t);if(e)return e;e=++u+"~",o.set(t,e);let n;if(s==Array){for(e="@",n=0;n<t.length;n++)e+=stableHash(t[n])+",";o.set(t,e)}else if(s==Object){e="#";const f=Object.keys(t).sort();for(;(n=f.pop())!==void 0;)t[n]!==void 0&&(e+=n+":"+stableHash(t[n])+",");o.set(t,e)}return e}return c?t.toJSON():i=="symbol"?t.toString():i=="string"?JSON.stringify(t):""+t}export default stableHash;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.d.ts
81 B
lrw-r--r--
2025-03-28 11:04:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
651 B
lrw-r--r--
2025-03-28 11:04:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.mjs
526 B
lrw-r--r--
2025-03-28 11:04:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).