Socket
Socket
Sign inDemoInstall

tslint-loader

Package Overview
Dependencies
Maintainers
1
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 1.0.2 to 2.0.0

2

formatters/customFormatter.js

@@ -0,1 +1,3 @@

var Lint = require("tslint/lib/lint");
var __extends = this.__extends || function (d, b) {

@@ -2,0 +4,0 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];

4

index.js

@@ -22,5 +22,3 @@ /*

var configPath = locateConfigFile("tslint.json", path.dirname(this.resourcePath));
if(typeof configPath !== "string") {
console.log('tslint.json not found');
} else {
if(typeof configPath == "string") {
this.addDependency(configPath);

@@ -27,0 +25,0 @@ var file = fs.readFileSync(configPath, "utf8");

{
"name": "tslint-loader",
"version": "1.0.2",
"version": "2.0.0",
"description": "tslint loader for webpack",

@@ -26,8 +26,9 @@ "main": "index.js",

"homepage": "https://github.com/wbuchwalter/tslint-loader",
"peerDependencies": {
"tslint": "^3.0.0"
},
"dependencies": {
"loader-utils": "^0.2.7",
"strip-json-comments": "^1.0.2",
"tslint": "^2.5.0-beta",
"typescript": "^1.6.0-beta"
"strip-json-comments": "^1.0.2"
}
}

@@ -37,3 +37,3 @@ # tslint loader for webpack

// path to directory contating formatter (optional)
// path to directory containing formatter (optional)
formattersDirectory: "node_modules/tslint-loader/formatters/"

@@ -40,0 +40,0 @@ }

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