Socket
Socket
Sign inDemoInstall

tslint

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint - npm Package Compare versions

Comparing version 6.1.1 to 6.1.2

2

lib/language/utils.d.ts

@@ -158,3 +158,1 @@ /**

export declare function isWhiteSpace(ch: number): boolean;
/** Wrapper for compatability with typescript@<3.8.2 */
export declare function isPrivateIdentifier(node: ts.Node): node is ts.PrivateIdentifier;

@@ -479,7 +479,1 @@ "use strict";

exports.isWhiteSpace = isWhiteSpace;
/** Wrapper for compatability with typescript@<3.8.2 */
function isPrivateIdentifier(node) {
// tslint:disable-next-line
return ts.isPrivateIdentifier ? ts.isPrivateIdentifier(node) : false;
}
exports.isPrivateIdentifier = isPrivateIdentifier;

2

lib/linter.js

@@ -246,3 +246,3 @@ "use strict";

};
Linter.VERSION = "6.1.1";
Linter.VERSION = "6.1.2";
Linter.findConfiguration = configuration_1.findConfiguration;

@@ -249,0 +249,0 @@ Linter.findConfigurationPath = configuration_1.findConfigurationPath;

@@ -67,3 +67,3 @@ "use strict";

var _b = node, expression = _b.expression, name = _b.name;
if (utils.isEntityNameExpression(expression) && !Lint.isPrivateIdentifier(name)) {
if (utils.isEntityNameExpression(expression) && !isPrivateIdentifier(name)) {
visitNamespaceAccess(node, expression, name);

@@ -131,1 +131,6 @@ break;

}
/** Wrapper for compatability with typescript@<3.8.2 */
function isPrivateIdentifier(node) {
// tslint:disable-next-line
return ts.isPrivateIdentifier ? ts.isPrivateIdentifier(node) : false;
}
{
"name": "tslint",
"version": "6.1.1",
"version": "6.1.2",
"description": "An extensible static analysis linter for the TypeScript language",

@@ -5,0 +5,0 @@ "bin": {

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