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

hosted-git-info

Package Overview
Dependencies
Maintainers
5
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hosted-git-info - npm Package Compare versions

Comparing version 6.1.1 to 7.0.0

4

lib/index.js
'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"
]
}
}
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