rollbar
Version:
Effortlessly track and debug errors in your JavaScript applications with Rollbar. This package includes advanced error tracking features and an intuitive interface to help you identify and fix issues more quickly.
52 lines (49 loc) • 911 B
JavaScript
/**
* Default browser options
*/
import { commonScrubFields } from '../defaults.js';
export const scrubFields = [
...commonScrubFields,
'cc-number',
'card number',
'cardnumber',
'cardnum',
'ccnum',
'ccnumber',
'cc num',
'creditcardnumber',
'credit card number',
'newcreditcardnumber',
'new credit card',
'creditcardno',
'credit card no',
'card#',
'card #',
'cc-csc',
'cvc',
'cvc2',
'cvv2',
'ccv2',
'security code',
'card verification',
'name on credit card',
'name on card',
'nameoncard',
'cardholder',
'card holder',
'name des karteninhabers',
'ccname',
'card type',
'cardtype',
'cc type',
'cctype',
'payment type',
'expiration date',
'expirationdate',
'expdate',
'cc-exp',
'ccmonth',
'ccyear',
];
// For compatibility with existing code that expects default export with scrubFields property
export default { scrubFields };