Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
dep-date-diff
Advanced tools
Outputs all installed packages in a table (or JSON) with the release date of the currently installed version and latest available version.
Outputs all installed packages in a table (or JSON) with the release date of the currently installed version and latest available version.
npm i -g dep-date-diff
dep-date-diff [options] # or use ddd alias
Options:
-h, --help output usage information
-V, --version output the version number
-S --sort [sort properties] Sorts the table elements, add items in a comma separated list
-O --only-outdated Only show dependencies which are out of date
Examples:
$ dep-date-diff
$ dep-date-diff --sort dateDiff
$ dep-date-diff --sort dateDiff,usedVersionDate
$ dep-date-diff --only-outdated
Sample output
ddd
[===] 14/rps 100% 0.0s
┌───────────────┬───────────────┬─────────────┬─────────────────┬───────────────┬───────────────────┬──────────┐
│ packageName │ type │ usedVersion │ usedVersionDate │ latestVersion │ latestVersionDate │ dateDiff │
├───────────────┼───────────────┼─────────────┼─────────────────┼───────────────┼───────────────────┼──────────┤
│ lodash │ dependency │ 3.10.1 │ 2015-08-04 │ 4.17.4 │ 2016-12-31 │ 515 days │
├───────────────┼───────────────┼─────────────┼─────────────────┼───────────────┼───────────────────┼──────────┤
│ express │ dependency │ 4.15.3 │ 2017-05-17 │ 4.15.3 │ 2017-05-17 │ 0 days │
└───────────────┴───────────────┴─────────────┴─────────────────┴───────────────┴───────────────────┴──────────┘
npm i -D dep-date-diff
const ddd = require('dep-date-diff');
ddd().then(result => {
console.log(JSON.stringify(result, null, 2));
/*
outputs:
[{
"packageName": "express",
"type": "dependency",
"usedVersion": "4.15.3",
"usedVersionDate": "2017-05-17",
"latestVersion": "4.15.3",
"latestVersionDate": "2017-05-17",
"dateDiff": "0 days"
}, {
"packageName": "lodash",
"type": "dependency",
"usedVersion": "3.10.1",
"usedVersionDate": "2015-08-04",
"latestVersion": "4.17.4",
"latestVersionDate": "2016-12-31",
"dateDiff": "515 days"
}]
*/
});
FAQs
Outputs all installed packages in a table (or JSON) with the release date of the currently installed version and latest available version.
The npm package dep-date-diff receives a total of 0 weekly downloads. As such, dep-date-diff popularity was classified as not popular.
We found that dep-date-diff demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.