Commit Graph

762 Commits

Author SHA1 Message Date
Liam Newman
4cc5e6ef5b
Merge branch 'main' into feature/space-after-named-function-classes 2022-04-21 17:30:35 -07:00
Liam Newman
4b6ba1be74
Merge branch 'main' into in-class-method 2022-04-21 10:01:39 -07:00
Liam Newman
11f2dae290
Merge branch 'main' into feature/space-after-named-function-classes 2022-04-20 21:12:20 -07:00
Hammad
0b35ee91b9 Instead of just relying on the text to confirm last token, also check for the type to be reserved token this way we will be sure that it is actually the special word class instead of a property called class 2022-04-13 03:24:20 -02:30
Liam Newman
73e57eef86
Merge pull request #2011 from bhaveshvasnani/remove_whitespace_number
[Issue 1950] Do not remove whitespace after number
2022-04-12 14:50:17 -07:00
Bhavesh Vasnani
073f66f29b modifying pyhton regex search function 2022-04-13 01:28:32 +05:30
Hammad
1f1f5db201 Accommodating for the fact that the last last token can be of type class but it doesn't necessarily have to be the keyword class 2022-04-12 03:33:09 -02:30
Hammad
9cceee0d74 Fix issue #1095 where special words like return without semicolon are followed by prefix operators on newlines 2022-04-11 18:48:10 -02:30
Hammad
027026093e #1622 - Adds space_after_named_function option for ES6 classes 2022-04-11 03:33:56 -02:30
Liam Newman
5ca6beed8a
Merge branch 'main' into remove_whitespace_number 2022-04-09 08:56:24 -07:00
GitHub Action
ecd5278e88 Bump version numbers for 1.14.3 2022-04-09 05:31:09 +00:00
Liam Newman
a5995d0b5d
Merge branch 'main' into in-class-method 2022-04-06 23:24:29 -07:00
Hammad
f0740309dd Identifying block statements from object literals for objects that have class/interface as key type. Also added some regression tests 2022-04-05 21:34:47 -02:30
Hammad
6ed8dc8bc4 Checking to make sure that the token with text 'class' or 'interface' has whitespace after it to be considered a block statement, otherwise treat as object literal 2022-04-02 22:42:35 -02:30
Liam Newman
4e56dca3e1
Merge branch 'main' into remove_whitespace_number 2022-03-31 08:59:46 -07:00
bhaveshvasnani
54e524cf39 latest version of black doesn't support py27 2022-03-31 15:07:03 +05:30
kcamsanc
9f644ab73e [ISSUE 1846] Remove unnecessary imports 2022-03-30 19:40:40 -04:00
Liam Newman
33df40fcdc
Merge pull request #1997 from mhnaeem/feature/support-import-meta-syntax
feature: support import.meta syntax
2022-03-29 11:59:19 -07:00
Liam Newman
43a9df83b9
Merge branch 'main' into feature/add-logical-assignments 2022-03-29 11:38:50 -07:00
Liam Newman
5f3cc9ad99
Merge branch 'main' into feature/support-import-meta-syntax 2022-03-29 11:38:40 -07:00
GitHub Action
a877e951fd Bump version numbers for 1.14.2 2022-03-29 08:30:49 +00:00
Liam Newman
b32d2af5c7
Merge branch 'main' into feature/add-logical-assignments 2022-03-29 00:48:56 -07:00
Liam Newman
ea23c2af0e
Merge branch 'main' into feature/support-import-meta-syntax 2022-03-29 00:48:41 -07:00
Liam Newman
a0f390f2f8 Update formatting 2022-03-29 00:40:37 -07:00
kcamsanc
47c63b65fb [ISSUE 1846] Resolve indent issue with class method named in 2022-03-28 21:57:31 -04:00
Liam Newman
427b8320b1
Merge branch 'main' into feature/support-import-meta-syntax 2022-03-28 10:39:41 -07:00
Liam Newman
124fbe0633
Merge branch 'main' into feature/add-logical-assignments 2022-03-28 10:38:47 -07:00
GitHub Action
49fa82c8ed Bump version numbers for 1.14.1 2022-03-28 17:20:38 +00:00
Hammad
9bcbe9ecb9 Fixing styling issues caught by CI 2022-03-13 01:36:55 -03:30
Muhammad Hammad
f270c194eb feature: support import.meta syntax and treat it different from an import statement 2022-03-05 17:58:43 -03:30
Muhammad Hammad
d9358dcc96 additions: Added support for logical NULL, AND, OR assignments for the beautifier. Related to ticket #1991 2022-03-05 14:44:28 -03:30
Kevin Backhouse
19c5862299
GHSL-2021-113: Fix ReDoS bug (second attempt). 2021-12-08 11:08:37 +00:00
Liam Newman
229b23732e
Revert "GHSL-2021-113: fix ReDoS bug" 2021-12-07 02:03:17 -08:00
Kevin Backhouse
034172dafe
GHSL-2021-113: fix ReDoS bug 2021-12-06 17:18:22 +00:00
Liam Newman
00f3847be5
Update python/jsbeautifier/javascript/beautifier.py 2021-06-28 11:55:43 -07:00
Ansh Saini
e77f74b140 handle bitwise ~ operator 2021-06-25 01:08:24 +05:30
Reshma R
6ca0918cf3 remove redundant condition 2021-06-23 21:53:00 +05:30
Reshma R
31a8c7c853 add python implementation 2021-06-20 22:53:15 +05:30
GitHub Action
811e9e6de2 Bump version numbers for 1.14.0 2021-06-14 07:57:31 +00:00
Rheidner
3e678a41ff Issue beautify-web#1934 modify number regex to allow bigint octals, binarys and hexadecimals. 2021-05-24 11:44:45 -03:00
Liam Newman
522c41ad8c
Update python/jsbeautifier/javascript/tokenizer.py 2021-05-17 14:04:44 -07:00
Liam Newman
a29365e2d0
Merge branch 'main' into issue/underscores_1836 2021-05-17 14:00:10 -07:00
Liam Newman
39a60fb165 Test for short cli option 2021-05-05 15:03:22 -07:00
Liam Newman
2347e57cc2
Merge branch 'main' into dev/python-fixes 2021-05-04 15:22:54 -07:00
Liam Newman
dc44ce76f7 Formatting fix 2021-05-03 11:23:51 -07:00
Daniel Chabrowski
c179a19b12 python: respect keep_quiet when beautified a file 2021-04-27 01:07:04 +02:00
Daniel Chabrowski
52c5d5e6a9 python: fix argument parsing 2021-04-27 00:21:42 +02:00
GitHub Action
f2f50ec4bb Bump version numbers for 1.13.13 2021-04-16 21:49:23 +00:00
GitHub Action
1863f1cc2b Bump version numbers for 1.13.12 2021-04-16 19:37:33 +00:00
Liam Newman
8769c05bf7 Merge remote-tracking branch 'upstream/main' into issue/underscores_1836 2021-04-15 10:09:03 -07:00