Merge pull request #2065 from beautify-web/staging/main

Pulling staging/main into main
This commit is contained in:
Liam Newman 2022-06-20 16:52:10 -07:00 committed by GitHub
commit a5485f7c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 27 additions and 12 deletions

View File

@ -1,5 +1,20 @@
# Changelog
## v1.14.4
* Extra space before `!important` added ([#2056](https://github.com/beautify-web/js-beautify/issues/2056))
* css format removes space after quoted value ([#2051](https://github.com/beautify-web/js-beautify/issues/2051))
* Add grid-template-areas to NON\_SEMICOLON\_NEWLINE\_PROPERTY list ([#2035](https://github.com/beautify-web/js-beautify/pull/2035))
* CSS formatter removes useful space ([#2024](https://github.com/beautify-web/js-beautify/issues/2024))
* CHANGELOG.md file was wiped out in v1.14.2 ([#2022](https://github.com/beautify-web/js-beautify/issues/2022))
* Fails to recognize Handlebars block with whitespace control, e.g. {{~#if true ~}} ([#1988](https://github.com/beautify-web/js-beautify/issues/1988))
* Support new sass `@use` syntax ([#1976](https://github.com/beautify-web/js-beautify/issues/1976))
* Do not remove whitespace after number ([#1950](https://github.com/beautify-web/js-beautify/issues/1950))
* html formatter doesn't support handlebars partial blocks (`#>`) ([#1869](https://github.com/beautify-web/js-beautify/issues/1869))
* in keyword in class method causes indentation problem ([#1846](https://github.com/beautify-web/js-beautify/issues/1846))
* space\_after\_named\_function not working inside an ES6 class ([#1622](https://github.com/beautify-web/js-beautify/issues/1622))
* Restyle website ([#1444](https://github.com/beautify-web/js-beautify/issues/1444))
* improper line concatenation between 'return' and a prefix expression ([#1095](https://github.com/beautify-web/js-beautify/issues/1095))
## v1.14.3
* [LESS] Fixing issues with spacing when an object literal lives inside a mixin ([#2017](https://github.com/beautify-web/js-beautify/pull/2017))
* Overindentation when using "class" as a key in an object ([#1838](https://github.com/beautify-web/js-beautify/issues/1838))

View File

@ -58,13 +58,13 @@ JS Beautifier is hosted on two CDN services: [cdnjs](https://cdnjs.com/libraries
To pull the latest version from one of these services include one set of the script tags below in your document:
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.3/beautify.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.3/beautify-css.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.3/beautify-html.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-css.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.3/beautify.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.3/beautify-css.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.3/beautify-html.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-css.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"></script>
```
Older versions are available by changing the version number.
@ -397,4 +397,4 @@ Thanks also to Jason Diamond, Patrick Hof, Nochum Sossonko, Andreas Schneider, D
Vasilevsky, Vital Batmanov, Ron Baldwin, Gabriel Harrison, Chris J. Shull,
Mathias Bynens, Vittorio Gambaletta and others.
(README.md: js-beautify@1.14.3)
(README.md: js-beautify@1.14.4)

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "js-beautify",
"version": "1.14.3",
"version": "1.14.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "js-beautify",
"version": "1.14.3",
"version": "1.14.4",
"license": "MIT",
"dependencies": {
"config-chain": "^1.1.13",

View File

@ -1,6 +1,6 @@
{
"name": "js-beautify",
"version": "1.14.3",
"version": "1.14.4",
"description": "beautifier.io for node",
"main": "js/index.js",
"bin": {

View File

@ -1 +1 @@
__version__ = "1.14.3"
__version__ = "1.14.4"

View File

@ -1 +1 @@
__version__ = "1.14.3"
__version__ = "1.14.4"