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

tslint-microsoft-contrib

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-microsoft-contrib - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

2

package.json
{
"name": "tslint-microsoft-contrib",
"version": "2.0.11",
"version": "2.0.12",
"description": "TSLint Rules for Microsoft",

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

@@ -9,5 +9,5 @@ "use strict";

var Lint = require('tslint/lib/lint');
var _ = require('underscore');
var ErrorTolerantWalker_1 = require('./utils/ErrorTolerantWalker');
var SyntaxKind_1 = require('./utils/SyntaxKind');
var Utils_1 = require('./utils/Utils');
var NO_HASH_FAILURE_STRING = 'Do not use # as anchor href.';

@@ -61,3 +61,3 @@ var LINK_TEXT_TOO_SHORT_FAILURE_STRING = 'Link text should be at least 4 characters long.';

current.text !== anchorInfo.text &&
!_(sameHrefDifferentTexts).include(anchorInfo)) {
!Utils_1.Utils.contains(sameHrefDifferentTexts, anchorInfo)) {
sameHrefDifferentTexts.push(anchorInfo);

@@ -68,3 +68,3 @@ _this.addFailure(_this.createFailure(anchorInfo.start, anchorInfo.width, SAME_HREF_SAME_TEXT_FAILURE_STRING + _this.firstPosition(current)));

current.text === anchorInfo.text &&
!_(differentHrefSameText).include(anchorInfo)) {
!Utils_1.Utils.contains(differentHrefSameText, anchorInfo)) {
differentHrefSameText.push(anchorInfo);

@@ -76,3 +76,3 @@ _this.addFailure(_this.createFailure(anchorInfo.start, anchorInfo.width, DIFFERENT_HREF_DIFFERENT_TEXT_FAILURE_STRING + _this.firstPosition(current)));

var this_1 = this;
while (_(this.anchorInfoList).isEmpty() === false) {
while (this.anchorInfoList.length > 0) {
_loop_1();

@@ -79,0 +79,0 @@ }

@@ -11,3 +11,3 @@ [![npm version](https://badge.fury.io/js/tslint-microsoft-contrib.svg)](https://badge.fury.io/js/tslint-microsoft-contrib)

Version 2.0.11 (Stable)
Version 2.0.12 (Stable)
-------------

@@ -18,3 +18,3 @@ The project has been in use for over a year on multiple projects. Please report any bugs or false positives you might find!

Version 2.0.12 (In-Development)
Version 2.0.13 (In-Development)
-------------

@@ -21,0 +21,0 @@ The [Latest Development Version](https://github.com/Microsoft/tslint-microsoft-contrib/tree/releases) is available online.

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