hosted-git-info
Advanced tools
Comparing version 6.1.1 to 7.0.0
'use strict' | ||
const LRU = require('lru-cache') | ||
const { LRUCache } = require('lru-cache') | ||
const hosts = require('./hosts.js') | ||
@@ -8,3 +8,3 @@ const fromUrl = require('./from-url.js') | ||
const cache = new LRU({ max: 1000 }) | ||
const cache = new LRUCache({ max: 1000 }) | ||
@@ -11,0 +11,0 @@ class GitHost { |
{ | ||
"name": "hosted-git-info", | ||
"version": "6.1.1", | ||
"version": "7.0.0", | ||
"description": "Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab", | ||
@@ -33,7 +33,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"lru-cache": "^7.5.1" | ||
"lru-cache": "^10.0.1" | ||
}, | ||
"devDependencies": { | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.7.1", | ||
"@npmcli/template-oss": "4.18.0", | ||
"tap": "^16.0.1" | ||
@@ -46,3 +46,3 @@ }, | ||
"engines": { | ||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0" | ||
"node": "^16.14.0 || >=18.0.0" | ||
}, | ||
@@ -59,4 +59,11 @@ "tap": { | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.7.1" | ||
"version": "4.18.0", | ||
"publish": "true", | ||
"ciVersions": [ | ||
"16.14.0", | ||
"16.x", | ||
"18.0.0", | ||
"18.x" | ||
] | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
26705
1
+ Addedlru-cache@10.4.3(transitive)
- Removedlru-cache@7.18.3(transitive)
Updatedlru-cache@^10.0.1