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

hosted-git-info

Package Overview
Dependencies
Maintainers
1
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 1.4.0 to 1.5.0

.travis.yml

4

index.js

@@ -80,3 +80,5 @@ "use strict"

github: {
"protocols": [ "git", "git+ssh", "git+https", "ssh", "https" ],
// First two are insecure and generally shouldn't be used any more, but
// they are still supported.
"protocols": [ "git", "http", "git+ssh", "git+https", "ssh", "https" ],
"domain": "github.com",

@@ -83,0 +85,0 @@ "pathmatch": /^[/]([^/]+)[/]([^/]+?)(?:[.]git)?$/,

{
"name": "hosted-git-info",
"version": "1.4.0",
"version": "1.5.0",
"description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab",

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

@@ -23,4 +23,7 @@ "use strict"

// github shorturls
verify("111/222", "github-short")
verify("111/222#branch", "github-short#branch", "branch")
// insecure protocols
verify("git://github.com/111/222", "git")

@@ -31,2 +34,7 @@ verify("git://github.com/111/222.git", "git.git")

verify("http://github.com/111/222", "http")
verify("http://github.com/111/222.git", "http.git")
verify("http://github.com/111/222#branch", "http#branch", "branch")
verify("http://github.com/111/222.git#branch", "http.git#branch", "branch")
require('./lib/standard-tests')(verify, "github.com", "github")

@@ -33,0 +41,0 @@

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