Socket
Socket
Sign inDemoInstall

standard

Package Overview
Dependencies
Maintainers
11
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

standard - npm Package Compare versions

Comparing version 8.0.0-beta.5 to 8.0.0

62

CHANGELOG.md

@@ -6,2 +6,62 @@ # Change Log

## 8.0.0 - 2016-08-23
This release contains a bunch of goodies, including new rules that catch potential
programmer errors (i.e. bugs) and enforce additional code consistency.
However, the best feature is surely the new `--fix` command line flag to
automatically fix problems. If you ever used
[`standard-format`](https://www.npmjs.com/package/standard-format)
and ran into issues with the lack of ES2015+ support, you'll be happy about
`--fix`.
`standard --fix` is built into `standard` v8.0.0 for maximum convenience, it
supports ES2015, and it's lightweight (no additional dependencies since it's part
of ESLint which powers `standard`). Lots of problems are already fixable, and more
are getting added with each ESLint release.
`standard` also outputs a message ("Run `standard --fix` to automatically fix
some problems.") when it detects problems that can be fixed automatically so you
can save time!
With `standard` v8.0.0, we are also dropping support for Node.js versions prior to
4. Node.js 0.10 and 0.12 are in maintenance mode and will be unsupported at the end
of 2016. Node.js 4 is the current LTS version. If you are using an older version of
Node.js, we recommend upgrading to at least Node.js 4 as soon as possible. If you
are unable to upgrade to Node.js 4 or higher, then we recommend continuing to use
`standard` v7.x until you are ready to upgrade Node.js.
**Important:** We will not be updating the `standard` v7.x versions going forward.
All bug fixes and enhancements will land in `standard` v8.x.
Full changelog below. Cheers!
### New features
- Upgrade to ESLint v3 (http://eslint.org/docs/user-guide/migrating-to-3.0.0) [#565](https://github.com/feross/standard/pull/565)
- **BREAKING:** Drop support for node < 4 (this was a decision made by the ESLint team)
- Expose ESLint's `--fix` command line flag [#540](https://github.com/feross/standard/issues/540) [standard-engine/#107](https://github.com/Flet/standard-engine/issues/107)
- Lightweight, no additional dependencies, fixes dozens of rules automatically
### New rules
*(Estimated % of affected standard users, based on test suite in parens)*
- Enforce placing object properties on separate lines ([object-property-newline](http://eslint.org/docs/rules/object-property-newline)) [#524](https://github.com/feross/standard/issues/524) (2%)
- Require block comments to be balanced ([spaced-comment "balanced"](http://eslint.org/docs/rules/spaced-comment)) [#572](https://github.com/feross/standard/issues/572) (2%)
- Disallow constant expressions in conditions ([no-constant-condition](http://eslint.org/docs/rules/no-constant-condition)) [#563](https://github.com/feross/standard/issues/563) (1%)
- Disallow renaming import, export, and destructured assignments to the same name ([no-useless-rename](http://eslint.org/docs/rules/no-useless-rename)) [#537](https://github.com/feross/standard/issues/537) (0%)
- Disallow spacing between rest and spread operators and their expressions ([rest-spread-spacing](http://eslint.org/docs/rules/rest-spread-spacing)) [#567](https://github.com/feross/standard/issues/567) (0%)
- Disallow the Unicode Byte Order Mark (BOM) ([unicode-bom](http://eslint.org/docs/rules/unicode-bom)) [#538](https://github.com/feross/standard/issues/538) (0%)
- Disallow assignment to native objects/global variables ([no-global-assign](http://eslint.org/docs/rules/no-global-assign)) [#596](https://github.com/feross/standard/issues/596) (0%)
- Disallow negating the left operand of relational operators ([no-unsafe-negation](http://eslint.org/docs/rules/no-unsafe-negation)) [#595](https://github.com/feross/standard/issues/595) (0%)
- Disallow template literal placeholder syntax in regular strings ([no-template-curly-in-string](http://eslint.org/docs/rules/no-template-curly-in-string)) [#594](https://github.com/feross/standard/issues/594) (0%)
- Disallow tabs in file ([no-tabs](http://eslint.org/docs/rules/no-tabs)) [#593](https://github.com/feross/standard/issues/593) (0%)
### Changed rules
- Relax rule: Allow template literal strings (backtick strings) to avoid escaping
 [#421](https://github.com/feross/standard/issues/421)
- Relax rule: Do not enforce spacing around * in generator functions (https://github.com/feross/standard/issues/564#issuecomment-234699126)
- This is a temporary workaround for `babel` users who use async generator functions.
## 7.1.2 - 2016-06-03

@@ -33,3 +93,3 @@

- Upgrade eslint to version ~2.9.0
- Remove "rules" configuration option (https://github.com/feross/standard/issues/367) from `package.json` (Reasoning is [here](https://github.com/feross/standard/issues/399#issuecomment-180961891))
- Remove "rules" configuration option [#367](https://github.com/feross/standard/issues/367) from `package.json` (Reasoning is [here](https://github.com/feross/standard/issues/399#issuecomment-180961891))

@@ -36,0 +96,0 @@ ### New rules

2

package.json
{
"name": "standard",
"description": "JavaScript Standard Style",
"version": "8.0.0-beta.5",
"version": "8.0.0",
"author": {

@@ -6,0 +6,0 @@ "email": "feross@feross.org",

@@ -6,10 +6,13 @@ <h1 align="center">

<br>
<br>
</h1>
[![Travis](https://travis-ci.org/feross/standard.svg?branch=master)](https://travis-ci.org/feross/standard)
[![npm downloads](https://img.shields.io/npm/dm/standard.svg)](https://www.npmjs.com/package/standard)
[![npm version](https://img.shields.io/npm/v/standard.svg)](https://www.npmjs.com/package/standard)
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg)](https://github.com/RichardLitt/standard-readme)
<h4 align="center">One JavaScript Style Guide to Rule Them All</h4>
> JavaScript Standard Style Guide http://standardjs.com
<p align="center">
<a href="https://travis-ci.org/feross/standard"><img src="https://img.shields.io/travis/feross/standard/master.svg" alt="Travis"></a>
<a href="https://www.npmjs.com/package/standard"><img src="https://img.shields.io/npm/dm/standard.svg" alt="npm downloads"></a>
<a href="https://www.npmjs.com/package/standard"><img src="https://img.shields.io/npm/v/standard.svg" alt="npm version"></a>
</p>
<br>

@@ -16,0 +19,0 @@ No decisions to make. No `.eslintrc`, `.jshintrc`, or `.jscsrc` files to manage. It just

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