stealjs / steal-tools

Build easy. Load fast.
https://stealjs.com/docs/steal-tools.html
MIT License
67 stars 23 forks source link

Update jshint to the latest version 🚀 #1108

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

The devDependency jshint was updated from 2.9.7 to 2.10.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for JSHint 2.10.0

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

  • Accept new RegExp flag introduced by ES6 (26b9e53)
  • Add global variables introduced in ES2017 (aded551)
  • Add globals for EventTarget interface (b78083a)
  • Add globals for WindowOrWorkerGlobalScope (e0aac94)
  • Allow YieldExpression as computed property (40dca82)
  • Correct implementation of spread/rest (bd0ae0d)
  • Correct invalid function invocation (cda02ae)
  • Correct parsing of let token (030d6b4)
  • Correct parsing of arrow function (8fa6e39)
  • Correct parsing of InExpression (06f54d0)
  • Disallow dups in non-simple parameter list (4a5a4a5)
  • Disallow fn declarations in stmt positions (a0e0305)
  • Disallow YieldExpression in gnrtr params (17ca4e4)
  • Enforce UniqueFormalParameters for methods (280d36b)
  • Honor globals config in JavaScript API (0278731)
  • Report invalid syntax as error (5ca8b1a)
  • Update parsing of object "rest" property (58967ea)

Features

  • Enable object rest/spread via esversion (3fc9c19)
  • Enforce ES2016 restriction on USD (2c2025b)
  • Implement noreturnawait (70ab03d)
  • Implement regexpu option (962dced)
  • Implement ES2019 RegExp "dotall" (457d732)
  • Implement support for async iteration (1af5930)
  • Implement support for ES8 trailing commas (29cab1f)
  • Implement support for object spread/rest (35e1b17)
  • Introduce exponentiation operator (21b8731)
  • Introduce linting option leanswitch (1f008f2)
  • Introduce support for async functions (bc4ae9f)
Commits

The new version differs by 51 commits.

  • b7faa24 v2.10.0
  • 6417978 Merge branch 'v2.10.0'
  • f80e049 [[CHORE]] Reorder parameters of internal function
  • 90904ce [[DOCS]] Document new esversion values
  • aded551 [[FIX]] Add global variables introduced in ES2017
  • 457d732 [[FEAT]] Implement ES2019 RegExp "dotall"
  • 962dced [[FEAT]] Implement regexpu option
  • 1af5930 [[FEAT]] Implement support for async iteration
  • 70ab03d [[FEAT]] Implement noreturnawait
  • bc4ae9f [[FEAT]] Introduce support for async functions
  • e0aac94 [[FIX]] Add globals for WindowOrWorkerGlobalScope
  • b78083a [[FIX]] Add globals for EventTarget interface
  • 40dca82 [[FIX]] Allow YieldExpression as computed property
  • 17ca4e4 [[FIX]] Disallow YieldExpression in gnrtr params
  • 3fc9c19 [[FEAT]] Enable object rest/spread via esversion

There are 51 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 93.769% when pulling 23dc448cdf9ebb827414b96210b55bbf027cf323 on greenkeeper/jshint-2.10.0 into 22cadf61b75fd339bf46c17f12e753b70ce98506 on master.

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for JSHint 2.10.1

2.10.1 (2019-02-05)

Bug Fixes

  • Do not add cls method names to env. record (036f085)
Commits

The new version differs by 2 commits.

  • 0e85de5 v2.10.1
  • 036f085 [[FIX]] Do not add cls method names to env. record

See the full diff