/
/
lib
/
node_modules
/
npm
/
lib
/
utils
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.220
PHP 7.4.33
Dir:
/lib/node_modules/npm/lib/utils
Edit:
/lib/node_modules/npm/lib/utils/deep-sort-object.js
'use strict' var sortedObject = require('sorted-object') module.exports = function deepSortObject (obj) { if (obj == null || typeof obj !== 'object') return obj if (obj instanceof Array) { return obj.map(deepSortObject) } obj = sortedObject(obj) Object.keys(obj).forEach(function (key) { obj[key] = deepSortObject(obj[key]) }) return obj }
Ukuran: 363 B