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.49.2 to 2.49.3

12

dist/rules/objectTypeDelimiter.js

@@ -32,5 +32,13 @@ 'use strict';

var requireProperPunctuation = function requireProperPunctuation(node) {
var tokens = context.getSourceCode().getTokens(node);
var lastToken = tokens[tokens.length - 1];
var sourceCode = context.getSourceCode();
var tokens = sourceCode.getTokens(node);
var lastToken = void 0;
lastToken = tokens[tokens.length - 1];
if (lastToken.type !== 'Punctuator' || !(lastToken.value === SEMICOLON.char || lastToken.value === COMMA.char)) {
var parentTokens = sourceCode.getTokens(node.parent);
lastToken = parentTokens[parentTokens.indexOf(lastToken) + 1];
}
if (lastToken.type === 'Punctuator') {

@@ -37,0 +45,0 @@ if (lastToken.value === BAD.char) {

2

package.json

@@ -56,3 +56,3 @@ {

},
"version": "2.49.2"
"version": "2.49.3"
}
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