Comparing version 6.1.1 to 6.1.2
@@ -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; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1883226
37244