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

jshint

Package Overview
Dependencies
Maintainers
2
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.2.0

Diff

Changelog

Source

2.2.0 (2013-10-18)

<a name="2.1.11"></a>

antonkovalyov
published 2.1.11 •

Changelog

Source

2.1.11 (2013-09-20)

<a name="2.1.10"></a>

antonkovalyov
published 2.1.10 •

Changelog

Source

2.1.10 (2013-08-15)

Thanks to Dave Camp JSHint now supports list comprehensions, a declarative way of transforming a list:

[ for (i of [ 1, 2, 3 ]) i + 2 ]; // Returns [ 3, 4, 5 ]

Note: SpiderMonkey currently implements a slightly different syntax for list comprehensions which is also supported by JSHint.

Patch summary

  • ae96e5c Fixed #1220: Add typed array option, implied by 'node' option
  • 27bd241 Fixed #1222: Update PhantomJS globals to 1.7 API
  • 6c5a085 Fixed #1216: Support for array comprehensions using for-of (closed #1095)
  • 83374ad No issue: Remove /stable/ subdirectories
  • 1a3c47f Fixed #1174: Fixed a false positive 'destructuring assignment' warning (closed #1177)
  • 303c535 Fixed #1183: Fix an issue with debugger warning pointing to a wrong line in some cases
  • a0b7181 No issue: Add helper programs to apply and land patches from GitHub
  • 9c2b8dd Fixed #1194: Don't look for a config when input is /dev/stdin
  • a17ae9e Fixed #1189: Support spaces in /*global ... */
  • dcc1251 Fixed #1197: Make Rhino wrapper to be more consistent with NPM package.
  • 96ea1a8 No issue: Split make.js into bin/build and bin/changelog
  • 4ac19fa No issue: Move JSHint config into package.json

Thanks to Rob Wu, Ryan Cannon, Dave Camp, Amir Livneh, Josh Hoff, Nikolay S. Frantsev, Lapo Luchini, Lukas Domnick for sending patches!

<a name="2.1.9"></a>

published 2.1.9 •

Changelog

Source

2.1.9 (2013-08-02)

<a name="2.1.8"></a>

antonkovalyov
published 2.1.8 •

Changelog

Source

2.1.8 (2013-08-01)

<a name="2.1.7"></a>

antonkovalyov
published 2.1.7 •

Changelog

Source

2.1.7 (2013-07-29)

<a name="2.1.6"></a>

published 2.1.6 •

Changelog

Source

2.1.6 (2013-07-29)

UPDATE: We just published another version, 2.1.7, which contains only one bugfix: #1199.

In this release we added two new arguments to our CLI program: exclude which allows you to exclude directories from linting and prereq which allows you to specify a file containing declarations of the global variables used throughout your project. In addition to that, we added support for stdin. JSHint now follows a UNIX convention where if a given file path is a dash (-) the the program reads from stdin.

We also extended our ES6 coverage by adding support for yield statements and import/export declarations. JSHint is still the only linter that can parse most ES6 and Mozilla-specific JavaScript code.

For more changes, see the patch summary below.

  • 004dc61 Fixed #1178: Changed 'predef' to 'globals' in the example .jshintrc
  • cd69f13 Fixed #1187: Explicitly define contents of our NPM package
  • c83caf3 Fixed #1166: Tweaks to import/export support
  • 537dcbd Fixed #1164: Add codes to errors generated by quit()
  • 6aed7ed Fixed #1155: Use shelljs option in make.js
  • 87df213 Fixed #1153: Moved E037 and E038 to the warnings section and changed their message.
  • dd060c7 Fixed #779: Add support for !pattern in the .jshintignore files
  • 5de09c4 Fixed #696: Add support for --exclude arg
  • ee3d598 Fixed #809: Added short options to bin/jshint where it made sense
  • b937895 Fixed #810: Made --reporter description in -h more straightforward
  • 1c70362 Fixed #839: Add support for prereq files
  • 28dae4b Fixed #741: expose loadConfig from CLI
  • b39e2ac Followup #687: eqnull
  • 90b733b Followup #687: Use '-' as a marker for stding
  • 68db0d8 Fixed #687: Allow input via stdin
  • 5924b2a Fixed #1157: Add support for import/export.
  • 729cfd7 Fixed #1154: Add MouseEvent and CustomEvent browser globals
  • 9782fc8 Fixed #1134: Catch reserved words in ES3 mode.
  • 87e3e6c Fixed #1138: Count ternary and or operators for complexity
  • 66f3e4c Fixed #1133: Make shelljs imply node.
  • 79dc812 Fixed #704: Add config file support for the Rhino wrappers.
  • 88c862d Fixed #1109: Parse yield expressions.

Thanks to Terry Roe, Sindre Sorhus, Thomas Boyt, Nikolay S. Frantsev, XhmikosR, Jacob Rask, Kevin Chu, Tim Ruffles, Stephen Mathieson, Lukas Domnick, usrbincc for sending patches!

<a name="2.1.5"></a>

published 2.1.5 •

Changelog

Source

2.1.5 (2013-07-27)

<a name="2.1.4"></a>

antonkovalyov
published 2.1.4 •

Changelog

Source

2.1.4 (2013-06-24)

<a name="2.1.3"></a>

antonkovalyov
published 2.1.3 •

Changelog

Source

2.1.3 (2013-06-03)

<a name="2.1.2"></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