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

watch-module

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watch-module - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

7

CHANGELOG.md
# CHANGELOG
## 2.1.0
### Added
- Display the path of the changes files in verbose mode.
## 2.0.0
[BREAKING] Built for modern node :
- Use ES Module, dynamic import, etc.

@@ -7,0 +14,0 @@ - node version should be `^12.20.0 || ^14.13.1 || >=16.0.0`

3

dist/index.js

@@ -44,2 +44,5 @@ import process from 'process';

}
if (_event === 'change') {
debug(`File changes: ${path}`);
}
onChange(modulePath);

@@ -46,0 +49,0 @@ });

2

package.json
{
"name": "watch-module",
"type": "module",
"version": "2.0.0",
"version": "2.1.0",
"description": "A Javascript module watcher to work locally with package",

@@ -6,0 +6,0 @@ "bin": {

@@ -62,2 +62,6 @@ import process from 'process';

if (_event === 'change') {
debug(`File changes: ${path}`);
}
onChange(modulePath);

@@ -64,0 +68,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