Socket
Socket
Sign inDemoInstall

hosted-git-info

Package Overview
Dependencies
2
Maintainers
5
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

3

index.js

@@ -175,3 +175,4 @@ 'use strict'

const hasSlash = firstSlash > 0
const doesNotEndWithSlash = !arg.endsWith('/')
// if a # is found, what we really want to know is that the character immediately before # is not a /
const doesNotEndWithSlash = firstHash > -1 ? arg[firstHash - 1] !== '/' : !arg.endsWith('/')
const doesNotStartWithDot = !arg.startsWith('.')

@@ -178,0 +179,0 @@

{
"name": "hosted-git-info",
"version": "4.0.0",
"version": "4.0.1",
"description": "Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab",

@@ -5,0 +5,0 @@ "main": "index.js",

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