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

@fimbul/mimir

Package Overview
Dependencies
Maintainers
2
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fimbul/mimir - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0-dev.20180509

4

package.json
{
"name": "@fimbul/mimir",
"version": "0.9.0",
"version": "0.10.0-dev.20180509",
"description": "Core rules of the Fimbullinter project",

@@ -28,3 +28,3 @@ "main": "recommended.yaml",

"dependencies": {
"@fimbul/ymir": "^0.9.0",
"@fimbul/ymir": "0.9.0",
"chalk": "^2.3.2",

@@ -31,0 +31,0 @@ "debug": "^3.1.0",

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

continue;
const parent = node.parent;
let parent = node.parent;
if (tsutils_1.isPropertyAccessExpression(parent)) {
if (!tsutils_1.isIdentifier(parent.expression) || parent.expression.text !== 'Number')
continue;
parent = parent.parent;
}
if (parent.kind === ts.SyntaxKind.CaseClause || tsutils_1.isBinaryExpression(parent) && isEqualityCheck(parent.operatorToken.kind))

@@ -18,0 +23,0 @@ this.addFailureAtNode(parent, "Comparing with 'NaN' always yields 'false'. Consider using 'isNaN' instead.");

Sorry, the diff of this file is not supported yet

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