Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jshint

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jshint - npm Package Versions

1
10

2.9.3

Diff

Changelog

Source

2.9.3 (2016-08-18)

Bug Fixes

  • Add TypedArray globals for ES2015 (ee0acab)
  • Allow Expression within for-in head (56c95d0)
  • Avoid crash when peeking past end of prog (#2937) (330d429)
  • Correct behavior of singleGroups (#2951) (97fefb7)
  • Correct interpretation of ASI (#2977) (3ef7a03)
  • Correctly recognize asi after directives (039ee2e), closes #2714
  • Disallow Import declarations below top lvl (d800e44)
  • Support y RegExp flag in ES2015 code (#2999) (a801433)
  • Support semicolons within arrow fn params (#3003) (179a9d6)

Features

  • Error for literals on rhs of instanceof (e3e745b), closes #2777

<a name="2.9.2"></a>

jugglinmike
published 2.9.2 •

Changelog

Source

2.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

  • (cli - extract) lines can end with "\r\n", not "\n\r" (93818f3), closes #2825
  • Account for implied closures (c3b4d63)
  • Add CompositionEvent to browser globals (56515cf)
  • Allow destructuring in setter parameter (97d0ac1)
  • Allow parentheses around object destructuring assignment. (7a0bd70), closes #2775
  • Allow regex inside template literal (5dd9c90), closes #2791
  • Allow regexp literal after 'instanceof' (caa30e6), closes #2773
  • Correct CLI's indentation offset logic (47daf76), closes #2778
  • Do not crash on invalid input (2e0026f)
  • Do not fail on valid configurations (2fb3c24)
  • Don't throw E056 for vars used in two functions (fd91d4a), closes #2838
  • Emit correct token value from "module" API (4a43fb9)
  • Expand forms accepted in dstr. assignment (8bbd537)
  • Improve binding power for tagged templates (9cf2ff0)
  • Improve reporting of "Bad assignment." (08df19e)
  • Make the 'freeze' option less strict (b76447c), closes #1600
  • Report "Bad assignment." in destructuring (fe559ed)
  • Report character position for camelcase errors (480252a), closes #2845
  • Reserve await keyword in ES6 module code (b1c8d5b)

<a name="2.9.1"></a>

jugglinmike
published 2.9.1 •

Changelog

Source

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.

<a name="2.9.1-rc3"></a>

jugglinmike
published 2.9.1-rc3 •

Changelog

Source

2.9.1-rc3 (2016-01-12)

Bug Fixes

  • Do not require global USD for any envs (3fa9ece)

<a name="2.9.1-rc2"></a>

jugglinmike
published 2.9.1-rc2 •

Changelog

Source

2.9.1-rc2 (2015-12-22)

Bug Fixes

  • Abort in the presence of invalid config (767c47d)
  • Allow ignoring W020 and W021 (46db923), closes #2761
  • Correct unused for function-scoped vars (91fa9fc)
  • Disallow ambiguous configuration values (eb54a4c)
  • Do not disable ES6 when moz is set (97dfd90)
  • Don't throw '(NaN% scanned)' (903b698)

<a name="2.9.1-rc1"></a>

jugglinmike
published 2.9.1-rc1 •

Changelog

Source

2.9.1-rc1 (2015-11-12)

Version 2.9.0 was revoked shortly after its release due to a number of regressions. Although the underlying issues have been resolved, we are sensitive to the possibility that there may be still more; as mentioned in 2.9.0's release notes, the variable tracking system saw a significant refactoring.

In an effort to minimize friction with a new version, we're publishing a release candidate and requesting feedback from early adopters. Please give it a try in your projects and let us know about any surprising behavior!

Bug Fixes

  • latedef shouldn't warn when marking a var as exported (c630994), closes #2662
  • Add File and FileList to browser global variables (7f2a729), closes #2690
  • Allow comments and new lines after /* falls through */ (3b1c925), closes #2652 #1660
  • Allow let and const to be in a block outside of a block (84a9145), closes #2685
  • Always warn about missing "use strict" directive (e85c2a1), closes #2668
  • Disallow incompatible option values (72ba5ad)
  • Do not enable newcap within strict mode (acaf3f7)
  • Don't throw W080 when the initializer starts with undefined (0d87919), closes #2699
  • Don't warn that an exported function is used before it is defined. (d0433d2), closes #2658
  • Enforce Identifier restrictions lazily (ceca549)
  • Global "use strict" regressions (04b43d2), closes #2657 #2661
  • Support property assignment when destructure assigning (b6df1f2), closes #2659 #2660
  • Throw W119 instead of "Unexpected '`'" when using templates in ES5 mode. (87064e8)

Features

  • Support QUnit's global notOk (73ac9b8)

<a name="2.9.0"></a>

jugglinmike
published 2.8.0 •

Changelog

Source

2.8.0 (2015-05-31)

Bug Fixes

  • add the "fetch" global for "browser" environment (b3b41c8), closes #2355
  • Allow lexer to communicate completion (a093f78)
  • Distinguish between directive and mode (51059bd)
  • Don't throw "Duplicate class method" with computed method names (ab12dfb), closes #2350
  • Ignore unused arrow-function parameters if unused: vars (2ea9cb0), closes #2345
  • Move helper methods to state object (678da76)
  • parse const declarations in ForIn/Of loops (2b673d9), closes #2334 #2335
  • Parse semicolons in class bodies (58c8e64)
  • Prevent regression in enforceall (6afcde4)
  • Relax singleGroups restrictions: arrow fns (4a4f522)
  • Relax singleGroups restrictions: IIFEs (9f55160)
  • Reset generator flag for each method definition (2444a04), closes #2388 #2389

Features

  • Implement module option (290280c)
  • support destructuring in ForIn/Of loops, lint bad ForIn/Of LHS (c0edd9f), closes #2341

<a name="2.7.0"></a>

rwaldron
published 2.7.0 •

Changelog

Source

2.7.0 (2015-04-10)

Bug Fixes

  • Accept get and set as ID properties (2ad235c)
  • allow trailing comma in ArrayBindingPattern (3477933), closes #2222
  • allow typeof symbol === "symbol" (7f7aac2), closes #2241 #2242
  • Correctly enforce maxparams:0 (011364e)
  • default to empty string in src/cli.js loadIgnores (0eeba14)
  • disallow 'lone' rest operator in identifier() (dd08f85), closes #2222
  • emit I003 more carefully and less annoyingly (757fb73), closes #2251
  • export all names for var/let/const declarations (3ce1267), closes #2248 #2253 #2252
  • Incorrect 'Unclosed string' when the closing quote is the first character after a newline (b804e65), closes #1532 #1532 #1319
  • predefine HTMLTemplateElement in browser (231557a), closes #2246
  • Prevent incorrect warnings for relations (64f85f3)
  • Relax restrictions on singleGroups (896bf82)
  • templates are operands, not operators (162dee6), closes #2223 #2224

Features

  • add varstmt enforcement option to disallow use of VariableStatements (59396f7), closes #1549

<a name="2.6.3"></a>

rwaldron
published 2.6.3 •

Changelog

Source

2.6.3 (2015-02-28)

Bug Fixes

  • parse trailing comma in ObjectBindingPattern (7a2b713), closes #2220

<a name="2.6.2"></a>

rwaldron
published 2.6.2 •

Changelog

Source

2.6.2 (2015-02-28)

Bug Fixes

  • Disable futurehostile option by default (3cbd41f)
  • Make let variables in the closure shadow predefs (cfd2e0b)

<a name="2.6.1"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc