Commit Graph

2475 Commits

Author SHA1 Message Date
Liam Newman
9b4ba954d8 Update dependencies 2020-01-14 09:58:04 -08:00
Liam Newman
a21941e4bd
Merge pull request #1733 from simonw/patch-1
Note that Python version only works with JS files
2020-01-14 09:24:34 -08:00
Liam Newman
c618e25f73
Merge pull request #1735 from MikeDombo/fix-private-fields
Allow # to start identifier, such as private fields in classes
2019-12-04 09:38:22 +00:00
Michael Dombrowski
e28329c937 Add test for private field with changed output 2019-12-03 16:02:31 -08:00
Michael Dombrowski
e19cf93ae4 Fix private fields by adding new start token to identifiers 2019-12-03 08:02:39 -08:00
Michael Dombrowski
c26968ab88 Allow # to start identifier, such as private fields in classes
To resolve #1734 , this change adds # which is hex 23 to begin an identifier name.
2019-12-01 17:07:30 -08:00
Liam Newman
db4bc4d889
Merge pull request #1713 from Hirse/codemirror-search
Add codemirror search plugin
2019-11-30 13:56:18 -08:00
Liam Newman
f3c704ead1
Merge branch 'master' into codemirror-search 2019-11-30 13:34:01 -08:00
Simon Willison
25bd52fa99
Note that Python version only works with JS files
https://stackoverflow.com/questions/41060343/beautify-html-with-js-beautify-from-command-line#comment75350731_41060343
2019-11-30 13:26:56 -08:00
Liam Newman
a03e5c3576
Merge pull request #1731 from orgads/tests-typo
Tests: Fix typo
2019-11-27 00:09:59 -08:00
Orgad Shaneh
4473d62d46 Tests: Fix typo 2019-11-26 09:27:47 +02:00
Jan Pilzer
06ee58ffa8 Update CodeMirror 2019-10-16 13:26:15 -07:00
Liam Newman
81081a5fd4
Merge branch 'master' into codemirror-search 2019-10-15 19:36:51 -07:00
Liam Newman
45b073d918
Merge pull request #1712 from AlexanderMisel/fix-py-2.7
Fix for python 2.7 and cli parameters
2019-10-08 18:41:35 -07:00
Alexander Misel
16ea1404c2
The -b option should be followed by an argument 2019-10-08 14:09:25 +08:00
Jan Pilzer
7b6d373888
Add codemirror search plugin 2019-10-06 17:40:28 -07:00
Alexander Misel
a4acbc84a4
Fix for python 2.7 and cli parameters 2019-09-30 17:06:46 +08:00
Liam Newman
403de87b81 Bump version numbers for 1.10.2 2019-08-06 11:12:32 -07:00
Liam Newman
65402bc078 Update Changelog 2019-08-06 11:11:39 -07:00
Liam Newman
5f85e7e42f Update python dependencies 2019-08-06 11:00:20 -07:00
Liam Newman
bdb31ae1e3 Improved CodeMirror behavior
This just moves us to using codemirror from cdn instead of local version.
Fixed layout issue exposed by move.
Use latest version of CodeMirror
Switch modes depending on beautifier being used

Fixes #1695
2019-08-02 13:21:54 -07:00
Liam Newman
510cf7a9a8 Support handlebars unescaped triple curly-braces
Fixes #223
2019-07-18 14:21:40 -07:00
Liam Newman
b8ab8c9338 Bump version numbers for 1.10.1 2019-07-17 15:54:32 -07:00
Liam Newman
a1f4e05db6 Update Changelog 2019-07-17 15:53:20 -07:00
Liam Newman
e4ca4b7c6a Bump version numbers for 1.10.1-rc2 2019-07-17 15:44:35 -07:00
Liam Newman
2239431119 Check for npm and twine at start of release script 2019-07-17 15:43:49 -07:00
Liam Newman
c9ae2020af Bump version numbers for 1.10.1-rc1 2019-07-17 15:31:01 -07:00
Liam Newman
02b7e1a415
Merge pull request #1690 from bitwiseman/issue-1687
Only look for coment and cdata wrappers
2019-07-17 15:27:55 -07:00
Liam Newman
2b64a03745 Only look for coment and cdata wrappers
Style and script elements can have their contents wrapped in cdata or an html comment.
Do not treat other text, such as php tag as though it were one of the wrappers.
2019-07-17 14:59:31 -07:00
Liam Newman
03f528358f lodash security fix lodash-4.17.14 2019-07-17 14:09:48 -07:00
Liam Newman
1baec7c891
Merge pull request #1689 from beautify-web/greenkeeper/webpack-4.36.1
Greenkeeper/webpack 4.36.1
2019-07-17 14:06:55 -07:00
greenkeeper[bot]
cb989c495e chore(package): update lockfile package-lock.json 2019-07-17 14:25:13 +00:00
greenkeeper[bot]
425abf0303 chore(package): update webpack to version 4.36.1 2019-07-17 14:25:00 +00:00
Liam Newman
83cfc149bd
Merge pull request #1681 from bitwiseman/deps-06
Upgrade dependencies
2019-06-23 17:02:14 -07:00
Liam Newman
a774c9e096 Upgrade dependencies 2019-06-23 14:32:21 -07:00
Liam Newman
a3551e27b9
Merge pull request #1680 from beautify-web/greenkeeper/initial
Add Greenkeeper badge 🌴
2019-06-23 14:15:37 -07:00
greenkeeper[bot]
89b545d654 docs(readme): add Greenkeeper badge 2019-06-22 20:10:33 +00:00
Liam Newman
333710642f
Merge pull request #1675 from Jason-Cooke/patch-1
docs: fix typo
2019-05-23 07:38:04 -07:00
Jason Cooke
46c999b003
docs: fix typo 2019-05-23 22:18:55 +12:00
Liam Newman
3dec35577c Limit website sample size
Fixes #1640
2019-05-06 11:31:32 -07:00
Liam Newman
f4f406fec5 Bump version numbers for 1.10.0 2019-05-01 17:50:13 -07:00
Liam Newman
cd574fcb6f Update Changelog 2019-05-01 17:48:44 -07:00
Liam Newman
d6bb56cca5 Support for case with curly braces
Fixes #1357
2019-05-01 17:28:37 -07:00
Liam Newman
d299a74670 Add tests for #1233
Fixes #1233
2019-05-01 16:10:09 -07:00
Liam Newman
a4aa9bb079 Fix css escaping
Fixes #1667
2019-05-01 15:37:34 -07:00
Liam Newman
e60611044b Add templating language config option
1.9.x added better support for templating and turned it on for
Javascript by default. This caused formatting problems for code bases that
included template markers inside strings.

This change adds a templating option to control which languages are
recognized.  This setting defaults to "auto".  For JavaScript
"auto" means no templating languages, for HTML (and embedded script),
"auto" means all of them.  This basically preserves the existing
behavior before 1.9.x.

Fixes #1647
2019-04-30 10:11:52 -07:00
Liam Newman
caac81e7fb Do not repeat comments with indented empty line
Fixes #1663
2019-04-28 23:14:21 -07:00
Liam Newman
0cea554f21
Merge pull request #1664 from HanabishiRecca/master
LESS mixin fix
2019-04-27 19:51:10 -07:00
Liam Newman
880994c07c
Merge pull request #1662 from bitwiseman/comment-wrapping
Comment wrapping
2019-04-27 19:15:42 -07:00
Liam Newman
12c476d997 Fix paren indenting 2019-04-27 19:14:13 -07:00