From edc8425aaa2a11faccde9a57857da56e9ffac770 Mon Sep 17 00:00:00 2001 From: kai zhu Date: Thu, 28 Mar 2024 01:54:57 -0500 Subject: [PATCH] # v2024.3.26 - ci - Add shell-functions shGitPullrequestCleanup(), shGitPullrequest() to automatically cleanup or create-and-push github-pull-commit to origin/alpha. - jslint - Allow destructuring-assignment after function-definition. - ci - Replace npm-package used to auto-build vscode-plugin, vsce to @vscode/vsce. - test - Update test-function jstestDescribe() to wait awhile for imports to initialize before running tests. - ci - Fix tmpdir in shell-function shBrowserScreenshot(). - vim - Allow installing vim-plugin to any directory, instead of hardcoded to ~/.vim/. - ci - Update github-ci for actions/cache, actions/setup-python from nodejs v16 to nodejs v20. - ci - Update shell-function shRollupFetch() to fix blank date-committed. - ci - bugfix - Fix google-chrome unable to create screenshot because user-data-dir is /dev/null. --- .ci.sh | 2 +- CHANGELOG.md | 2 +- README.md | 4 ++-- jslint.mjs | 2 +- jslint_ci.sh | 2 ++ package.json | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.ci.sh b/.ci.sh index 1909191bf..366939825 100644 --- a/.ci.sh +++ b/.ci.sh @@ -441,7 +441,7 @@ import moduleFs from "fs"; "type": "git", "url": "https://github.com/jslint-org/jslint.git" }, - "version": "2024.3.1" + "version": "2024.3.26" }, undefined, 4) } ].map(async function ({ diff --git a/CHANGELOG.md b/CHANGELOG.md index 150fc6434..6e2e77e70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ - jslint - add new warning requiring paren around plus-separated concatenations. - jslint - try to improve parser to be able to parse jquery.js without stopping. -# v2024.3.1-beta +# v2024.3.26 - ci - Add shell-functions shGitPullrequestCleanup(), shGitPullrequest() to automatically cleanup or create-and-push github-pull-commit to origin/alpha. - jslint - Allow destructuring-assignment after function-definition. - ci - Replace npm-package used to auto-build vscode-plugin, vsce to @vscode/vsce. diff --git a/README.md b/README.md index 8cc6d4c18..7125ffe5d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Douglas Crockford # Status -| Branch | [master
(v2023.10.24)](https://github.com/jslint-org/jslint/tree/master) | [beta
(Web Demo)](https://github.com/jslint-org/jslint/tree/beta) | [alpha
(Development)](https://github.com/jslint-org/jslint/tree/alpha) | +| Branch | [master
(v2024.3.26)](https://github.com/jslint-org/jslint/tree/master) | [beta
(Web Demo)](https://github.com/jslint-org/jslint/tree/beta) | [alpha
(Development)](https://github.com/jslint-org/jslint/tree/alpha) | |--:|:--:|:--:|:--:| | CI | [![ci](https://github.com/jslint-org/jslint/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jslint-org/jslint/actions?query=branch%3Amaster) | [![ci](https://github.com/jslint-org/jslint/actions/workflows/ci.yml/badge.svg?branch=beta)](https://github.com/jslint-org/jslint/actions?query=branch%3Abeta) | [![ci](https://github.com/jslint-org/jslint/actions/workflows/ci.yml/badge.svg?branch=alpha)](https://github.com/jslint-org/jslint/actions?query=branch%3Aalpha) | | Coverage | [![coverage](https://jslint-org.github.io/jslint/branch-master/.artifact/coverage/coverage_badge.svg)](https://jslint-org.github.io/jslint/branch-master/.artifact/coverage/index.html) | [![coverage](https://jslint-org.github.io/jslint/branch-beta/.artifact/coverage/coverage_badge.svg)](https://jslint-org.github.io/jslint/branch-beta/.artifact/coverage/index.html) | [![coverage](https://jslint-org.github.io/jslint/branch-alpha/.artifact/coverage/coverage_badge.svg)](https://jslint-org.github.io/jslint/branch-alpha/.artifact/coverage/index.html) | @@ -963,7 +963,7 @@ this PR will additionally: - $ `git push upstream alpha -f` - verify ci-success for upstream-branch-alpha - https://github.com/jslint-org/jslint/actions/workflows/ci.yml -- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:branch-v2023.10.24 +- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:branch-v2024.3.26 - click `Create pull request` - input `Add a title` with: `# v20yy.mm.dd` - input `Add a description` with: diff --git a/jslint.mjs b/jslint.mjs index 5014f6788..b8dd1d950 100644 --- a/jslint.mjs +++ b/jslint.mjs @@ -163,7 +163,7 @@ let jslint_charset_ascii = ( + "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" + "`abcdefghijklmnopqrstuvwxyz{|}~\u007f" ); -let jslint_edition = "v2024.3.1-beta"; +let jslint_edition = "v2024.3.26"; let jslint_export; // The jslint object to be exported. let jslint_fudge = 1; // Fudge starting line and starting // ... column to 1. diff --git a/jslint_ci.sh b/jslint_ci.sh index 8a7d619ed..6bef270fb 100644 --- a/jslint_ci.sh +++ b/jslint_ci.sh @@ -421,6 +421,8 @@ shCiBase() {(set -e # # this function will run custom-code to lint files # )} export GITHUB_BRANCH0="$(git rev-parse --abbrev-ref HEAD)" + # Auto-correct common errors in package.json. + npm pkg fix # validate package.json.fileCount node --input-type=module --eval ' import moduleFs from "fs"; diff --git a/package.json b/package.json index 5ed0e3766..27dc431ea 100644 --- a/package.json +++ b/package.json @@ -35,5 +35,5 @@ "shCiArtifactUpload": 1, "shCiPublishNpm": 1, "type": "module", - "version": "2024.3.1-beta" + "version": "2024.3.26" }