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

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 5.8.0 to 5.8.1

8

dist/rules/genericSpacing.js

@@ -35,3 +35,5 @@ "use strict";

if (spacesBefore) {
if (sourceCode.text[opener.range[1]] !== '\n') {
const whiteSpaceBefore = sourceCode.text[opener.range[1]];
if (whiteSpaceBefore !== '\n' && whiteSpaceBefore !== '\r') {
context.report({

@@ -49,3 +51,5 @@ data: {

if (spacesAfter) {
if (sourceCode.text[closer.range[0] - 1] !== '\n') {
const whiteSpaceAfter = sourceCode.text[closer.range[0] - 1];
if (whiteSpaceAfter !== '\n' && whiteSpaceAfter !== '\r') {
context.report({

@@ -52,0 +56,0 @@ data: {

@@ -67,3 +67,3 @@ {

},
"version": "5.8.0"
"version": "5.8.1"
}
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