[Snyk] Upgrade jshint from 2.4.1 to 2.10.2 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade
jshint
from 2.4.1 to 2.10.2.The recommended version fixes:
Release notes
2.10.2 (2019-03-13)
Bug Fixes
2.10.1 (2019-02-05)
Bug Fixes
2.10.0 (2019-02-05)
This release introduces support for the three most recent editions of
JavaScript: ES7, ES8, and ES9. Users can enable support for any one of these
via the
esversion
linting option.Perhaps most notably, this includes "async functions." Since their
standardization in ES2017, no feature has been more requested. We're happy to
add support for this powerful new language feature. If the delay is any
indication, extending JSHint's parser was no small task, and we were able to
make many seemingly-unrelated corrections along the way.
That progress is easiest to see in JSHint's performance on Test262 (the
official test suite for the JavaScript programming language). Version 2.9.6
passed 84% of those tests. Version 2.10.0 passes 96%. We're excited to push
that number higher, especially considering that new language features and new
tests are being added every day. If you're curious about what needs to be done,
we maintain an "expectations file" describing every test JSHint is known to
fail today.
This release also includes brand-new parsing logic for classes. We thank Ethan
Dorta and Alex Kritchevsky, the two first-time contributors who made this
possible!
Bug Fixes
let
token (030d6b4)globals
config in JavaScript API (0278731)Features
noreturnawait
(70ab03d)regexpu
option (962dced)leanswitch
(1f008f2)2.9.7 (2018-12-07)
This release corrects a packaging issue. It is not expected to modify JSHint's behavior.
2.9.6 (2018-07-30)
Bug Fixes
for
stmt (56a4379)switch
statements (aa2be10)spyOnProperty
(827237f), closes #3183super
usage to valid forms (8f3f880)void
operand (3f920b5)Features
2.9.5 (2017-06-22)
Bug Fixes
if
syntax (#3103) (8c6ac87)for-in/of
head LHS as asnmt target (da52ad9)Features
trailingcomma
(#3090) (42dc572)2.9.4 (2016-10-20)
Bug Fixes
yield
operand (#3011) (b646aea)null
value fromerrors
array (#3049) (f7eb3d7)2.9.3 (2016-08-18)
Bug Fixes
y
RegExp flag in ES2015 code (#2999) (a801433)Features
instanceof
(e3e745b), closes #27772.9.2 (2016-04-19)
This release contains a number of bug fixes. As always, we thank everyone who
reported issues and submitted patches; those contributions are essential to the
continuing improvement of the project. We hope you'll keep it up!
Bug Fixes
await
keyword in ES6 module code (b1c8d5b)2.9.1 (2016-01-14)
Following the revocation of version 2.9.0, we observed an extended "release
candidate" phase where we encouraged users to vet JSHint for undesirable
changes in behavior. During that time, we identified and resolved a number of
such regressions. This release comprises all changes from the release candidate
phase along with the improvements initially released as version 2.9.0. This
release does not itself contain any changes to the codebase. If you are
upgrading from version 2.8.0 or earlier, please refer to the
previously-published release notes for details on bug fixes and features--these
can be found in the project's
CHANGELOG.md
file and on the project's website.🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs