Commit graph

18 commits

Author SHA1 Message Date
adam
29c0a0e914 py-jsbeautifier: updated to 1.13.13
v1.13.13

Closed Issues

IE11 compatibility failure v>1.13.5


v1.13.11

Closed Issues

Support short PHP tags


v1.13.6

Closed Issues

Fix space-before-conditional: false to work on switch-case statement
Optional chaining obj?.[expr]
2021-05-10 09:22:34 +00:00
adam
a72bff2f4d py-jsbeautifier: updated to 1.13.5
1.13.5:
Unknown changes
2021-02-05 22:22:17 +00:00
adam
c6eb78ad27 py-jsbeautifier: updated to 1.13.4
1.13.4
Bug fixes
2021-01-13 11:31:56 +00:00
adam
c021f5bc6b py-jsbeautifier: updated to 1.13.0
v1.13.0

Description

This release truly fixes the python cssbeautifier installation and updates cssbeautifier cli to use the same general code as jsbeautifier.

Also, as of this release Node.js 8.x is no longer guaranteed to work. Node.js 8.x LTS reached end-of-life in January 2020. Parts of our test infrastructure no longer support Node.js 8.x. The js-beautifier should still run on Node.js 8.x, but it is not part of the CI system and so not guaranteed to work.

Closed Issues

(internal) Refactor python cssbeautifier to reuse jsbeautifier CLI methods
(internal) Switch from node-static to serve
Fixed pip install cssbeautifier
2020-08-25 11:03:20 +00:00
adam
6452c990a4 pytest from versioned depends 2020-05-17 21:38:45 +00:00
adam
6e176bfe21 py-jsbeautifier: updated to 1.11.0
v1.11.0
Closed Issues
Please bump mkdirp to fix mkdirp@0.5.1 vulnerability
Support optional-chaining
Please support es module
Support new js proposals: optional-chaining & pipeline-operator
Optional closing not implemented
2020-04-11 16:28:58 +00:00
adam
92d2f93860 py-jsbeautifier: updated to 1.10.2
v1.10.2
Closed Issues
Please update CodeMirror Addon
Nested braces indentation

v1.10.1
Closed Issues
javascript fails to format when <?php > is first text inside <script> tag
414 Request-URI Too Large
2019-08-29 04:58:29 +00:00
adam
7c4b71d5c2 py-jsbeautifier: updated to 1.10.0
v1.10.0
Added templating setting to control when template languages are recognized. All languages are off by default in Javascript and on by default in HTML.

Closed Issues
beautifying scss selector with colon in it adds space
Javascript multiline comments duplicates
Tokenizer crashes if the input terminates with a dot character.
stop reformatting valid css \! into invalid \ !
wrong indent for unclosed <? - need to support disabling templating
Beautify inserts space before exclamation mark in comment <!-- in css <style>
'less' mixins parameter formatting problem
Change css tests to use 4 space indenting instead of tabs
Braces after case get pushed onto new line
Extra space in pseudo-elements and pseudo-classes selectors
LESS formatting - mixins with multiple variables
Bug in less format
2019-05-02 08:35:09 +00:00
adam
e80a074ab9 py-jsbeautifier: updated to 1.9.1
v1.9.1
Closed Issues
nested table not beautified correctly
Add an option to preserve indentation on empty line
2019-04-01 10:26:35 +00:00
adam
57655cb14d py-jsbeautifier: updated to 1.9.0
v1.9.0:
Description
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.
Accurate line wrapping - Layout always wraps when line length exceed specified column, unless wrapping would not reduce line length.
Improved Template handling in HTML - Go, Django, Handlebars, ERB/EJS/ASP, PHP (still only handlebars indenting)
Improved Template handling in Javascript - ERB/EJS/ASP, PHP (no indenting, no Django or Handlebars due to potential syntax conflicts for curly braces)
Fixed indenting of mustache inverted conditionals
Fixed indenting for HTML tags with option end tags
https://github.com/beautify-web/js-beautify/compare/v1.8.9...v1.9.0

Closed Issues
Incorrect indentation of ^ inverted section tags in Handlebars/Mustache code
PHP In HTML Attributes
DeanEdward python unpacker offset problem
CLI on Windows doesn't accept -f - for stdin?
HTML type attribute breaks JavaScript beautification?
Use of global MODE before declaration caused uglify problem
When building html tags using Mustache variables, extra whitespace is added after opening arrow
<script type="text/html">isnot abled to be beautified
_get_full_indent undefined
Website "autodetect" setting doesn't distinguish css vs javascript
Add setting to keep HTML tag text content unformatted or ignore custom delimiters
HTML auto formatting using spaces instead of tabs
Unclosed single quote in php tag causes formatting changes which break php code
Using tabs when wrapping attributes and wrapping if needed
HTML --wrap-attributes doesn't respect --wrap-line-length
Bad indent level(HTML)
js-beautify produces invalid code for variables with Unicode escape sequences
support vuejs
Go templates in HTML
Better behavior for javascript --wrap-line-length
2019-03-02 14:41:25 +00:00
adam
3853ce2b46 py-jsbeautifier: updated to 1.8.9
v1.8.9:
Won't run from CLI - bad option name files
in the .vue file space_after_anon_function is invalid
Add function default_options() to beautifier.js
Support globs in CLI
2018-12-13 19:56:55 +00:00
adam
73db570c44 py-jsbeautifier: updated to 1.8.8
v1.8.8:
async function in object wrong indentation
2018-11-03 09:17:58 +00:00
adam
578e7be05f py-jsbeautifier: updated to 1.8.7
1.8.7:
Unknown changes
2018-10-14 16:04:25 +00:00
adam
446de84df4 py-jsbeautifier: updated to 1.8.6
v1.8.6
Beautifier has moved to https://beautifier.io

Closed Issues
JS beautify break the angular compile
base64 string is broken with v1.8.4
Bookmarklet becomes totally useless
HTTPS
Beautify breaks when js starts with space followed by multi-line comment

v1.8.4
Broader adoption of 1.8.x revealed a few more high priority fixes

Closed Issues
Multiple newlines added between empty textarea and "unformatted" inline elements
unindent_chained_methods broken

v1.8.3
Closed Issues
Missing Bower Assets
Javascript ternary breaked with await
Object property indented after await
Handlebars formatting problems
beautify.js doesn't have indent_level option

v1.8.1
Closed Issues
Why npm is a dependency?
indent_inner_html not working in v1.8.0
2018-09-12 10:25:23 +00:00
adam
f1527362ae py-jsbeautifier: updated to 1.7.5
v1.7.5
Strict mode: js_source_text is not defined [CSS]
Made brace_style option more inclusive
White space before"!important" tag missing in CSS beautify
2017-12-10 17:25:37 +00:00
adam
ccbbbba0c9 py-jsbeautifier: updated to 1.7.4
v1.7.4
Closed Issues
* Whitespace after ES7 async keyword for arrow functions
2017-11-07 08:06:21 +00:00
adam
a90355ac6e 1.6.14:
Closed issues / bugs fixed.
2017-06-21 10:02:18 +00:00
leot
b40c1a2448 Import py-jsbeautifier-1.6.12 as textproc/py-jsbeautifier
Beautify, unpack or deobfuscate JavaScript. Handles popular online
obfuscators.
2017-04-14 12:22:25 +00:00