@sentry/wizard
Version:
Sentry wizard helping you to configure your project
10 lines • 363 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.stripAnsii = void 0;
function stripAnsii(str) {
return str.replace(
// eslint-disable-next-line no-control-regex
/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g, '');
}
exports.stripAnsii = stripAnsii;
//# sourceMappingURL=string.js.map
;