diff --git a/branch-alpha/.artifact/asset_image_logo_128.png b/branch-alpha/.artifact/asset_image_logo_128.png index 23468cd4e..59b9625d1 100644 Binary files a/branch-alpha/.artifact/asset_image_logo_128.png and b/branch-alpha/.artifact/asset_image_logo_128.png differ diff --git a/branch-alpha/.artifact/asset_image_logo_256.png b/branch-alpha/.artifact/asset_image_logo_256.png index 1e6af446e..57e948c15 100644 Binary files a/branch-alpha/.artifact/asset_image_logo_256.png and b/branch-alpha/.artifact/asset_image_logo_256.png differ diff --git a/branch-alpha/.artifact/asset_image_logo_32.png b/branch-alpha/.artifact/asset_image_logo_32.png index 2019b896c..9be8aad29 100644 Binary files a/branch-alpha/.artifact/asset_image_logo_32.png and b/branch-alpha/.artifact/asset_image_logo_32.png differ diff --git a/branch-alpha/.artifact/asset_image_logo_64.png b/branch-alpha/.artifact/asset_image_logo_64.png index baf8d8e5e..7e01f94de 100644 Binary files a/branch-alpha/.artifact/asset_image_logo_64.png and b/branch-alpha/.artifact/asset_image_logo_64.png differ diff --git a/branch-alpha/.artifact/coverage/jslint.mjs.html b/branch-alpha/.artifact/coverage/jslint.mjs.html index 860db94d3..3a1b130a2 100644 --- a/branch-alpha/.artifact/coverage/jslint.mjs.html +++ b/branch-alpha/.artifact/coverage/jslint.mjs.html @@ -2093,13 +2093,13 @@
 1935.     27
 1936.     27        count = 0;
 1937.     27        ii = 0;
-
 1938.  21469        while (true) {
-
 1939.  21469            ii = code.indexOf("\n", ii) + 1;
-
 1940.  21469            if (ii === 0) {
-
 1941.  21469                break;
-
 1942.  21469            }
-
 1943.  21469            count += 1;
-
 1944.  21469        }
+
 1938.  21467        while (true) {
+
 1939.  21467            ii = code.indexOf("\n", ii) + 1;
+
 1940.  21467            if (ii === 0) {
+
 1941.  21467                break;
+
 1942.  21467            }
+
 1943.  21467            count += 1;
+
 1944.  21467        }
 1945.     27        return count;
 1946.     27    }
 1947.     38
diff --git a/branch-alpha/.artifact/coverage_sqlite3_js/lib/sqlite3.js.html b/branch-alpha/.artifact/coverage_sqlite3_js/lib/sqlite3.js.html index f5eed1eec..1ee41a9e4 100644 --- a/branch-alpha/.artifact/coverage_sqlite3_js/lib/sqlite3.js.html +++ b/branch-alpha/.artifact/coverage_sqlite3_js/lib/sqlite3.js.html @@ -162,10 +162,10 @@
    4.      2module.exports = exports = sqlite3;
    5.      2
    6.     12function normalizeMethod (fn) {
-
    7.   3836    return function (sql) {
-
    8.   3836        let errBack;
-
    9.   3836        const args = Array.prototype.slice.call(arguments, 1);
-
   10.   3836
+
    7.   3431    return function (sql) {
+
    8.   3431        let errBack;
+
    9.   3431        const args = Array.prototype.slice.call(arguments, 1);
+
   10.   3431
   11.   1119        if (typeof args[args.length - 1] === 'function') {
   12.   1119            const callback = args[args.length - 1];
   13.   1119            errBack = function(err) {
@@ -174,9 +174,9 @@
   16.   1119                }
   17.   1119            };
   18.   1119        }
-
   19.   3836        const statement = new Statement(this, sql, errBack);
-
   20.   3836        return fn.call(this, statement, args);
-
   21.   3836    };
+
   19.   3431        const statement = new Statement(this, sql, errBack);
+
   20.   3431        return fn.call(this, statement, args);
+
   21.   3431    };
   22.     12}
   23.      2
   24.      6function inherits(target, source) {
@@ -223,11 +223,11 @@
   65.      2inherits(Backup, EventEmitter);
   66.      2
   67.      2// Database#prepare(sql, [bind1, bind2, ...], [callback])
-
   68.   1709Database.prototype.prepare = normalizeMethod(function(statement, params) {
-
   69.   1709    return params.length
+
   68.   1304Database.prototype.prepare = normalizeMethod(function(statement, params) {
+
   69.   1304    return params.length
   70.      7        ? statement.bind.apply(statement, params)
-
   71.   1702        : statement;
-
   72.   1709});
+
   71.   1297        : statement;
+
   72.   1304});
   73.      2
   74.      2// Database#run(sql, [bind1, bind2, ...], [callback])
   75.   2074Database.prototype.run = normalizeMethod(function(statement, params) {
diff --git a/branch-alpha/.artifact/coverage_sqlite3_sh/lib/sqlite3.js.html b/branch-alpha/.artifact/coverage_sqlite3_sh/lib/sqlite3.js.html index f4ecb9c86..7f6594437 100644 --- a/branch-alpha/.artifact/coverage_sqlite3_sh/lib/sqlite3.js.html +++ b/branch-alpha/.artifact/coverage_sqlite3_sh/lib/sqlite3.js.html @@ -162,10 +162,10 @@
    4.      2module.exports = exports = sqlite3;
    5.      2
    6.     12function normalizeMethod (fn) {
-
    7.   3782    return function (sql) {
-
    8.   3782        let errBack;
-
    9.   3782        const args = Array.prototype.slice.call(arguments, 1);
-
   10.   3782
+
    7.   3696    return function (sql) {
+
    8.   3696        let errBack;
+
    9.   3696        const args = Array.prototype.slice.call(arguments, 1);
+
   10.   3696
   11.   1119        if (typeof args[args.length - 1] === 'function') {
   12.   1119            const callback = args[args.length - 1];
   13.   1119            errBack = function(err) {
@@ -174,9 +174,9 @@
   16.   1119                }
   17.   1119            };
   18.   1119        }
-
   19.   3782        const statement = new Statement(this, sql, errBack);
-
   20.   3782        return fn.call(this, statement, args);
-
   21.   3782    };
+
   19.   3696        const statement = new Statement(this, sql, errBack);
+
   20.   3696        return fn.call(this, statement, args);
+
   21.   3696    };
   22.     12}
   23.      2
   24.      6function inherits(target, source) {
@@ -223,11 +223,11 @@
   65.      2inherits(Backup, EventEmitter);
   66.      2
   67.      2// Database#prepare(sql, [bind1, bind2, ...], [callback])
-
   68.   1655Database.prototype.prepare = normalizeMethod(function(statement, params) {
-
   69.   1655    return params.length
+
   68.   1569Database.prototype.prepare = normalizeMethod(function(statement, params) {
+
   69.   1569    return params.length
   70.      7        ? statement.bind.apply(statement, params)
-
   71.   1648        : statement;
-
   72.   1655});
+
   71.   1562        : statement;
+
   72.   1569});
   73.      2
   74.      2// Database#run(sql, [bind1, bind2, ...], [callback])
   75.   2074Database.prototype.run = normalizeMethod(function(statement, params) {
diff --git a/branch-alpha/.artifact/jslint_wrapper_vscode/vscode-jslint-2024.3.21.vsix b/branch-alpha/.artifact/jslint_wrapper_vscode/vscode-jslint-2024.3.21.vsix index 1cb13e24b..38be0e380 100644 Binary files a/branch-alpha/.artifact/jslint_wrapper_vscode/vscode-jslint-2024.3.21.vsix and b/branch-alpha/.artifact/jslint_wrapper_vscode/vscode-jslint-2024.3.21.vsix differ diff --git a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fapidoc.html.png b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fapidoc.html.png index 803255281..0ad951c67 100644 Binary files a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fapidoc.html.png and b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fapidoc.html.png differ diff --git a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_js_2findex.html.png b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_js_2findex.html.png index 2da676247..91d46f676 100644 Binary files a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_js_2findex.html.png and b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_js_2findex.html.png differ diff --git a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_js_2flib_2fsqlite3.js.html.png b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_js_2flib_2fsqlite3.js.html.png index 565c1ec7f..701766599 100644 Binary files a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_js_2flib_2fsqlite3.js.html.png and b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_js_2flib_2fsqlite3.js.html.png differ diff --git a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_sh_2findex.html.png b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_sh_2findex.html.png index 2da676247..91d46f676 100644 Binary files a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_sh_2findex.html.png and b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_sh_2findex.html.png differ diff --git a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_sh_2flib_2fsqlite3.js.html.png b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_sh_2flib_2fsqlite3.js.html.png index 07f656f56..db4c3f9c9 100644 Binary files a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_sh_2flib_2fsqlite3.js.html.png and b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fcoverage_sqlite3_sh_2flib_2fsqlite3.js.html.png differ diff --git a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fjslint_report_hello.html.png b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fjslint_report_hello.html.png index b20a26ca5..487ee25ac 100644 Binary files a/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fjslint_report_hello.html.png and b/branch-alpha/.artifact/screenshot_browser__2f.artifact_2fjslint_report_hello.html.png differ diff --git a/branch-alpha/.artifact/screenshot_browser__2fjslint_2fbranch-alpha_2findex.html.png b/branch-alpha/.artifact/screenshot_browser__2fjslint_2fbranch-alpha_2findex.html.png index 48906df89..a171b0508 100644 Binary files a/branch-alpha/.artifact/screenshot_browser__2fjslint_2fbranch-alpha_2findex.html.png and b/branch-alpha/.artifact/screenshot_browser__2fjslint_2fbranch-alpha_2findex.html.png differ diff --git a/branch-alpha/.artifact/screenshot_browser__2fjslint_2fbranch-alpha_2fjslint_wrapper_codemirror.html.png b/branch-alpha/.artifact/screenshot_browser__2fjslint_2fbranch-alpha_2fjslint_wrapper_codemirror.html.png index 398bcba05..5949a9ffb 100644 Binary files a/branch-alpha/.artifact/screenshot_browser__2fjslint_2fbranch-alpha_2fjslint_wrapper_codemirror.html.png and b/branch-alpha/.artifact/screenshot_browser__2fjslint_2fbranch-alpha_2fjslint_wrapper_codemirror.html.png differ diff --git a/branch-alpha/.artifact/screenshot_js_coverage_report_spawn.svg b/branch-alpha/.artifact/screenshot_js_coverage_report_spawn.svg index 4f36ddcaf..81882a899 100644 --- a/branch-alpha/.artifact/screenshot_js_coverage_report_spawn.svg +++ b/branch-alpha/.artifact/screenshot_js_coverage_report_spawn.svg @@ -365,7 +365,7 @@ textLength="768" x="10" y="1330" ->up to date, audited 375 packages in 2s +>up to date, audited 375 packages in 1s 0. 755 2024-03-21T07:18:53Z 1478 KB . +> 0. 755 2024-03-21T07:25:47Z 1478 KB . 13. 644 2024-03-21T07:18:53Z 31 KB README.md +>13. 644 2024-03-21T07:25:47Z 31 KB README.md up to date, audited 375 packages in 2s +>up to date, audited 375 packages in 1s jslint - 55ms - ./.ci.sh +>jslint - 38ms - ./.ci.sh jslint - 60ms - ./CHANGELOG.md +>jslint - 42ms - ./CHANGELOG.md jslint - 83ms - ./README.md +>jslint - 66ms - ./README.md jslint - 81ms - ./asset_image_logo_512.html +>jslint - 66ms - ./asset_image_logo_512.html jslint - 84ms - ./hello.js +>jslint - 72ms - ./hello.js jslint - 98ms - ./index.html +>jslint - 94ms - ./index.html jslint - 299ms - ./jslint.js +>jslint - 331ms - ./jslint.js jslint - 417ms - ./jslint.mjs +>jslint - 471ms - ./jslint.mjs jslint - 471ms - ./jslint_ci.sh +>jslint - 542ms - ./jslint_ci.sh jslint - 473ms - ./jslint_wrapper_cjs.cjs +>jslint - 543ms - ./jslint_wrapper_cjs.cjs jslint - 474ms - ./jslint_wrapper_codemirror.html +>jslint - 544ms - ./jslint_wrapper_codemirror.html jslint - 474ms - ./jslint_wrapper_codemirror.js +>jslint - 545ms - ./jslint_wrapper_codemirror.js jslint - 477ms - ./jslint_wrapper_vscode.js +>jslint - 548ms - ./jslint_wrapper_vscode.js jslint - 478ms - ./package.json +>jslint - 549ms - ./package.json jslint - 496ms - ./test.mjs +>jslint - 567ms - ./test.mjs jslint - 555ms - ./test_coverage_merge_data.json +>jslint - 652ms - ./test_coverage_merge_data.json diff --git a/branch-alpha/.artifact/screenshot_sh_jslint_file.svg b/branch-alpha/.artifact/screenshot_sh_jslint_file.svg index 0aa27a13c..ff4d678da 100644 --- a/branch-alpha/.artifact/screenshot_sh_jslint_file.svg +++ b/branch-alpha/.artifact/screenshot_sh_jslint_file.svg @@ -59,25 +59,25 @@ textLength="768" x="10" y="208" -> 1. Undeclared 'console'. // line 1, column 1 +> 1. Undeclared 'console'. // line 1, column 17 console.log('hello world'); +> function foo() {console.log('hello world');} 2. Use double quotes, not single quotes. // line 1, column 13 +> 2. Use double quotes, not single quotes. // line 1, column 29 console.log('hello world'); +> function foo() {console.log('hello world');} diff --git a/branch-alpha/README.md b/branch-alpha/README.md index 7f10c7767..5f326351e 100644 --- a/branch-alpha/README.md +++ b/branch-alpha/README.md @@ -920,7 +920,7 @@ eval("1"); //jslint-ignore-line ```shell npm run test2 shGitSquashPop beta '' -git push origin alpha:branch_xxx +git push origin alpha:branch-xxx git push origin alpha -f git push upstream alpha -f ``` @@ -928,8 +928,7 @@ git push upstream alpha -f - https://github.com/kaizhu256/jslint/actions/workflows/ci.yml - 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:alpha -- click `head repository: kaizhu256/jslint compare:` +- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:branch-xxx - click `Create pull request` - `Add a description` template: ``` @@ -987,8 +986,7 @@ git push upstream alpha -f - https://github.com/kaizhu256/jslint/actions/workflows/ci.yml - 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:alpha -- click `head repository: kaizhu256/jslint compare:branch-v20yy.mm.dd` +- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:branch-v20yy.mm.dd - click `Create pull request` - `Add a title` template: `#v20yy.mm.dd` - `Add a description` template: diff --git a/branch-alpha/index.html b/branch-alpha/index.html index 42abad189..405796d43 100644 --- a/branch-alpha/index.html +++ b/branch-alpha/index.html @@ -13,9 +13,9 @@ JSLint: The JavaScript Code Quality and Coverage Tool - - - + + +