diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..d3d425ff
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,23 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are located.
+# Please see the documentation for all configuration options:
+# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+ - package-ecosystem: "npm" # See documentation for possible values
+ directory: "/" # Location of package manifests
+ schedule:
+ interval: "weekly"
+ open-pull-requests-limit: 15
+ - package-ecosystem: "pip" # See documentation for possible values
+ directory: "/python" # Location of package manifests
+ schedule:
+ interval: "weekly"
+ open-pull-requests-limit: 15
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ # Check for updates to GitHub Actions every week
+ interval: "weekly"
+ open-pull-requests-limit: 15
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 26b5ec55..d06cc572 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -35,11 +35,11 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v1
+ uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
- uses: github/codeql-action/autobuild@v1
+ uses: github/codeql-action/autobuild@v2
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c0c4431d..4c65be9c 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -26,17 +26,17 @@ jobs:
- python-version: 3.11
node-version: 20
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: Set up Node ${{ matrix.node-version }}
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cached node_modules
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package*.json') }}
diff --git a/.github/workflows/milestone-publish.yml b/.github/workflows/milestone-publish.yml
index 31051eda..5fa2256e 100644
--- a/.github/workflows/milestone-publish.yml
+++ b/.github/workflows/milestone-publish.yml
@@ -12,18 +12,18 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v4
with:
- node-version: 14
+ node-version: 18
registry-url: https://registry.npmjs.org/
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
- python-version: 3.8
+ python-version: 3.11
- name: Set git user
run: |
git config --global user.email "github-action@users.noreply.github.com"
diff --git a/.github/workflows/pr-staging.yml b/.github/workflows/pr-staging.yml
index 8bdbd298..8a9c7da1 100644
--- a/.github/workflows/pr-staging.yml
+++ b/.github/workflows/pr-staging.yml
@@ -15,7 +15,7 @@ jobs:
PR-from-staging:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
with:
fetch-depth: 0
- name: pull-request gh-pages
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 46a362ec..591fb5cc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## v1.14.10
+* Editor not working https://beautifier.io/ ([#2201](https://github.com/beautify-web/js-beautify/issues/2201))
+* Set nodejs minimum to v14 ([#2169](https://github.com/beautify-web/js-beautify/pull/2169))
+* Invalid prettification of object with unicode escape character as object key ([#2159](https://github.com/beautify-web/js-beautify/issues/2159))
+* invalid json being generated with wrap\_line\_length ([#1932](https://github.com/beautify-web/js-beautify/issues/1932))
+
## v1.14.9
* Bump semver and editorconfig ([#2161](https://github.com/beautify-web/js-beautify/pull/2161))
* Update editorconfig package ([#2160](https://github.com/beautify-web/js-beautify/issues/2160))
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d7e2ebe3..4347e5e5 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -11,8 +11,8 @@ Fixes and enhancements are totally welcome. We prefer you to file an issue befo
* bash
* make
-* nodejs - v10.x (with npm)
-* python - v2.7.x or v3.x (with pip)
+* nodejs - v16.x or greater (with npm)
+* python - v3.7 or greater (with pip)
If you encounter issues and cannot build, come chat on gitter.im. We're happy to help.
diff --git a/README.md b/README.md
index 52891124..bcc69f70 100644
--- a/README.md
+++ b/README.md
@@ -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
-
-
-
+
+
+
-
-
-
+
+
+
```
Example usage of a JS tag in html:
@@ -76,7 +76,7 @@ Example usage of a JS tag in html:
. . .
-
+