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

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.0 to 7.2.1

2

lib/plugin.js

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

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

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

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

invokeFileCreated(path) {
const normalizedPath = real_file_system_1.realFileSystem.normalizePath(path);
const normalizedPath = normalizeAndResolvePath(path);
invokeFileWatchers(path, typescript_1.typescript.FileWatcherEventKind.Created);

@@ -118,3 +118,3 @@ invokeDirectoryWatchers(normalizedPath);

invokeFileChanged(path) {
const normalizedPath = real_file_system_1.realFileSystem.normalizePath(path);
const normalizedPath = normalizeAndResolvePath(path);
if (deletedFiles.get(normalizedPath) || !fileWatcherCallbacksMap.has(normalizedPath)) {

@@ -130,3 +130,3 @@ invokeFileWatchers(path, typescript_1.typescript.FileWatcherEventKind.Created);

invokeFileDeleted(path) {
const normalizedPath = real_file_system_1.realFileSystem.normalizePath(path);
const normalizedPath = normalizeAndResolvePath(path);
if (!deletedFiles.get(normalizedPath)) {

@@ -147,3 +147,3 @@ invokeFileWatchers(path, typescript_1.typescript.FileWatcherEventKind.Deleted);

function createWatcher(watchersMap, path, callback) {
const normalizedPath = real_file_system_1.realFileSystem.normalizePath(path);
const normalizedPath = normalizeAndResolvePath(path);
const watchers = watchersMap.get(normalizedPath) || [];

@@ -166,3 +166,3 @@ const nextWatchers = [...watchers, callback];

function invokeFileWatchers(path, event) {
const normalizedPath = real_file_system_1.realFileSystem.normalizePath(path);
const normalizedPath = normalizeAndResolvePath(path);
if (normalizedPath.endsWith('.js')) {

@@ -180,3 +180,3 @@ // trigger relevant .d.ts file watcher - handles the case, when we have webpack watcher

function invokeDirectoryWatchers(path) {
const normalizedPath = real_file_system_1.realFileSystem.normalizePath(path);
const normalizedPath = normalizeAndResolvePath(path);
const directory = (0, path_1.dirname)(normalizedPath);

@@ -198,2 +198,12 @@ if (ignoredPaths.some((ignoredPath) => (0, forward_slash_1.forwardSlash)(normalizedPath).includes(ignoredPath))) {

}
function normalizeAndResolvePath(path) {
let normalizedPath = real_file_system_1.realFileSystem.normalizePath(path);
try {
normalizedPath = real_file_system_1.realFileSystem.realPath(normalizedPath);
}
catch (error) {
// ignore error - maybe file doesn't exist
}
return normalizedPath;
}
function isArtifact(path) {

@@ -200,0 +210,0 @@ return ((artifacts.dirs.some((dir) => path.includes(dir)) ||

{
"name": "fork-ts-checker-webpack-plugin",
"version": "7.2.0",
"version": "7.2.1",
"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