Socket
Socket
Sign inDemoInstall

tslint-loader

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-loader - npm Package Compare versions

Comparing version 3.5.2 to 3.5.3

5

CHANGELOG.md
# Changelog
### 3.5.2
Remove empty error for Tslint 5,
fixes [#71](https://github.com/wbuchwalter/tslint-loader/issues/71)
### 3.5.1

@@ -4,0 +9,0 @@

14

index.js

@@ -35,3 +35,3 @@ /*

options.formattersDirectory = options.formattersDirectory || __dirname + '/formatters/';
options.configuration = options.configuration || Lint.Linter.findConfiguration(configFile, webpackInstance.resourcePath).results;
options.configuration = parseConfigFile(webpackInstance, configFile, options);
options.tsConfigFile = options.tsConfigFile || 'tsconfig.json';

@@ -43,2 +43,14 @@ options.fix = options.fix || false;

function parseConfigFile(webpackInstance, configFile, options) {
if (!options.configuration) {
return Lint.Linter.findConfiguration(configFile, webpackInstance.resourcePath).results;
}
if (semver.satisfies(Lint.Linter.VERSION, '>=5.0.0')) {
return Lint.Configuration.parseConfigFile(options.configuration);
}
return options.configuration;
}
function lint(webpackInstance, input, options) {

@@ -45,0 +57,0 @@ var lintOptions = {

2

package.json
{
"name": "tslint-loader",
"version": "3.5.2",
"version": "3.5.3",
"description": "tslint loader for webpack",

@@ -5,0 +5,0 @@ "main": "index.js",

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