PHP 8.2.30
Preview: params.js Size: 521 B
//opt/alt/alt-nodejs24/root/usr/lib/node_modules/npm/node_modules.bundled/diff/libcjs/util/params.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateOptions = generateOptions;
function generateOptions(options, defaults) {
    if (typeof options === 'function') {
        defaults.callback = options;
    }
    else if (options) {
        for (var name in options) {
            /* istanbul ignore else */
            if (Object.prototype.hasOwnProperty.call(options, name)) {
                defaults[name] = options[name];
            }
        }
    }
    return defaults;
}

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
529 B lrw-r--r-- 2026-02-23 07:38:44
Edit Download
1.55 KB lrw-r--r-- 2026-02-23 07:38:44
Edit Download
521 B lrw-r--r-- 2026-02-23 07:38:44
Edit Download
5.00 KB lrw-r--r-- 2026-02-23 07:38:44
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).