Comparing version 0.4.1 to 0.4.2
@@ -25,1 +25,7 @@ # Change Log | ||
- style logs with chalk | ||
# 0.4.2 (2020-04-22) | ||
### Bug Fixes | ||
- support node >=10 |
{ | ||
"name": "libyear", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "A simple measure of software dependency freshness", | ||
@@ -37,14 +37,17 @@ "author": "Joshua David <@jdanil>", | ||
"engines": { | ||
"node": "^10 || ^12 || ^13" | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"audit-ci": "audit-ci", | ||
"clean": "rimraf bin/**/*.d.ts src/**/*.d.ts bin/**/*.js src/**/*.js", | ||
"compile": "tsc", | ||
"clean": "tsc --build --clean", | ||
"compile": "tsc --build", | ||
"libyear": "ts-node ./bin/libyear", | ||
"lint": "eslint", | ||
"prepack": "tsc", | ||
"prettier": "prettier", | ||
"lint:all": "yarn lint \"**/*\"", | ||
"lint:diff": "eslint-changeset", | ||
"prepack": "tsc --build --force", | ||
"prettier": "prettier --ignore-path .gitignore", | ||
"prettier:all": "yarn prettier .", | ||
"prettier:diff": "pretty-quick", | ||
"test": "jest --config .jestrc.json --passWithNoTests", | ||
"test:ci": "yarn test --ci", | ||
"test:coverage": "yarn test --coverage", | ||
@@ -55,8 +58,8 @@ "test:precommit": "yarn test --bail --findRelatedTests", | ||
"dependencies": { | ||
"chalk": "^3.0.0", | ||
"date-fns": "^2.9.0", | ||
"chalk": "^4.0.0", | ||
"date-fns": "^2.12.0", | ||
"execa": "^4.0.0", | ||
"fromentries": "^1.2.0", | ||
"mri": "^1.1.4", | ||
"semver": "^7.1.3" | ||
"mri": "^1.1.5", | ||
"semver": "^7.3.2" | ||
}, | ||
@@ -67,19 +70,20 @@ "devDependencies": { | ||
"@types/mri": "^1.1.0", | ||
"@types/node": "^13.7.4", | ||
"@types/node": "^13.13.2", | ||
"@types/semver": "^7.1.0", | ||
"@typescript-eslint/eslint-plugin": "^2.20.0", | ||
"@typescript-eslint/parser": "^2.20.0", | ||
"@typescript-eslint/eslint-plugin": "^2.29.0", | ||
"@typescript-eslint/parser": "^2.29.0", | ||
"audit-ci": "^2.5.1", | ||
"eslint": "^6.8.0", | ||
"husky": "^4.2.3", | ||
"jest": "^25.1.0", | ||
"jest-environment-jsdom-sixteen": "^1.0.2", | ||
"lint-staged": "^10.0.7", | ||
"prettier": "^1.19.1", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^25.2.1", | ||
"ts-node": "^8.6.2", | ||
"tslib": "^1.11.0", | ||
"typescript": "^3.8.2" | ||
"eslint-changeset": "^0.1.1", | ||
"husky": "^4.2.5", | ||
"jest": "^25.4.0", | ||
"jest-environment-jsdom-sixteen": "^1.0.3", | ||
"lint-staged": "^10.1.7", | ||
"prettier": "^2.0.5", | ||
"pretty-quick": "^2.0.1", | ||
"ts-jest": "^25.4.0", | ||
"ts-node": "^8.9.0", | ||
"tslib": "^1.11.1", | ||
"typescript": "^3.8.3" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# `libyear` | ||
# `libyear` · ![](https://github.com/jdanil/libyear/workflows/ci/badge.svg) | ||
@@ -133,3 +133,4 @@ A Node.js implementation of [libyear](https://libyear.com/). | ||
- configure ci semantic release | ||
- fix "available" logic | ||
- ci semantic release | ||
- unit tests | ||
@@ -139,7 +140,15 @@ | ||
- handle `npm ls` UNMET PEER DEPENDENCY | ||
- support `berry` w/o "required" workaround | ||
- investigate possibility of batching queries | ||
- setup cosmiconfig to support config file | ||
- consider auditing vulnerabilities | ||
- fix | ||
- handle `npm ls` UNMET PEER DEPENDENCY | ||
- support `berry` w/o "required" workaround | ||
- features | ||
- `pnpm` support | ||
- cosmiconfig | ||
- whitelisting | ||
- time extension (amnesty / reprieve / clemency / respite / suspension) | ||
- leniency for type definition packages | ||
- JSON output | ||
- rfc | ||
- batch queries | ||
- audit vulnerabilities | ||
@@ -146,0 +155,0 @@ ### Later |
@@ -21,4 +21,5 @@ "use strict"; | ||
const releases = allVersions | ||
.slice(allVersions.findIndex(version => version === currentVersion) + 1, allVersions.findIndex(version => version === latestStableVersion) + 1) | ||
.filter(version => stableVersions.includes(version)).length; | ||
.slice(allVersions.findIndex((version) => version === currentVersion) + 1, allVersions.findIndex((version) => version === latestStableVersion) + | ||
1) | ||
.filter((version) => stableVersions.includes(version)).length; | ||
const status = Object.entries(releaseTime).length === 0 | ||
@@ -44,8 +45,8 @@ ? "symlink" | ||
Promise.all(awaitedDependencies) | ||
.then(dependencies => { | ||
.then((dependencies) => { | ||
print_1.print(dependencies, threshold); | ||
}) | ||
.catch(error => { | ||
.catch((error) => { | ||
console.error(error.message); | ||
}); | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
58664
343
165
0
20
+ Addedchalk@4.1.2(transitive)
- Removedchalk@3.0.0(transitive)
Updatedchalk@^4.0.0
Updateddate-fns@^2.12.0
Updatedmri@^1.1.5
Updatedsemver@^7.3.2