Socket
Socket
Sign inDemoInstall

standard

Package Overview
Dependencies
323
Maintainers
17
Versions
183
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.0.0 to 10.0.0-beta.0

43

CHANGELOG.md

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

## 10.0.0 (BETA) - 2017-04-01
TODO: FINALIZE RELEASE NOTES
### New features
- Update ESLint from 3.15.x to 3.16.x.
### New rules
*(Estimated % of affected standard users, based on test suite in parens)*
- Disallow using deprecated Node.js APIs ([node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)) [#693](https://github.com/feross/standard/issues/693) (13%)
- Ensures that code always runs without warnings on the lastest versions of Node
- Ensures that safe Buffer methods (`Buffer.from()`, `Buffer.alloc()`) are used instead of `Buffer()`
- Enforce callbacks always called with Node.js-style error first ([standard/no-callback-literal](https://github.com/xjamundx/eslint-plugin-standard#rules-explanations)) [#623](https://github.com/feross/standard/issues/623) (3%)
- Functions named `callback`, `cb`, or `next` must be called with `null`, `undefined`, or an `Error` object as the first argument
- Prevents accidentally using a string instead of an `Error` object
- Prevents confusing callbacks that do not follow the Node.js pattern
- Disallow any imports that come after non-import statements ([import/first](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md)) [#806](https://github.com/feross/standard/issues/806) (1%)
- Disallow unnecessary return await ([no-return-await](http://eslint.org/docs/rules/no-return-await)) [#695](https://github.com/feross/standard/issues/695) (0%)
- Disallow comma-dangle in functions ([comma-dangle](http://eslint.org/docs/rules/comma-dangle)) [#787](https://github.com/feross/standard/issues/787) (0%)
- Disallow repeated exports of names or defaults ([import/export](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/export.md)) [#806](https://github.com/feross/standard/issues/806) (0%)
- Disallow import of modules using absolute paths ([import/no-absolute-path](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-absolute-path.md)) [#806](https://github.com/feross/standard/issues/806) (0%)
- Disallow Webpack loader syntax in imports ([import/no-webpack-loader-syntax](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-webpack-loader-syntax.md)) [#806](https://github.com/feross/standard/issues/806) (0%)
### Changed rules
- Relax rule: allow using `...rest` to omit properties from an object ([no-unused-vars](http://eslint.org/docs/rules/no-unused-vars)) [#800](https://github.com/feross/standard/issues/800)
- This is a common and useful pattern in React/JSX apps!
- Relax rule: allow Flow `import type` statements ([import/no-duplicates](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md)) [#599](https://github.com/feross/standard/issues/599)
- These are no longer considered to be "duplicate imports"
- Relax rule: Treat `process.exit()` the same as `throw` in code path analysis ([node/process-exit-as-throw](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/process-exit-as-throw.md)) [#699](https://github.com/feross/standard/issues/699)
- Makes certain other rules work better and give fewer false positives
- Relax rule: allow Unnecessary Labels ([no-extra-label](http://eslint.org/docs/rules/no-extra-label))
- Redundant, since "no-labels" is already enabled, which is more restrictive
## 9.0.0 - 2017-02-28

@@ -26,3 +63,3 @@

## New features
### New features

@@ -32,3 +69,3 @@ - Update ESLint from 3.10.x to 3.15.x

## New rules
### New rules

@@ -51,3 +88,3 @@ *(Estimated % of affected standard users, based on test suite in parens)*

## Changed rules
### Changed rules

@@ -54,0 +91,0 @@ - Relax rule: allow TypeScript Triple-Slash Directives (spaced-comment) [#660](https://github.com/feross/standard/issues/660)

14

package.json
{
"name": "standard",
"description": "JavaScript Standard Style",
"version": "9.0.0",
"version": "10.0.0-beta.0",
"author": {

@@ -15,8 +15,10 @@ "email": "feross@feross.org",

"dependencies": {
"eslint": "~3.15.0",
"eslint-config-standard": "7.0.0",
"eslint": "~3.16.1",
"eslint-config-standard": "8.0.0-beta.0",
"eslint-config-standard-jsx": "3.3.0",
"eslint-plugin-promise": "~3.4.0",
"eslint-plugin-react": "~6.9.0",
"eslint-plugin-standard": "~2.0.1",
"eslint-plugin-import": "~2.2.0",
"eslint-plugin-node": "~4.1.0",
"eslint-plugin-promise": "~3.5.0",
"eslint-plugin-react": "~6.10.0",
"eslint-plugin-standard": "~2.1.1",
"standard-engine": "~5.4.0"

@@ -23,0 +25,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc