Comments (5)
After pinning to 2.9.6 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.
from bridge.
- The
devDependency
jshint was updated from2.9.7
to2.10.0
.
Your tests are still failing with this version. Compare changes
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
valuesaded551
[[FIX]] Add global variables introduced in ES2017
457d732
[[FEAT]] Implement ES2019 RegExp "dotall"
962dced
[[FEAT]] Implement
regexpu
option1af5930
[[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
from bridge.
- The
devDependency
jshint was updated from2.10.0
to2.10.1
.
Your tests are still failing with this version. Compare changes
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)
from bridge.
- The
devDependency
jshint was updated from2.10.1
to2.10.2
.
Your tests are still failing with this version. Compare changes
Release Notes for JSHint 2.10.1
2.10.2 (2019-03-13)
Bug Fixes
- Allow built-in method names in classes (b0c224b)
- Correct parsing of exported async fns (64b9dce)
- Correct parsing of RegExp character sets (668c4a3)
- Init block bindings in C-style for loop (404c9a0)
- Require const intlzr in C-style for loop (307e9fc)
- Track FutureReservedWords as idnts in ES5+ (d697ff4)
- Warn on reassignment of async functions (14384d3)
Commits
The new version differs by 10 commits.
07ff25d
v2.10.2
307e9fc
[[FIX]] Require const intlzr in C-style for loop
404c9a0
[[FIX]] Init block bindings in C-style for loop
8d71df8
[[CHORE]] Update Test262
64b9dce
[[FIX]] Correct parsing of exported async fns
d73467a
[[CHORE]] Update dependency to fix vulnerability
d697ff4
[[FIX]] Track FutureReservedWords as idnts in ES5+
14384d3
[[FIX]] Warn on reassignment of async functions
b0c224b
[[FIX]] Allow built-in method names in classes
668c4a3
[[FIX]] Correct parsing of RegExp character sets
See the full diff
from bridge.
- The
devDependency
jshint was updated from2.10.2
to2.10.3
.
Your tests are still failing with this version. Compare changes
Release Notes for JSHint 2.10.3
2.10.3 (2019-11-04)
Bug Fixes
- Allow more escapes with RegExp
u
flag (5ac5c46) - Correct binding power of AwaitExpression (af04b1e)
- Correct interpretation of commas (691dbdc)
- Correct restrictions on class method names (f670aeb)
- Correctly interpret class method names (82b49c4)
- Do not crash on invalid program code (b14acca)
- Interpret "object rest" ident as a binding (c0e9a5b)
- Relax
singleGroups
for async functions (c5dcd90) - Tolerate
static
as class method name (9cb3b20) - Tolerate valid assignments (0a60c9e)
- Validate lone arrow function parameter (38285cd)
Commits
The new version differs by 36 commits.
c43f4ad
v2.10.3
38285cd
[[FIX]] Validate lone arrow function parameter
691dbdc
[[FIX]] Correct interpretation of commas
e63dbc7
[[CHORE]] Revert parser improvements
d72ce61
[[CHORE]] Improve test coverage for logical NOT
d015657
[[CHORE]] Remove unused internal variable
c81bf3a
[[CHORE]] Improve CI configuration (#3415)
5a337a8
[[CHORE]] Optimize
case
clause tracking9cb3b20
[[FIX]] Tolerate
static
as class method nameb14acca
[[FIX]] Do not crash on invalid program code
2366c92
[[CHORE]] Improve test coverage for RegExp parsing
5ac5c46
[[FIX]] Allow more escapes with RegExp
u
flag0a60c9e
[[FIX]] Tolerate valid assignments
e04746b
[[TEST]] Ignore "information" messages
a70304d
[[TEST]] Do not interpret warning as error
There are 36 commits in total.
See the full diff
from bridge.
Related Issues (7)
- An in-range update of mocha is breaking the build 🚨 HOT 11
- An in-range update of gulp-uglify is breaking the build 🚨 HOT 1
- An in-range update of pbn is breaking the build 🚨 HOT 2
- An in-range update of glob is breaking the build 🚨 HOT 2
- An in-range update of pbn is breaking the build 🚨 HOT 4
- An in-range update of vinyl-source-stream is breaking the build 🚨 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bridge.