Socket
Socket
Sign inDemoInstall

fork-ts-checker-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fork-ts-checker-webpack-plugin - npm Package Compare versions

Comparing version 7.2.10 to 7.2.11

2

lib/formatter/webpack-formatter.js

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

if (issue.location) {
location += ` ${chalk_1.default.green.bold((0, issue_1.formatIssueLocation)(issue.location))}`;
location += `:${chalk_1.default.green.bold((0, issue_1.formatIssueLocation)(issue.location))}`;
}

@@ -22,0 +22,0 @@ return [`${color(severity)} in ${location}`, formatter(issue), ''].join(os_1.default.EOL);

@@ -7,3 +7,3 @@ import type { IssuePosition } from './issue-position';

declare function compareIssueLocations(locationA?: IssueLocation, locationB?: IssueLocation): number;
declare function formatIssueLocation({ start, end }: IssueLocation): string;
declare function formatIssueLocation(location: IssueLocation): string;
export { IssueLocation, compareIssueLocations, formatIssueLocation };

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

exports.compareIssueLocations = compareIssueLocations;
function formatIssueLocation({ start, end }) {
if (!end.line || start.line === end.line) {
// the same line
if (!end.column || start.column === end.column) {
// the same column
return `${start.line}:${start.column}`;
}
else {
// different column
return `${start.line}:${start.column}-${end.column}`;
}
}
else {
// different lines
return `${start.line}:${start.column}-${end.line}:${end.column}`;
}
function formatIssueLocation(location) {
return `${location.start.line}:${location.start.column}`;
}
exports.formatIssueLocation = formatIssueLocation;

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

if (issue.location) {
this.file += ` ${chalk_1.default.green.bold((0, issue_location_1.formatIssueLocation)(issue.location))}`;
this.file += `:${chalk_1.default.green.bold((0, issue_location_1.formatIssueLocation)(issue.location))}`;
}

@@ -25,0 +25,0 @@ }

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

*/
ForkTsCheckerWebpackPlugin.version = '7.2.10'; // will be replaced by the @semantic-release/exec
ForkTsCheckerWebpackPlugin.version = '7.2.11'; // will be replaced by the @semantic-release/exec
/**

@@ -76,0 +76,0 @@ * Default pools for the plugin concurrency limit

{
"name": "fork-ts-checker-webpack-plugin",
"version": "7.2.10",
"version": "7.2.11",
"description": "Runs typescript type checker and linter on separate process.",

@@ -5,0 +5,0 @@ "keywords": [

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