Socket
Socket
Sign inDemoInstall

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.5.1 to 1.5.2

2

package.json
{
"name": "hosted-git-info",
"version": "1.5.1",
"version": "1.5.2",
"description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab",

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

@@ -11,3 +11,3 @@ # hosted-git-info

var hostedGitInfo = require("hosted-git-info")
var info = hostedGitInfo("git@github.com:npm/hosted-git-info.git")
var info = hostedGitInfo.fromUrl("git@github.com:npm/hosted-git-info.git")
/* info looks like:

@@ -44,3 +44,3 @@ {

For example `hostedGitInfo("git@github.com:npm/hosted-git-info.git#v1.0.0").file("package.json")`
For example `hostedGitInfo.fromUrl("git@github.com:npm/hosted-git-info.git#v1.0.0").file("package.json")`
would return `https://raw.githubusercontent.com/npm/hosted-git-info/v1.0.0/package.json`

@@ -47,0 +47,0 @@

Sorry, the diff of this file is not supported yet

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