New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-watch-and-run

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-watch-and-run - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4-next.0

8

CHANGELOG.md
# @kitql/vite-plugin-watch-and-run
## 1.4.4-next.0
### Patch Changes
- [#472](https://github.com/jycouet/kitql/pull/472)
[`d52c197`](https://github.com/jycouet/kitql/commit/d52c19735a4702398dab9dc5592ce0b4cf98a939)
Thanks [@jycouet](https://github.com/jycouet)! - add absolutePath in second param of run as info
## 1.4.3

@@ -4,0 +12,0 @@

2

cjs/index.js

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

if (typeof info.run === "function") {
const promise = info.run(server);
const promise = info.run(server, absolutePath);
try {

@@ -119,0 +119,0 @@ if (promise) {

@@ -22,3 +22,3 @@ import type { Plugin, ViteDevServer } from 'vite';

*/
run: string | ((server: ViteDevServer) => void | Promise<void>);
run: string | ((server: ViteDevServer, absolutePath: string | null) => void | Promise<void>);
/**

@@ -51,3 +51,3 @@ * Delay before running the run command (in ms)

logs: LogType[];
run: string | ((server: ViteDevServer) => void | Promise<void>);
run: string | ((server: ViteDevServer, absolutePath: string | null) => void | Promise<void>);
delay: number;

@@ -54,0 +54,0 @@ isRunning: boolean;

@@ -87,3 +87,3 @@ import { cyan, green, Log, magenta, red } from '@kitql/helpers';

if (typeof info.run === 'function') {
const promise = info.run(server);
const promise = info.run(server, absolutePath);
try {

@@ -90,0 +90,0 @@ if (promise) {

@@ -7,3 +7,3 @@ {

],
"version": "1.4.3",
"version": "1.4.4-next.0",
"license": "MIT",

@@ -10,0 +10,0 @@ "type": "module",

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