@osovitny/anatoly 2.14.103 → 2.14.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ import { v4 } from 'uuid';
19
19
  import * as i1$2 from 'ngx-toastr';
20
20
  import { ToastrModule } from 'ngx-toastr';
21
21
  import * as i1$4 from '@angular/platform-browser';
22
- import beautify_html from 'js-beautify';
22
+ import js_beautify from 'js-beautify';
23
23
  import * as i1$6 from '@fortawesome/angular-fontawesome';
24
24
  import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
25
25
  import * as i1$7 from '@progress/kendo-angular-pager';
@@ -1703,6 +1703,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
1703
1703
 
1704
1704
  Code:
1705
1705
  https://www.npmjs.com/package/js-beautify
1706
+ https://beautifier.io
1706
1707
 
1707
1708
  Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
1708
1709
  </file>
@@ -1711,26 +1712,12 @@ class XmlFormatter {
1711
1712
  static toPrettyXML(s, options) {
1712
1713
  if (!options) {
1713
1714
  options = {
1714
- "indent_size": "2",
1715
- "indent_char": " ",
1716
- "max_preserve_newlines": "5",
1717
- "preserve_newlines": true,
1718
- "keep_array_indentation": false,
1719
- "break_chained_methods": false,
1720
- "indent_scripts": "normal",
1721
- "brace_style": "collapse",
1722
- "space_before_conditional": true,
1723
- "unescape_strings": false,
1724
- "jslint_happy": false,
1725
- "end_with_newline": false,
1726
- "wrap_line_length": "110",
1727
- "indent_inner_html": false,
1728
- "comma_first": false,
1729
- "e4x": false,
1730
- "indent_empty_lines": false
1715
+ indent_size: 2,
1716
+ indent_char: " ",
1717
+ wrap_line_length: 110
1731
1718
  };
1732
1719
  }
1733
- return beautify_html(s, options);
1720
+ return js_beautify.html(s, options);
1734
1721
  }
1735
1722
  }
1736
1723