All Versions
15
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History
Page 1

  • v2021.7.1-beta Changes

    • ๐Ÿ›  bugfix - fix jslint not warning about function-redefinition when function is defined inside a call.
    • ๐Ÿ›  bugfix - fix website crashing when linting pure json-object.
    • ๐Ÿ‘• jslint - comment out shebang in jslint.mjs so older ios devices can use website.
    • โœ… tests - revamp cause-based testing with more robust instrumentation.
    • โœ… tests - test column position in warnings are correct.
  • v2021.6.30 Changes

    • breaking-change - rename files *.js to *.mjs for better integration with nodejs.
    • ci - auto-screenshot example-shell-commands in README.md.
    • ๐Ÿ‘• ci - include explicit commonjs (jslint.cjs) and es-module (jslint.mjs) variants of jslint.
    • ๐Ÿ‘• jslint - disable out-of-scope warning for functions.
    • ๐Ÿ‘• jslint - reintroduce directive /*jslint indent2*/ - allow 2-space indent.
    • license - change license to public-domain/unlicense.
    • ๐Ÿ‘• website - create codemirror-plugin to highlight jslint-warnings in editor.
  • v2021.6.22 Changes

    • ๐Ÿ›  bugfix - fix global_list being ignored by jslint.
    • ๐Ÿ›  bugfix - fix no-warning when exception in catch-block is unused.
    • ci - migrate ci-scripts from cjs to esm.
    • ๐Ÿ‘• cli - add env-variable \$JSLINT_BETA.
    • ๐Ÿ‘• jslint - add new directive /*jslint beta*/ - enable features currently in beta.
    • ๐Ÿ‘• jslint - add new directive /*jslint variable*/ - allow unordered variable-declarations that are not at top of function-scope.
    • ๐Ÿ‘• jslint - add new warning if const/let/var statements are not declared at top of function-scope.
    • ๐Ÿ‘• jslint - add new warning if const/let/var statements are unordered.
    • ๐Ÿš€ website - invalidate url-cache with each deployment.
    • website - replace .png logo with .svg logo.
    • website - replace current-editor with CodeMirror-editor and change programming-font-family from Programma to consolas, menlo, monospace.
  • v2021.6.12 Changes

    • ๐Ÿ›  bugfix - fix await expression/statement inside catch-statement not registered by functionage.await.
    • ๐Ÿ›  bugfix - fix cli appending slash "/" to normalized filename.
    • ๐Ÿ›  bugfix - fix issue #316, #317 - jslint complains about dynamic-import.
    • ๐Ÿ›  bugfix - fix misleading warning describing alphabetical-order instead of ascii-order.
    • ๐Ÿ›  bugfix - fix off-by-one-column bug in missing-semicolon-warning.
    • ๐Ÿ›  bugfix - fix try-catch-block complaining about "Unexpected await" inside async-function.
    • ๐Ÿ‘• directive - re-introduce /*jslint name*/ to ignore "Bad property name" warning.
    • doc - add install-screenshots.
    • ๐Ÿ‘• jslint - add new warning if case-statements are not sorted.
    • ๐Ÿ‘• jslint - add warning for unexpected ? in example aa=/.{0}?/.
    • ๐Ÿ‘• jslint - add warning for unexpected-expr in example async function aa(){await 0;}.
    • โ™ป๏ธ jslint-refactor-1 - make "stateful" variables scoped outside of jslint() "stateless" by moving them into jslint().
    • โ™ป๏ธ jslint-refactor-2 - inline constants anticondition, bitwiseop, escapeable, and opener directly into code.
    • โ™ป๏ธ jslint-refactor-3 - inline regexp-functions quantifier(), ranges(), klass(), choice(), directly into code.
    • โ™ป๏ธ jslint-refactor-4 - document jslint process and each recursion-loop converted to while-loop.
      • remove unnecessary variables nr.
      • rename artifact-related variables a, b to let artifact_now, artifact_nxt.
      • rename functions make() to token_create().
      • reorganize/rename "global" variables by topical-prefixes: artifact_xxx, export_xxx, from_xxx, import_xxx, line_xxx, mode_xxx, token_xxx
    • โ™ป๏ธ jslint-refactor-5 - split jslint-core-logic into 5-phases.
      • move phase-sub-functions out of function-jslint().
      • move global-vars into state-object, that can be passed between functions.
      • migrate recursive-loops to while-loops in sub-function phase2_lex().
      • move remaining global-vars into sub-functions or hardcode.
      • update functions artifact(), stop(), warn() with fallback-code the_token = the_token || state.token_nxt;.
    • ๐Ÿ’ป website - add ui-loader-animation.
  • v2021.6.3 Changes

    • ๐Ÿ’ฅ breaking-change - hardcode const fudge = 1
    • ๐Ÿ’ฅ breaking-change - remove little-used-feature allowing jslint to accept array-of-strings as source b/c internal lines-object has been changed from array-of-strings to array-of-objects.
    • doc - add svg changelog.
    • ๐Ÿ“ฆ doc - add svg package-listing.
    • ๐Ÿ‘• doc - document cli-feature to jslint entire directory.
    • ๐Ÿ‘• jslint - add eslint-like ignore-directives /*jslint-disable*/, /*jslint-enable*/, //jslint-quiet.
    • ๐Ÿ‘• jslint - add new warning Directive /*jslint-disable*/ was not closed with /*jslint-enable*/..
    • ๐Ÿ‘• jslint - add new warning Directive /*jslint-enable*/ was not opened with /*jslint-disable*/..
    • ๐Ÿ‘• jslint - remove obsolete ie-era warning about duplicate names for caught-errors.
    • ๐Ÿšš website - move options-ui to top of page after editor-ui
  • v2021.5.30 Changes

    • ๐Ÿ›  bugfix - fix issue #282 - fail to warn trailing semicolon in export default Object.freeze({}).
    • ci - 100% code-coverage!
    • โšก๏ธ ci - auto-update changelog in README.md from CHANGELOG.md.
    • โšก๏ธ ci - auto-update version numbers in README.md and jslint.js from CHANGELOG.md.
    • deadcode - replace with assertion-check in function choice() - if (char === "|") { warn... }.
    • deadcode - replace with assertion-check in function do_function() - if (mega_mode) { warn... }.
    • ๐Ÿ†“ deadcode - replace with assertion-check in function no_space() - const at = (free ? ...).
    • deadcode - replace with assertion-check in function no_space() - if (open) {...}.
    • ๐Ÿ“œ deadcode - replace with assertion-check in function parse_directive() - } else if (value === "false") {...}.
    • deadcode - replace with assertion-check in function supplant() - return ( replacement !== undefined ?...).
    • ๐Ÿ‘• jslint - cleanup regexp code using switch-case-statements.
    • ๐Ÿ‘• jslint - inline function activate into function action_var.
    • ๐Ÿ‘• jslint - inline-document each deadcode-removal/assertion-check.
    • ๐Ÿ‘• jslint - inline-document each warning with cause that can reproduce it - part 2.
    • ๐Ÿ‘• tests - inline remaining causal-regressions from test.js into jslint.js
    • โœ… tests - validate inline-multi-causes are sorted.
    • website - replace links branch.xxx with branch-xxx.
  • v2021.5.27 Changes

    • โš  ci - fix expectedWarningCode not being validated.
    • ๐Ÿ ci - in windows, disable git-autocrlf.
    • deadcode - replace with assertion-check in function are_similar() - "if (a === b) { return true }".
    • deadcode - replace with assertion-check in function are_similar() superseded by id-check - "if (Array.isArray(b)) { return false; }".
    • deadcode - replace with assertion-check in function are_similar() superseded by is_weird() check - "if (a.arity === "function" && a.arity ===...c".
    • jslint - add directive test_internal_error.
    • ๐Ÿ‘• jslint - add directive unordered to tolerate unordered properties and params.
    • ๐Ÿ‘• jslint - inline-document each warning with cause that can reproduce it - part 1.
    • ๐Ÿ’… style - refactor code moving infix-operators from post-position to pre-position in multiline statements.
    • ๐Ÿ‘• website - add hotkey ctrl-enter to run jslint.
  • v2021.5.26 Changes

    • ci - fix ci silently failing in node-v12 and node-v14.
    • ๐Ÿ‘• cli - add env var JSLINT_CLI to force-trigger cli in jslint.js (used for code-coverage of cli).
    • ๐Ÿ‘• jslint - add "globalThis" to default globals.
    • jslint - add new rules unordered_param_a, unordered_property_a, that warn if parameters and properties are listed in nonascii-order.
    • ๐Ÿ‘• jslint - fix bug where (global) functionage missing properties finally and try.
    • ๐Ÿ‘• jslint - fix bug failing to parse unicode "\u{12345}".
    • ๐Ÿ‘• jslint - fix bug falsely warning against conditional-chaining-operator "?.".
    • ๐Ÿ‘• jslint - remove deadcode for preaction-binary-".".
    • jslint - remove deadcode warning bad_option_a.
    • website - add fork-me ribbon.
    • website - load index.html with example code.
    • ๐Ÿ”€ website - merge file report.js into browser.js.
  • v2021.5.23 Changes

    • doc - add section Changelog.
    • โšก๏ธ doc - update README.md with installation instructions.
    • ๐Ÿ‘• cli - merge shell-function shJslintCli into jslint.js.
    • โšก๏ธ jslint - update default globals with support for "import".
    • ๐Ÿ‘• jslint - sort warnings with higher priority for early_stop.
    • ๐Ÿ‘• jslint - add async/await support.
    • 0๏ธโƒฃ ci - make branch-beta the default branch.
    • ci - validate non-http/file links in *.md files.
    • ci - add shell-functions shCiBranchPromote.
  • v2021.5.21 Changes

    • ๐Ÿš€ this ci-release does not change any core-functionality of file jslint.js.
    • doc - add file CHANGELOG.md.
    • โœ… ci - begin addng regression tests and improve code-coverage.
    • ci - allow pull-requests to run restricted-ci (cannot upload artifacts).
    • ๐Ÿฑ gh-pages - fix missing assets and insecure http-links.
    • ๐Ÿ‘• gh-pages - merge file jslint.css into index.html.
    • ๐Ÿ‘• gh-pages - add files image-jslint-xxx.png.
    • gh-pages - cleanup asset naming-convention.
    • ๐Ÿ›  fix missing fonts in function.html and help.html.
    • โž• add files .gitconfig, Daley-Bold.woff2, Programma-Bold.woff2, icon-folder-open-solid.svg, icon-window-maximize-regular.svg.
    • ๐Ÿ‘• ci - fix http-links after moving to jslint-org.
    • doc - migrate file README to README.md with embedded ci links and screenshots.
    • ๐ŸŽ ci - add macos and windows to ci-matrix.
    • ๐Ÿ‘• ci - ci now fails if jslint-check fails for any of the files in branches.
    • ๐Ÿ‘• ci - add github-workflows to generate code-coverage for jslint.js.