js-beautify 1.9.0-beta2 → 1.9.0

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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,42 @@
1
1
  # Changelog
2
+ ## v1.9.0
3
+
4
+ ### Description
5
+ # Description
6
+ * Fixed Tab indenting - when tabs indenting enabled, they are used universally. Also, tab size customizable: 8-space tabs would mean each tab is treated as 8 spaces. (#1294, #1551)
7
+ * Accurate line wrapping - Layout always wraps when line length exceed specified column, unless wrapping would not reduce line length. (#284, #1238)
8
+ * Improved Template handling in HTML - Go, Django, Handlebars, ERB/EJS/ASP, PHP (still only handlebars indenting) (#881, #1602, #1620)
9
+ * Improved Template handling in Javascript - ERB/EJS/ASP, PHP (no indenting, no Django or Handlebars due to potential syntax conflicts for curly braces) (#1377)
10
+ * Fixed indenting of mustache inverted conditionals (#1623 @e2tha-e)
11
+ * Fixed indenting for HTML tags with option end tags (#1213)
12
+
13
+ https://github.com/beautify-web/js-beautify/compare/v1.8.9...v1.9.0
14
+
15
+
16
+
17
+ ### Closed Issues
18
+ * Incorrect indentation of `^` inverted section tags in Handlebars/Mustache code ([#1623](https://github.com/beautify-web/js-beautify/issues/1623))
19
+ * PHP In HTML Attributes ([#1620](https://github.com/beautify-web/js-beautify/issues/1620))
20
+ * DeanEdward python unpacker offset problem ([#1616](https://github.com/beautify-web/js-beautify/issues/1616))
21
+ * CLI on Windows doesn't accept -f - for stdin? ([#1609](https://github.com/beautify-web/js-beautify/issues/1609))
22
+ * HTML type attribute breaks JavaScript beautification? ([#1606](https://github.com/beautify-web/js-beautify/issues/1606))
23
+ * Use of global MODE before declaration caused uglify problem ([#1604](https://github.com/beautify-web/js-beautify/issues/1604))
24
+ * When building html tags using Mustache variables, extra whitespace is added after opening arrow ([#1602](https://github.com/beautify-web/js-beautify/issues/1602))
25
+ * <script type="text/html">isnot abled to be beautified ([#1591](https://github.com/beautify-web/js-beautify/issues/1591))
26
+ * _get_full_indent undefined ([#1590](https://github.com/beautify-web/js-beautify/issues/1590))
27
+ * Website "autodetect" setting doesn't distinguish css vs javascript ([#1565](https://github.com/beautify-web/js-beautify/issues/1565))
28
+ * Add setting to keep HTML tag text content unformatted or ignore custom delimiters ([#1560](https://github.com/beautify-web/js-beautify/issues/1560))
29
+ * HTML auto formatting using spaces instead of tabs ([#1551](https://github.com/beautify-web/js-beautify/issues/1551))
30
+ * Unclosed single quote in php tag causes formatting changes which break php code ([#1377](https://github.com/beautify-web/js-beautify/issues/1377))
31
+ * Using tabs when wrapping attributes and wrapping if needed ([#1294](https://github.com/beautify-web/js-beautify/issues/1294))
32
+ * HTML --wrap-attributes doesn't respect --wrap-line-length ([#1238](https://github.com/beautify-web/js-beautify/issues/1238))
33
+ * Bad indent level(HTML) ([#1213](https://github.com/beautify-web/js-beautify/issues/1213))
34
+ * js-beautify produces invalid code for variables with Unicode escape sequences ([#1211](https://github.com/beautify-web/js-beautify/issues/1211))
35
+ * support vuejs ([#1154](https://github.com/beautify-web/js-beautify/issues/1154))
36
+ * Go templates in HTML ([#881](https://github.com/beautify-web/js-beautify/issues/881))
37
+ * Better behavior for javascript --wrap-line-length ([#284](https://github.com/beautify-web/js-beautify/issues/284))
38
+
39
+
2
40
  ## v1.8.9
3
41
 
4
42
  ### Description
@@ -8,6 +46,7 @@
8
46
  * Won't run from CLI - bad option name `files` ([#1583](https://github.com/beautify-web/js-beautify/issues/1583))
9
47
  * in the .vue file `space_after_anon_function` is invalid ([#1425](https://github.com/beautify-web/js-beautify/issues/1425))
10
48
  * Add function default_options() to beautifier.js ([#1364](https://github.com/beautify-web/js-beautify/issues/1364))
49
+ * fix: Missing space before function parentheses ? ([#1077](https://github.com/beautify-web/js-beautify/issues/1077))
11
50
  * Support globs in CLI ([#787](https://github.com/beautify-web/js-beautify/issues/787))
12
51
 
13
52
 
@@ -58,6 +97,29 @@ Broader adoption of 1.8.x revealed a few more high priority fixes
58
97
  * unindent_chained_methods broken ([#1533](https://github.com/beautify-web/js-beautify/issues/1533))
59
98
 
60
99
 
100
+ ## v1.8.3
101
+
102
+ ### Description
103
+
104
+
105
+ ### Closed Issues
106
+ * Missing Bower Assets ([#1521](https://github.com/beautify-web/js-beautify/issues/1521))
107
+ * Javascript ternary breaked with `await` ([#1519](https://github.com/beautify-web/js-beautify/issues/1519))
108
+ * Object property indented after `await` ([#1517](https://github.com/beautify-web/js-beautify/issues/1517))
109
+ * Handlebars formatting problems ([#870](https://github.com/beautify-web/js-beautify/issues/870))
110
+ * beautify.js doesn't have indent_level option ([#724](https://github.com/beautify-web/js-beautify/issues/724))
111
+
112
+
113
+ ## v1.8.1
114
+
115
+ ### Description
116
+
117
+
118
+ ### Closed Issues
119
+ * Why npm is a dependency? ([#1516](https://github.com/beautify-web/js-beautify/issues/1516))
120
+ * indent_inner_html not working in v1.8.0 ([#1514](https://github.com/beautify-web/js-beautify/issues/1514))
121
+
122
+
61
123
  ## v1.8.0
62
124
 
63
125
  ### Description
@@ -119,6 +181,76 @@ Highlights:
119
181
  * Add "Create Issue for Unexpected Output" button to website ([#1371](https://github.com/beautify-web/js-beautify/issues/1371))
120
182
  * Add combobox to control type of beautification ([#1370](https://github.com/beautify-web/js-beautify/issues/1370))
121
183
  * Add Options textbox to website for debugging ([#1369](https://github.com/beautify-web/js-beautify/issues/1369))
184
+ * Python version fails to properly beautify packed code ([#1367](https://github.com/beautify-web/js-beautify/issues/1367))
185
+ * preserve-newline doesn't work for text blocks inside tags ([#1352](https://github.com/beautify-web/js-beautify/issues/1352))
186
+ * How to keep comments on their own lines after formating ([#1348](https://github.com/beautify-web/js-beautify/issues/1348))
187
+ * Beautification of Multiline PHP ([#1346](https://github.com/beautify-web/js-beautify/issues/1346))
188
+ * Beautification of PHP with echo short tags ([#1339](https://github.com/beautify-web/js-beautify/issues/1339))
189
+ * <button> with force-expand-multiline formatting bug ([#1335](https://github.com/beautify-web/js-beautify/issues/1335))
190
+ * js-beautify 1.7.5 breaks some correct JS code when run with -X ([#1334](https://github.com/beautify-web/js-beautify/issues/1334))
191
+ * URGENT: @extend with :hover, :focus and so on... ([#1331](https://github.com/beautify-web/js-beautify/issues/1331))
192
+ * JSBeautify options for programmatic use? ([#1327](https://github.com/beautify-web/js-beautify/issues/1327))
193
+ * js-beautify: fix handling for --eol and --outfile ([#1315](https://github.com/beautify-web/js-beautify/pull/1315))
194
+ * Note that `gsort` is GNU sort ([#1314](https://github.com/beautify-web/js-beautify/issues/1314))
195
+ * `pip` doesn't use same version as `/usr/bin/env python` ([#1312](https://github.com/beautify-web/js-beautify/issues/1312))
196
+ * Negative numbers removes newlines in arrays ([#1288](https://github.com/beautify-web/js-beautify/issues/1288))
197
+ * Wrap and align html attributes when line reaches wrap-line-length ([#1285](https://github.com/beautify-web/js-beautify/issues/1285))
198
+ * Javascript ++ Operator get wrong indent ([#1283](https://github.com/beautify-web/js-beautify/issues/1283))
199
+ * Generate js-beautify executable properly on windows when installed from PIP ([#1266](https://github.com/beautify-web/js-beautify/issues/1266))
200
+ * Add or preserve empty line between nested SCSS rules ([#1258](https://github.com/beautify-web/js-beautify/issues/1258))
201
+ * Create beta channel for releases ([#1255](https://github.com/beautify-web/js-beautify/issues/1255))
202
+ * Add install tests for packages ([#1254](https://github.com/beautify-web/js-beautify/issues/1254))
203
+ * Formatting slow when line wrap is set ([#1231](https://github.com/beautify-web/js-beautify/issues/1231))
204
+ * [!true && ...] Negated expressions in an array get collapsed into a single line ([#1229](https://github.com/beautify-web/js-beautify/issues/1229))
205
+ * await import(...) ([#1228](https://github.com/beautify-web/js-beautify/issues/1228))
206
+ * The result of "Format document" is weird of certain HTML content. ([#1223](https://github.com/beautify-web/js-beautify/issues/1223))
207
+ * (next_tag || "").match is not a function ([#1202](https://github.com/beautify-web/js-beautify/issues/1202))
208
+ * html.format.wrapAttributes on handlebars template ([#1199](https://github.com/beautify-web/js-beautify/issues/1199))
209
+ * Don't indent unclosed HTML tags containing server directives "<@" ([#1193](https://github.com/beautify-web/js-beautify/issues/1193))
210
+ * `force-expand-multiline` doesn't work as expected ([#1186](https://github.com/beautify-web/js-beautify/issues/1186))
211
+ * HTML text content formatted incorrectly ([#1184](https://github.com/beautify-web/js-beautify/issues/1184))
212
+ * Content deleted when formatting with indent_handlebars: true ([#1174](https://github.com/beautify-web/js-beautify/issues/1174))
213
+ * Nested span tags not indenting properly ([#1167](https://github.com/beautify-web/js-beautify/issues/1167))
214
+ * SCSS Comment Issue ([#1165](https://github.com/beautify-web/js-beautify/issues/1165))
215
+ * Less function parameters are wrapped unexpected ([#1156](https://github.com/beautify-web/js-beautify/issues/1156))
216
+ * Support underscore templates ([#1130](https://github.com/beautify-web/js-beautify/issues/1130))
217
+ * html-bar/handlebar {{else if}} block is indented ([#1123](https://github.com/beautify-web/js-beautify/issues/1123))
218
+ * Wrap line length, first line not correct ([#1122](https://github.com/beautify-web/js-beautify/issues/1122))
219
+ * TypeError: Cannot read property 'replace' of undefined ([#1120](https://github.com/beautify-web/js-beautify/issues/1120))
220
+ * Strange behaviours of formatting for double spans ([#1113](https://github.com/beautify-web/js-beautify/issues/1113))
221
+ * Missing space between "else" and "if". ([#1107](https://github.com/beautify-web/js-beautify/issues/1107))
222
+ * invalid indentation for html code ([#1098](https://github.com/beautify-web/js-beautify/issues/1098))
223
+ * HTML "select" tags have too much indentation ([#1097](https://github.com/beautify-web/js-beautify/issues/1097))
224
+ * Formatting breaks apart unquoted attribute ([#1094](https://github.com/beautify-web/js-beautify/issues/1094))
225
+ * HTML formatting wraps ending block tag for no reason with nested inline elements ([#1041](https://github.com/beautify-web/js-beautify/issues/1041))
226
+ * Ignore expressions in handlebars tags. ([#1040](https://github.com/beautify-web/js-beautify/issues/1040))
227
+ * not correctly joining lines for HTML ([#1033](https://github.com/beautify-web/js-beautify/issues/1033))
228
+ * Fails to format SVG files properly ([#1027](https://github.com/beautify-web/js-beautify/issues/1027))
229
+ * Template tags with new lines in them ([#1016](https://github.com/beautify-web/js-beautify/issues/1016))
230
+ * Span tags do not re-indent correctly ([#1010](https://github.com/beautify-web/js-beautify/issues/1010))
231
+ * Error in --eol processing in python ([#987](https://github.com/beautify-web/js-beautify/issues/987))
232
+ * Extra space added when quote is present ([#943](https://github.com/beautify-web/js-beautify/issues/943))
233
+ * weird formatting for HTML5 <tr> ([#882](https://github.com/beautify-web/js-beautify/issues/882))
234
+ * Respect non-breaking spaces ([#869](https://github.com/beautify-web/js-beautify/issues/869))
235
+ * Media Queries style issue ([#863](https://github.com/beautify-web/js-beautify/issues/863))
236
+ * Weird Beautify Style? ([#857](https://github.com/beautify-web/js-beautify/issues/857))
237
+ * "unformatted" paradigm broken, "unformatted" and "inline" are not the same ([#841](https://github.com/beautify-web/js-beautify/issues/841))
238
+ * Increment/Decrement Operator on object property extra indent on subsequent line ([#814](https://github.com/beautify-web/js-beautify/issues/814))
239
+ * Inconsistence of "newline_between_rules" with @import or @media ([#769](https://github.com/beautify-web/js-beautify/issues/769))
240
+ * Unexpected line break in "-1" ([#740](https://github.com/beautify-web/js-beautify/issues/740))
241
+ * Blank line before and after CSS / JS comments ([#736](https://github.com/beautify-web/js-beautify/issues/736))
242
+ * newline_between_rules support for Sass (enhancement) ([#657](https://github.com/beautify-web/js-beautify/issues/657))
243
+ * CSS comment spacing disregards `newline_between_rules`, `selector_separator_newline` ([#645](https://github.com/beautify-web/js-beautify/issues/645))
244
+ * HTML: wrap_line_length may produce buggy spaces ([#607](https://github.com/beautify-web/js-beautify/issues/607))
245
+ * Wrong code formatting using Handlebars ([#576](https://github.com/beautify-web/js-beautify/issues/576))
246
+ * option to ignore section or line in html ([#575](https://github.com/beautify-web/js-beautify/issues/575))
247
+ * Tokenize html before beautifying ([#546](https://github.com/beautify-web/js-beautify/issues/546))
248
+ * Extra newline is inserted after the comment line instead of before it ([#531](https://github.com/beautify-web/js-beautify/issues/531))
249
+ * html-beautify's max_preserve_newlines preserves one new line too much ([#517](https://github.com/beautify-web/js-beautify/issues/517))
250
+ * Disable/Skip HTML single-line comment ([#426](https://github.com/beautify-web/js-beautify/issues/426))
251
+ * Add tests for various javascript dependency loading libraries ([#360](https://github.com/beautify-web/js-beautify/issues/360))
252
+ * Formatting of @import broken ([#358](https://github.com/beautify-web/js-beautify/issues/358))
253
+ * newline removal seems not to work properly (in sublime text 3 on xp pro sp3) ([#348](https://github.com/beautify-web/js-beautify/issues/348))
122
254
 
123
255
 
124
256
  ## v1.7.5
@@ -413,6 +545,29 @@ Fixes for regressions found in 1.6.0
413
545
  * Cannot copy more than 1000 characters out of CodeMirror buffer ([#768](https://github.com/beautify-web/js-beautify/issues/768))
414
546
  * Missing 'var' in beautify-html.js; breaks strict mode ([#763](https://github.com/beautify-web/js-beautify/issues/763))
415
547
  * Fix typo in the example javascript code of index.html ([#753](https://github.com/beautify-web/js-beautify/pull/753))
548
+ * Prevent incorrect wrapping of return statements. ([#751](https://github.com/beautify-web/js-beautify/pull/751))
549
+ * `js-beautify -X` breaks code with jsx spread attributes ([#734](https://github.com/beautify-web/js-beautify/issues/734))
550
+ * Unhelpful error when .jsbeautifyrc has invalid json ([#728](https://github.com/beautify-web/js-beautify/issues/728))
551
+ * Support for ES7 decorators ([#685](https://github.com/beautify-web/js-beautify/issues/685))
552
+ * Don't wrap XML declaration (or processing instructions) ([#683](https://github.com/beautify-web/js-beautify/pull/683))
553
+ * JSX/JS: Single field objects should not expand ([#674](https://github.com/beautify-web/js-beautify/issues/674))
554
+ * ES6 Module Loading Object Destructuring newlines ([#668](https://github.com/beautify-web/js-beautify/issues/668))
555
+ * Beautifying css tears @media in two lines, adds spaces in names with hyphens ([#656](https://github.com/beautify-web/js-beautify/issues/656))
556
+ * ES6 concise method not propely indented ([#647](https://github.com/beautify-web/js-beautify/issues/647))
557
+ * Extra newline inserted with `wrap_attributes` set to "force" ([#641](https://github.com/beautify-web/js-beautify/issues/641))
558
+ * `wrap_attributes` ignores `wrap_attributes_indent_size` and `wrap_line_length` when set to "auto" ([#640](https://github.com/beautify-web/js-beautify/issues/640))
559
+ * Error building on Windows ([#638](https://github.com/beautify-web/js-beautify/issues/638))
560
+ * Mixed shorthand function with arrow function in object literal is mis-formatted ([#602](https://github.com/beautify-web/js-beautify/issues/602))
561
+ * Space does not let save using "&:" ([#594](https://github.com/beautify-web/js-beautify/issues/594))
562
+ * Indenting is broken in some cases ([#578](https://github.com/beautify-web/js-beautify/issues/578))
563
+ * modified cli.js so that it can read from piped input by default ([#558](https://github.com/beautify-web/js-beautify/pull/558))
564
+ * Update release process instructions ([#543](https://github.com/beautify-web/js-beautify/issues/543))
565
+ * Publish v1.6.0 ([#542](https://github.com/beautify-web/js-beautify/issues/542))
566
+ * es6 destructuring ([#511](https://github.com/beautify-web/js-beautify/issues/511))
567
+ * NPM js-beautify: different treatment of "-" in command line ([#390](https://github.com/beautify-web/js-beautify/issues/390))
568
+ * Newline inserted after ES6 module import/export ([#382](https://github.com/beautify-web/js-beautify/issues/382))
569
+ * Option to preserve or inline "short objects" on a single line ([#315](https://github.com/beautify-web/js-beautify/issues/315))
570
+ * Format json in line ([#114](https://github.com/beautify-web/js-beautify/issues/114))
416
571
 
417
572
 
418
573
  ## v1.5.10
@@ -596,53 +751,12 @@ https://github.com/beautify-web/js-beautify/compare/v1.5.1...v1.5.2
596
751
  * Cannot declare object literal properties with unquoted reserved words ([#440](https://github.com/beautify-web/js-beautify/issues/440))
597
752
  * Do not put a space within `function*` generator functions. ([#428](https://github.com/beautify-web/js-beautify/issues/428))
598
753
  * beautification of "nth-child" css fails csslint ([#418](https://github.com/beautify-web/js-beautify/issues/418))
599
-
600
-
601
- ## v1.5.1
602
-
603
- ### Description
604
- Highlights:
605
- * Fixes var declaration of objects and arrays to indent correctly (#256, #430)
606
- * Support keywords as IdentifierNames such as foo.catch() (#309, #351,#368, #378)
607
- * Improved indenting for statements (#289)
608
- * Improved ES6 support - let, const, template strings, and "fat arrow"
609
- * Support for non-ASCII characters in variable names (#305)
610
- * Multiple fixes to requirejs support and added tests to protect in future
611
- * Improved LESS support (still plenty of room for improvement in this area)
612
- * Do not add space after !!
613
-
614
- https://github.com/einars/js-beautify/compare/v1.4.2...v1.5.1
615
-
616
- ### Closed Issues
617
- * Nested if statements not displayed correctly ([#450](https://github.com/beautify-web/js-beautify/issues/450))
618
- * preserve_newlines always true ([#449](https://github.com/beautify-web/js-beautify/issues/449))
619
- * line wrapping breaks in weird places ([#438](https://github.com/beautify-web/js-beautify/issues/438))
620
- * Update dependencies to current versions ([#437](https://github.com/beautify-web/js-beautify/pull/437))
621
- * Add support for ES6 template strings ([#434](https://github.com/beautify-web/js-beautify/pull/434))
622
- * Fix #402: support ES6 fat arrow ([#433](https://github.com/beautify-web/js-beautify/pull/433))
623
- * Ending brace missaligned when part of first definition in var line ([#430](https://github.com/beautify-web/js-beautify/issues/430))
624
- * fixing disabled line wrapping for HTML ([#429](https://github.com/beautify-web/js-beautify/pull/429))
625
- * Missing semi colon ([#420](https://github.com/beautify-web/js-beautify/issues/420))
626
- * Fixed require.js support ([#416](https://github.com/beautify-web/js-beautify/pull/416))
627
- * should not split the es6 operator '=>' ([#402](https://github.com/beautify-web/js-beautify/issues/402))
628
- * fixed relative paths for require.js ([#387](https://github.com/beautify-web/js-beautify/pull/387))
629
- * Support reserved words as property names ([#378](https://github.com/beautify-web/js-beautify/issues/378))
630
- * Make the AMD API match the rest of the APIs ([#376](https://github.com/beautify-web/js-beautify/pull/376))
631
- * Preserve newlines in html related to issue #307 ([#375](https://github.com/beautify-web/js-beautify/pull/375))
632
- * Multi-line statements ([#374](https://github.com/beautify-web/js-beautify/issues/374))
633
- * Reserved words used as property/function/variable identifiers are formatted incorrectly ([#368](https://github.com/beautify-web/js-beautify/issues/368))
634
- * fixed problems with colon character ([#363](https://github.com/beautify-web/js-beautify/pull/363))
635
- * require.JS paths are hardcoded in beautify-html.js ([#359](https://github.com/beautify-web/js-beautify/issues/359))
636
- * Regression in p.a.c.ked file detection ([#357](https://github.com/beautify-web/js-beautify/issues/357))
637
- * Fix Issue #339 ([#354](https://github.com/beautify-web/js-beautify/pull/354))
638
- * Added single line comment support in less/sass for javascript parser ([#353](https://github.com/beautify-web/js-beautify/pull/353))
639
- * Function named 'in' not formatting correctly ([#351](https://github.com/beautify-web/js-beautify/issues/351))
640
- * CSS Pseudo element ([#346](https://github.com/beautify-web/js-beautify/issues/346))
641
- * array closing brace error for return statements with keep_array_indentation ([#340](https://github.com/beautify-web/js-beautify/issues/340))
642
- * CSS Beautifier: breaks :before and :after (regression) ([#339](https://github.com/beautify-web/js-beautify/issues/339))
643
- * Publish v1.5.0 ([#335](https://github.com/beautify-web/js-beautify/issues/335))
644
- * "keep array indentation" not working ([#333](https://github.com/beautify-web/js-beautify/issues/333))
645
- * CSS Beautifier: support LESS/SASS line comments ([#326](https://github.com/beautify-web/js-beautify/issues/326))
646
- * Incorrect formating with semicolon-less code ([#323](https://github.com/beautify-web/js-beautify/issues/323))
754
+ * comment breaks indent ([#413](https://github.com/beautify-web/js-beautify/issues/413))
755
+ * AngularJS inline templates are being corrupted! ([#385](https://github.com/beautify-web/js-beautify/issues/385))
756
+ * Beautify HTML: Setting inline JS and CSS to stay unformatted ([#383](https://github.com/beautify-web/js-beautify/issues/383))
757
+ * Spaces in function definition ([#372](https://github.com/beautify-web/js-beautify/issues/372))
758
+ * Chained code indents break at comment lines ([#314](https://github.com/beautify-web/js-beautify/issues/314))
759
+ * Handling of newlines around if/else/if statements ([#311](https://github.com/beautify-web/js-beautify/issues/311))
760
+ * Tags in javascript are being destroyed ([#117](https://github.com/beautify-web/js-beautify/issues/117))
647
761
 
648
762
 
package/README.md CHANGED
@@ -61,17 +61,17 @@ JS Beautifier is hosted on two CDN services: [cdnjs](https://cdnjs.com/libraries
61
61
 
62
62
  To pull the latest version from one of these services include one set of the script tags below in your document:
63
63
  ```html
64
- <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0-beta2/beautify.js"></script>
65
- <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0-beta2/beautify-css.js"></script>
66
- <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0-beta2/beautify-html.js"></script>
64
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0/beautify.js"></script>
65
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0/beautify-css.js"></script>
66
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0/beautify-html.js"></script>
67
67
 
68
- <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0-beta2/beautify.min.js"></script>
69
- <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0-beta2/beautify-css.min.js"></script>
70
- <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0-beta2/beautify-html.min.js"></script>
68
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0/beautify.min.js"></script>
69
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0/beautify-css.min.js"></script>
70
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.9.0/beautify-html.min.js"></script>
71
71
 
72
- <script src="https://cdn.rawgit.com/beautify-web/js-beautify/v1.9.0-beta2/js/lib/beautify.js"></script>
73
- <script src="https://cdn.rawgit.com/beautify-web/js-beautify/v1.9.0-beta2/js/lib/beautify-css.js"></script>
74
- <script src="https://cdn.rawgit.com/beautify-web/js-beautify/v1.9.0-beta2/js/lib/beautify-html.js"></script>
72
+ <script src="https://cdn.rawgit.com/beautify-web/js-beautify/v1.9.0/js/lib/beautify.js"></script>
73
+ <script src="https://cdn.rawgit.com/beautify-web/js-beautify/v1.9.0/js/lib/beautify-css.js"></script>
74
+ <script src="https://cdn.rawgit.com/beautify-web/js-beautify/v1.9.0/js/lib/beautify-html.js"></script>
75
75
  ```
76
76
 
77
77
  Older versions are available by changing the version number.
@@ -378,4 +378,4 @@ Thanks also to Jason Diamond, Patrick Hof, Nochum Sossonko, Andreas Schneider, D
378
378
  Vasilevsky, Vital Batmanov, Ron Baldwin, Gabriel Harrison, Chris J. Shull,
379
379
  Mathias Bynens, Vittorio Gambaletta and others.
380
380
 
381
- (README.md: js-beautify@1.9.0-beta2)
381
+ (README.md: js-beautify@1.9.0)