Socket
Socket
Sign inDemoInstall

hosted-git-info

Package Overview
Dependencies
1
Maintainers
5
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc