
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
@valantic/webpack-dependency-hint
Advanced tools
A webpack plugin to output a reminder for checking the dependencies in the console.
A Webpack plugin that delivers a console output when a dependency check is recommended. The amount of days till the message should appear can be configured per default it's set to 90 days. To handle the date format it uses https://day.js.org/. and the Console output gets styles by https://www.npmjs.com/package/chalk.

npm i @valantic/webpack-dependency-hint --save-dev
// webpack.config.js
const DependencyHint = require('@valantic/webpack-dependency-hint');
module.exports = {
// ... configuration settings here ...
plugins: [
new DependencyHint({
lastUpdate: '01.01.2020',
})
],
};
| Name | Type | Default | Description |
|---|---|---|---|
lastUpdate | {String} | "" | The date of the last update or check. |
daysTillWarning | {Number} | 90 | The amount of days till the warning should appear. |
inputFormat | {String} | "DD.MM.YYYY" | The input date format. |
outputFormat | {String} | "DD.MM.YYYY" | The output date format. |
warningText | {String} | "Please consider your project manager to arrange a dependency update." | The additional text that appears in the console. |
compilerHook | {String} | "afterEnvironment" | The webpack compiler hook (see https://webpack.js.org/api/compiler-hooks/#hooks) |
In case you don't want to store the date manually in the webpack config you can add it to the package.json and import it to the webpack config.
{
"name": "your-project",
"version": "1.0.0",
"description": "Your custom project",
"lastDependencyUpdate": "01.01.2021"
}
// webpack.config.js
const DependencyHint = require('@valantic/webpack-dependency-hint');
const pkg = require('./package.json');
module.exports = {
// ... configuration settings here ...
plugins: [
new DependencyHint({
lastUpdate: pkg.lastDependencyUpdate,
})
],
};
FAQs
A webpack plugin to output a reminder for checking the dependencies in the console.
The npm package @valantic/webpack-dependency-hint receives a total of 2 weekly downloads. As such, @valantic/webpack-dependency-hint popularity was classified as not popular.
We found that @valantic/webpack-dependency-hint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.