lib/utils.js
function sanitize(options, blacklist) {
  const opts = Object.assign({}, options);
  const defaults = ['apiurl', 'token', 'username', 'password', 'placeholders', 'bearer'];
  const keys = union([], defaults, blacklist);
  return omit(opts, keys);
}
function sanitize(options, blacklist) {
  const opts = Object.assign({}, options);
  const defaults = ['apiurl', 'token', 'username', 'password', 'placeholders', 'bearer'];
  const keys = union([], defaults, blacklist);
  return omit(opts, keys);
}
function sanitize ( options , blacklist ) { const opts = Object . assign ( { } , options ) ; const defaults = [ 'apiurl' , 'token' , 'username' , 'password' , 'placeholders' , 'bearer' ] ; const keys = union ( [ ] , defaults , blacklist ) ; return omit ( opts , keys ) ; }
Cleanup request options object
Cleanup request options object