Socket
Socket
Sign inDemoInstall

eslint-plugin-flowtype

Package Overview
Dependencies
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-flowtype - npm Package Compare versions

Comparing version 2.29.1 to 2.29.2

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="2.29.2"></a>
## [2.29.2](https://github.com/gajus/eslint-plugin-flowtype/compare/v2.29.1...v2.29.2) (2016-12-29)
### Bug Fixes
* require-return-type exception ([59bbf3e](https://github.com/gajus/eslint-plugin-flowtype/commit/59bbf3e))
<a name="2.29.1"></a>

@@ -7,0 +17,0 @@ ## [2.29.1](https://github.com/gajus/eslint-plugin-flowtype/compare/v2.29.0...v2.29.1) (2016-12-01)

4

dist/rules/requireReturnType.js

@@ -81,3 +81,5 @@ 'use strict';

ReturnStatement: function ReturnStatement(node) {
targetNodes[targetNodes.length - 1].returnStatementNode = node;
if (targetNodes.length) {
targetNodes[targetNodes.length - 1].returnStatementNode = node;
}
}

@@ -84,0 +86,0 @@ };

{
"name": "eslint-plugin-flowtype",
"description": "Flowtype linting rules for ESLint.",
"version": "2.29.1",
"version": "2.29.2",
"main": "./dist/index.js",

@@ -6,0 +6,0 @@ "repository": {

Sorry, the diff of this file is too big to display

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