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 6.1.1 to 7.0.0

dist/utilities/getBuiltinRule.js

10

dist/rules/noUnusedExpressions.js

@@ -8,13 +8,11 @@ "use strict";

var _noUnusedExpressions = _interopRequireDefault(require("eslint/lib/rules/no-unused-expressions"));
var _getBuiltinRule = require("../utilities/getBuiltinRule");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// A wrapper around ESLint's core rule no-unused-expressions, additionally ignores type cast
// expressions.
const meta = _noUnusedExpressions.default.meta;
const noUnusedExpressionsRule = (0, _getBuiltinRule.getBuiltinRule)('no-unused-expressions');
const meta = noUnusedExpressionsRule.meta;
const create = context => {
const coreChecks = _noUnusedExpressions.default.create(context);
const coreChecks = noUnusedExpressionsRule.create(context);
return {

@@ -21,0 +19,0 @@ ExpressionStatement(node) {

1

dist/utilities/iterateFunctionNodes.js

@@ -8,2 +8,3 @@ "use strict";

// eslint-disable-next-line eslint-plugin/prefer-object-rule -- false positive, this is not a rule
var _default = iterator => {

@@ -10,0 +11,0 @@ return (context, ...rest) => {

@@ -26,2 +26,3 @@ {

"eslint-config-canonical": "^27.0.1",
"eslint-plugin-eslint-plugin": "^4.0.1",
"gitdown": "^3.1.4",

@@ -36,3 +37,3 @@ "glob": "^7.1.7",

"engines": {
"node": "^10.12.0 || >=12.0.0"
"node": ">=12.0.0"
},

@@ -69,3 +70,3 @@ "husky": {

},
"version": "6.1.1"
"version": "7.0.0"
}

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