@jslint-org/jslint 2025.12.28 → 2026.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +3 -3
- package/jslint.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
- jslint - add new warning requiring paren around plus-separated concatenations.
|
|
7
7
|
- jslint - try to improve parser to be able to parse jquery.js without stopping.
|
|
8
8
|
|
|
9
|
+
# v2026.2.28
|
|
10
|
+
- jslint - Update warning to suggest Boolean(...) instead of !! for ternary-expression.
|
|
11
|
+
- ci - Update shell-function shCiBase() to check npm-version-support, before running npm-pkg-fix.
|
|
12
|
+
|
|
9
13
|
# v2025.12.28
|
|
10
14
|
- ci - Update file publish.yml to use trusted-publishing for npm packages.
|
|
11
15
|
- jslint - regression-fix - Warn about variable usage before initialization.
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ Douglas Crockford <douglas@crockford.com>
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
# Status
|
|
6
|
-
| Branch | [master<br>(
|
|
6
|
+
| Branch | [master<br>(v2026.2.28)](https://github.com/jslint-org/jslint/tree/master) | [beta<br>(Web Demo)](https://github.com/jslint-org/jslint/tree/beta) | [alpha<br>(Development)](https://github.com/jslint-org/jslint/tree/alpha) |
|
|
7
7
|
|--:|:--:|:--:|:--:|
|
|
8
8
|
| CI | [](https://github.com/jslint-org/jslint/actions?query=branch%3Amaster) | [](https://github.com/jslint-org/jslint/actions?query=branch%3Abeta) | [](https://github.com/jslint-org/jslint/actions?query=branch%3Aalpha) |
|
|
9
9
|
| Coverage | [](https://jslint-org.github.io/jslint/branch-master/.artifact/coverage/index.html) | [](https://jslint-org.github.io/jslint/branch-beta/.artifact/coverage/index.html) | [](https://jslint-org.github.io/jslint/branch-alpha/.artifact/coverage/index.html) |
|
|
@@ -954,7 +954,7 @@ if (false) {
|
|
|
954
954
|
- `git push upstream alpha -f`
|
|
955
955
|
- verify ci-success for upstream-branch-alpha
|
|
956
956
|
- https://github.com/jslint-org/jslint/actions
|
|
957
|
-
- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:branch-
|
|
957
|
+
- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:branch-p2026.2.16
|
|
958
958
|
- click `Create pull request`
|
|
959
959
|
- input `Add your description here...` with:
|
|
960
960
|
```
|
|
@@ -996,7 +996,7 @@ This PR will additionally:
|
|
|
996
996
|
- `git push upstream alpha -f`
|
|
997
997
|
- verify ci-success for upstream-branch-alpha
|
|
998
998
|
- https://github.com/jslint-org/jslint/actions
|
|
999
|
-
- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:branch-
|
|
999
|
+
- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:branch-v2026.2.1-beta
|
|
1000
1000
|
- click `Create pull request`
|
|
1001
1001
|
- input `Add a title` with: `# v20yy.mm.dd`
|
|
1002
1002
|
- input `Add a description` with:
|
package/jslint.mjs
CHANGED
|
@@ -163,7 +163,7 @@ let jslint_charset_ascii = (
|
|
|
163
163
|
+ "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
|
|
164
164
|
+ "`abcdefghijklmnopqrstuvwxyz{|}~\u007f"
|
|
165
165
|
);
|
|
166
|
-
let jslint_edition = "
|
|
166
|
+
let jslint_edition = "v2026.2.28";
|
|
167
167
|
let jslint_export; // The jslint object to be exported.
|
|
168
168
|
let jslint_fudge = 1; // Fudge starting line and starting
|
|
169
169
|
// ... column to 1.
|
|
@@ -8195,7 +8195,7 @@ function jslint_phase4_walk(state) {
|
|
|
8195
8195
|
// test_cause:
|
|
8196
8196
|
// ["aa?true:false", "post_t", "expected_a_b", "?", 3]
|
|
8197
8197
|
|
|
8198
|
-
warn("expected_a_b", thing, "
|
|
8198
|
+
warn("expected_a_b", thing, "Boolean(...)", "?");
|
|
8199
8199
|
} else if (
|
|
8200
8200
|
thing.expression[1].id === "false"
|
|
8201
8201
|
&& thing.expression[2].id === "true"
|
package/package.json
CHANGED