Commit Graph

3249 Commits

Author SHA1 Message Date
Trim21
b91d6b804e
build wheel for pypi package (#2314)
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (16, macos, 3.8) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (16, ubuntu, 3.8) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (16, windows, 3.8) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (18, macos, 3.10) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (18, ubuntu, 3.10) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (18, windows, 3.10) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (20, macos, 3.11) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (20, ubuntu, 3.11) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (20, windows, 3.11) (push) Has been cancelled
2024-09-24 02:48:13 -07:00
ozearkhan
1ff8cce65c
Added a download button (#2312)
Some checks failed
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (16, ubuntu, 3.8) (push) Failing after 0s
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (18, ubuntu, 3.10) (push) Failing after 0s
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (20, ubuntu, 3.11) (push) Failing after 0s
CodeQL / Analyze (javascript) (push) Failing after 0s
CodeQL / Analyze (python) (push) Failing after 0s
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (16, macos, 3.8) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (16, windows, 3.8) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (18, macos, 3.10) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (18, windows, 3.10) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (20, macos, 3.11) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (20, windows, 3.11) (push) Has been cancelled
* Added a Download button next to the Copy to Clipboard button in the UI

* fixed download button and passed all test cases

* Update js/bin/js-beautify.js

* Update index.html

* Update index.html

* Update web/common-function.js

Co-authored-by: Liam Newman <bitwiseman@gmail.com>

* Update web/common-function.js

---------

Co-authored-by: Liam Newman <bitwiseman@gmail.com>
2024-09-15 01:18:32 -07:00
dependabot[bot]
eddf69db58
Bump ansi-regex from 6.0.1 to 6.1.0 (#2311)
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 0s
CodeQL / Analyze (python) (push) Failing after 0s
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (16, ubuntu, 3.8) (push) Failing after 0s
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (18, ubuntu, 3.10) (push) Failing after 0s
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (20, ubuntu, 3.11) (push) Failing after 0s
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (16, macos, 3.8) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (16, windows, 3.8) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (18, macos, 3.10) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (18, windows, 3.10) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (20, macos, 3.11) (push) Has been cancelled
CI / Build ${{ matrix.os }} (Node ${{ matrix.node-version }}, Python ${{ matrix.python-version }} ) (20, windows, 3.11) (push) Has been cancelled
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v6.0.1...v6.1.0)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-10 09:02:58 -07:00
jkmnt
23126f937c
fixed (#2291) 2024-09-09 09:43:33 -07:00
dependabot[bot]
2c80a63146
Bump webpack from 5.92.1 to 5.94.0 (#2308)
Bumps [webpack](https://github.com/webpack/webpack) from 5.92.1 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.92.1...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 09:43:04 -07:00
Colin Watson
4cf477248d
Remove obsolete setuptools test integration (#2304)
`make pytest` already runs a superset of all the tests run by `python3
setup-css.py test` and `python3 setup-js.py test`.  (The former didn't
work anyway due to a typo.)

Fixes: #2300, #2301
2024-07-31 09:29:39 -07:00
Liam Newman
0863e19a3c
Merge pull request #2290 from beautifier/dependabot/npm_and_yarn/mocha-10.5.2
Bump mocha from 10.4.0 to 10.5.2
2024-06-30 17:19:00 -07:00
Liam Newman
5cfd99bf54
Merge pull request #2285 from beautifier/dependabot/npm_and_yarn/webpack-5.92.1
Bump webpack from 5.91.0 to 5.92.1
2024-06-29 16:11:30 -07:00
Liam Newman
6c9df59787
Merge pull request #2279 from beautifier/dependabot/npm_and_yarn/braces-3.0.3
Bump braces from 3.0.2 to 3.0.3
2024-06-29 16:10:05 -07:00
Liam Newman
49df420f65
Merge pull request #2263 from gergely-gyorgy-both/fix-angular-control-flow-and-script-style-tags-indentation
Fixed #2260 - <style> and <script> tags indentation if also indenting angular control flows
2024-06-29 16:07:48 -07:00
Liam Newman
d67ceb1217
Merge branch 'main' into fix-angular-control-flow-and-script-style-tags-indentation 2024-06-29 16:06:31 -07:00
Liam Newman
730ced41fc
Update dependabot.yml 2024-06-29 16:05:29 -07:00
dependabot[bot]
90cb6440ac
Bump mocha from 10.4.0 to 10.5.2
Bumps [mocha](https://github.com/mochajs/mocha) from 10.4.0 to 10.5.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.4.0...v10.5.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-29 23:03:08 +00:00
dependabot[bot]
e00991e8d1
Bump webpack from 5.91.0 to 5.92.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.91.0 to 5.92.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.91.0...v5.92.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-29 23:03:02 +00:00
dependabot[bot]
90f1882892
Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-29 23:03:00 +00:00
Liam Newman
538a59f970
Merge pull request #2287 from beautifier/dependabot/npm_and_yarn/glob-10.4.2
Bump glob from 10.3.15 to 10.4.2
2024-06-29 16:02:21 -07:00
Liam Newman
159b226df9
Merge pull request #2288 from kapytein/patch-1
Use Cloudflare Polyfill CDN instead of polyfill[.]io
2024-06-29 12:42:03 -07:00
Nadir
58b5385ac8
Use Cloudflare Polyfill CDN instead of polyfill[.]io 2024-06-27 14:21:12 +02:00
dependabot[bot]
3e3d2127fc
Bump glob from 10.3.15 to 10.4.2
Bumps [glob](https://github.com/isaacs/node-glob) from 10.3.15 to 10.4.2.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.3.15...v10.4.2)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 23:47:38 +00:00
Liam Newman
6de926850b
Merge pull request #2277 from beep-beep-beep-boop/document-esm-import
Document importing js-beautify through ESM imports
2024-06-04 01:12:18 -07:00
hello
a7dbcb3f00
Document importing js-beautify through ESM imports 2024-06-03 11:46:38 -06:00
Liam Newman
84bf9db10d
Merge pull request #2269 from beautifier/dependabot/npm_and_yarn/serve-14.2.3
Bump serve from 14.2.2 to 14.2.3
2024-05-18 12:08:41 -07:00
Liam Newman
99bae32092
Merge pull request #2271 from beautifier/dependabot/npm_and_yarn/nopt-7.2.1
Bump nopt from 7.2.0 to 7.2.1
2024-05-18 12:08:22 -07:00
Liam Newman
bf22eecd52
Merge pull request #2272 from beautifier/dependabot/npm_and_yarn/glob-10.3.15
Bump glob from 10.3.12 to 10.3.15
2024-05-18 12:08:08 -07:00
dependabot[bot]
98a54cc066
Bump glob from 10.3.12 to 10.3.15
Bumps [glob](https://github.com/isaacs/node-glob) from 10.3.12 to 10.3.15.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.3.12...v10.3.15)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 23:29:44 +00:00
dependabot[bot]
c03f19d5e5
Bump nopt from 7.2.0 to 7.2.1
Bumps [nopt](https://github.com/npm/nopt) from 7.2.0 to 7.2.1.
- [Release notes](https://github.com/npm/nopt/releases)
- [Changelog](https://github.com/npm/nopt/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/nopt/compare/v7.2.0...v7.2.1)

---
updated-dependencies:
- dependency-name: nopt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 23:03:57 +00:00
dependabot[bot]
71bd927701
Bump serve from 14.2.2 to 14.2.3
Bumps [serve](https://github.com/vercel/serve) from 14.2.2 to 14.2.3.
- [Release notes](https://github.com/vercel/serve/releases)
- [Commits](https://github.com/vercel/serve/compare/14.2.2...14.2.3)

---
updated-dependencies:
- dependency-name: serve
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 23:01:54 +00:00
Liam Newman
7d8f600a84
Update tokenizer.js 2024-04-27 12:06:51 -07:00
Liam Newman
18a518a89a
Update templatablepattern.js 2024-04-27 12:01:55 -07:00
Liam Newman
7f7484d4a9
Merge branch 'main' into fix-angular-control-flow-and-script-style-tags-indentation 2024-04-27 11:49:24 -07:00
Liam Newman
fee011ef52
Merge pull request #2266 from beautifier/dependabot/npm_and_yarn/serve-14.2.2
Bump serve from 14.2.1 to 14.2.2
2024-04-27 11:44:25 -07:00
dependabot[bot]
dc47437ef6
Bump serve from 14.2.1 to 14.2.2
Bumps [serve](https://github.com/vercel/serve) from 14.2.1 to 14.2.2.
- [Release notes](https://github.com/vercel/serve/releases)
- [Commits](https://github.com/vercel/serve/compare/14.2.1...14.2.2)

---
updated-dependencies:
- dependency-name: serve
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 23:42:36 +00:00
Liam Newman
097e37808b
Merge pull request #2261 from beautifier/dependabot/npm_and_yarn/webpack-5.91.0
Bump webpack from 5.90.2 to 5.91.0
2024-04-03 16:37:15 -07:00
dependabot[bot]
d8a51fbe80
Bump webpack from 5.90.2 to 5.91.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.2 to 5.91.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.90.2...v5.91.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 21:06:16 +00:00
Liam Newman
7a570c02de
Merge pull request #2265 from beautifier/dependabot/npm_and_yarn/glob-10.3.12
Bump glob from 10.3.10 to 10.3.12
2024-04-02 13:55:31 -07:00
dependabot[bot]
af2065ccae
Bump glob from 10.3.10 to 10.3.12
Bumps [glob](https://github.com/isaacs/node-glob) from 10.3.10 to 10.3.12.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.3.10...v10.3.12)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 20:53:05 +00:00
Liam Newman
df0085c2c4
Merge pull request #2264 from beautifier/dependabot/npm_and_yarn/mocha-10.4.0
Bump mocha from 10.3.0 to 10.4.0
2024-04-02 13:52:26 -07:00
dependabot[bot]
1de3d3b713
Bump mocha from 10.3.0 to 10.4.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.3.0...v10.4.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 23:25:31 +00:00
Liam Newman
d812eec816
Merge branch 'main' into fix-angular-control-flow-and-script-style-tags-indentation 2024-04-01 14:30:05 -07:00
Gergely Gyorgy Both
d5176ef294 Fixed #2260 - <style> and <script> tags indentation if also indenting angular control flows 2024-03-29 22:08:35 +01:00
Liam Newman
e53d5498e4
Merge pull request #2259 from havardAasen/regex-in-python3.12
Properly escape '\s' in test file
2024-03-23 17:26:56 -07:00
Håvard F. Aasen
bb335b4fa1 Properly escape '\s' in test file
In Python 3.12 a SyntaxWarning is generated if there is any invalid
escape sequences.
2024-03-22 11:07:44 +01:00
Liam Newman
40c535662b
Merge pull request #2248 from beautifier/staging/main
Pulling staging/main into main
2024-02-16 08:16:08 -08:00
GitHub Action
f53ce3a5ff Bump version numbers for 1.15.1 2024-02-16 16:14:54 +00:00
GitHub Action
5b41158f2e Update Changelog 2024-02-16 16:14:46 +00:00
Liam Newman
5150015660
Merge pull request #2247 from bitwiseman/feat/angular-off-default
Turn off new angular templating by default in html
2024-02-16 08:11:28 -08:00
Liam Newman
5233c8f5f4 Add test for angular css conflict 2024-02-16 08:02:41 -08:00
Liam Newman
96340d5d43 Turn off new angular templating by default in html 2024-02-16 07:29:04 -08:00
Liam Newman
b4775c33a1
Merge pull request #2235 from beautifier/dependabot/github_actions/actions/cache-4
Bump actions/cache from 3 to 4
2024-02-15 16:50:51 -08:00
Liam Newman
87d3796bbc
Merge pull request #2245 from beautifier/dependabot/npm_and_yarn/webpack-5.90.2
Bump webpack from 5.89.0 to 5.90.2
2024-02-15 16:50:20 -08:00