Socket
Socket
Sign inDemoInstall

@jessitron/tslint

Package Overview
Dependencies
47
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.12.1 to 5.12.2

3

lib/rules/strictBooleanExpressionsRule.js

@@ -157,2 +157,5 @@ "use strict";

(options.allowNullUnion || options.allowUndefinedUnion)) {
if (type.symbol && type.symbol.name === "Promise") {
ctx.addFailureAtNode(node, "This type is not allowed in the 'if' condition because it is a Promise | undefined | null. Promises are never never allowed.");
}
// OK; It might be null/undefined.

@@ -159,0 +162,0 @@ return;

4

package.json
{
"name": "@jessitron/tslint",
"version": "5.12.1",
"version": "5.12.2",
"description": "An extensible static analysis linter for the TypeScript language",

@@ -91,2 +91,2 @@ "bin": {

"license": "Apache-2.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc