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

libyear

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libyear - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

6

CHANGELOG.md

@@ -64,1 +64,7 @@ # Change Log

- handle invalid available versions
# 0.6.2 (2020-12-07)
### Bug Fixes
- improve pulse calculation accuracy

42

package.json
{
"name": "libyear",
"version": "0.6.1",
"version": "0.6.2",
"description": "A simple measure of software dependency freshness",

@@ -43,5 +43,5 @@ "author": "Joshua David <@jdanil>",

"compile": "tsc --build",
"fmt": "prettier --ignore-path .gitignore",
"fmt:all": "yarn fmt .",
"fmt:diff": "pretty-quick",
"format": "prettier --ignore-path .gitignore",
"format:all": "yarn format .",
"format:diff": "pretty-quick",
"libyear": "ts-node ./bin/libyear",

@@ -61,6 +61,6 @@ "lint": "eslint",

"date-fns": "^2.16.1",
"execa": "^4.0.3",
"execa": "^5.0.0",
"lodash": "^4.17.20",
"mri": "^1.1.6",
"semver": "^7.3.2"
"semver": "^7.3.4"
},

@@ -70,22 +70,22 @@ "devDependencies": {

"@commitlint/config-conventional": "^11.0.0",
"@jest/globals": "^26.5.2",
"@types/lodash": "^4.14.161",
"@jest/globals": "^26.6.2",
"@types/lodash": "^4.14.165",
"@types/mri": "^1.1.0",
"@types/node": "^14.11.8",
"@types/node": "^14.14.10",
"@types/semver": "^7.3.4",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"audit-ci": "^3.1.1",
"eslint": "^7.11.0",
"eslint": "^7.15.0",
"eslint-changeset": "^0.1.4",
"husky": "^4.3.0",
"jest": "^26.5.2",
"jest-circus": "^26.5.2",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"pretty-quick": "^3.0.2",
"ts-jest": "^26.4.1",
"ts-node": "^9.0.0",
"husky": "^4.3.5",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"lint-staged": "^10.5.2",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.0",
"tslib": "^2.0.3",
"typescript": "^4.1.0-beta"
"typescript": "^4.1.2"
},

@@ -92,0 +92,0 @@ "resolutions": {

@@ -317,3 +317,2 @@ # `libyear` &middot; ![](https://github.com/jdanil/libyear/workflows/ci/badge.svg) ![](https://github.com/jdanil/libyear/workflows/cron/badge.svg)

- re-enable prettier once typescript template literal types are supported (see [issue](https://github.com/prettier/prettier/issues/9234))
- extend linting when eslint@7 is released and supports plugins loaded from config file directory

@@ -320,0 +319,0 @@ - `./tsconfig.json` to use `"module": "esnext"` when supported by [ts-node](https://github.com/TypeStrong/ts-node/issues/935)

@@ -22,4 +22,4 @@ "use strict";

const diffStableVersions = diffAllVersions.filter((version) => stableVersions.includes(version));
const drift = dates_1.calculateDrift(releaseTimeMap.get(currentVersion), releaseTimeMap.get(latestStableVersion));
const pulse = dates_1.calculatePulse(releaseTimeMap.get(latestAllVersion));
const drift = dates_1.calculateDrift(allVersionsMap.get(currentVersion), allVersionsMap.get(latestStableVersion));
const pulse = dates_1.calculatePulse(Array.from(allVersionsMap.values()).sort().slice(-1)[0]);
const releases = diffStableVersions.length;

@@ -26,0 +26,0 @@ const major = versions_1.getReleasesByType([currentVersion, ...diffStableVersions], "major").length;

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