@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 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>(v2025.12.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) |
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 | [![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) |
9
9
  | 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) |
@@ -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-p2025.12.14
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-v2025.12.28
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 = "v2025.12.28";
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
@@ -35,5 +35,5 @@
35
35
  "shCiArtifactUpload": 1,
36
36
  "shCiPublishNpm": 1,
37
37
  "type": "module",
38
- "version": "2025.12.28"
38
+ "version": "2026.2.28"
39
39
  }