Sha256: 13fe4e71118ad472e112d15e29b3d14e70acb6d549d885229facac3c84552e45
Contents?: true
Size: 641 Bytes
Versions: 26
Compression:
Stored size: 641 Bytes
Contents
function setDefaultsImpl({ allowIcannDomains = true, allowPrivateDomains = false, detectIp = true, extractHostname = true, mixedInputs = true, validHosts = null, validateHostname = true, }) { return { allowIcannDomains, allowPrivateDomains, detectIp, extractHostname, mixedInputs, validHosts, validateHostname, }; } const DEFAULT_OPTIONS = /*@__INLINE__*/ setDefaultsImpl({}); export function setDefaults(options) { if (options === undefined) { return DEFAULT_OPTIONS; } return /*@__INLINE__*/ setDefaultsImpl(options); } //# sourceMappingURL=options.js.map
Version data entries
26 entries across 26 versions & 1 rubygems