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

tsc-hooks

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsc-hooks - npm Package Compare versions

Comparing version 1.1.2-dev.20211115.3 to 1.1.2-dev.20211115.4

4

lib/injection.js

@@ -59,5 +59,5 @@ const fs = require('fs');

hookModule.onInitCompilation?.(api);
watchDispatcher.add(watchedFiles);
if (hookModule.onWatchCompilation) {
if (hookModule.onWatchCompilation && /--watch|-w/.test(process.argv)) {
watchDispatcher.add(watchedFiles);
watchDispatcher.on('all', (event, path) => hookModule.onWatchCompilation(event, path, api));

@@ -64,0 +64,0 @@ }

{
"name": "tsc-hooks",
"version": "1.1.2-dev.20211115.3",
"version": "1.1.2-dev.20211115.4",
"description": "Add tsc compiler hooks to your TypeScript project",

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

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